/* ============================================
   Futech – Main Stylesheet
   ============================================ */

:root {
    --bg:          #07090f;
    --bg-surface:  #0d1118;
    --bg-card:     #111827;
    --bg-card-hover: #161e2e;
    --border:      #1a2540;
    --border-light: #243050;
    --gold:        #c9a84c;
    --gold-light:  #e2c06a;
    --gold-dim:    rgba(201,168,76,0.12);
    --gold-glow:   rgba(201,168,76,0.25);
    --text:        #eef2fb;
    --text-muted:  #8899bb;
    --text-dim:    #3d4f72;
    --font-head:   'Montserrat', sans-serif;
    --font-body:   'Inter', sans-serif;
    --radius:      8px;
    --radius-lg:   16px;
    --transition:  0.25s ease;
    --max-w:       1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
p { color: var(--text-muted); }

.accent { color: var(--gold); }

/* ============================================
   Layout Utilities
   ============================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 110px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}
.section-eyebrow {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.section-sub {
    margin-top: 16px;
    font-size: 1.05rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--gold);
    color: #07090f;
    border-color: var(--gold);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.btn-primary:hover::after {
    animation: shimmer 0.65s ease forwards;
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-light);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   Navigation
   ============================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}
#site-header.scrolled {
    background: rgba(7,9,15,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}
.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo-fu { color: var(--text); }
.logo-tech { color: var(--gold); }
.logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-left: 2px;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-links a {
    padding: 8px 14px;
    font-size: 0.82rem;
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.3);
    margin-left: 8px;
    animation: pulseGlow 3s ease-in-out infinite;
}
.nav-links .nav-cta:hover {
    background: var(--gold);
    color: #07090f;
    animation: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Dropdown Menu
   ============================================ */
.has-dropdown { position: relative; }

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dropdown-trigger .chevron {
    opacity: 0.5;
    transition: transform var(--transition), opacity var(--transition);
    flex-shrink: 0;
}
.has-dropdown:hover .chevron,
.has-dropdown.open .chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    /* padding-top creates a hover bridge so the gap doesn't break hover */
    padding-top: 14px;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 200;
    min-width: 230px;
}
.dropdown-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    position: relative;
}
.dropdown-inner::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}

.has-dropdown.open .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-inner li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.dropdown-inner li a:hover {
    background: rgba(201,168,76,0.08);
    color: var(--text);
}
.dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.dd-label { font-weight: 500; }

/* ============================================
   Global keyframes
   ============================================ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes orbDrift1 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(55px, 40px) scale(1.18); }
}
@keyframes orbDrift2 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-45px, -55px) scale(1.12); }
}
@keyframes orbDrift3 {
    0%   { transform: translate(0, 0); opacity: 0.6; }
    100% { transform: translate(-28px, 45px); opacity: 1; }
}
@keyframes shimmer {
    from { left: -100%; }
    to   { left: 160%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
    50%       { box-shadow: 0 0 0 8px rgba(201,168,76,0.12); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes eyebrowLine {
    from { width: 0; opacity: 0; }
    to   { width: 32px; opacity: 0.5; }
}

/* ============================================
   Hero
   ============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7,9,15,0.65) 0%,
        rgba(7,9,15,0.40) 45%,
        rgba(7,9,15,0.88) 100%
    );
    z-index: 1;
    pointer-events: none;
}
.hero-content,
.hero-stats { position: relative; z-index: 2; }
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(30,80,200,0.05) 0%, transparent 60%);
    animation: orbDrift2 18s ease-in-out infinite alternate;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 0%, transparent 80%);
    opacity: 0.4;
}
/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(201,168,76,0.07);
    top: -100px;
    left: 18%;
    animation: orbDrift1 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(30,80,200,0.07);
    bottom: 8%;
    right: 12%;
    animation: orbDrift2 20s ease-in-out infinite alternate;
}
.hero-orb-3 {
    width: 220px;
    height: 220px;
    background: rgba(201,168,76,0.05);
    top: 35%;
    right: 8%;
    animation: orbDrift3 13s ease-in-out infinite alternate;
}

/* Hero entrance stagger */
.hero-content > * {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
}
.hero-eyebrow    { animation-delay: 0.15s; }
.hero-content h1 { animation-delay: 0.4s; }
.hero-sub        { animation-delay: 0.6s; }
.hero-actions    { animation-delay: 0.8s; }
.hero-stats      { animation-delay: 1.05s; }

