/* ================================================
   ILMION KREATIF — Portfolio Website
   Design: Apple-inspired minimal, light theme
   ================================================ */

/* === TOKENS — warm palette === */
:root {
    --bg:          #faf5ee;
    --bg-alt:      #f3ede2;
    --bg-card:     #ffffff;
    --text:        #1a1523;
    --text-sec:    #6b6278;
    --accent:      #f97316;
    --accent-dark: #ea6c0a;
    --border:      #e0d5c5;
    --border-lt:   #ede6da;

    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;
    --r-pill: 980px;

    --sh-sm: 0 2px 8px rgba(0,0,0,.05);
    --sh-md: 0 4px 24px rgba(0,0,0,.08);
    --sh-lg: 0 12px 48px rgba(0,0,0,.12);

    --ease: cubic-bezier(.25,.46,.45,.94);
    --dur:  .3s;

    --max-w: 1100px;
    --sec-y: 108px;
    --gap:   20px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* === CONTAINER === */
.container {
    width: 100%;
    padding: 0 60px;
}

/* === TYPOGRAPHY HELPERS === */
.text-accent { color: var(--accent); font-style: normal; }
.ta-left { text-align: left !important; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -.01em;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    line-height: 1;
}
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249,115,22,.35);
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #ea6c0a 0%, #db2777 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249,115,22,.45);
}
.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover {
    background: var(--bg-alt);
    border-color: var(--accent);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* ================================================
   NAV
   ================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 200;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur), box-shadow var(--dur);
}
.nav.scrolled {
    border-bottom-color: var(--border-lt);
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav-inner {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 8px;
}
.nav-logo {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.04em;
    flex-shrink: 0;
    margin-right: 8px;
}
.logo-text { color: var(--text); }
.logo-dot  { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 450;
    color: var(--text-sec);
    transition: all .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--dur), opacity var(--dur);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    inset: 60px 0 auto;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-lt);
    padding: 16px 28px 24px;
    gap: 4px;
    box-shadow: var(--sh-md);
}
.nav-links.mobile-open a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--r-md);
    width: 100%;
}

/* ================================================
   HERO — dark sticky scroll
   ================================================ */

.hero-wrap {
    height: 400vh;
    position: relative;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    /* Warm light gradient — peach/coral top-left, cream right */
    background:
        radial-gradient(ellipse 72% 70% at -8% -12%, rgba(251,146,60,.72) 0%, rgba(253,186,116,.45) 38%, transparent 62%),
        radial-gradient(ellipse 50% 55% at 4%  80%,  rgba(249,168,212,.45) 0%, transparent 58%),
        radial-gradient(ellipse 40% 45% at 96% 45%,  rgba(251,146,60,.25)  0%, transparent 52%),
        #faf5ee;
}

/* Warm shimmer — top left pulse */
.hero-sticky::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(251,146,60,.22) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlow 9s ease-in-out infinite alternate;
}

/* Soft pink — bottom left */
.hero-sticky::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: 10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(249,168,212,.3) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    from { opacity: .7; transform: scale(1); }
    to   { opacity: 1;  transform: scale(1.18); }
}

/* Override container inside hero to be full-width */
.hero-sticky > .container {
    max-width: none;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Grid: left ~42%, right ~58% */
.hero-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 0;
    align-items: stretch;
    height: 100vh;
    width: 100%;
}

/* LEFT column */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 80px 48px 80px 60px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* --- Light-theme hero overrides --- */
.hero-badge {
    background: rgba(255,255,255,.85);
    border-color: rgba(0,0,0,.09);
    color: var(--text-sec);
    backdrop-filter: blur(8px);
}
.hero-left .hero-title { color: #1a1523; }
.hero-left .hero-subtitle { color: #5c5672; }

.hero-left .btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(249,115,22,.4), 0 1px 4px rgba(0,0,0,.12);
    border: none;
}
.hero-left .btn-primary:hover {
    background: linear-gradient(135deg, #ea6c0a 0%, #db2777 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(249,115,22,.5), 0 2px 8px rgba(0,0,0,.15);
}
.hero-left .btn-ghost {
    color: #1a1523;
    border-color: rgba(0,0,0,.18);
}
.hero-left .btn-ghost:hover {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.3);
    color: #000;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sec);
    margin-bottom: 20px;
    width: fit-content;
}
.badge-pulse {
    width: 8px;
    height: 8px;
    background: #34C759;
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.65; transform:scale(1.25); }
}

