/* 
==========================================================================
   teamjumbleboxes.skin | Technical Maintenance CSS
   Theme: Frozen Industrial (Dark Mode / Glassmorphism)
========================================================================== 
*/

:root {
    /* Color Palette */
    --c-bg: #070e14; /* Deep mechanical dark */
    --c-surface: #121d26;
    --c-brand: #63d7e8; /* Ice blue */
    --c-brand-dark: #2b9eaa;
    --c-accent: #34434b; /* Steel grey */
    --c-text: #e2e8f0;
    --c-text-muted: #94a3b8;
    --c-warning: #e0a84b;
    --c-danger: #ef4444;
    --c-success: #10b981;

    /* Glass Effect Variables */
    --glass-bg: rgba(18, 29, 38, 0.6);
    --glass-border: rgba(99, 215, 232, 0.15);
    --glass-blur: blur(12px);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Spacing & Sizes */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --trans-fast: 0.15s ease;
    --trans-base: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 600;
}

a {
    color: var(--c-brand);
    text-decoration: none;
    transition: color var(--trans-fast);
}

a:hover, a:focus {
    color: #ffffff;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2.5rem); 
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--c-brand);
    color: var(--c-bg);
    padding: 8px;
    z-index: 1000;
    transition: top var(--trans-fast);
}
.skip-link:focus {
    top: 0;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all var(--trans-base);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--c-brand-dark);
    color: #ffffff;
    border-color: var(--c-brand-dark);
}
.btn-primary:hover {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: var(--c-bg);
    box-shadow: 0 0 15px rgba(99, 215, 232, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--c-brand);
    border-color: var(--c-brand);
}
.btn-secondary:hover {
    background: rgba(99, 215, 232, 0.1);
    color: #ffffff;
}

.btn-text {
    background: transparent;
    color: var(--c-text-muted);
    padding: 0.75rem;
}
.btn-text:hover {
    color: var(--c-brand);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background: rgba(7, 14, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

/* Header container expands to full width with responsive edge padding */
.site-header .container {
    max-width: 100%;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--c-brand);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    /* Generous separation ensuring teamjumbleboxes.skin and Maintenance are never too close */
    margin-right: clamp(2.5rem, 5vw, 5rem);
    transition: font-size var(--trans-base), color var(--trans-fast);
}
.brand-icon {
    color: var(--c-brand);
    flex-shrink: 0;
}
.brand:hover {
    color: #ffffff;
}

.nav-toggle {
    display: block;
    background: transparent;
    border: none;
    padding: 0.5rem;
    color: var(--c-text);
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: background var(--trans-fast);
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: transform var(--trans-fast), top var(--trans-fast);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* Mobile Nav Hidden State */
.main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--c-surface);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.nav-list a {
    color: var(--c-text);
    font-weight: 500;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: color var(--trans-fast), font-size var(--trans-base);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
    color: var(--c-brand);
}
.nav-cta {
    background: rgba(99, 215, 232, 0.1);
    border: 1px solid var(--c-brand-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--c-brand) !important;
    transition: all var(--trans-fast);
}
.nav-cta:hover,
.nav-cta[aria-current="page"] {
    background: var(--c-brand);
    color: var(--c-bg) !important;
    border-color: var(--c-brand);
    box-shadow: 0 0 12px rgba(99, 215, 232, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================= */
#main-content {
    padding-top: 70px;
    min-height: calc(100vh - 300px);
}

.hero {
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: center;
}

.system-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}
.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--c-success);
    animation: pulse 2s infinite;
}
.indicator-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--c-success);
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 300px;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    filter: brightness(0.7) contrast(1.1) saturate(0.8);
}
.diagnostic-panel {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 1rem;
    width: calc(100% - 2rem);
    max-width: 250px;
}
.diagnostic-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.25rem;
}
.diagnostic-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.diag-label {
    color: var(--c-text-muted);
}
.diag-value {
    color: var(--c-brand);
    font-weight: bold;
}

/* ==========================================================================
   Topic Cards Grid
   ========================================================================== */
.topic-cards-section {
    padding: var(--space-md) 0 var(--space-xl);
}
.section-header {
    margin-bottom: var(--space-md);
    text-align: center;
}
.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--c-text-muted);
}

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

.glass-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 215, 232, 0.4);
    color: inherit;
}

