/* ============================================
   530 Expert — SEO Behemoth Stylesheet
   Brand Colors: Deep navy, golden yellow, white
   Font: Outfit (display), Space Grotesk (body)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #0a0a1a;
    --color-bg-alt: #111128;
    --color-bg-card: #16163a;
    --color-bg-card-hover: #1e1e4a;
    --color-surface: #1a1a3e;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    --color-text: #e8e8f0;
    --color-text-muted: #9898b8;
    --color-text-dim: #6868a0;

    --color-accent: #f5c518;
    --color-accent-hover: #ffd84d;
    --color-accent-glow: rgba(245, 197, 24, 0.15);
    --color-accent-subtle: rgba(245, 197, 24, 0.08);

    --color-blue: #4da6ff;
    --color-blue-dim: rgba(77, 166, 255, 0.12);

    --color-white: #ffffff;

    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--color-accent-glow);

    --container-max: 1200px;
    --container-wide: 1400px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent-hover); }

ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
strong { font-weight: 600; color: var(--color-white); }
em { font-style: italic; }
p + p { margin-top: 1em; }

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 10000;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border-hover);
}
.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* --- Section base --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--color-white);
    margin-bottom: 20px;
    max-width: 800px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin-bottom: 56px;
    line-height: 1.8;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    transition: background var(--transition-base);
}

.nav-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-links a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-lg) !important;
    padding: 10px 24px !important;
}
.nav-cta:hover {
    background: var(--color-accent-hover) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    transition: all var(--transition-fast);
}
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 0 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 197, 24, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 197, 24, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 20%, transparent 70%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--color-accent-subtle);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-highlight {
    position: relative;
    color: var(--color-accent);
    display: inline-block;
}
.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--color-accent);
    opacity: 0.25;
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s 0.6s ease both;
}

.stat-item { text-align: left; }
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-white);
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero-mascot {
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    bottom: 0;
    width: 320px;
    z-index: 1;
    opacity: 0.2;
    pointer-events: none;
}
.hero-mascot img { width: 100%; }

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dim);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s 1s ease both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 40px;
}

.about-why {
    padding: 28px 32px;
    background: var(--color-accent-subtle);
    border: 1px solid rgba(245, 197, 24, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.about-why h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.about-why p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.about-quote {
    padding-left: 24px;
    border-left: 3px solid var(--color-accent);
}
.about-quote p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.5;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-card);
    padding: 24px;
}
.about-image-wrapper img {
    border-radius: var(--radius-md);
    width: 100%;
}

.about-image-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-text-dim);
}
.about-image-caption span {
    color: var(--color-accent);
    font-weight: 600;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-blue));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.service-title {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.service-tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.why-card {
    padding: 40px 36px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.why-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.why-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}
.why-icon img { width: 100%; height: 100%; object-fit: contain; }

.why-card h3 {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* CTA Block */
.why-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    padding: 56px;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-surface));
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-xl);
}

.why-cta-mascot { width: 180px; }
.why-cta-mascot img { width: 100%; border-radius: var(--radius-md); }

.why-cta-content h3 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.why-cta-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 560px;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
    background: var(--color-bg);
    text-align: center;
}

.clients .section-title,
.clients .section-description {
    margin-left: auto;
    margin-right: auto;
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    min-height: 120px;
}