.hero-title {
    font-size: clamp(26px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 16px;
}
.hero-subtitle {
    font-size: clamp(14px, 1.3vw, 17px);
    color: var(--text-sec);
    line-height: 1.65;
    margin-bottom: 28px;
    font-weight: 400;
}
.br-desktop { display: inline; }

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

/* Stats — light strip below dark hero */
.stats-section {
    background: var(--bg);
    border-bottom: 1px solid var(--border-lt);
    box-shadow: 0 -1px 0 rgba(0,0,0,.04);
}
.stats-section .container {
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 52px;
    gap: 6px;
}
.stat-val {
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.stat-num {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -.05em;
    color: var(--text);
    line-height: 1;
}
.stat-plus {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sec);
    text-align: center;
    white-space: nowrap;
}
.stat-sep {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    flex-shrink: 0;
}

/* RIGHT column — floating screenshot panel */
.hero-right {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding: 56px 0 0 0;
}

/* Decorative circle behind cards — playful like reference */
.hero-right::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251,146,60,.18) 0%, rgba(249,168,212,.22) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-48%, -52%);
    z-index: 0;
    pointer-events: none;
}
/* Small accent circle — top right */
.hero-right::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(249,115,22,.14);
    top: 8%;
    right: -40px;
    z-index: 0;
    pointer-events: none;
}

.showcase-stack {
    position: relative;
    height: 100%;
    z-index: 1;
}

/* Cards: floating, smaller, all corners rounded */
.sc-card {
    position: absolute;
    top: 72px;
    left: 28px;
    right: 28px;
    bottom: 56px;
    transform: translateY(110%);
    transition: transform .75s cubic-bezier(.25,.46,.45,.94);
    pointer-events: none;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}
.sc-card.sc-active {
    transform: translateY(0);
    pointer-events: auto;
}
.sc-card.sc-done {
    transform: translateY(-110%);
}

/* Browser mockup */
.sc-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.theme-blue   { background: #dce8fd; }
.theme-green  { background: #d4edda; }
.theme-indigo { background: #e0e4ff; }

.mock-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.mock-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-url {
    flex: 1;
    background: #fff;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-align: center;
    font-family: 'Inter', monospace;
}
.mock-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.mock-body svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* Extend background below SVG so it doesn't cut abruptly */
.sc-screen.theme-blue  .mock-body { background: #c8dbfd; }
.sc-screen.theme-green .mock-body { background: #b7dfbf; }
.sc-screen.theme-indigo .mock-body { background: #c7d2fe; }

/* Card info bar */
.sc-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.sc-cat {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.sc-title {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.01em;
    color: var(--text);
    line-height: 1.3;
}
.sc-year {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-sec);
    white-space: nowrap;
    opacity: .65;
}

/* Dots + scroll hint */
.sc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 0 4px;
}
.sc-dots-row {
    display: flex;
    gap: 6px;
}
.sc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    transition: all .25s ease;
}
.sc-dot.active {
    width: 20px;
    border-radius: 3px;
    background: #fff;
}
.sc-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.45);
    animation: hintBob 2s ease-in-out infinite;
}
.sc-hint.hidden { display: none; }
@keyframes hintBob {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* Spin badge — bottom-center */
.spin-badge {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 3;
    color: rgba(249,115,22,.45);
}
.spin-center { color: #f97316; }

/* ================================================
   SECTION BASE
   ================================================ */
.section { padding: var(--sec-y) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 56px;
}
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
}
.section-sub {
    font-size: 17px;
    color: var(--text-sec);
    line-height: 1.65;
}

/* ================================================
   SERVICES
   ================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gap);
}
.service-card:nth-child(1) { grid-column: 1 / 3; }
.service-card:nth-child(2) { grid-column: 3 / 5; }
.service-card:nth-child(3) { grid-column: 5 / 7; }
.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-lt);
    border-radius: var(--r-lg);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,.05) 0%, rgba(236,72,153,.03) 100%);
    opacity: 0;
    transition: opacity var(--dur);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-md);
    border-color: rgba(249,115,22,.25);
}
.service-card:hover::before { opacity: 1; }

.svc-num {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    color: var(--accent);
    opacity: .55;
    margin-bottom: 20px;
}
.svc-icon {
    width: 38px;
    height: 38px;
    color: var(--text);
    margin-bottom: 18px;
}
.svc-icon svg { width: 100%; height: 100%; }

.service-card h3 {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.65;
    margin-bottom: 20px;
}
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.svc-tags span {
    padding: 4px 10px;
    background: var(--bg-alt);
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-sec);
}

/* ================================================
   PORTFOLIO
   ================================================ */
.portfolio-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 20px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sec);
    background: var(--bg-alt);
    border: 1px solid var(--border-lt);
    transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--border); color: var(--text); }