.card-image-wrap {
    height: 180px;
    overflow: hidden;
}
.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.8);
}
.glass-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-glass-panel {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to top, var(--c-surface) 80%, transparent);
}
.card-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--c-brand);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.card-meta {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-brand);
    transition: gap var(--trans-fast);
}
.glass-card:hover .card-cta {
    gap: 0.75rem;
}

/* ==========================================================================
   Internal Pages (Prose & Layouts)
   ========================================================================== */
.page-header {
    padding: var(--space-md) 0 var(--space-sm);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: var(--space-md);
}
.breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a {
    color: var(--c-text);
}
.breadcrumb a:hover {
    color: var(--c-brand);
}
.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--c-accent);
}
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}
.page-lead {
    font-size: 1.2rem;
    color: var(--c-text-muted);
    max-width: 800px;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding-bottom: var(--space-xl);
}

.prose-content {
    max-width: 800px;
}
.prose-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--c-brand);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}
.prose-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}
.prose-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.prose-content ul:not(.checklist) {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.prose-content li {
    margin-bottom: 0.5rem;
}

/* Components within prose */
.content-figure {
    margin: 2rem 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--c-surface);
}
.content-figure img {
    width: 100%;
}
.content-figure figcaption {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--c-text-muted);
    border-top: 1px solid var(--glass-border);
    font-style: italic;
}

.warning-banner {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--c-warning);
    margin: 2rem 0;
}
.warning-banner svg {
    flex-shrink: 0;
}
.warning-banner strong {
    display: block;
    color: var(--c-warning);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.warning-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.info-panel {
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--c-brand);
}
.info-panel h3 {
    margin-top: 0;
    color: var(--c-brand);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-success);
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sidebar-card {
    padding: 1.5rem;
}
.sidebar-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-links li {
    margin-bottom: 0.75rem;
}
.sidebar-links a {
    color: var(--c-text);
    display: block;
}
.sidebar-links a:hover {
    color: var(--c-brand);
    padding-left: 0.5rem;
}
.accent-card {
    background: linear-gradient(135deg, var(--c-surface), rgba(43, 158, 170, 0.2));
    border-color: rgba(99, 215, 232, 0.3);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}
.technical-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--c-surface);
}
.technical-table th, 
.technical-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.technical-table th {
    background: rgba(0,0,0,0.2);
    color: var(--c-brand);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.technical-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* ==========================================================================
   Contact Section & High-Contrast Form Design
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 3.5vw, 3rem);
    padding-bottom: var(--space-xl);
    align-items: start;
}

/* Left Column: Direct Contact & Info Card */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: #0d1721;
    border: 1px solid rgba(99, 215, 232, 0.3);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.info-card h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #ffffff;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid rgba(99, 215, 232, 0.25);
    padding-bottom: 0.75rem;
}

.contact-intro {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

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

.contact-detail-box {
    background: #13222e;
    border: 1px solid rgba(99, 215, 232, 0.2);
    border-left: 3px solid var(--c-brand);
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: transform var(--trans-fast), border-color var(--trans-fast), background var(--trans-fast);
}

.contact-detail-box:hover {
    background: #172a39;
    border-color: rgba(99, 215, 232, 0.45);
    transform: translateY(-2px);
}

.detail-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--c-brand);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.detail-label {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.detail-link {
    display: inline-block;
    color: #e2e8f0;
    font-size: 1rem;
    word-break: break-word;
    font-weight: 500;
    transition: color var(--trans-fast);
}

.detail-link:hover, 
.detail-link:focus {
    color: var(--c-brand);
    text-decoration: underline;
}

.detail-address {
    font-style: normal;
    color: #e2e8f0;
    font-size: 0.98rem;
    line-height: 1.6;
}

.status-box {
    border-left-color: var(--c-success);
    background: #0f1f28;
}

.status-box .detail-tag {
    color: var(--c-success);
}

.detail-note {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Right Column: Contact Form Window */
.contact-form-wrapper {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: #0c1620;
    border: 1.5px solid rgba(99, 215, 232, 0.35);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 215, 232, 0.05);
}

.form-header h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-instructions {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 215, 232, 0.2);
}

.tech-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
}