.client-logo:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.client-logo img {
    max-height: 100px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    filter: invert(1) brightness(1.8) contrast(1.1);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.client-logo:hover img {
    opacity: 1;
    filter: invert(1) brightness(2) contrast(1.2);
}

.clients-note {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}
.clients-note a {
    color: var(--color-accent);
    font-weight: 500;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 28px 0;
    list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    padding-right: 24px;
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border-hover);
    position: relative;
    transition: all var(--transition-fast);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--color-text-muted);
    transition: all var(--transition-fast);
}
.faq-toggle::before {
    width: 12px; height: 1.5px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.faq-toggle::after {
    width: 1.5px; height: 12px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

details[open] .faq-toggle {
    border-color: var(--color-accent);
    background: var(--color-accent-subtle);
}
details[open] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
details[open] .faq-toggle::before {
    background: var(--color-accent);
}

.faq-answer {
    padding: 0 0 28px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.85;
}

.faq-answer a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-mascot {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.contact-mascot img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background: var(--color-surface);
    box-shadow: 0 0 0 4px var(--color-accent-subtle);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.contact-alt {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.contact-alt p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--color-text-dim); line-height: 1.7; max-width: 280px; }

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.footer-bottom a { color: var(--color-accent); }

/* ============================================
   ANIMATIONS (Intersection Observer driven)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-mascot { width: 200px; opacity: 0.12; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-cta { grid-template-columns: 1fr; text-align: center; }
    .why-cta-mascot { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-mascot { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-container { margin-left: auto; margin-right: auto; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }
    .section { padding: 80px 0; }

    .nav-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-alt);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 24px 40px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-cta { text-align: center !important; }

    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-mascot { display: none; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .clients-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .why-cta { padding: 32px 24px; }

    .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .clients-logo-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PENGUIN CROWD FOOTER ART
   ============================================ */
.footer-crowd-section {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    text-align: center;
}

.footer-crowd-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.footer-crowd-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.footer-crowd-section .container { position: relative; z-index: 1; }

.footer-crowd-section .crowd-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-white);
    max-width: 700px;
    margin: 0 auto 12px;
    line-height: 1.2;
}

.footer-crowd-section .crowd-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.footer-crowd-section .crowd-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   INTERIOR PAGE HERO
   ============================================ */
.page-hero {
    padding: calc(var(--header-height) + 80px) 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

.page-hero .hero-bg-grid,
.page-hero .hero-noise {
    position: absolute;
    inset: 0;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-bottom: 28px;
}

.page-hero .breadcrumb a {
    color: var(--color-text-dim);
    transition: color var(--transition-fast);
}

.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb .sep { color: var(--color-text-dim); opacity: 0.4; }
.page-hero .breadcrumb .current { color: var(--color-accent); }

.page-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
    max-width: 800px;
}

.page-hero-sub {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 640px;
    margin-bottom: 36px;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--color-accent-subtle);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
}

/* ============================================
   CONTENT SECTIONS (Interior Pages)
   ============================================ */
.content-section {
    padding: 80px 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.content-body {
    max-width: 780px;
}

.content-body h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--color-white);
    margin: 56px 0 20px;
    line-height: 1.2;
}

.content-body h2:first-child { margin-top: 0; }

.content-body h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin: 40px 0 14px;
}

.content-body p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.content-body ul,
.content-body ol {
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-body li {
    padding-left: 24px;
    position: relative;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.content-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.content-body ol { counter-reset: ol-counter; }
.content-body ol li { counter-increment: ol-counter; }
.content-body ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.content-body blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 3px solid var(--color-accent);
    background: var(--color-accent-subtle);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.content-body blockquote p {
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 0;
}

/* Feature grid for service pages */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    padding: 32px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.feature-item h4 {
    font-size: 1.05rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.process-step {
    padding: 32px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
}

.process-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.process-step h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Internal link cards for cross-linking */
.related-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.related-card {
    display: block;
    padding: 28px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.related-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.related-card h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 6px;
}

.related-card p {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    margin-bottom: 0;
}

.related-card .arrow {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   ABOUT PAGE — Team / EEAT
   ============================================ */
.eeat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.eeat-card {
    padding: 36px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.eeat-card .eeat-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.eeat-card h3 {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.eeat-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* CTA band */
.cta-band {
    padding: 48px;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-surface));
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 56px 0;
}

.cta-band h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.cta-band p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   INTERIOR PAGE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .page-hero { padding: calc(var(--header-height) + 48px) 0 56px; }
    .content-section { padding: 56px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .eeat-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 32px 20px; }
    .footer-crowd-section { padding: 64px 0 40px; }
    .related-services { grid-template-columns: 1fr; }
}

/* ============================================
   INLINE LOGO IN HEADING
   ============================================ */
.inline-logo {
    display: inline-block;
    height: 1.1em;
    width: auto;
    vertical-align: baseline;
    margin-right: 4px;
    position: relative;
    top: 0.05em;
}

/* ============================================
   WHY 530 TABLE (no borders)
   ============================================ */
.why-table {
    border-collapse: collapse;
    margin: 16px 0 20px;
}

.why-table td {
    padding: 6px 0;
    border: none;
    vertical-align: middle;
    font-family: var(--font-display);
}

.why-num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-white);
    width: 56px;
    text-align: center;
}

.why-arrow {
    font-size: 1.2rem;
    color: var(--color-accent);
    padding: 0 16px !important;
    opacity: 0.6;
}

.why-letter {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-accent);
    width: 56px;
    text-align: center;
}