.filter-btn.active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-lt);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg);
}
.portfolio-card.pf-hidden {
    display: none;
}
.portfolio-card.pf-fade {
    animation: pfFade .35s var(--ease) forwards;
}
@keyframes pfFade {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:translateY(0); }
}

.pf-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    flex-shrink: 0;
}
.pf-visual svg { width: 96px; height: 72px; }

.theme-blue   { background: linear-gradient(135deg,#e8f0fe 0%,#c8dbfd 100%); color:#1a56cc; }
.theme-green  { background: linear-gradient(135deg,#e6f4ea 0%,#b7dfbf 100%); color:#137333; }
.theme-teal   { background: linear-gradient(135deg,#e0f2f1 0%,#b2dfdb 100%); color:#00796b; }
.theme-amber  { background: linear-gradient(135deg,#fff8e1 0%,#ffe082 100%); color:#e65100; }

.pf-body { padding: 24px; flex: 1; }
.pf-cat {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.pf-body h3 {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -.015em;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 8px;
}
.pf-body p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.65;
    margin-bottom: 16px;
}
.pf-year {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-sec);
    opacity: .65;
}

/* ================================================
   CLIENTS
   ================================================ */
/* Marquee auto-scroll */
.marquee-outer {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marqueeLeft 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-reverse { animation-name: marqueeRight; animation-duration: 28s; }
@keyframes marqueeLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marqueeRight {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
.client-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-lt);
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sec);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--sh-sm);
    transition: all .2s ease;
    cursor: default;
}
.client-chip:hover {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

/* ================================================
   ABOUT — Apple-style bold statements
   ================================================ */
.about-statement { background: var(--bg); }

.stmt-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}
.stmt-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.06;
    color: var(--text);
    margin-bottom: 20px;
    margin-top: 12px;
}
.stmt-sub {
    font-size: 18px;
    color: var(--text-sec);
    line-height: 1.65;
}

.stmt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    background: var(--border-lt);
    border-radius: var(--r-xl);
    overflow: hidden;
}
.stmt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 32px;
    background: var(--bg-card);
    gap: 14px;
    transition: background var(--dur);
}
.stmt-card:hover { background: var(--bg-alt); }
.stmt-num {
    font-size: clamp(52px, 6.5vw, 84px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stmt-num sup {
    font-size: .42em;
    vertical-align: super;
    letter-spacing: 0;
}
.stmt-desc {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.55;
    font-weight: 450;
    max-width: 180px;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-section {
    background: #1a1523;
}
/* Dark overrides for contact text */
.contact-section .section-label   { color: rgba(249,115,22,.85); }
.contact-section .section-title   { color: #ffffff; }
.contact-section .contact-info > p { color: rgba(255,255,255,.55); }
.contact-section .contact-item     { color: rgba(255,255,255,.75); }
.contact-section .contact-item:hover { color: #f97316; }
.contact-section .ci-icon {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    color: #f97316;
}
/* Dark form */
.contact-section .contact-form {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
    box-shadow: none;
}
.contact-section .form-group label { color: rgba(255,255,255,.6); }
.contact-section .form-group input,
.contact-section .form-group textarea,
.contact-section .select-wrap select {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
    color: #ffffff;
}
.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder { color: rgba(255,255,255,.28); opacity: 1; }
.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus,
.contact-section .select-wrap select:focus {
    border-color: rgba(249,115,22,.6);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.contact-section .select-arrow { color: rgba(255,255,255,.35); }
.contact-section .select-wrap select option { background: #1a1523; color: #fff; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info .section-label { display: block; margin-bottom: 14px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p {
    font-size: 17px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color .15s;
}
.contact-item:hover { color: var(--accent); }
.ci-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: var(--bg);
    border: 1px solid var(--border-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}
.ci-icon svg { width: 18px; height: 18px; }

/* Form */
.contact-form {
    background: var(--bg);
    border: 1px solid var(--border-lt);
    border-radius: var(--r-xl);
    padding: 40px 36px;
    box-shadow: var(--sh-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .01em;
}
.form-group input,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    resize: none;
    transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-sec); opacity: .5; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}

.select-wrap {
    position: relative;
}
.select-wrap select {
    width: 100%;
    padding: 13px 40px 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.select-wrap select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-sec);
    pointer-events: none;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    padding: 48px 0 40px;
    border-top: 1px solid var(--border-lt);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.footer-brand .nav-logo { font-size: 20px; font-weight: 750; letter-spacing: -.04em; }
.footer-brand p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-top: 10px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 14px; color: var(--text-sec); transition: color .15s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border-lt);
}
.footer-bottom p { font-size: 12px; color: var(--text-sec); opacity: .65; }

/* ================================================
   FLOATING CTA BUTTON
   ================================================ */
.fab {
    position: fixed;
    bottom: 36px;
    right: 36px;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(249,115,22,.45), 0 2px 8px rgba(0,0,0,.15);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    animation: fabIn .5s var(--ease) both;
}
.fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(249,115,22,.55), 0 4px 12px rgba(0,0,0,.2);
}
.fab:active { transform: translateY(0) scale(.98); }
.fab-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fab-icon svg { width: 100%; height: 100%; }

@keyframes fabIn {
    from { opacity: 0; transform: translateY(20px) scale(.9); }
    to   { opacity: 1; transform: translateY(0)  scale(1); }
}

/* ================================================
   SPIN BADGE (hero rotating text)
   ================================================ */
.spin-badge {
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-48%);
    width: 128px;
    height: 128px;
    pointer-events: none;
}
.spin-ring {
    width: 100%;
    height: 100%;
    opacity: .55;
    animation: spinRing 18s linear infinite;
    transform-origin: center;
}
@keyframes spinRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.spin-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    color: var(--accent);
    opacity: .7;
}
.spin-center svg { width: 100%; height: 100%; }

/* ================================================
   PORTFOLIO SLIDER
   ================================================ */
.pf-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}
.pf-header .section-title { margin-bottom: 0; }

.pf-nav-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.pf-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all .2s ease;
    cursor: pointer;
}
.pf-btn:hover {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}
.pf-btn svg { width: 18px; height: 18px; }