.form-group label {
    font-size: 0.98rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.form-group label .required {
    color: #38bdf8;
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 700;
}

/* Visible, High-Contrast Form Inputs */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    background-color: #111f2c;
    border: 2px solid #2f4858;
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 0.9rem 1.15rem;
    transition: border-color var(--trans-fast), background-color var(--trans-fast), box-shadow var(--trans-fast);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* Clear text placeholder */
input::placeholder,
textarea::placeholder {
    color: #7e9bb0;
    opacity: 1;
    font-size: 0.98rem;
}

/* Hover and Focus States */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover,
select:hover {
    border-color: #557e96;
    background-color: #142535;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--c-brand);
    background-color: #162a3c;
    box-shadow: 0 0 0 3px rgba(99, 215, 232, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Custom Select Dropdown with High-Contrast Arrow */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #63d7e8;
    pointer-events: none;
    transition: transform var(--trans-fast);
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3rem;
    cursor: pointer;
}

select option {
    background-color: #0e1a24;
    color: #ffffff;
    padding: 0.75rem;
}

select option:disabled {
    color: #7e9bb0;
    background-color: #0b141c;
}

/* Textarea Comfort & Readability */
textarea {
    min-height: 140px;
    resize: vertical;
    padding-top: 0.9rem;
}

/* Form Errors with High Visibility */
.error-msg {
    display: none;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ef4444 !important;
    background-color: #1f1418;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

/* Form Submit Action */
.form-action-wrap {
    margin-top: 0.5rem;
}

.form-submit {
    width: 100%;
    padding: 1rem 1.75rem;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(43, 158, 170, 0.35);
    cursor: pointer;
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99, 215, 232, 0.45);
}

.form-submit:active {
    transform: translateY(1px);
}

.form-success-msg {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid var(--c-success);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: 1.25rem;
    color: #d1fae5;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #09121a;
    border-top: 1px solid rgba(99, 215, 232, 0.2);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
}
.footer-domain-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    transition: color var(--trans-fast);
}
.footer-domain-link .brand-icon {
    color: var(--c-brand);
    transition: transform var(--trans-fast);
}
.footer-domain-link:hover {
    color: var(--c-brand);
}
.footer-domain-link:hover .brand-icon {
    transform: scale(1.1);
}
.company-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    color: var(--c-brand);
}
.company-reg {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
}
.company-address {
    font-size: 0.95rem;
    font-style: normal;
    color: #cbd5e1;
    line-height: 1.6;
}
.footer-email {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-brand);
    background: rgba(99, 215, 232, 0.05);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 215, 232, 0.2);
    transition: all var(--trans-base);
    align-self: flex-start;
    text-decoration: none;
}
.footer-email:hover {
    background: rgba(99, 215, 232, 0.15);
    color: #ffffff;
    border-color: var(--c-brand);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-links li {
    margin: 0;
}
.footer-links a {
    color: #cbd5e1;
    font-size: 1rem;
    transition: color var(--trans-fast), padding-left var(--trans-fast);
    display: inline-block;
}
.footer-links a:hover {
    color: var(--c-brand);
    padding-left: 0.3rem;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 29, 38, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--c-brand-dark);
    padding: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    transform: translateY(0);
    transition: transform var(--trans-base);
}
.cookie-banner[hidden] {
    display: none;
    transform: translateY(100%);
}
.cookie-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==========================================================================
   Media Queries (Responsive Design)
   ========================================================================== */
@media (min-width: 768px) {
    /* Header & Nav */
    .nav-toggle {
        display: none;
    }
    .main-nav {
        display: flex;
        flex: 1;
        position: static;
        background: transparent;
        border: none;
        padding: 0;
        margin-left: 0;
    }
    .nav-list {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        gap: clamp(1rem, 2vw, 2.25rem);
    }
    /* Places Contact link directly into the top right corner of the page */
    .nav-list li:last-child {
        margin-left: auto;
    }
    .nav-list a {
        font-size: 0.9rem;
    }
    .brand {
        font-size: 1rem;
    }

    /* Layouts */
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wide-card {
        grid-column: span 2;
    }
    .content-container {
        grid-template-columns: 2.5fr 1fr;
    }
    
    /* Footer & Cookie */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem var(--space-md);
    }
    .cookie-content {
        max-width: 60%;
    }

    /* Form button desktop */
    .form-submit {
        width: auto;
        min-width: 220px;
    }
}

@media (min-width: 1024px) {
    .brand {
        /* Spacious separation from the Maintenance nav link on desktop */
        margin-right: clamp(3.5rem, 6vw, 6.5rem);
        font-size: 1.1rem;
    }
    .nav-list {
        gap: 2.5rem;
    }
    .nav-list a {
        font-size: 0.95rem;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .wide-card {
        grid-column: span 2;
    }
    
    /* Contact page two-column grid on desktop */
    .contact-layout {
        grid-template-columns: 1fr 1.45fr;
        gap: 2.5rem;
    }
}