:root {
    --bg: #f8f8f5;
    --bg-soft: #efefea;
    --surface: #ffffff;
    --surface-alt: #e9eee9;
    --text: #15211c;
    --muted: #61716a;
    --primary: #173a31;
    --accent: #d4663f;
    --accent-deep: #a9462a;
    --accent-soft: rgba(212, 102, 63, 0.12);
    --border: rgba(21, 33, 28, 0.11);
    --shadow: 0 18px 50px rgba(21, 33, 28, 0.10);
    --space-section: 4.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.65;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
p, ul, ol, li, h1, h2, h3, h4, h5, h6, figure, blockquote { margin-top: 0; }
h1, h2, h3, h4, h5, h6, p { margin-bottom: 0; }

.container { max-width: 1200px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(248, 248, 245, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.navbar {
    padding: 0.55rem 0;
}
.navbar-brand {
    font-weight: 800;
    color: var(--text) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1;
}
.brand-logo,
.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}
.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
}
.brand-name {
    font-size: 0.94rem;
    letter-spacing: 0;
    line-height: 1.1;
    display: inline-block;
    vertical-align: middle;
}
.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    padding: 0.52rem 0.7rem !important;
    position: relative;
    line-height: 1.2;
}
.nav-link::after { content: ''; position: absolute; right: 0.8rem; bottom: 0.4rem; left: 0.8rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 1.6rem; line-height: 1; padding: 0.3rem 0.55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(212, 102, 63, 0.2); }
.nav-cta {
    border-radius: 8px;
    padding: 0.72rem 1rem;
    font-weight: 700;
}
.btn {
    border-radius: 8px;
    padding: 0.9rem 1.4rem;
    font-weight: 700;
    transition: all 0.25s ease;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(212, 102, 63, 0.2);
}
.btn-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    transform: translateY(-2px);
}
.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255,255,255,0.35);
}

.hero-section {
    padding: 4rem 0 3rem;
}
.eyebrow {
    display: inline-block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 1rem;
}
.hero-section h1,
.page-hero h1,
.section-heading h2 {
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.02;
    margin-bottom: 0.8rem;
}
.hero-section h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    max-width: 620px;
}
.hero-copy {
    max-width: 560px;
    font-size: 1.08rem;
    color: var(--muted);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}
.mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.mini-stats div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.mini-stats strong {
    font-size: 1.6rem;
    letter-spacing: -0.05em;
}
.mini-stats span {
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.floating-card span {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.card-one { left: 0; top: 18%; }
.card-two { right: 0; bottom: 12%; }

.logo-strip {
    background: #f2efe8;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
}
.logo-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    align-items: center;
}
.client-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.35);
    color: rgba(20,20,20,0.72);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.section {
    padding: var(--space-section) 0;
}
.contact-section { padding-top: 1rem; }
.section-soft {
    background: var(--bg-soft);
}
.section-heading {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section-heading span {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    line-height: 1.2;
}
.section-heading h2 {
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    max-width: 700px;
    margin: 0;
}
.split-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
}
.split-heading p {
    max-width: 520px;
    color: var(--muted);
    margin: 0;
    line-height: 1.7;
}

.service-card,
.portfolio-card,
.testimonial-card,
.step-card,
.team-card,
.pricing-card,
.form-card,
.contact-card,
.faq-wrap .accordion-item {
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 18, 32, 0.04);
}
.service-card,
.step-card,
.pricing-card,
.contact-card,
.form-card {
    padding: 2rem 1.5rem;
}
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover,
.portfolio-card:hover,
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 18, 32, 0.08);
}
.service-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--accent-soft);
    color: #5d3b1a;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.service-card h3,
.portfolio-body h3,
.team-body h3,
.pricing-card h3,
.contact-card h3 {
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
}
.service-card p,
.portfolio-body p,
.step-card p,
.contact-card p,
.pricing-card p,
.testimonial-card p {
    color: var(--muted);
}
.service-card a,
.portfolio-body a {
    margin-top: auto;
    color: var(--text);
    font-weight: 700;
}

.step-card span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.portfolio-card {
    overflow: hidden;
}
.portfolio-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.portfolio-body {
    padding: 1.6rem 1.4rem 1.5rem;
}
.portfolio-body span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

.testimonial-card {
    padding: 2rem;
    position: relative;
}
.quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.8;
}
.person-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
}
.person-row img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.person-row strong,
.person-row span {
    display: block;
}
.person-row span {
    color: var(--muted);
    font-size: 0.8rem;
}

.team-card {
    overflow: hidden;
}
.team-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.team-body {
    padding: 1.3rem 1.2rem 1.4rem;
}
.team-body span {
    color: var(--muted);
}

.pricing-card {
    text-align: center;
}
.pricing-card.featured {
    background: linear-gradient(180deg, #171717 0%, #2d2d2d 100%);
    color: #fff;
    border-color: #171717;
}
.pricing-card.featured p,
.pricing-card.featured li,
.pricing-card.featured .pricing-price,
.pricing-card.featured .btn {
    color: #fff;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    text-align: left;
}
.pricing-card li {
    margin-bottom: 0.6rem;
    color: var(--muted);
    position: relative;
    padding-left: 1.3rem;
}
.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}
.pricing-price {
    font-size: 2.2rem;
    letter-spacing: -0.06em;
    font-weight: 800;
    margin: 1rem 0;
}

.accordion {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-bg: transparent;
    --bs-accordion-btn-color: var(--text);
    --bs-accordion-active-color: var(--text);
    --bs-accordion-btn-focus-box-shadow: none;
}
.accordion-item {
    overflow: hidden;
    margin-bottom: 0.8rem;
}
.accordion-button {
    font-weight: 700;
    padding: 1.1rem 1.2rem;
}
.accordion-body {
    color: var(--muted);
    padding: 1.1rem 1.2rem 1.4rem;
}

