/* ==========================================================================
   PLUMBER PROFF OÜ - DESIGN SYSTEM (TECHNICAL BLUEPRINT STYLE)
   Aesthetics: Engineering Schematics, Neon Cyan & Electric Copper
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #07090E;          /* Deep void black */
    --bg-surface: #0C0F17;       /* Dark blueprint card */
    --bg-surface-hover: #121724; /* Hover state surface */
    --border-color: rgba(0, 245, 255, 0.08); /* Cyber cyan boundary */
    --border-glow: rgba(0, 245, 255, 0.25);
    
    /* Branding Gradients */
    --grad-cyan: linear-gradient(135deg, #00F5FF 0%, #0066FF 100%);     /* Liquid Water Flow */
    --grad-copper: linear-gradient(135deg, #FF5E00 0%, #FFB300 100%);   /* Flame & Heating */
    --grad-gold: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);     /* Muted Brass Valve */
    --grad-dark: linear-gradient(180deg, #0C0F17 0%, #07090E 100%);
    
    /* Solid Colors */
    --color-cyan: #00F5FF;
    --color-blue: #0066FF;
    --color-copper: #FF5E00;
    --color-gold: #D4AF37;
    --text-primary: #ECEFF4;     /* Crisp white-blue */
    --text-secondary: #8E9AA8;   /* Steel grey */
    --text-muted: #54606E;       /* Muted slate blueprint lines */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, "Liberation Mono", Menlo, Courier, monospace;
    
    /* Layout Configurations */
    --container-max-width: 1200px;
    --section-padding: 8rem 2rem;
    --transition-tech: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    
    /* Effects & Glass */
    --glass-bg: rgba(12, 15, 23, 0.7);
    --glass-border: 1px solid rgba(0, 245, 255, 0.12);
    --glass-blur: blur(20px);
    --shadow-tech: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   BLUEPRINT GRID OVERLAYS & INITIAL RESETS
   ========================================================================== */

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

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

body {
    background-color: var(--bg-dark);
    /* Repeating linear gradient to simulate blue graph paper grids */
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Corner Crosshair Decoration */
.corner-crosshair {
    position: absolute;
    width: 10px;
    height: 10px;
    color: var(--color-cyan);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
    opacity: 0.5;
}
.cross-tl { top: 15px; left: 15px; }
.cross-tr { top: 15px; right: 15px; }
.cross-bl { bottom: 15px; left: 15px; }
.cross-br { bottom: 15px; right: 15px; }

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 255, 0.15);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* ==========================================================================
   TYPOGRAPHY SPECIFICATIONS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); text-transform: uppercase; font-weight: 850; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-transform: uppercase; font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); text-transform: uppercase; }
h4 { font-size: 1.15rem; }

.tech-index {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-copper);
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.text-gradient-cyan {
    background: var(--grad-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-copper {
    background: var(--grad-copper);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 350;
}

/* ==========================================================================
   SHARP BUTTONS & CTAs
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0; /* Pure sharp corners */
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    transition: var(--transition-tech);
}

.btn-primary {
    color: var(--bg-dark);
    border: 1px solid var(--color-cyan);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-cyan);
    z-index: -1;
    transition: var(--transition-tech);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    color: var(--bg-dark);
    border-color: var(--color-copper);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--grad-copper);
    z-index: -1;
    transition: var(--transition-tech);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 94, 0, 0.25);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--color-cyan);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-cyan);
    transition: var(--transition-fast);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-text i {
    transition: var(--transition-fast);
    width: 14px;
    height: 14px;
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   FLOATING CAPSULE NAVBAR
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 1.5rem auto;
    width: calc(100% - 3rem);
    max-width: 1100px;
    z-index: 1000;
    background: rgba(12, 15, 23, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 0; /* Sharp outer shell */
    transition: var(--transition-tech);
}

.main-header::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
}
.main-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
}

.main-header.scrolled {
    margin: 0;
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    background: rgba(7, 9, 14, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.2));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > a:not(.btn) {
    font-family: var(--font-heading);
    font-weight: 550;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn).active {
    color: var(--color-cyan);
}

.nav-links > a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-cyan);
    transition: var(--transition-fast);
}

.nav-links > a:not(.btn):hover::after,
.nav-links > a:not(.btn).active::after {
    width: 100%;
}