.hero-content {
    position: relative;
    max-width: 860px;
    text-align: center;
    z-index: 1;
}
.hero-eyebrow {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}
.hero-content h1 {
    margin-bottom: 24px;
    color: var(--text);
}
.hero-accent {
    color: var(--gold);
    position: relative;
}
.hero-sub {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: rgba(238, 242, 251, 0.82);
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(13,17,24,0.6);
    backdrop-filter: blur(12px);
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
}
.stat {
    flex: 1;
    padding: 24px 20px;
    text-align: center;
}
.stat-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 24px rgba(201,168,76,0.35);
}
.stat-suffix {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.04em;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
}
.hero-scroll-hint span {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-head);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.7); }
}

/* ============================================
   About
   ============================================ */
#about {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text h2 {
    margin: 16px 0 24px;
}
.about-text p + p {
    margin-top: 16px;
}
.about-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.badge {
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color var(--transition), transform var(--transition);
}
.about-card:hover {
    border-color: var(--border-light);
    transform: translateX(4px);
}
.about-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    animation: float 4.5s ease-in-out infinite;
}
.about-card.card-2 .about-card-icon { animation-delay: 1.5s; }
.about-card.card-3 .about-card-icon { animation-delay: 3s; }
.about-card h4 { color: var(--text); margin-bottom: 6px; }
.about-card p { font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   Services
   ============================================ */
#services {
    position: relative;
}
.services-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.service-category {
    background: var(--bg-card);
    padding: 36px 30px;
    transition: background var(--transition);
}
.service-category:hover {
    background: var(--bg-card-hover);
}
.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.category-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.category-header h3 {
    font-size: 0.95rem;
    letter-spacing: 0;
    color: var(--text);
}
.service-list li {
    font-size: 0.83rem;
    color: var(--text-muted);
    padding: 7px 0;
    border-bottom: 1px solid rgba(26,37,64,0.5);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.service-list li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 7px;
    flex-shrink: 0;
    opacity: 0.7;
}
.service-list li:last-child { border-bottom: none; }

/* ============================================
   Solutions
   ============================================ */
#solutions {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.solution-card {
    background: var(--bg-card);
    padding: 40px 36px;
    position: relative;
    transition: background var(--transition);
}
.solution-card:hover {
    background: var(--bg-card-hover);
}
.solution-card.featured {
    background: linear-gradient(135deg, #111827 0%, #141d30 100%);
    border-bottom: 2px solid var(--gold);
    animation: pulseGlow 3.5s ease-in-out infinite;
}
.solution-number {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.7;
}
.solution-card h3 {
    color: var(--text);
    margin-bottom: 14px;
    font-size: 1.1rem;
}
.solution-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.solution-link {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition);
}
.solution-link::after {
    content: '→';
    transition: transform var(--transition);
}
.solution-link:hover::after { transform: translateX(4px); }

/* ============================================
   Partners – Infinite Marquee
   ============================================ */
#partners {}
.partners-marquee-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    padding: 8px 0;
}
.partners-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: marquee 48s linear infinite;
}
.partners-track:hover {
    animation-play-state: paused;
}
.pm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 130px;
    transition: border-color var(--transition), background var(--transition);
    cursor: default;
    flex-shrink: 0;
}
.pm-item:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}
.pm-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 96px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.42;
    transition: opacity var(--transition);
}
.pm-item:hover .pm-logo {
    opacity: 0.85;
}
.pm-name {
    font-family: var(--font-head);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color var(--transition);
}
.pm-item:hover .pm-name {
    color: var(--gold);
}