/* ============================================
   FLIP HORIZONTAL UTILITY
   ============================================ */
.flip-h {
    transform: scaleX(-1);
}

/* ============================================
   SHOWCASE GRID
   ============================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.showcase-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-decoration: none;
}

.showcase-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.showcase-card .showcase-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-surface);
}

.showcase-card .showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-thumb img {
    transform: scale(1.04);
}

.showcase-card .showcase-info {
    padding: 20px 24px;
}

.showcase-card .showcase-domain {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.showcase-card .showcase-label {
    font-size: 0.82rem;
    color: var(--color-text-dim);
}

.showcase-card .showcase-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.showcase-card:hover .showcase-arrow { opacity: 1; }

/* Showcase detail page */
.showcase-hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin: 32px 0;
    box-shadow: var(--shadow-lg);
}

.showcase-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin: 24px 0 40px;
}

.showcase-meta-item {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.showcase-meta-item strong {
    color: var(--color-text);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

@media (max-width: 1024px) {
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .why-num, .why-letter { font-size: 1.8rem; }
}

/* ============================================
   PAGE HERO ICON (service icon in hero)
   ============================================ */
.page-hero-icon {
    margin-bottom: 20px;
}

.page-hero-icon img {
    height: 72px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(245, 197, 24, 0.2));
}

/* ============================================
   FLOATING MASCOT (beside CTA bands)
   ============================================ */
.page-mascot-float {
    text-align: center;
    margin: 48px 0 -20px;
}

.page-mascot-img {
    max-height: 220px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
    opacity: 0.85;
    transition: opacity var(--transition-base);
}

.page-mascot-float:hover .page-mascot-img {
    opacity: 1;
}

/* ============================================
   ABOUT PAGE PENGUIN BLOCK
   ============================================ */
.about-penguin-block {
    text-align: center;
    margin: 56px 0 48px;
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.about-penguin-img {
    max-width: 320px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
}

.about-penguin-caption {
    font-size: 1rem;
    color: var(--color-text-dim);
    font-style: italic;
}

.about-penguin-caption span {
    color: var(--color-accent);
    font-weight: 600;
    font-style: normal;
}

@media (max-width: 768px) {
    .page-hero-icon img { height: 56px; }
    .page-mascot-img { max-height: 160px; }
    .about-penguin-img { max-width: 220px; }
}

/* ============================================
   SERVICE CARD AS LINK
   ============================================ */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-link .service-card {
    cursor: pointer;
}

.service-card .service-read-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-base);
}

.service-card:hover .service-read-more {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   PENGUIN IN WHY-US SECTION
   ============================================ */
.why-penguin-inline {
    float: right;
    width: 200px;
    margin: -20px 0 20px 32px;
    opacity: 0.85;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .why-penguin-inline {
        float: none;
        display: block;
        margin: 0 auto 24px;
        width: 160px;
    }
    .footer-crowd-section { padding: 80px 0 60px; }
}

/* Footer tools column */
.footer-tools h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    margin-bottom: 20px;
}
.footer-tools ul { display: flex; flex-direction: column; gap: 10px; }
.footer-tools a {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}
.footer-tools a:hover { color: var(--color-accent); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