.cta-banner {
    padding: 0 0 5rem;
}
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.2rem 2.5rem;
    background: linear-gradient(135deg, #111111, #292929);
    color: #fff;
    border-radius: 26px;
    box-shadow: var(--shadow);
}
.cta-box span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}
.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.06em;
    margin: 0;
    max-width: 620px;
}

.page-hero {
    padding: 5rem 0 2rem;
}
.small-hero {
    padding-top: 4rem;
}
.page-hero h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    max-width: 700px;
}
.inner-page {
    min-height: 60vh;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    color: var(--muted);
}
.contact-list i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: #7a4d21;
}
.form-card label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.form-control {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 0.9rem 1rem;
    background: #fff;
}
.form-control:focus {
    border-color: rgba(20,20,20,0.3);
    box-shadow: none;
}
.contact-form-card { padding: 1.5rem; }
.contact-form-card .form-control,
.contact-form-card .form-select { min-height: 2.75rem; padding: 0.62rem 0.8rem; border-radius: 10px; }
.contact-form-card textarea.form-control { min-height: 7rem; resize: vertical; }
.contact-form-card button[type="submit"] { display: block; margin-inline: auto; }
.floating-field { position: relative; }
.floating-field label { position: absolute; top: 0.7rem; left: 0.8rem; margin: 0; padding: 0 0.15rem; color: var(--muted); font-size: 0.82rem; font-weight: 500; pointer-events: none; transition: top 150ms ease, color 150ms ease, font-size 150ms ease, background 150ms ease; }
.floating-field .form-control { padding-top: 1rem; }
.floating-field .form-control:focus + label,
.floating-field .form-control:not(:placeholder-shown) + label { top: -0.42rem; color: var(--violet); background: var(--surface); font-size: 0.68rem; }
.phone-input { display: flex; gap: 0.5rem; }
.phone-input .form-select { flex: 0 0 65px; }
.phone-input .floating-field { min-width: 0; flex: 1; }
.phone-input .form-control { min-width: 0; }
.field-error { display: block; margin-top: 0.3rem; color: #d9485f; font-size: 0.75rem; }
.form-alert { margin-bottom: 1rem; padding: 0.75rem 1rem; }
.form-alert > div + div { margin-top: 0.2rem; }

.project-main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}
.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.project-meta > div {
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}
.project-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.project-description {
    max-width: 860px;
    color: var(--muted);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.portfolio-filters a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--text);
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--border);
    font-weight: 700;
}

.site-footer {
    background: var(--primary);
    color: #fff;
    padding: 4rem 0 1rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}
.site-footer h2,
.site-footer h3 {
    margin: 0 0 0.6rem;
}
.footer-mobile-contact {
    display: none;
}
.site-footer p,
.site-footer li,
.site-footer small,
.site-footer a {
    color: rgba(255,255,255,0.72);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.site-footer h2 { font-size: 1.1rem; }
.site-footer h3 { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.58); }
.footer-action { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-weight: 700; color: #fff !important; }
.footer-action i { color: #85d59c; font-size: 1.1rem; }
.social-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.social-list a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 2rem;
    padding-top: 1.2rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0.65rem calc(0.45rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
}
.mobile-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    min-height: 54px;
    color: var(--muted);
    border-radius: 12px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.mobile-nav-link i {
    font-size: 1.2rem;
}
.mobile-nav-label {
    line-height: 1.1;
}
.mobile-nav-link.is-active {
    color: var(--violet);
    background: rgba(128, 103, 255, 0.08);
}
.mobile-nav-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(128, 103, 255, 0.08);
    color: inherit;
    transition: all 180ms ease;
}
.mobile-nav-link.is-active .mobile-nav-icon {
    background: linear-gradient(135deg, var(--violet), var(--electric-blue));
    color: #fff;
    box-shadow: 0 8px 14px rgba(128, 103, 255, 0.22);
}
.breadcrumb-wrap { background: var(--surface-alt); border-bottom: 1px solid var(--border); padding: 0.7rem 0; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); font-family: 'DM Mono', monospace; font-size: 0.7rem; }
.breadcrumb a { color: var(--primary); }
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
    .site-header { position: sticky; }
    .hero-section { padding-top: 2.5rem; }
    .hero-visual img { height: 460px; }
    .split-heading { display: block; }
    .logo-strip .container { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
    .cta-box { flex-direction: column; align-items: flex-start; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .navbar-collapse { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); margin-top: 0.75rem; padding: 0.5rem 0.75rem 1rem; }
    .nav-cta-wrap { padding: 0.5rem 0.8rem 0; }
    .nav-cta { display: inline-flex; }
}

@media (max-width: 575.98px) {
    .navbar-brand .brand-name { font-size: 1rem; }
    .hero-section h1 { font-size: 2.5rem; }
    .section { padding: 4rem 0; }
    .card-one, .card-two { position: static; margin-bottom: 0.8rem; }
    .hero-visual { display: block; min-height: unset; }
    .hero-visual img { margin-top: 1rem; }
    .cta-box { padding: 1.5rem; }
}