/* ============================================
   Projects
   ============================================ */
#projects {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: border-color var(--transition), transform var(--transition);
}
.project-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.project-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.project-card h3 {
    color: var(--text);
    margin-bottom: 14px;
}
.project-card > p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.project-outcomes {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.outcome {}
.outcome-value {
    display: block;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.outcome-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Team
   ============================================ */
#team {}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    transition: border-color var(--transition);
}
.team-card:hover { border-color: var(--border-light); }
.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 2px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}
.team-card h3 { color: var(--text); margin-bottom: 6px; }
.team-role {
    font-size: 0.78rem;
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.team-bio { font-size: 0.88rem; line-height: 1.7; }

/* ============================================
   Shop / E-commerce
   ============================================ */
#shop {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.shop-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px;
    position: relative;
    overflow: hidden;
}
.shop-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.shop-banner-text .section-eyebrow { text-align: left; }
.shop-banner-text h2 { margin: 16px 0 20px; text-align: left; }
.shop-banner-text p {
    margin-bottom: 28px;
    font-size: 0.95rem;
}
.notify-form {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}
.notify-form input {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}
.notify-form input:focus { border-color: var(--gold); }
.notify-note { font-size: 0.78rem; color: var(--text-dim); }
.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-cat {
    padding: 8px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    transition: border-color var(--transition), color var(--transition);
}
.shop-cat:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   Contact
   ============================================ */
#contact {}
.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: flex-start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--border-light); }
.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}
.contact-value {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
    transition: color var(--transition);
}
a.contact-value:hover { color: var(--gold); }
.response-note {
    margin-top: 8px;
    padding: 20px;
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
}
.response-note p { font-size: 0.83rem; color: var(--text-muted); }

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.form-group label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238899bb' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-status {
    margin-top: 16px;
    font-size: 0.88rem;
    text-align: center;
    min-height: 24px;
}
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ============================================
   Footer
   ============================================ */
#footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.footer-brand .logo-img-wrap { margin-bottom: 20px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-head);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 10px;
}
.footer-contact a {
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

/* ============================================
   WhatsApp Float + Back to Top
   ============================================ */
.wa-float {
    position: fixed;
    bottom: 88px;
    right: 28px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
    .services-categories { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
}

@media (max-width: 900px) {
    section { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .about-card-stack { flex-direction: row; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .shop-banner { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .pm-item { min-width: 110px; padding: 16px 20px; }
}

@media (max-width: 720px) {
    .services-categories { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; }
    .stat-divider { width: 48px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .about-card-stack { flex-direction: column; }
    .nav-toggle { display: flex; z-index: 1001; position: relative; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(7,9,15,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 96px 24px 24px; /* 72px header + 24px gap before first item */
        gap: 4px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);  /* 100% of own height → always fully above viewport */
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 100vh;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-links.open { transform: translateY(0); }
    /* Force all nav <li> to full width so Services aligns with other items */
    .nav-links > li { width: 100%; }
    .nav-links a { padding: 12px 16px; width: 100%; box-sizing: border-box; }
    /* Visually separate Contact Us from the rest */
    .nav-links > li:last-child { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
    .nav-links .nav-cta { margin-left: 0; margin-top: 0; text-align: center; padding-top: 14px; padding-bottom: 14px; }
    .notify-form { flex-direction: column; }

    /* Mobile dropdown – inline accordion */
    .has-dropdown { position: static; }
    .dropdown {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        padding-top: 0;
        min-width: unset;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.3s ease;
    }
    .has-dropdown.open .dropdown {
        max-height: 500px;
        pointer-events: auto;
    }
    .dropdown-inner {
        background: transparent;
        border: none;
        border-left: 2px solid var(--border-light);
        border-radius: 0;
        box-shadow: none;
        padding: 4px 0 4px 12px;
        margin: 4px 0 4px 16px;
    }
    .dropdown-inner::before { display: none; }
    .dropdown-inner li a {
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: normal;
    }
    .dropdown-trigger .chevron { opacity: 0.6; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .pm-item { min-width: 96px; padding: 14px 16px; }
    h1 { font-size: 2rem; }
    .wa-float { bottom: 80px; right: 16px; width: 46px; height: 46px; }
    .back-to-top { bottom: 24px; right: 16px; width: 38px; height: 38px; }
}

/* ============================================
   Reduced-motion safety net
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .hero-orb, .hero-bg, .about-card-icon,
    .solution-card.featured, .partners-track,
    .btn-primary::after, .nav-links .nav-cta,
    .service-card::before, .scroll-line { animation: none !important; }
    .hero-content > * { opacity: 1 !important; animation: none !important; }
}

/* ============================================
   Logo (image)
   ============================================ */
.logo-img-wrap { display: flex; align-items: center; }
.nav-logo {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.footer-logo {
    height: 34px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    opacity: 0.85;
}

/* ============================================
   Service Blocks (expanded layout)
   ============================================ */
.services-full {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--border);
}
.service-block {
    background: var(--bg-card);
    transition: background var(--transition);
}
.service-block-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 36px 40px 28px;
    border-bottom: 1px solid var(--border);
}
.service-block-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}
.service-block-header h3 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.15rem;
}
.service-block-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 700px;
}
.service-block-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}
.sbi {
    background: var(--bg-card);
    padding: 28px 32px;
    transition: background var(--transition);
}
.sbi:hover { background: var(--bg-card-hover); }
.sbi h4 {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0;
}
.sbi p {
    font-size: 0.83rem;
    line-height: 1.7;
}

/* ============================================
   Client Portal
   ============================================ */
#portal {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.portal-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.portal-banner::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.portal-lock {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.portal-text { flex: 1; }
.portal-text .section-eyebrow { text-align: left; }
.portal-text h2 { margin: 16px 0 16px; }
.portal-text > p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 32px; }
.portal-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}
.portal-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-head);
    font-weight: 500;
}
.portal-feature svg { color: var(--gold); flex-shrink: 0; }
.portal-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.portal-login-btn {
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
}
.portal-status-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}
.portal-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

/* ============================================
   Responsive additions
   ============================================ */
@media (max-width: 1100px) {
    .service-block-items { grid-template-columns: repeat(2, 1fr); }
    .portal-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .service-block-header { padding: 28px 28px 24px; }
    .sbi { padding: 24px; }
    .portal-banner { flex-direction: column; gap: 28px; padding: 36px; }
    .portal-lock { width: 56px; height: 56px; }
}
@media (max-width: 720px) {
    .service-block-items { grid-template-columns: 1fr; }
    .service-block-header { flex-direction: column; gap: 16px; }
    .portal-features { grid-template-columns: 1fr 1fr; }
    .portal-actions { flex-wrap: wrap; }
    .portal-banner { padding: 28px 24px; }
}
@media (max-width: 480px) {
    .portal-features { grid-template-columns: 1fr; }
    .nav-logo { height: 30px; }
}

/* ============================================
   Services Grid (index cards)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.4s ease;
    border-radius: 0;
}
.service-card:hover {
    border-color: rgba(201,168,76,0.4);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 0 rgba(201,168,76,0);
}
.service-card:hover::before {
    width: 100%;
}
.sc-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 4px;
    flex-shrink: 0;
    transition: background var(--transition);
}
.service-card:hover .sc-icon { background: rgba(201,168,76,0.2); }
.service-card h3 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.service-card p {
    font-size: 0.85rem;
    line-height: 1.65;
    flex: 1;
}
.sc-link {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    transition: gap var(--transition);
}
.sc-link::after { content: '→'; }
.service-card:hover .sc-link { gap: 10px; }

/* ============================================
   Service Page Hero (shorter)
   ============================================ */
