/* ============================================
   Pixels On Screen — Clean Rewrite
   ============================================ */

:root {
    --bg: #ffffff;
    --bg-alt: #f4f4ff;
    --surface: #ffffff;
    --border: rgba(30, 30, 30, 0.08);
    --text: #1e1e1e;
    --muted: #4a4768;
    --accent: #2e2aeb;
    --accent-dark: #100c9e;
    --accent-2: #fdb913;
    --accent-soft: rgba(46, 42, 235, 0.1);
    --gradient: linear-gradient(135deg, #2e2aeb 0%, #100c9e 100%);
    --gradient-mix: linear-gradient(135deg, #2e2aeb 0%, #fdb913 100%);
    --shadow-sm: 0 4px 14px rgba(30, 30, 30, 0.06);
    --shadow-md: 0 12px 32px rgba(46, 42, 235, 0.16);
    --radius: 14px;
    --radius-lg: 22px;
    --max: 1200px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Poppins", var(--font-body);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.35rem); }
h4 { font-size: 0.95rem; }

p { margin: 0 0 1em; color: var(--muted); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(30, 30, 30, 0.04);
    transition: transform 0.4s var(--ease);
}

.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 34px; width: auto; }

.nav.hidden { transform: translateY(-100%); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: var(--max);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding: 4px 0;
    font-weight: 700;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Dropdown arrow */
.dropdown-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    transition: transform 0.3s var(--ease);
}
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* Dropdown menu */
.has-dropdown {
    position: relative;
}
.dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 36px rgba(30, 30, 30, 0.1);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
    z-index: 200;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0s;
}
.dropdown li {
    padding: 0;
    border-bottom: none;
}
.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
    white-space: nowrap;
}
.dropdown li a::after { display: none; }
.dropdown li a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

@media (max-width: 820px) {
    .has-dropdown { position: static; }
    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 0;
        padding: 0;
        background: var(--bg-alt);
    }
    .dropdown li a {
        padding: 12px 24px 12px 40px;
        font-size: 0.88rem;
        border-bottom: 1px solid var(--border);
    }
    .dropdown-arrow { display: none; }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    font-family: inherit;
}
.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 24px rgba(46, 42, 235, 0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(46, 42, 235, 0.42);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    width: 22px; height: 2px; background: var(--text); display: block;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s var(--ease);
        box-shadow: var(--shadow-sm);
    }
    .nav-links.open { max-height: 400px; }
    .nav-links li { padding: 16px 24px; border-bottom: 1px solid var(--border); }
    .burger { display: flex; }
    .nav .btn { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46, 42, 235, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 12s ease-in-out infinite;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 14s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
}
.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 28px;
    animation: fadeUp 0.8s var(--ease) both;
}
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
    animation: fadeUp 1s var(--ease) 0.1s both;
}
.hero h1 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    font-size: 1.15rem;
    max-width: 620px;
    margin-bottom: 36px;
    animation: fadeUp 1s var(--ease) 0.25s both;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 1s var(--ease) 0.4s both;
}

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

/* ============================================
   ABOUT HOME
   ============================================ */
.about-home {
    position: relative;
    padding: 92px 0 36px;
    background:
        radial-gradient(circle at 12% 18%, rgba(46, 42, 235, 0.08) 0%, transparent 32%),
        radial-gradient(circle at 88% 28%, rgba(253, 185, 19, 0.1) 0%, transparent 26%);
}

.about-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: center;
}

.about-home-copy .label {
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}

.about-home-copy h2 {
    max-width: 700px;
    margin-bottom: 20px;
}

.about-home-lead {
    font-size: 1.08rem;
    color: var(--text);
    max-width: 680px;
}

.about-home-copy p:not(.about-home-lead) {
    max-width: 640px;
}

.about-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.about-home-stack {
    display: grid;
    gap: 18px;
}

.about-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-card {
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(30, 30, 30, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.about-card-highlight {
    padding: 30px 28px;
    background: linear-gradient(135deg, rgba(46, 42, 235, 0.08) 0%, rgba(253, 185, 19, 0.12) 100%);
    border-color: rgba(46, 42, 235, 0.14);
}

.about-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.about-card h3,
.about-card strong {
    color: var(--text);
}

.about-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.2;
}

.about-card p {
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 920px) {
    .about-home-grid {
        grid-template-columns: 1fr;
    }
}

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

/* ============================================
   STATS
   ============================================ */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    text-align: center;
}
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}
.stat-label {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* ============================================
   SECTIONS (generic)
   ============================================ */
section { padding: 100px 0; }

.section-head {
    max-width: 700px;
    margin: 0 auto 64px;
    text-align: center;
}
.section-head .label {
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    display: block;
    margin-bottom: 14px;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service {
    position: relative;
    padding: 36px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.service:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 42, 235, 0.3);
    box-shadow: var(--shadow-md);
}
.service:hover::before { opacity: 1; }

.service-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
}
.service h3 { margin-bottom: 10px; position: relative; }
.service p { margin-bottom: 18px; position: relative; }
.service-link {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.service-link:hover { gap: 12px; }

/* ============================================
   PROCESS
   ============================================ */
.process {
    background: var(--bg-alt);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 36px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    counter-increment: step;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); }