/* Public page compositions */
.narrow-content { max-width: 790px; }
.narrow-content h2, .project-description h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); letter-spacing: -0.06em; line-height: 1; }
.rich-copy { color: var(--muted); font-size: 1.06rem; line-height: 1.8; }
.text-link { color: var(--violet); font-weight: 800; }
.text-link i { display: inline-block; transition: transform 180ms ease; }
.text-link:hover i { transform: translate(3px,-3px); }
.service-hero { min-height: 430px; }
.service-hero-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1.3rem; border-radius: 20px 20px 20px 5px; color: #fff; background: linear-gradient(135deg, var(--coral), var(--violet)); font-size: 1.8rem; box-shadow: 0 15px 25px rgba(108,83,235,0.3); }
.deliverable-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.deliverable-item { display: flex; gap: 0.7rem; align-items: center; min-height: 70px; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; font-weight: 700; }
.deliverable-item i { color: var(--violet); font-size: 1.25rem; }
.stats-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: 18px; background: rgba(128,103,255,0.16); }
.stats-panel > div { display: flex; flex-direction: column; gap: 0.25rem; padding: clamp(1.4rem, 4vw, 3rem); background: #fff; }
.stats-panel strong { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -0.07em; color: var(--violet); }
.stats-panel span { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 0.7rem; text-transform: uppercase; }
.testimonial-highlight { max-width: 900px; margin: auto; padding: clamp(2rem, 7vw, 5rem); border-radius: 24px; color: #fff; background: linear-gradient(135deg, #1b173b, #30296b); box-shadow: var(--shadow-xl); }
.testimonial-highlight blockquote { margin: 0; font-size: clamp(1.45rem, 3.5vw, 2.6rem); line-height: 1.25; letter-spacing: -0.035em; }
.testimonial-highlight .person-row span { color: #c7c1e5; }
.testimonial-highlight .quote-mark { margin-bottom: -1rem; color: var(--coral); }
.portfolio-filters a.active { color: #fff; background: var(--violet); border-color: var(--violet); }
.project-hero { overflow: hidden; padding: clamp(3rem, 8vw, 7rem) 0; color: #fff; background: #151229; }
.project-hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.project-hero-copy p { max-width: 600px; color: #cbc6e5; font-size: 1.1rem; }
.project-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.07em; }
.project-hero img { width: 100%; aspect-ratio: 1.18; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 55px rgba(0,0,0,0.32); }
.project-meta { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.project-meta > div { background: #f8f7ff; border-color: var(--border); }
.project-meta a { color: var(--violet); }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.project-gallery figure { margin: 0; overflow: hidden; border-radius: 14px; background: #fff; }
.project-gallery img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.project-gallery video { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; background: #100e20; }
.project-pdf-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.project-pdf-gallery figure { margin: 0; overflow: hidden; border-radius: 14px; background: #fff; }
.project-pdf-gallery iframe { display: block; width: 100%; height: 420px; border: 0; background: #fff; }
.project-pdf-gallery a { display: block; padding: 0.75rem 0.9rem; color: var(--ink, #151229); font-weight: 700; text-decoration: none; }
.project-gallery figcaption { padding: 0.7rem 0.9rem; color: var(--muted); font-size: 0.8rem; }
.project-pagination { display: flex; justify-content: space-between; gap: 1rem; }
.project-pagination a { display: flex; flex-direction: column; max-width: 46%; color: var(--ink); }
.project-pagination a:last-child { margin-left: auto; text-align: right; }
.project-pagination span { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 0.65rem; text-transform: uppercase; }
.project-pagination strong { font-size: clamp(1.1rem, 2vw, 1.6rem); }
.contact-socials { margin-top: 1.5rem; }
.contact-socials a { color: var(--violet); border-color: rgba(128,103,255,0.25); }
.contact-socials a:hover { color: #fff; }
.alert { border: 0; border-radius: 12px; }
.alert-success { color: #174334; background: #dff8ec; }
.alert-danger { color: #8a2430; background: #ffe8eb; }
@media (min-width: 992px) { .project-hero .container { grid-template-columns: 1fr 0.9fr; } }
@media (max-width: 575.98px) { .stats-panel { grid-template-columns: 1fr; } .project-pagination { flex-direction: column; } .project-pagination a, .project-pagination a:last-child { max-width: 100%; margin: 0; text-align: left; } }

@media (min-width: 992px) {
    .navbar-nav { gap: 0.15rem; }
    .nav-cta-wrap { margin-left: 0.6rem; }
    .nav-link { font-size: 0.82rem; }
    .site-footer { padding-top: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Premium creative studio visual system */
:root {
    --ink: #11101e;
    --ink-soft: #1d1a35;
    --violet: #8067ff;
    --electric-blue: #47b4ff;
    --coral: #ff8070;
    --paper: #f8f7ff;
    --mist: #edeaff;
    --navy: #111124;
    --line: rgba(109, 91, 219, 0.16);
    --shadow-xl: 0 30px 70px rgba(29, 23, 70, 0.19);
    --shadow-card: 0 18px 42px rgba(29, 23, 70, 0.12);
    --primary: var(--ink);
    --accent: var(--violet);
    --accent-deep: #6046dd;
    --accent-soft: rgba(128, 103, 255, 0.13);
    --bg: var(--paper);
    --bg-soft: #f0effb;
    --surface-alt: var(--mist);
    --text: var(--ink);
    --muted: #69657f;
    --border: var(--line);
    --space-section: clamp(4.75rem, 8vw, 8.5rem);
}

body { background: var(--paper); background-image: radial-gradient(circle at 6% 5%, rgba(128, 103, 255, 0.1), transparent 25rem), radial-gradient(circle at 94% 38%, rgba(71, 180, 255, 0.08), transparent 23rem); }
body::selection { background: var(--coral); color: #fff; }
.container { max-width: 1240px; }

.site-header { background: rgba(248, 247, 255, 0.75); border-bottom-color: rgba(128, 103, 255, 0.12); }
.brand-mark { background: linear-gradient(135deg, var(--violet), var(--electric-blue)); box-shadow: 0 8px 18px rgba(88, 68, 210, 0.3); }
.brand-name { font-weight: 800; color: var(--ink); }
.nav-link { font-size: 0.78rem; letter-spacing: 0.02em; }
.nav-link::after { height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--violet), var(--coral)); }
.navbar-toggler { background: #fff; box-shadow: 0 6px 16px rgba(38, 28, 93, 0.1); }
.btn { border-radius: 12px; padding: 0.92rem 1.35rem; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--violet), var(--electric-blue), var(--coral)); transform: translateX(-102%); transition: transform 320ms ease; }
.btn:hover::before { transform: translateX(0); }
.btn-primary { background: linear-gradient(110deg, var(--violet), #6254dc); border: 0; box-shadow: 0 14px 28px rgba(94, 68, 221, 0.28); }
.btn-primary:hover { background: var(--violet); border-color: transparent; box-shadow: 0 18px 36px rgba(94, 68, 221, 0.36); }
.btn-outline { background: rgba(255,255,255,0.6); border-color: rgba(128, 103, 255, 0.25); box-shadow: 0 8px 20px rgba(33, 25, 90, 0.05); }
.btn-outline:hover { color: #fff; border-color: transparent; }
.nav-cta i, .cta-box .btn::after { display: inline-block; content: ''; transition: transform 200ms ease; }
.nav-cta:hover i, .cta-box .btn:hover::after { transform: translate(3px, -3px); }

.hero-section { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.8rem, 8vw, 7rem); background: linear-gradient(135deg, #151229 0%, #1b1740 54%, #222057 100%); color: #fff; }
.hero-section::before, .hero-section::after { content: ''; position: absolute; width: 32rem; height: 32rem; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: 0.72; animation: drift 12s ease-in-out infinite alternate; }
.hero-section::before { top: -18rem; left: -13rem; background: radial-gradient(circle, rgba(128,103,255,0.9), rgba(128,103,255,0)); }
.hero-section::after { right: -16rem; bottom: -20rem; background: radial-gradient(circle, rgba(255,128,112,0.8), rgba(71,180,255,0)); animation-delay: -5s; }
.hero-section .container { position: relative; z-index: 1; }
.hero-section .eyebrow, .page-hero .eyebrow { color: #bdb8e9; font-family: 'DM Mono', monospace; letter-spacing: 0.13em; }
.hero-section .eyebrow::before, .section-heading > span::before { content: ''; display: inline-block; width: 1.35rem; height: 2px; margin: 0 0.6rem 0.22rem 0; background: linear-gradient(90deg, var(--coral), var(--electric-blue)); }
.hero-section h1 { max-width: 680px; font-size: clamp(3.25rem, 7vw, 6.5rem); letter-spacing: -0.065em; text-wrap: balance; }
.hero-section h1::first-letter { color: #ddd8ff; }
.hero-copy { font-size: clamp(1rem, 1.4vw, 1.15rem); color: #d3d0e9; }
.hero-actions .btn + .btn { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.23); }
.mini-stats { gap: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 1.25rem; }
.mini-stats div { min-width: 31%; padding-right: 0.8rem; }
.mini-stats strong { color: #fff; font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.mini-stats span { color: #afaaca; font-family: 'DM Mono', monospace; font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-visual { min-height: 520px; }
.hero-visual::before { content: ''; position: absolute; inset: 7% 5% 2% 14%; background: linear-gradient(135deg, var(--violet), var(--electric-blue)); border-radius: 38% 62% 55% 45% / 40% 42% 58% 60%; opacity: 0.7; transform: rotate(8deg); filter: blur(1px); animation: morph 10s ease-in-out infinite alternate; }
.hero-visual img { position: relative; z-index: 1; width: 88%; height: 510px; margin-left: auto; border-radius: 52% 20% 48% 18% / 26% 43% 27% 50%; box-shadow: 0 28px 70px rgba(2, 0, 25, 0.48); filter: saturate(1.08) contrast(1.05); }
.floating-card { z-index: 2; border-radius: 14px; background: rgba(25, 22, 57, 0.72); border-color: rgba(255,255,255,0.24); color: #fff; box-shadow: 0 16px 42px rgba(0,0,0,0.24); backdrop-filter: blur(14px); }
.floating-card strong { color: #fff; font-size: 0.9rem; }
.floating-card span { color: #d3ceff; font-family: 'DM Mono', monospace; }
.card-one { left: -0.5rem; top: 12%; animation: floatCard 6s ease-in-out infinite; }
.card-two { right: -0.5rem; bottom: 7%; animation: floatCard 6.5s ease-in-out -2s infinite; }

.logo-strip { position: relative; z-index: 2; margin-top: -1px; padding: 1.5rem 0; background: #fff; border: 0; }
.client-badge { min-height: 54px; border: 1px solid rgba(128,103,255,0.12); border-radius: 10px; background: #fff; color: #514b6c; transition: 200ms ease; }
.client-badge:hover { color: var(--violet); border-color: var(--violet); transform: translateY(-3px); box-shadow: var(--shadow-card); }

.section { position: relative; }
.section-soft { background: linear-gradient(135deg, #eeecff, #f8f5ff 60%, #e9f6ff); }
.section-heading { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-heading > span { color: var(--violet); font-family: 'DM Mono', monospace; font-size: 0.72rem; }
.section-heading h2 { max-width: 770px; font-size: clamp(2.45rem, 5vw, 4.65rem); letter-spacing: -0.065em; line-height: 0.98; text-wrap: balance; }
.section-heading h2 em, .section-heading h2 strong { font-style: normal; background: linear-gradient(95deg, var(--violet), var(--electric-blue), var(--coral)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.split-heading p { font-size: 1.02rem; }

.service-card, .portfolio-card, .testimonial-card, .step-card, .team-card, .pricing-card, .form-card, .contact-card, .faq-wrap .accordion-item { border-radius: 18px; border-color: rgba(104, 84, 217, 0.14); }
.service-card { position: relative; overflow: hidden; padding: 1.7rem; background: linear-gradient(145deg, #fff, #f7f5ff); box-shadow: 0 8px 24px rgba(31, 19, 94, 0.06); }
.service-card::before { content: ''; position: absolute; width: 10rem; height: 10rem; right: -4rem; bottom: -5rem; background: radial-gradient(circle, rgba(71,180,255,0.22), transparent 67%); transition: transform 320ms ease; }
.service-card::after { content: '↗'; position: absolute; right: 1.3rem; bottom: 1.2rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgba(128,103,255,0.22); border-radius: 50%; color: var(--violet); font-size: 1.15rem; transition: 260ms ease; }
.service-card:hover { transform: translateY(-9px); border-color: rgba(128,103,255,0.5); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scale(1.65); }
.service-card:hover::after { color: #fff; background: var(--violet); transform: rotate(45deg); }
.service-card a { padding-right: 2.8rem; color: var(--violet); }
.service-icon { position: relative; width: 68px; height: 68px; border-radius: 19px 19px 19px 5px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--electric-blue)); box-shadow: 0 12px 20px rgba(91, 70, 218, 0.22); transition: transform 260ms ease; }
.service-card:hover .service-icon { transform: rotate(-7deg) scale(1.08); }
.service-icon i { animation: iconPulse 4.5s ease-in-out infinite; }
.service-card h3 { font-size: 1.4rem; }

.step-card { position: relative; overflow: hidden; background: rgba(255,255,255,0.68); padding: 2rem 1.55rem; }
.step-card::after { content: ''; position: absolute; inset: auto -2.5rem -4rem auto; width: 9rem; height: 9rem; background: linear-gradient(135deg, rgba(128,103,255,0.14), rgba(71,180,255,0.06)); border-radius: 50%; }
.step-card span { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--coral), var(--violet)); box-shadow: 0 10px 18px rgba(128,103,255,0.23); }
.step-card:hover span { animation: iconPulse 800ms ease; }

.portfolio-card { position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: var(--surface); isolation: isolate; border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: transform 250ms ease, box-shadow 250ms ease; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15, 18, 32, 0.2); }
.portfolio-card[role="link"] { cursor: pointer; }
.portfolio-card[role="link"]:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.portfolio-card::before { content: ''; position: absolute; z-index: 1; top: 0; left: 1.1rem; width: 4rem; height: 0.25rem; background: linear-gradient(90deg, var(--coral), var(--violet)); pointer-events: none; }
.portfolio-card::after { display: none; }
.portfolio-card img { position: relative; inset: auto; width: 100%; height: 180px; flex: 0 0 180px; object-fit: cover; transition: transform 650ms cubic-bezier(.2,.8,.2,1), filter 650ms ease; }
.portfolio-card:hover img { transform: scale(1.06); filter: saturate(1.16); }
.portfolio-body { position: static; z-index: 2; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1rem 1.1rem 1.05rem; color: var(--text); background: var(--surface); }
.portfolio-body span { position: absolute; z-index: 3; top: 1rem; left: 1rem; display: inline-block; padding: 0.42rem 0.65rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; color: #fff; background: rgba(14,12,31,0.72); font-family: 'DM Mono', monospace; font-size: 0.61rem; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.portfolio-body h3 { margin: 0.25rem 0 0.25rem; color: var(--text); font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.portfolio-body p { display: block; margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.portfolio-body a { position: absolute; z-index: 3; top: 1rem; right: 1rem; display: inline-flex; align-items: center; padding: 0.48rem 0.7rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; color: #fff; background: rgba(14,12,31,0.72); font-family: 'DM Mono', monospace; font-size: 0.61rem; font-weight: 700; backdrop-filter: blur(10px); }
.public-dark-theme .portfolio-body a { color: #fff; }
.portfolio-body a::after { content: ' ↗'; display: inline-block; transition: transform 200ms ease; }
.portfolio-card:hover .portfolio-body a::after { transform: translate(3px,-3px); }

.testimonial-card { background: #fff; padding: 2.2rem; box-shadow: var(--shadow-card); }
.testimonial-card::before { content: ''; display: block; width: 2.8rem; height: 0.22rem; margin-bottom: 1.4rem; border-radius: 1rem; background: linear-gradient(90deg, var(--coral), var(--violet)); }
.quote-mark { color: var(--violet); }
.team-card { position: relative; background: var(--ink); }
.team-card::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.team-card img { height: 390px; transition: transform 500ms ease; }
.team-card:hover img { transform: scale(1.06); }
.team-body { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; color: #fff; }
.team-body h3 { color: #fff; }
.team-body span { color: #d0cae6; }
.public-dark-theme .team-card { background: #100e20; }
.public-dark-theme .team-card::after { background: linear-gradient(transparent, #100e20); }

.pricing-card { background: #fff; padding: 2.2rem 1.6rem; box-shadow: 0 12px 34px rgba(37, 22, 110, 0.08); }
.pricing-card.featured { position: relative; background: linear-gradient(145deg, #23204e, #151229); border-color: rgba(183,174,255,0.5); overflow: hidden; box-shadow: var(--shadow-xl); }
.pricing-card.featured::before { content: ''; position: absolute; width: 16rem; height: 16rem; top: -9rem; right: -8rem; border-radius: 50%; background: radial-gradient(circle, rgba(128,103,255,0.85), transparent 68%); }
.pricing-card.featured .btn { background: #fff; color: var(--ink); }

.cta-banner { position: relative; padding: 0 0 var(--space-section); }
.cta-box { position: relative; overflow: hidden; padding: clamp(2.3rem, 6vw, 4.5rem); border-radius: 24px; background: linear-gradient(120deg, #6c53eb, #7550e6 46%, #237fd8 100%); box-shadow: 0 24px 60px rgba(53, 37, 145, 0.32); }
.cta-box::before, .cta-box::after { content: ''; position: absolute; width: 22rem; height: 22rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); }
.cta-box::before { top: -14rem; right: -5rem; box-shadow: 0 0 0 3rem rgba(255,255,255,0.06), 0 0 0 6rem rgba(255,255,255,0.04); }
.cta-box::after { bottom: -18rem; left: 18%; background: rgba(255,128,112,0.28); filter: blur(10px); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; }
.cta-box .btn-light { color: var(--ink); border-radius: 12px; box-shadow: 0 10px 22px rgba(22,15,71,0.18); }
.public-dark-theme .cta-box .btn-light { color: #11101e; }

.page-hero { position: relative; overflow: hidden; padding: clamp(4.7rem, 8vw, 7rem) 0 clamp(2.8rem, 5vw, 4.5rem); color: #fff; background: linear-gradient(115deg, #17132d, #262050); }
.page-hero::after { content: ''; position: absolute; right: -4rem; top: -9rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle, rgba(128,103,255,0.82), rgba(128,103,255,0)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
.portfolio-filters a { border-radius: 999px; border-color: rgba(128,103,255,0.2); transition: 180ms ease; }
.portfolio-filters a:hover { color: #fff; background: var(--violet); border-color: var(--violet); transform: translateY(-2px); }

.form-card, .contact-card { padding: clamp(1.5rem, 3vw, 2.4rem); background: #fff; box-shadow: var(--shadow-card); }
.contact-list i { color: #fff; background: linear-gradient(135deg, var(--violet), var(--electric-blue)); box-shadow: 0 7px 14px rgba(89,65,214,0.2); }
.contact-list li:hover i { animation: iconPulse 700ms ease; }
.form-control { border-radius: 10px; border-color: rgba(128,103,255,0.18); background: #fbfaff; }
.form-control:focus { border-color: var(--violet); box-shadow: 0 0 0 0.22rem rgba(128,103,255,0.13); }

.site-footer { position: relative; overflow: hidden; background: #100e20; padding-top: clamp(4rem, 8vw, 7rem); }
.site-footer::before { content: ''; position: absolute; top: -14rem; right: -8rem; width: 32rem; height: 32rem; background: radial-gradient(circle, rgba(89,64,230,0.42), transparent 67%); }
.site-footer .container { position: relative; z-index: 1; }
.site-footer h2 { font-size: 1.45rem; }
.site-footer h3 { color: #a79ff5; }
.footer-brand .brand-mark { flex: 0 0 auto; }
.footer-action { color: #fff !important; }
.social-list a { background: rgba(255,255,255,0.05); transition: 220ms ease; }
.social-list a:hover { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--coral)); transform: translateY(-4px) rotate(5deg); box-shadow: 0 10px 20px rgba(79,60,203,0.35); }
.footer-links a { transition: color 160ms ease, transform 160ms ease; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }

.mobile-bottom-nav { right: max(0.65rem, env(safe-area-inset-right)); bottom: max(0.6rem, env(safe-area-inset-bottom)); left: max(0.65rem, env(safe-area-inset-left)); width: auto; border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 0.35rem; background: rgba(18,15,39,0.92); box-shadow: 0 18px 38px rgba(20,13,57,0.32); }
.mobile-nav-link { position: relative; min-height: 50px; color: #b8b2d1; border-radius: 13px; font-family: 'DM Mono', monospace; font-size: 0.59rem; letter-spacing: 0.02em; }
.mobile-nav-link i { transition: transform 180ms ease; }
.mobile-nav-link.is-active { color: #fff; background: linear-gradient(135deg, rgba(128,103,255,0.84), rgba(71,180,255,0.55)); box-shadow: 0 7px 17px rgba(91,64,226,0.28); }
.mobile-nav-link.is-active i { animation: navPop 400ms ease both; }
.mobile-nav-link:not(.is-active):active i { transform: scale(0.86); }

[data-reveal], main > .section, main > .cta-banner, main > .logo-strip { opacity: 0; transform: translateY(20px); transition: opacity 650ms cubic-bezier(.2,.7,.2,1), transform 650ms cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible, main > .section.is-visible, main > .cta-banner.is-visible, main > .logo-strip.is-visible { opacity: 1; transform: translateY(0); }

@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(2rem,1.5rem,0) scale(1.12); } }
@keyframes morph { from { border-radius: 38% 62% 55% 45% / 40% 42% 58% 60%; } to { border-radius: 54% 46% 35% 65% / 55% 32% 68% 45%; } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes iconPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.13); } }
@keyframes navPop { 0% { transform: translateY(3px) scale(0.82); } 100% { transform: translateY(0) scale(1); } }

@media (max-width: 991.98px) {
    body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
    .navbar-collapse { background: rgba(21,17,47,0.98); border-color: rgba(173,163,255,0.22); }
    .navbar-collapse .nav-link { color: #f6f5ff !important; }
    .navbar-collapse .nav-link::after { right: auto; left: 0.8rem; width: 1.4rem; }
    .navbar-collapse .nav-cta { margin-top: 0.25rem; }
    .hero-visual { min-height: 420px; margin-top: 0.5rem; }
    .hero-visual img { height: 420px; width: 86%; }
    .card-one { left: 0; }
    .card-two { right: 0; }
    .site-footer { padding-top: 3.2rem; padding-bottom: 1rem; }
    .site-footer .row { --bs-gutter-y: 1rem; }
    .footer-brand { gap: 0.7rem; margin-bottom: 0.8rem; }
    .footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
    .site-footer h2 { font-size: 1.5rem; }
    .site-footer h3 { font-size: 0.64rem; margin-bottom: 0.5rem; }
    .site-footer p,
    .site-footer li,
    .site-footer small,
    .site-footer a { font-size: 0.95rem; }
    .footer-links { gap: 0.35rem; }
    .social-list { margin-top: 0.5rem; gap: 0.5rem; }
    .social-list a { width: 34px; height: 34px; }
    .footer-bottom { margin-top: 1.2rem; padding-top: 0.8rem; font-size: 0.8rem; }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding-top: 2.8rem;
        padding-bottom: 1rem;
    }
    .site-footer .row {
        --bs-gutter-y: 1rem;
    }
    .site-footer .col-lg-2,
    .site-footer .col-lg-3,
    .site-footer .col-md-6,
    .site-footer .col-md-3,
    .site-footer .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .site-footer .col-lg-2,
    .site-footer .col-lg-3 {
        display: none;
    }
    .site-footer .row > [class*="col-"] {
        margin-bottom: 0.2rem;
    }
    .site-footer .col-lg-4.col-md-6 {
        margin-bottom: 0.5rem;
    }
    .site-footer .col-lg-4.col-md-6 p {
        display: none;
    }
    .site-footer .footer-brand .brand-mark {
        display: none;
    }
    .footer-brand {
        align-items: center;
        margin-bottom: 0.6rem;
    }
    .footer-mobile-contact {
        display: block;
        margin-top: 0.9rem;
        padding: 0.9rem 0.9rem 0.75rem;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 16px;
        background: rgba(255,255,255,0.03);
    }
    .footer-contact-title {
        margin-bottom: 0.75rem;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.7);
    }
    .footer-contact-item {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 0.7rem;
    }
    .footer-contact-item:last-of-type {
        margin-bottom: 0.9rem;
    }
    .footer-contact-icon {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(128,103,255,0.24));
        border: 1px solid rgba(255,255,255,0.18);
        color: #fff;
        font-size: 0.8rem;
    }
    .footer-contact-item a,
    .footer-contact-item span {
        color: rgba(255,255,255,0.86);
        line-height: 1.45;
        word-break: break-word;
    }
    .site-footer h2 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    .site-footer p,
    .site-footer li,
    .site-footer small,
    .site-footer a {
        font-size: 0.93rem;
        line-height: 1.5;
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem 0.8rem;
    }
    .footer-links li {
        min-width: 0;
    }
    .site-footer .col-lg-3.col-md-6 {
        display: none;
    }
    .social-list {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-top: 0.2rem;
        gap: 0.55rem;
        padding-top: 0.2rem;
    }
    .social-list a {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(128,103,255,0.24));
        border: 1px solid rgba(255,255,255,0.18);
        box-shadow: 0 8px 18px rgba(20, 13, 45, 0.18);
        color: #fff;
        transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }
    .social-list a:hover {
        transform: translateY(-2px) scale(1.04);
        background: linear-gradient(135deg, rgba(128,103,255,0.8), rgba(71,180,255,0.7));
        box-shadow: 0 12px 22px rgba(91, 64, 226, 0.32);
    }
    .footer-bottom {
        margin-top: 1rem;
        padding-top: 0.7rem;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section { padding-top: 4rem; }
    .hero-section h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
    .hero-visual { min-height: 340px; }
    .hero-visual::before { inset: 5% 3% 0 10%; }
    .hero-visual img { height: 330px; width: 88%; }
    .floating-card { padding: 0.7rem 0.8rem; }
    .floating-card strong { font-size: 0.76rem; }
    .card-one { top: 7%; }
    .card-two { bottom: 1%; }
    .section-heading h2 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
    .service-card { min-height: 255px; }
    .portfolio-card { min-height: 0; }
    .portfolio-card::after { display: none; }
    .cta-box { border-radius: 18px; }
    .site-footer { padding-bottom: 1.5rem; }
}

/* Public light and dark theme */
.public-dark-theme .breadcrumb a { color: #d8d1ff; }
.public-dark-theme .breadcrumb .breadcrumb-item.active { color: var(--muted); }
.public-theme-toggle { display:inline-flex;align-items:center;gap:.4rem;margin:.28rem .45rem;padding:.45rem .62rem;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font:700 .72rem 'Manrope',sans-serif;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease; }.public-theme-toggle:hover{color:#fff;background:var(--violet);border-color:var(--violet);transform:translateY(-1px)}.public-theme-toggle i{font-size:.95rem;line-height:1;color:var(--text)}
.public-theme-toggle-mobile{display:inline-flex;width:2.5rem;height:2.5rem;min-width:2.5rem;justify-content:center;align-items:center;margin:0;margin-left:auto;padding:0;border-radius:.8rem;font-size:1rem}.public-theme-toggle-mobile i{font-size:1rem;line-height:1;color:var(--text)}.navbar-toggler{margin-left:.2rem}
body.public-dark-theme{--ink:#f4f2ff;--ink-soft:#d8d4eb;--paper:#12111b;--mist:#1e1c2b;--bg:#12111b;--bg-soft:#1a1826;--surface:#1b1927;--surface-alt:#242133;--text:#f4f2ff;--muted:#bbb6ce;--line:rgba(186,175,255,.18);--border:rgba(186,175,255,.18);--shadow-xl:0 30px 70px rgba(0,0,0,.38);--shadow-card:0 18px 42px rgba(0,0,0,.27);background:#12111b;background-image:radial-gradient(circle at 6% 5%,rgba(128,103,255,.16),transparent 25rem),radial-gradient(circle at 94% 38%,rgba(71,180,255,.11),transparent 23rem);color:var(--text)}
.public-dark-theme .site-header{background:rgba(18,17,27,.84);border-bottom-color:var(--border)}.public-dark-theme .brand-name{color:var(--text)}.public-dark-theme .navbar-toggler,.public-dark-theme .public-theme-toggle{background:#211f2f;color:var(--text);border-color:var(--border)}.public-dark-theme .btn-outline{background:rgba(35,32,50,.8);border-color:var(--border);color:var(--text)}.public-dark-theme .logo-strip,.public-dark-theme .client-badge{background:#1b1927;color:var(--text);border-color:var(--border)}.public-dark-theme .section-soft{background:linear-gradient(135deg,#1b1927,#151421 60%,#172334)}.public-dark-theme .service-card{background:linear-gradient(145deg,#211f30,#181624);border-color:var(--border);box-shadow:var(--shadow-card)}.public-dark-theme .step-card{background:rgba(32,30,45,.86);border-color:var(--border)}.public-dark-theme .testimonial-card,.public-dark-theme .pricing-card,.public-dark-theme .form-card,.public-dark-theme .contact-card,.public-dark-theme .deliverable-item,.public-dark-theme .stats-panel>div,.public-dark-theme .project-gallery figure{background:#1b1927;color:var(--text);border-color:var(--border);box-shadow:var(--shadow-card)}.public-dark-theme .project-meta>div{background:#211f30;border-color:var(--border)}.public-dark-theme .form-control,.public-dark-theme .form-select{background:#151421;color:var(--text);border-color:var(--border)}.public-dark-theme .form-control::placeholder{color:#938da9}.public-dark-theme .form-control:focus,.public-dark-theme .form-select:focus{background:#151421;color:var(--text)}.public-dark-theme .form-control option{background:#151421;color:var(--text)}.public-dark-theme .accordion-item,.public-dark-theme .accordion-button,.public-dark-theme .accordion-body{background:#1b1927;color:var(--text);border-color:var(--border)}.public-dark-theme .accordion-button:not(.collapsed){color:#d8d1ff;background:#27233a;box-shadow:none}.public-dark-theme .portfolio-filters a{background:#211f30;color:var(--text);border-color:var(--border)}.public-dark-theme .portfolio-filters a.active{color:#fff;background:var(--violet)}.public-dark-theme .alert-success{color:#c4f3dc;background:#173b30}.public-dark-theme .alert-danger{color:#ffc5c8;background:#48242c}.public-dark-theme .text-muted{color:var(--muted)!important}.public-dark-theme .project-pagination{border-color:var(--border)}.public-dark-theme .project-pagination a{color:var(--text)}
@media(max-width:991.98px){.public-theme-toggle{width:auto;justify-content:flex-start;margin:.25rem 0;padding:.7rem .8rem;color:#f6f5ff;background:rgba(255,255,255,.06);border-color:rgba(173,163,255,.22)}.public-theme-toggle-mobile{width:2.5rem;height:2.5rem;min-width:2.5rem;margin:0 0 0 auto;border-radius:.8rem;padding:0;justify-content:center}.public-dark-theme .public-theme-toggle-mobile i{color:#fff}.navbar-toggler{margin-left:.2rem}.public-dark-theme .navbar-collapse{background:rgba(18,17,27,.98)}.public-dark-theme .navbar-collapse .nav-link{color:#f6f5ff!important}}

/* Premium mobile dock navigation */
@media (max-width: 991.98px) {
    body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: grid;
        grid-template-columns: repeat(var(--nav-count, 5), minmax(0, 1fr));
        gap: 0.08rem;
        width: 100%;
        padding: 0.2rem max(0.34rem, env(safe-area-inset-right)) calc(0.22rem + env(safe-area-inset-bottom)) max(0.34rem, env(safe-area-inset-left));
        border: 0;
        border-top: 1px solid var(--border);
        border-radius: 18px 18px 0 0;
        background: rgba(255,255,255,0.96);
        box-shadow: 0 -8px 18px rgba(15,10,38,0.05);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .mobile-nav-link {
        min-width: 0;
        min-height: 48px;
        padding: 0.08rem 0.06rem 0.08rem;
        border-radius: 12px;
        color: var(--muted);
        font-family: 'DM Mono', monospace;
        font-size: 0.48rem;
        font-weight: 600;
        line-height: 1.08;
        gap: 0.14rem;
        transition: color 0.2s ease, background 0.2s ease;
    }
    .mobile-nav-icon {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        background: rgba(128, 103, 255, 0.07);
    }
    .mobile-nav-icon i {
        font-size: 0.9rem;
    }
    .mobile-nav-link.is-active {
        background: rgba(128, 103, 255, 0.08);
        color: var(--violet);
    }
    .mobile-nav-link.is-active .mobile-nav-icon {
        background: linear-gradient(135deg, var(--violet), var(--electric-blue));
        color: #fff;
        box-shadow: 0 8px 14px rgba(128, 103, 255, 0.18);
    }
    .mobile-nav-link:focus-visible {
        outline: 2px solid var(--violet);
        outline-offset: 2px;
    }
    body.public-dark-theme .mobile-bottom-nav {
        background: rgba(18,17,27,0.96);
        border-top-color: rgba(214,207,255,0.18);
        box-shadow: 0 -12px 24px rgba(0,0,0,0.2);
    }
    body.public-dark-theme .mobile-nav-link {
        color: #bdb6d8;
    }
    body.public-dark-theme .mobile-nav-link.is-active {
        background: rgba(128, 103, 255, 0.14);
        color: #fff;
    }
    body.public-dark-theme .mobile-nav-icon {
        background: rgba(255,255,255,0.06);
    }
}
@media (max-width: 360px) {
    .mobile-bottom-nav { padding: 0.16rem max(0.24rem, env(safe-area-inset-right)) calc(0.18rem + env(safe-area-inset-bottom)) max(0.24rem, env(safe-area-inset-left)); gap: 0.04rem; }
    .mobile-nav-link { min-height: 46px; font-size: 0.45rem; }
    .mobile-nav-icon { width: 24px; height: 24px; border-radius: 6px; }
    .mobile-nav-icon i { font-size: 0.82rem; }
}

.empty-state { display: grid; min-height: 240px; place-items: center; align-content: center; gap: 0.7rem; padding: 2rem; border: 1px dashed var(--border); border-radius: 18px; background: var(--surface); text-align: center; }.empty-state i { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--electric-blue)); box-shadow: 0 10px 20px rgba(91,70,218,0.25); font-size: 1.3rem; }.empty-state h2 { margin: 0.2rem 0 0; font-size: 1.45rem; }.empty-state p { max-width: 34rem; margin: 0; color: var(--muted); }.public-dark-theme .empty-state { background: var(--surface); border-color: var(--border); }