.page-hero-sm {
    padding: 140px 0 64px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-hero-sm .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.page-hero-sm .container { position: relative; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 0.78rem;
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-dim); }
.page-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 24px;
}
.page-hero-sm h1 { margin-bottom: 18px; }
.page-hero-sm > .container > p {
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.8;
}

/* ============================================
   Service Page Detail Grid
   ============================================ */
.service-page-content { padding: 80px 0; }
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.sd-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: border-color var(--transition), transform var(--transition);
}
.sd-item:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.sd-item h3 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.sd-item p { font-size: 0.88rem; line-height: 1.8; }

/* ============================================
   Service Page CTA
   ============================================ */
.service-page-cta {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}
.service-cta-inner {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}
.service-cta-inner h2 { margin-bottom: 16px; }
.service-cta-inner p { margin-bottom: 32px; font-size: 0.95rem; }

/* ============================================
   Related Services
   ============================================ */
.related-services { padding: 64px 0; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.83rem;
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.related-card:hover {
    border-color: var(--gold);
    color: var(--text);
    background: var(--bg-card-hover);
}
.related-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   Responsive – new additions
   ============================================ */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero-sm { padding: 120px 0 48px; }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .sd-item { padding: 28px 24px; }
}
@media (max-width: 420px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Legal Pages (Terms / Privacy)
   ============================================ */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
    padding: 64px 0 96px;
}
.legal-toc {
    position: sticky;
    top: 96px;
}
.legal-toc h4 {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 16px;
}
.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}
.legal-toc ol li {
    counter-increment: toc;
    margin-bottom: 4px;
}
.legal-toc ol li::before {
    content: counter(toc) ". ";
    color: var(--text-muted);
    font-size: 0.78rem;
}
.legal-toc a {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color var(--transition);
}
.legal-toc a:hover { color: var(--gold); }

.legal-body { min-width: 0; }
.legal-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.legal-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.legal-meta span strong { color: var(--text); }

.legal-section {
    margin-bottom: 52px;
    scroll-margin-top: 100px;
}
.legal-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-section h2 .ls-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    background: var(--gold-dim);
    border-radius: 4px;
    padding: 2px 7px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}
.legal-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin: 20px 0 8px;
}
.legal-section p, .legal-section li {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.9;
}
.legal-section ul, .legal-section ol {
    padding-left: 20px;
    margin: 8px 0 16px;
}
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li { margin-bottom: 6px; }
.legal-section a { color: var(--gold); }
.legal-section a:hover { color: var(--gold-lt); }
.legal-section strong { color: var(--text); font-weight: 600; }

.supplier-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.83rem;
}
.supplier-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-head);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.supplier-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: top;
    line-height: 1.6;
}
.supplier-table tr:hover td { background: var(--bg-card); }
.supplier-table td a { color: var(--gold); font-size: 0.8rem; }
.supplier-table td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

.legal-highlight {
    background: var(--gold-dim);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.legal-highlight strong { color: var(--gold); }

@media (max-width: 860px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; margin-bottom: 32px; }
    .supplier-table { display: block; overflow-x: auto; }
}

/* Footer legal links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
}
.footer-legal-links a { color: var(--text-muted); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--gold); }
.footer-legal-links .sep { color: var(--border); }

/* ============================================
   Hero Photo Background
   ============================================ */
/* hero photo handled on #hero directly above */

/* ============================================
   Service Page Photo Heroes
   ============================================ */
.page-hero-sm[style*="background-image"] {
    background-size: cover;
    background-position: center;
}
.page-hero-sm[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(7,9,15,0.92) 0%,
        rgba(7,9,15,0.70) 55%,
        rgba(7,9,15,0.50) 100%
    );
    z-index: 0;
}
.page-hero-sm {
    position: relative;
}
.page-hero-sm .container {
    position: relative;
    z-index: 1;
}

/* Hide partner name when a logo image is already present */
.pm-item:has(.pm-logo) .pm-name { display: none; }
