/* ==========================================================================
   BUD - TECHNIK KRZYSZTOF DOMAGAŁA — MEGA MODERN PRO (2026)
   Dark-mode first · Glassmorphism · Scroll Animations · Premium UX
   ========================================================================== */

/* ---- Custom Properties ------------------------------------------------- */
:root {
    /* Palette */
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --accent-glow: rgba(245, 158, 11, .35);

    --bg-body: #09090b;
    --bg-surface: #18181b;
    --bg-card: rgba(30, 30, 35, .65);
    --bg-glass: rgba(255, 255, 255, .04);

    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border: rgba(255, 255, 255, .06);
    --border-hover: rgba(245, 158, 11, .3);

    /* Typography */
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
    --shadow-glow: 0 0 80px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-surface);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Layout ------------------------------------------------------------ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

.section {
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    letter-spacing: -.025em;
    line-height: 1.15;
    font-weight: 700;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-center .section-eyebrow::before { display: none; }
.text-center .section-eyebrow::after {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ---- Gradient Text ----------------------------------------------------- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    border: none;
    border-radius: 12px;
    padding: 16px 36px;
    cursor: pointer;
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #000;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 158, 11, .06);
}

.btn-ghost {
    background: var(--bg-glass);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, .2);
    padding: 11px 22px;
    font-size: .88rem;
}

.btn-ghost:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.btn-block { width: 100%; }

.btn svg { flex-shrink: 0; }

/* ---- Navbar ------------------------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all .4s var(--ease);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: all .4s var(--ease);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, .85);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled .navbar-inner {
    padding: 14px 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.04em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-accent { color: var(--accent); }
.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 3px;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.7); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    display: block;
    padding: 8px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all .3s var(--ease);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform .3s var(--ease);
}

.nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all .3s var(--ease);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(4px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(4px);
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.35) saturate(1.1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg-body) 0%, transparent 25%),
        linear-gradient(180deg, transparent 60%, var(--bg-body) 100%),
        linear-gradient(90deg, rgba(9, 9, 11, .8) 0%, transparent 60%);
}

/* Animated grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(245, 158, 11, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, .03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black 0%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: clamp(60px, 10vw, 120px) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .2);
    padding: 8px 20px 8px 12px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -.035em;
}

.hero-desc {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 72px;
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 580px;
}

.hero-stat {
    background: rgba(24, 24, 27, .7);
    backdrop-filter: blur(10px);
    padding: 28px 24px;
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- About Section ----------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

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

/* Floating experience badge */
.about-float-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: #000;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    z-index: 2;
}

.about-float-badge .big-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.about-float-badge .small-text {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .8;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: rgba(245, 158, 11, .1);
    border: 1px solid rgba(245, 158, 11, .25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

/* ---- Services ---------------------------------------------------------- */
.services-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.service-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all .4s var(--ease);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 0 60px rgba(245, 158, 11, .08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(245, 158, 11, .04));
    border: 1px solid rgba(245, 158, 11, .15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all .4s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 0 30px var(--accent-glow);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.service-tag {
    font-size: .72rem;
    font-weight: 600;
    padding: 5px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    transition: all .3s var(--ease);
}

.service-card:hover .service-tag {
    border-color: rgba(245, 158, 11, .2);
    color: var(--text-secondary);
}

/* ---- Why Us (Features) ------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
}

.feature-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(245, 158, 11, .2) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Portfolio --------------------------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    group: portfolio;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease), filter .7s var(--ease);
    filter: brightness(.75) saturate(1.1);
}

.portfolio-item:hover img {
    transform: scale(1.08);
    filter: brightness(.5) saturate(1.2);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        rgba(9, 9, 11, .9) 100%
    );
}

.portfolio-category {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.portfolio-overlay h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    transform: translateY(8px);
    opacity: .8;
    transition: all .4s var(--ease);
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay span {
    font-size: .85rem;
    color: var(--text-muted);
    transform: translateY(8px);
    opacity: 0;
    transition: all .4s var(--ease) .05s;
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
    opacity: 1;
}

/* ---- CTA Banner -------------------------------------------------------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 72px);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #000;
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    color: rgba(0, 0, 0, .7);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-banner .btn {
    background: #000;
    color: var(--accent);
    font-size: 1.05rem;
    padding: 18px 44px;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    position: relative;
}

.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

/* ---- Contact Section --------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.contact-info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: var(--text-muted);
    margin-bottom: 36px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(245, 158, 11, .04));
    border: 1px solid rgba(245, 158, 11, .15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.info-item strong {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item a,
.info-item p {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.phone-link {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--accent) !important;
    transition: all .3s var(--ease);
}

.phone-link:hover {
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Contact Form */
.contact-form-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.contact-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: .92rem;
    transition: all .3s var(--ease);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
    background: rgba(245, 158, 11, .03);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* ---- Footer ------------------------------------------------------------ */
footer {
    background: var(--bg-body);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-brand .logo {
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: .82rem;
    color: var(--text-muted);
}

.footer-copy {
    font-size: .82rem;
    color: var(--text-muted);
    text-align: right;
}

.footer-copy a {
    color: var(--accent);
    transition: color .3s var(--ease);
}

.footer-copy a:hover {
    color: var(--accent-light);
}

/* ---- Reveal Animations ------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---- Mobile Overlay Menu ----------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(9, 9, 11, .96);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 12px 32px;
    border-radius: 12px;
    transition: all .3s var(--ease);
}

.mobile-menu-overlay a:hover {
    color: var(--accent);
    background: var(--bg-glass);
}

.mobile-menu-cta {
    margin-top: 32px;
}

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .nav-menu {
        display: none;
    }

    .nav-cta-wrapper .btn-ghost {
        display: none;
    }

    .burger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats-bar {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-stat {
        padding: 16px 8px;
    }

    .hero-stat-value {
        font-size: 1.1rem;
    }

    .hero-stat-label {
        font-size: .65rem;
    }

    .cta-banner {
        border-radius: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 32px 24px;
    }

    .about-float-badge {
        bottom: -12px;
        right: 12px;
        padding: 18px;
    }

    .about-float-badge .big-num {
        font-size: 1.8rem;
    }

    .scroll-indicator {
        display: none;
    }
}
