/* =====================================================================
   SH Tech Industry — Public Site Stylesheet
   Dark, futuristic tech theme: deep navy background, neon blue/cyan
   accents, glassmorphism, glow effects. Built with CSS variables so
   the palette can be re-themed from one place if needed.
   ===================================================================== */

:root {
    /* Surfaces */
    --bg: #090d18;
    --bg-elevated: #111a2e;
    --bg-elevated-2: #16213b;
    --bg-deep: #05070d;

    /* Borders */
    --border-color: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(56, 189, 248, 0.4);

    /* Text */
    --text-main: #f1f5f9;
    --text-secondary: #aab4c5;
    --text-muted: #6b7891;

    /* Accents */
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent-2: #22d3ee;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
    --glow: rgba(56, 189, 248, 0.4);

    /* Shadows (dark-mode depth, not light-mode soft shadows) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.6);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    background-color: var(--bg);
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    background-attachment: fixed;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3 { color: var(--text-main); font-family: var(--font-sans); }
a { text-decoration: none; color: var(--accent-2); transition: var(--transition-smooth); }
a:hover { color: #67e8f9; }

::selection { background: rgba(56, 189, 248, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2a44; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------------
   Reduced motion: respected site-wide
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------------------------------------------------------------
   Preloader
   --------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
    width: 46px;
    height: 46px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-2);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------
   Page-load + scroll-reveal animation
   --------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   Eyebrow tag (used above section titles)
   --------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-2);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   Header & Navigation
   --------------------------------------------------------------- */
header {
    background: rgba(9, 13, 24, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
header.scrolled .container { padding: 10px 20px; }
header.scrolled { box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.5); background: rgba(9, 13, 24, 0.92); }

.header-logo-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #93c5fd, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

nav { display: flex; gap: 25px; align-items: center; }
nav a.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
}
nav a.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-2);
    transition: var(--transition-smooth);
}
nav a.nav-link:hover { color: var(--text-main); }
nav a.nav-link:hover::after,
nav a.nav-link.active::after { width: 100%; }
nav a.nav-link.active { color: var(--text-main); }

.nav-cta {
    background: var(--accent-gradient);
    color: #04101f;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: 24px;
    box-shadow: 0 4px 16px -4px rgba(56, 189, 248, 0.55);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.nav-cta:hover { color: #04101f; transform: translateY(-2px); box-shadow: 0 8px 22px -4px rgba(56, 189, 248, 0.7); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1040;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------
   Hero Section
   --------------------------------------------------------------- */
.hero {
    text-align: center;
    padding: 84px 20px 76px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.14) 0%, transparent 55%);
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.2) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
    z-index: 0;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.hero-glow-1 { width: 380px; height: 380px; background: var(--primary); top: -120px; left: 8%; animation: floatBlob 14s ease-in-out infinite; }
.hero-glow-2 { width: 320px; height: 320px; background: var(--accent-2); bottom: -140px; right: 10%; animation: floatBlob 18s ease-in-out infinite reverse; }
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.08); }
}
.hero-content { position: relative; z-index: 1; }
.hero h2 {
    font-size: 3rem;
    margin: 0 0 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px auto;
}
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: #04101f;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 28px -8px rgba(56, 189, 248, 0.55);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 14px 34px -8px rgba(56, 189, 248, 0.7);
    color: #04101f;
}
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-strong);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}
.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-2);
    color: #fff;
    transform: translateY(-3px);
}

/* ---------------------------------------------------------------
   Sections
   --------------------------------------------------------------- */
section { padding: 64px 0; position: relative; overflow: hidden; }
section[id] { scroll-margin-top: 84px; }

.glow-bg::before {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}
.glow-bg-1::before { background: var(--primary); top: -120px; right: -160px; }
.glow-bg-2::before { background: var(--accent-2); bottom: -160px; left: -160px; }

.section-header { text-align: center; margin-bottom: 42px; }
.section-title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
}