/* Dropdown styling */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-heading);
    font-weight: 550;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 270px;
    background: var(--bg-surface);
    border: 1px solid var(--color-cyan);
    padding: 0.6rem 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-tech);
    transition: var(--transition-tech);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-mono);
}

.dropdown-menu a:hover {
    color: var(--color-cyan);
    background: var(--bg-surface-hover);
    padding-left: 1.8rem;
}

.nav-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    border-color: var(--color-cyan);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1100;
}
.mobile-nav-toggle i {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   CONTAINERS & TECHNICAL WIREFRAME ACCENTS
   ========================================================================== */

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

.section {
    padding: var(--section-padding);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    max-width: 800px;
    margin-bottom: 5rem;
    position: relative;
    border-left: 2px solid var(--color-cyan);
    padding-left: 2rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-copper);
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Technical blueprint grids */
.blueprint-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-tech);
    transition: var(--transition-tech);
}

.blueprint-card::before {
    content: '[SPEC-SYS]';
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.blueprint-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

/* ==========================================================================
   FULL-BLEED BLUEPRINT HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    padding: 10rem 2rem 5rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 1.2rem;
}

.hero-title {
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.hero-stat-card {
    border-right: 1px solid var(--border-color);
}
.hero-stat-card:last-child {
    border-right: none;
}

.hero-stat-card h4 {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-copper);
}

.hero-stat-card p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0;
}

.hero-visual {
    position: relative;
    z-index: 5;
    border: 1px solid var(--border-color);
    padding: 15px;
    background: rgba(0, 245, 255, 0.01);
}

.hero-image-wrapper {
    position: relative;
    border: 1px solid var(--color-cyan);
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
    transition: var(--transition-tech);
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Diagonal glass scanning overlay */
.hero-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, transparent 50%, rgba(255, 94, 0, 0.05) 100%);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: var(--bg-surface);
    border: 1px solid var(--color-copper);
    padding: 1.2rem 1.6rem;
    box-shadow: var(--shadow-tech);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 12;
    max-width: 300px;
}

.floating-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 94, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-copper);
}

.floating-text-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.floating-text-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   STATS LEDGER (STRIP)
   ========================================================================== */

.stats-strip {
    background: rgba(12, 15, 23, 0.6);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
}

.stats-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-strip-card {
    text-align: left;
    border-left: 1px solid var(--color-cyan);
    padding-left: 1.5rem;
}

.stat-strip-card .stat-number {
    font-family: var(--font-mono);
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--color-cyan);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-strip-card .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* ==========================================================================
   ASYMMETRIC SERVICES MASONRY DIRECTORY
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.service-card {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-tech);
}

/* Layout asymmetric col spans */
.services-grid .service-card:nth-child(1) { grid-column: span 7; }
.services-grid .service-card:nth-child(2) { grid-column: span 5; }
.services-grid .service-card:nth-child(3) { grid-column: span 4; }
.services-grid .service-card:nth-child(4) { grid-column: span 4; }
.services-grid .service-card:nth-child(5) { grid-column: span 4; }

.service-card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1.8rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-tech);
}

.service-card:hover .service-card-image {
    border-color: var(--color-cyan);
}

.service-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
    transform: translateY(-3px);
}

.service-icon-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-tech);
}

.service-card:hover .service-icon-wrapper {
    color: var(--color-cyan);
    border-color: var(--color-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.service-card-title {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    padding-right: 3rem; /* Leave room for absolute icon */
}

.service-card-desc {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

/* ==========================================================================
   TECHNICAL ABOUT SPEC GRID
   ========================================================================== */

.about-split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.about-visuals {
    border: 1px solid var(--border-color);
    padding: 20px;
    background: rgba(255,255,255,0.01);
    position: relative;
}

.about-img-box {
    border: 1px solid var(--border-color);
}

.about-img-box img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.about-badge-floating {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--bg-surface);
    border: 1px solid var(--color-cyan);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-tech);
}

.about-badge-floating .badge-number {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-cyan);
}
.about-badge-floating .badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: block;
}

.feature-bullets {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-bullet-item {
    display: flex;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.2rem;
}

.feature-bullet-item:last-child {
    border-bottom: none;
}

.bullet-icon-box {
    color: var(--color-cyan);
    margin-top: 0.2rem;
}

.feature-bullet-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.feature-bullet-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   SYSTEM SPECIFICATIONS LEDGER (INSTEAD OF PHILOSOPHY PILLARS)
   ========================================================================== */

.spec-ledger-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
}