.step::before {
    content: "0" counter(step);
    position: absolute;
    top: 16px; right: 20px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(46, 42, 235, 0.2);
}
.step h3 { margin-top: 20px; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.project {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
    isolation: isolate;
}
.project-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.project:hover .project-img {
    transform: scale(1.08);
    filter: brightness(0.55);
}
.project-overlay {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(11,13,18,0.95) 0%, transparent 60%);
    transform: translateY(30%);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.project:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}
.project-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.project-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.project-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin: 6px 0 0;
}

/* Placeholder gradient when no image */
.placeholder-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--c1, #ff5a36), var(--c2, #ff8c42));
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
}

/* ============================================
   TESTIMONIAL / CTA
   ============================================ */
.cta {
    text-align: center;
    padding: 80px 36px;
    background: linear-gradient(135deg, rgba(46,42,235,0.08) 0%, rgba(253,185,19,0.08) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin: 100px auto;
    max-width: calc(var(--max) - 48px);
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 540px; margin: 0 auto 32px; font-size: 1.05rem; line-height: 1.75; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46,42,235,0.3);
}
.post-thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e8e8ff, #fff8e0);
}
.post-body { padding: 26px; }
.post-meta {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.post-body h3 { margin-bottom: 12px; font-size: 1.2rem; }
.post-body p { margin: 0; font-size: 0.95rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}
@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.footer h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--text); font-size: 0.9rem; }
.contact-line { color: var(--text); font-size: 0.95rem; margin-bottom: 10px; }
.contact-line strong { color: var(--muted); font-weight: 500; display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.socials { display: flex; gap: 12px; }
.socials a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s var(--ease);
}
.socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ============================================
   PAGE HEADER (non-home pages)
   ============================================ */
.page-header {
    padding: 130px 0 50px;
    text-align: center;
    position: relative;
}
.page-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 8px 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.page-header .breadcrumb a {
    color: var(--muted);
    transition: color 0.3s var(--ease);
}
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .breadcrumb .sep {
    font-size: 0.7rem;
    opacity: 0.4;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info .info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.3s var(--ease);
}
.contact-info .info-card:hover { transform: translateX(6px); }
.info-card .icon {
    width: 46px; height: 46px; flex: none;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    font-size: 20px;
}
.info-card h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.info-card p { margin: 0; color: var(--text); font-size: 1rem; }

.form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus { background: var(--bg); }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 140px; }

/* ============================================
   BLOG POST (single)
   ============================================ */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.article h2, .article h3 { margin-top: 1.5em; }
.article p { color: var(--text); font-size: 1.05rem; line-height: 1.8; }
.article blockquote {
    border-left: 3px solid var(--accent);
    margin: 2em 0;
    padding: 0.5em 1.5em;
    font-style: italic;
    color: var(--muted);
}

/* ============================================
   FILTER CHIPS (portfolio)
   ============================================ */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}
.chip {
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--muted);
    transition: all 0.3s var(--ease);
    font-family: inherit;
}
.chip:hover { color: var(--text); }
.chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ============================================
   PROJECT DETAIL
   ============================================ */
.project-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 56px;
    box-shadow: var(--shadow-sm);
    background: var(--bg-alt);
}
.project-hero img { width: 100%; height: auto; display: block; }

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 32px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 72px;
}
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 500;
}
.meta-value { font-weight: 600; font-size: 1.02rem; color: var(--text); }

.body-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    margin-bottom: 72px;
}
@media (max-width: 780px) { .body-grid { grid-template-columns: 1fr; gap: 16px; } }
.body-side .label {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    position: sticky;
    top: 100px;
    display: block;
}
.body-main h2 { font-size: 1.5rem; margin-top: 1.5em; }
.body-main h2:first-child { margin-top: 0; }
.body-main p { color: var(--text); font-size: 1.05rem; line-height: 1.8; }

.project-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 72px;
}
@media (min-width: 780px) {
    .project-gallery { grid-template-columns: 1fr; }
}
.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img { width: 100%; height: auto; display: block; }

.project-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}
@media (max-width: 780px) { .project-nav { grid-template-columns: 1fr; } }
.nav-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
    min-width: 0;
}
.nav-btn-right { flex-direction: row; text-align: right; }
.nav-btn-right { justify-content: flex-end; }
.nav-btn:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}
.nav-btn span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    display: block;
    margin-bottom: 2px;
}
.nav-btn strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    min-height: clamp(680px, 78vh, 860px);
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}
.hero-slider::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46, 42, 235, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 12s ease-in-out infinite;
    z-index: 0;
}
.hero-slider::after {
    content: "";
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 14s ease-in-out infinite reverse;
    z-index: 0;
}

.slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.slide {
    position: absolute;
    inset: 0;
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0.7s;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0s;
    pointer-events: auto;
    position: absolute;
}

.slide-photo-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 18, 28, 0.72) 0%, rgba(16, 18, 28, 0.52) 42%, rgba(16, 18, 28, 0.68) 100%);
    z-index: 1;
}

.slide-photo-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slide-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    filter: saturate(0.92);
}

.slide-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 120px;
}
.slide-photo-slide .eyebrow,
.slide-photo-slide .slide-heading,
.slide-photo-slide h1,
.slide-photo-slide .hero-lead {
    color: #fff;
}
.slide-photo-slide .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
}
.slide-photo-slide .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
}
.slide-photo-slide .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}
.slide-heading { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.slide.active .eyebrow { animation: fadeUp 0.7s var(--ease) 0.1s both; }
.slide.active h1,
.slide.active .slide-heading { animation: fadeUp 0.8s var(--ease) 0.2s both; }
.slide.active .hero-lead { animation: fadeUp 0.8s var(--ease) 0.35s both; }
.slide.active .hero-actions { animation: fadeUp 0.8s var(--ease) 0.5s both; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: grid; place-items: center;
    z-index: 5;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}
.slider-arrow:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
@media (max-width: 820px) {
    .slider-arrow { width: 42px; height: 42px; }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
}

.slider-dots {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.dot-btn {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
}
.dot-btn:hover { background: rgba(46, 42, 235, 0.5); }
.dot-btn.active {
    background: var(--accent);
    width: 32px;
    border-radius: 5px;
}

.slider-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(46, 42, 235, 0.08);
    z-index: 5;
}
.slider-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient);
    transition: width 0.1s linear;
}

/* ============================================
   SERVICE OVERVIEW
   ============================================ */
.service-overview h2 { margin-bottom: 20px; }
.service-overview > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.overview-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.overview-item {
    padding: 28px 24px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease);
}
.overview-item:hover { transform: translateY(-4px); }
.overview-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}
.overview-item p {
    font-size: 0.92rem;
    margin: 0;
}

/* ============================================
   SERVICES PAGE HERO
   ============================================ */
.services-hero {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.services-hero::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(46, 42, 235, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 12s ease-in-out infinite;
    z-index: 0;
}
.services-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.services-hero-lead {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 32px;
    color: var(--muted);
}
.services-hero .hero-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
}
.services-hero .breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

/* ============================================
   SERVICE ROWS (services listing page)
   ============================================ */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.service-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    padding-top: 4px;
}
.service-row-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.service-row-content > p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 20px;
    max-width: 640px;
}
.service-row-points {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.service-row-points li {
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-row-points li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}
@media (max-width: 600px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 32px 0;
    }
    .service-row-number { font-size: 1.6rem; }
}

/* ============================================
   WHY US GRID
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.why-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
    position: relative;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 42, 235, 0.2);
}
.why-number {
    margin-bottom: 16px;
    line-height: 1;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(46, 42, 235, 0.2);
}
.why-number svg {
    display: block;
    color: var(--accent);
    fill: var(--accent);
    stroke: var(--accent);
}
.why-number:has(svg) {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    border-radius: 14px;
    -webkit-text-stroke: none;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 0.95rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: var(--bg-alt);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    font-style: italic;
    flex: 1;
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
    flex: none;
}
.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}
.testimonial-author span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: var(--bg-alt); }
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent);
    flex: none;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
    padding: 0 0 22px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
    max-width: 640px;
}
.faq-item a { color: var(--accent); font-weight: 500; }

/* ============================================
   PRICING / PACKAGES
   ============================================ */
.pricing-section { padding: 100px 0 60px; }
.pricing-alt { background: var(--bg-alt); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 18px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.pricing-header h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    -webkit-text-fill-color: var(--muted);
}
.pricing-header p {
    font-size: 0.9rem;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: none;
    background: var(--accent-soft);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232e2aeb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

@media (max-width: 960px) {
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-6px); }
}

/* ============================================
   SMALL PHONES (375px and below)
   ============================================ */
@media (max-width: 480px) {
    .hero-slider { min-height: 620px; }
    .slide-inner {
        padding-top: 120px;
        padding-bottom: 96px;
    }
    .page-header { padding: 110px 0 36px; }
    section { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .stats { padding: 48px 0; }
    .stats-grid { gap: 28px; }
    .cta { padding: 56px 20px; margin: 64px auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .slider-dots { bottom: 28px; }
    .pricing-grid { gap: 16px; }
    .services-grid { gap: 16px; }
    .portfolio-grid { gap: 16px; }
    .breadcrumb { font-size: 0.75rem !important; padding: 6px 14px !important; }
}