/* About Section */
.about-card {
    background: var(--bg-elevated);
    padding: 44px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--border-color);
}
.about-content h3 { font-size: 1.8rem; margin-top: 0; margin-bottom: 4px; }
.about-content .about-role { color: var(--accent-2); font-weight: 600; margin-bottom: 14px; display: block; }
.about-content p { color: var(--text-secondary); font-size: 1.1rem; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-elevated);
    padding: 36px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.product-visual {
    width: 100%;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(34, 211, 238, 0.14));
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.icon-tile-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.icon-tile-inner svg {
    width: 52px; height: 52px;
    color: var(--accent-2);
    filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.5));
    transition: var(--transition-smooth);
}
.product-card:hover .product-visual { border-color: var(--border-strong); box-shadow: 0 0 30px -6px rgba(56, 189, 248, 0.45); }
.product-card:hover .product-visual img { transform: scale(1.06); }
.product-card:hover .icon-tile-inner svg { transform: scale(1.1); }
.product-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.product-card p { color: var(--text-secondary); font-size: 1rem; }

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.client-card {
    background: var(--bg-elevated);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.client-card:hover { background: var(--bg-elevated-2); transform: translateY(-5px); border-color: var(--border-strong); }
.client-card h3 { font-size: 1.1rem; margin: 0; color: var(--text-main); }
.client-card p { font-size: 0.9rem; color: var(--text-muted); margin-top: 5px; }

/* ---------------------------------------------------------------
   Media tiles (logo / profile photo / client logo with a generated
   "initials" fallback instead of an external placeholder service)
   --------------------------------------------------------------- */
.media-tile { position: relative; display: inline-flex; }
.media-tile img { display: block; }
.media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-sans);
}
.media-fallback.variant-1 { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.media-fallback.variant-2 { background: linear-gradient(135deg, #6366f1, #3b82f6); }
.media-fallback.variant-3 { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }
.media-fallback.variant-4 { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.media-fallback.variant-5 { background: linear-gradient(135deg, #2563eb, #06b6d4); }

.logo-tile { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile .media-fallback { width: 100%; height: 100%; font-size: 0.95rem; border-radius: 10px; }

.profile-pic { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 4px solid var(--bg-elevated); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3), var(--shadow-md); transition: var(--transition-smooth); }
.profile-pic img { width: 100%; height: 100%; object-fit: cover; }
.profile-pic .media-fallback { width: 100%; height: 100%; font-size: 3rem; }
.profile-pic:hover { transform: scale(1.04) rotate(1deg); }
.profile-img-container { flex-shrink: 0; }

.client-logo-tile { width: 100%; height: 60px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.client-logo-tile img { max-height: 60px; max-width: 100%; object-fit: contain; filter: grayscale(60%) brightness(1.3) opacity(0.8); transition: var(--transition-smooth); }
.client-card:hover .client-logo-tile img { filter: none; opacity: 1; }
.client-logo-tile .media-fallback { width: 56px; height: 56px; border-radius: 12px; font-size: 1.1rem; margin: 0 auto; }

/* ---------------------------------------------------------------
   Contact Section
   --------------------------------------------------------------- */
.contact-card {
    background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
    color: var(--text-main);
    padding: 56px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 900px;
    margin: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-strong);
}
.contact-card h2 { color: #ffffff; margin: 4px 0 15px; }
.contact-card p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 25px; }
.contact-card strong { color: #e2e8f0; font-weight: 600; }
.contact-card a { color: var(--accent-2); font-weight: 500; }
.contact-card a:hover { color: #bae6fd; text-decoration: underline; }

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 12px;
}
.contact-details > div { display: flex; flex-direction: column; gap: 8px; }

/* Contact form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 35px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: left;
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) {
    .form-row.two-col { grid-template-columns: 1fr 1fr; }
}
.form-group label {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 7px;
    color: #cbd5e1;
    font-weight: 600;
}
.form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}
.form-control::placeholder { color: #64748b; }
.form-control:focus {
    outline: none;
    border-color: var(--accent-2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-error { color: #fca5a5; font-size: 0.86rem; margin-top: 5px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: #fca5a5; }

.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
    margin-top: 6px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.form-status.show { display: flex; }
.form-status.success { background: rgba(34, 197, 94, 0.12); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.form-status.error { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

.spinner-sm {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: -3px;
    margin-right: 8px;
}

/* ---------------------------------------------------------------
   Social links
   --------------------------------------------------------------- */
.social-links { display: flex; gap: 14px; justify-content: center; margin: 18px 0 4px; }
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.social-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.social-links svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
    background: linear-gradient(180deg, var(--bg-deep) 0%, #020306 100%);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-2), var(--primary));
}
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { padding-right: 10px; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(to right, #60a5fa, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-blurb { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 22px; max-width: 320px; }

.footer-heading { color: #f1f5f9; font-size: 1rem; font-weight: 700; margin: 0 0 20px; letter-spacing: 0.02em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; transition: var(--transition-smooth); display: inline-flex; align-items: center; }
.footer-links a::before { content: ''; width: 0; height: 1px; background: var(--accent-2); margin-right: 0; transition: var(--transition-smooth); display: inline-block; }
.footer-links a:hover { color: #f1f5f9; padding-left: 4px; }
.footer-links a:hover::before { width: 10px; margin-right: 8px; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-muted); }
.footer-contact svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--accent-2); }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: #f1f5f9; }

.site-footer .social-links { justify-content: flex-start; margin: 0; }
.site-footer .social-links a { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #cbd5e1; }
.site-footer .social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom-inner p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.back-to-top { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; transition: var(--transition-smooth); }
.back-to-top svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.back-to-top:hover { color: var(--accent-2); }
.back-to-top:hover svg { transform: translateY(-3px); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    nav#primaryNav {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        width: 270px;
        background: var(--bg-elevated);
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 100px 30px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        border-left: 1px solid var(--border-color);
    }
    nav#primaryNav.open { right: 0; }
    .nav-cta { width: 100%; text-align: center; }

    .hero { padding: 70px 20px 64px; }
    .hero h2 { font-size: 2.2rem; }
    .about-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .contact-details { flex-direction: column; gap: 20px; }
    .contact-card { padding: 40px 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-brand { padding-right: 0; }
    .footer-blurb { max-width: none; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