.spec-ledger-table th, .spec-ledger-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.spec-ledger-table th {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.spec-ledger-table td {
    font-size: 0.95rem;
}

.spec-ledger-table tr:hover td {
    background: rgba(0, 245, 255, 0.02);
}

.spec-code {
    font-family: var(--font-mono);
    color: var(--color-copper);
}

/* ==========================================================================
   SCHEMATIC SERVICE DETAIL VIEW
   ========================================================================== */

.service-detail-hero {
    padding: 12rem 2rem 5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4.5rem;
}

.service-detail-image-box {
    border: 1px solid var(--border-color);
    padding: 10px;
    background: rgba(255, 255, 255, 0.01);
    margin-bottom: 2.5rem;
}

.service-detail-image-box img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.detail-main-text h3 {
    margin: 2.5rem 0 1.2rem 0;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.detail-main-text ul {
    margin: 1.5rem 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-main-text li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
}

.detail-main-text li i {
    color: var(--color-cyan);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
}

.sidebar-widget h4 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.services-list-widget a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.01);
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: var(--transition-tech);
}

.services-list-widget a:hover,
.services-list-widget a.active {
    background: var(--grad-cyan);
    color: var(--bg-dark);
    border-color: var(--color-cyan);
}

.services-list-widget a i {
    width: 14px;
    height: 14px;
}

.contact-widget-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

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

.contact-widget-item i {
    color: var(--color-copper);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* ==========================================================================
   TECHNICAL ACCORDION FAQ
   ========================================================================== */

.faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    transition: var(--transition-tech);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
}

.faq-icon-box {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-tech);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-tech);
    padding: 0 2rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin: 0;
    font-size: 0.95rem;
}

/* Open Accordion */
.faq-item.active {
    border-color: var(--color-cyan);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.1);
}

.faq-item.active .faq-question h4 {
    color: var(--color-cyan);
}

.faq-item.active .faq-icon-box {
    transform: rotate(180deg);
    background: var(--grad-cyan);
    color: var(--bg-dark);
    border-color: var(--color-cyan);
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

/* ==========================================================================
   CONTACT PAGE WIREFRAME SPEC
   ========================================================================== */

.contact-split-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
}

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

.contact-detail-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
}

.contact-detail-card .icon-box {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-detail-card p {
    font-size: 0.95rem;
    margin: 0;
}

.contact-detail-card a:hover {
    color: var(--color-cyan);
}

/* Contact Form Grid styling */
.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 3rem;
}

.form-title {
    margin-bottom: 2.2rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-control {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: rgba(0, 245, 255, 0.02);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}

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

/* ==========================================================================
   PRIVACY LEDGER CONTAINER
   ========================================================================== */

.privacy-content-card {
    max-width: 850px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
}

.privacy-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-copper);
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-cyan);
    text-transform: uppercase;
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: square;
}

.privacy-section li {
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 350;
}

.privacy-section strong {
    color: var(--text-primary);
}

/* ==========================================================================
   TECHNICAL LEDGER FOOTER
   ========================================================================== */

.footer {
    background: #080A10;
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr 1.25fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.branding-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.company-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    color: var(--text-secondary);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--color-copper);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-col h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--color-cyan);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--color-cyan);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--color-cyan);
    padding-left: 0.4rem;
}

.bullet-icon {
    width: 12px;
    height: 12px;
    color: var(--color-copper);
    transition: var(--transition-fast);
}

.footer-links a:hover .bullet-icon {
    color: var(--color-cyan);
}

.licensing-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.license-badge {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.badge-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.badge-subtitle {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    font-family: var(--font-mono);
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.footer-legal-links a:hover {
    color: var(--color-cyan);
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-tech);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--grad-cyan);
    color: var(--bg-dark);
    border-color: var(--color-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-tech);
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM OVERRIDES
   ========================================================================== */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.25fr 0.75fr 1fr;
    }
    .footer-col:last-child {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 6rem 1.5rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper img {
        height: 400px;
    }
    
    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
    }
    
    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid .service-card {
        grid-column: span 12 !important; /* Force single column directories */
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-header {
        border-radius: 0;
        width: 100%;
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-surface);
        border-left: 1px solid var(--color-cyan);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding: 3rem;
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        box-shadow: none;
        padding: 0.5rem 0;
        text-align: center;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-trigger {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .privacy-content-card {
        padding: 2rem;
    }
}