.pf-slider-outer {
    overflow: hidden;
    cursor: grab;
    padding: 8px 0 16px;
}
.pf-slider-outer:active { cursor: grabbing; }

.pf-slider-track {
    display: flex;
    gap: 20px;
    padding: 0 calc((100vw - var(--max-w)) / 2) 0 calc((100vw - var(--max-w)) / 2 + 28px);
    will-change: transform;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    user-select: none;
}
@media (max-width: 1100px) {
    .pf-slider-track { padding: 0 28px; }
}

.pf-slide {
    flex: 0 0 520px;
    background: var(--bg);
    border: 1px solid var(--border-lt);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}
.pf-slide:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-4px);
}

.pf-slide-visual {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    flex-shrink: 0;
}
.pf-slide-visual svg { width: 160px; height: 120px; }

.pf-slide-body {
    padding: 28px 32px 32px;
    flex: 1;
}
.pf-slide-body h3 {
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.35;
}
.pf-slide-body p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pf-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding-bottom: 4px;
}
.pf-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all .25s ease;
    cursor: pointer;
}
.pf-dot.active {
    width: 22px;
    border-radius: 3px;
    background: var(--text);
}

@media (max-width: 640px) {
    .pf-slide { flex: 0 0 82vw; }
    .pf-slide-visual { height: 200px; }
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
    :root { --sec-y: 80px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(n) { grid-column: auto; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .stmt-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 52px; }
    .hero-stats { flex-wrap: wrap; justify-content: center; width: 100%; }
    .stat-item { min-width: 100px; padding: 20px 24px; }

    /* Hero: stack on tablet */
    .hero-layout { grid-template-columns: 1fr; height: auto; }
    .hero-wrap { height: auto; }
    .hero-sticky {
        position: relative;
        height: auto;
    }
    .hero-left {
        padding: 100px 28px 40px;
        justify-content: flex-start;
    }
    .hero-right { height: 58vw; min-height: 360px; padding-top: 0; }
    .showcase-stack { height: 100%; }
    .sc-card { border-radius: 12px; left: 16px; right: 16px; bottom: -60%; }
    .sc-nav { display: none; }
    .spin-badge { display: none; }
    .stats-section .container { flex-wrap: wrap; }
    .stat-item { padding: 24px 32px; }
}

@media (max-width: 640px) {
    :root { --sec-y: 64px; }
    .container { padding: 0 20px; }

    .nav-links { display: none; }
    .hamburger  { display: flex; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .hero-stats { flex-direction: column; border-radius: var(--r-lg); }
    .stat-item { width: 100%; flex-direction: row; justify-content: space-between; padding: 16px 24px; }
    .stat-sep { width: 100%; height: 1px; }

    .hero-right { height: 75vw; padding-top: 0; }
    .sc-card { border-radius: 10px; left: 12px; right: 12px; bottom: -60%; }
    .stat-item { padding: 20px 24px; }
    .stat-num { font-size: 36px; }

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

    .stmt-grid { grid-template-columns: 1fr 1fr; }
    .stmt-card { padding: 36px 20px; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }

    .footer-top { flex-direction: column; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
