/* Restored from original static site assets for non-home pages */

/* Source: assets/css/tokens.css */
:root {
    --color-black: #111111;
    --color-black-soft: #171717;
    --color-surface: #1b1b1c;
    --color-surface-2: #242426;
    --color-white: #ffffff;
    --color-light: #f5f6f8;
    --color-heading: #ffffff;
    --color-text: #e7ebf1;
    --color-muted: #a8b0bc;
    --color-dark-heading: #222325;
    --color-dark-text: #5f6670;
    --color-border: rgba(255, 255, 255, 0.13);
    --color-accent: #ffffff;
    --color-accent-soft: rgba(255, 255, 255, 0.18);
    --hero-overlay: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.2), transparent 45%), linear-gradient(135deg, #141414 0%, #111111 45%, #111111 100%);
    --font-body: 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
    --font-brand: 'PP Neue Montreal', 'Inter', sans-serif;
    --max-width: 1240px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.28);
    --shadow-lift: 0 16px 36px rgba(0, 0, 0, 0.32);
    --space-xs: 0.5rem;
    --space-sm: 0.9rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 2.7rem;
    --space-2xl: clamp(3rem, 6vw, 5rem);
    --transition-fast: 220ms ease;
    --transition-base: 360ms cubic-bezier(0.4, 0, 0.2, 1);
}




/* Source: assets/css/base.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-black);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
}

img,
video,
iframe,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: var(--color-accent);
    color: #062016;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 1rem;
}

.scroll-progress {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    z-index: 1400;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-accent);
}

.container {
    width: calc(100% - 8rem);
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    border-bottom: 1px solid transparent;
    transition: background var(--transition-fast), border-color var(--transition-fast), backdrop-filter var(--transition-fast);
}

.site-header.scrolled {
    background: rgba(12, 14, 18, 0.88);
    border-color: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--color-white);
}

.brand .dot {
    color: #00ac2c;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-nav a {
    margin-left: 2.5rem;
    font-weight: 500;
    font-size: 0.96rem;
    color: var(--color-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--color-white);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1210;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 1170;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 2rem 2rem;
    background: rgba(16, 16, 16, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 1180;
}

.mobile-nav::-webkit-scrollbar {
    display: none;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav .menu-search-bar {
    width: 100%;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.mobile-nav .menu-search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    border-radius: 30px;
    padding: 0.8rem 1rem;
    color: var(--color-white);
    font-size: 1rem;
}

.mobile-nav .menu-search-bar input::placeholder {
    color: #aeb4c0;
}

.mobile-nav>a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: 8px;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav>a:hover,
.mobile-nav>a.active {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav>a i {
    margin-right: 1.2rem;
    font-size: 1.4rem;
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.mobile-nav>a:hover i,
.mobile-nav>a.active i {
    transform: scale(1.12);
}

.support-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    width: 100%;
}

.support-section h4 {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.support-section h4 i {
    margin-right: 0.8rem;
    font-size: 1.4rem;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.support-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.support-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.support-links a i {
    font-size: 1.8rem;
    color: var(--color-accent);
}

.support-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.support-text span:first-child {
    font-size: 1rem;
    font-weight: 600;
}

.support-text span:last-child {
    font-size: 0.85rem;
    color: #aeb4c0;
}

main {
    padding-top: 76px;
}

section {
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--color-heading);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.2vw, 4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.9rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.75rem);
}

p {
    color: var(--color-muted);
}

.section-shell {
    padding: var(--space-2xl) 0;
}

.section-head {
    display: grid;
    gap: 0.8rem;
    max-width: 760px;
    margin-bottom: 1.8rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--color-accent);
}

.site-footer {
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: var(--space-xl);
}

.footer-top {
    padding: clamp(3.2rem, 6vw, 4.7rem) 0 clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-brand p {
    margin-top: 0.9rem;
    max-width: 430px;
}

.footer-col h4 {
    margin-bottom: 0.8rem;
}

.footer-links {
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #8f96a2;
    font-size: 0.88rem;
}

.social-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-list a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-list a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

body.menu-open {
    overflow: hidden;
}

/* Source: assets/css/components.css */
.btn {
    min-height: 44px;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-accent);
    color: #0b0d11;
    box-shadow: 0 12px 26px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    background: #d8dde5;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--color-white);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-nav {
    min-height: 38px;
    padding-inline: 1rem;
    font-size: 0.85rem;
}

.site-nav .btn {
    color: #0b0d11;
}

.site-nav .btn::after {
    display: none;
}

.page-header-compact {
    background: var(--hero-overlay);
    padding: clamp(4.1rem, 6.6vw, 5.4rem) 0 clamp(1.6rem, 3vw, 2.2rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header-compact h1 {
    max-width: 28ch;
}

.page-header-compact p {
    margin-top: 0.9rem;
    max-width: 64ch;
    color: #c2c9d3;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.floating-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.floating-pills span {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #eaf0f8;
    padding: 0.34rem 0.74rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.surface-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow-soft);
}

.page-content-card {
    width: 100%;
    margin-inline: auto;
    padding: clamp(1.2rem, 3vw, 2.5rem);
    overflow: hidden;
}

.page-content-card .section-head {
    margin-bottom: 0;
    max-width: none;
}

.page-content-card .section-head h1 {
    margin: 0;
    max-width: 18ch;
    line-height: 1.04;
}

.page-content-card .page-content-body {
    display: grid;
    gap: 1rem;
}

.page-content-card .page-content-body > * {
    margin: 0;
    min-width: 0;
}

.page-content-card .page-content-body > :where(p, ul, ol, blockquote, pre, table, dl, .wp-block-table, .wp-block-quote, .wp-block-code) {
    max-width: 72ch;
}

.page-content-card .page-content-body > :where(ul, ol) {
    padding-left: 1.35rem;
}

.page-content-card .page-content-body li + li {
    margin-top: 0.45rem;
}

.page-content-card .page-content-body :where(h2, h3, h4, h5, h6) {
    color: var(--color-heading);
    margin-top: 0.4rem;
}

.page-content-card .page-content-body a {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 0.15em;
}

.page-content-card .page-content-body a:hover {
    text-decoration-color: rgba(255, 255, 255, 0.78);
}

.page-content-card .page-content-body :where(blockquote, .wp-block-quote, .wp-block-pullquote) {
    border-left: 3px solid rgba(255, 255, 255, 0.34);
    padding-left: 1rem;
    color: #d6dbe3;
}

.page-content-card .page-content-body :where(pre, .wp-block-code, .wp-block-preformatted) {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
}

.page-content-card .page-content-body :where(table, .wp-block-table table) {
    width: 100%;
    border-collapse: collapse;
}

.page-content-card .page-content-body :where(th, td) {
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.page-content-card .page-content-body :where(img, .wp-block-image img) {
    border-radius: var(--radius-md);
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.problem-card,
.solution-card {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.problem-card {
    border-color: rgba(255, 255, 255, 0.32);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.solution-card {
    border-color: rgba(255, 255, 255, 0.44);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.issue-list,
.solution-list,
.check-list,
.pricing-points {
    display: grid;
    gap: 0.72rem;
}

.issue-list li,
.solution-list li,
.check-list li,
.pricing-points li {
    list-style: none;
    position: relative;
    padding-left: 1.15rem;
    color: var(--color-muted);
}

.issue-list li::before,
.solution-list li::before,
.check-list li::before,
.pricing-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}

.cards-grid,
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.card {
    background: #111213;
    border: 1px solid #2b3139;
    border-radius: 18px;
    padding: 1.2rem;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.services-overview-grid .card:first-child {
    border-color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.15), rgba(15, 19, 26, 0.9));
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-accent);
    margin-bottom: 0.9rem;
    font-size: 1.2rem;
}

.card h3 {
    margin-bottom: 0.55rem;
}

.services-overview-grid .card a,
.footer-cta-inline {
    margin-top: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-white);
    font-weight: 600;
}

.services-overview-grid .card a:hover,
.footer-cta-inline:hover {
    color: var(--color-accent);
}

.light-panel {
    background: var(--color-light);
}

.light-panel h2,
.light-panel h3,
.light-panel h4,
.light-panel .section-head h2 {
    color: var(--color-dark-heading);
}

.light-panel p,
.light-panel li {
    color: var(--color-dark-text);
}

.light-panel .eyebrow {
    color: #33373d;
}

.light-panel .eyebrow::before {
    background: #33373d;
}

.light-panel .card,
.light-panel .case-card,
.light-panel .process-step,
.light-panel .faq-item,
.light-panel .testimonial-card,
.light-panel .pricing-card,
.light-panel .store-card,
.light-panel .metric,
.light-panel .contact-card {
    background: #ffffff;
    border-color: rgba(20, 30, 42, 0.12);
}

.light-panel .btn-secondary {
    border-color: rgba(20, 30, 42, 0.2);
    color: #1f2935;
}

.light-panel .btn-secondary:hover {
    color: #33373d;
    border-color: #33373d;
}

.light-panel .tags span,
.light-panel .kpi {
    border-color: rgba(20, 30, 42, 0.2);
    color: #353b43;
}

.case-grid,
.case-study-layout {
    display: grid;
    gap: 1rem;
}

.case-card,
.case-study-layout article {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.case-media {
    min-height: 250px;
}

.case-media img,
.case-study-layout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-body {
    padding: clamp(1rem, 2vw, 1.4rem);
    display: grid;
    gap: 0.6rem;
}

.kpi-row,
.tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kpi,
.tags span {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 0.23rem 0.62rem;
    font-size: 0.76rem;
    color: #dbdde3;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.process-step {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    position: relative;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -11px;
    right: 10px;
    min-width: 30px;
    height: 30px;
    padding-inline: 0.35rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #0b0d11;
    display: grid;
    place-items: center;
    font-size: 0.74rem;
    font-weight: 700;
}

.blog-process-section {
    padding-top: clamp(1.1rem, 2vw, 1.6rem);
    padding-bottom: clamp(0.6rem, 1.4vw, 1rem);
}

.cta-banner {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-lg);
    padding: clamp(1.2rem, 2.6vw, 2rem);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.9rem;
}

.cta-banner p {
    color: #dde5ef;
    margin-top: 0.5rem;
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.metric {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.95rem;
}

.metric strong {
    display: block;
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.12rem;
}

.light-panel .metric strong {
    color: #1d2835;
}

.timeline-rail {
    position: relative;
}

.timeline-rail::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.timeline-item {
    padding-left: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.16);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.testimonial-card {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    display: grid;
    gap: 0.8rem;
}

.rating {
    color: #f2f4f8;
    letter-spacing: 0.08em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-list {
    display: grid;
    gap: 0.65rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-trigger span {
    color: var(--color-white);
    font-weight: 600;
    text-align: left;
}

.faq-content {
    display: none;
    padding: 0 1rem 1rem;
}

.faq-item.open .faq-content {
    display: block;
}

.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #dbdee4;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.14);
    color: #e8eef7;
}

.blog-feature {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-feature .body {
    padding: clamp(1rem, 2.2vw, 1.7rem);
    display: grid;
    gap: 0.7rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.blog-card {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-card .body {
    padding: 0.9rem;
    display: grid;
    gap: 0.6rem;
}

.blog-showcase-panel {
    background: #ffffff;
    padding-top: clamp(1.4rem, 3vw, 2rem);
    padding-bottom: clamp(1.2rem, 2.4vw, 1.8rem);
}

.blog-showcase-panel .section-head h2,
.blog-showcase-panel .section-head p,
.blog-showcase-panel .eyebrow {
    color: #111111;
}

.blog-showcase-panel .eyebrow::before {
    background: #111111;
}

.blog-showcase-panel .filter-btn {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.18);
    background: #ffffff;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.blog-showcase-panel .filter-btn.active,
.blog-showcase-panel .filter-btn:hover {
    color: #ffffff;
    border-color: #111111;
    background: #111111;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.blog-showcase-panel .blog-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.blog-showcase-panel .blog-card:hover {
    border-color: rgba(0, 0, 0, 0.24);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.blog-showcase-panel .blog-card h3 {
    color: #111111;
}

.blog-showcase-panel .blog-card p,
.blog-showcase-panel .blog-meta {
    color: #4f4f4f;
}

.blog-showcase-panel .btn-secondary {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.18);
    background: #ffffff;
}

.blog-showcase-panel .btn-secondary:hover {
    color: #ffffff;
    border-color: #111111;
    background: #111111;
}

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.77rem;
    color: #a8adb6;
}

.blog-back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    color: #cfd5de;
    font-size: 0.9rem;
}

.blog-back-link:hover {
    color: #ffffff;
}

.blog-post-meta-row {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.blog-author-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.62rem 0.35rem 0.35rem;
}

.blog-author-chip img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-chip strong {
    display: block;
    font-size: 0.88rem;
    color: #f2f6fc;
}

.blog-author-chip span {
    display: block;
    font-size: 0.74rem;
    color: #b3bac5;
}

.blog-post-main {
    overflow: hidden;
}

.blog-post-featured-media img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.blog-post-body {
    padding: clamp(1rem, 2.4vw, 1.6rem);
    display: grid;
    gap: 0.9rem;
}

.blog-post-body>p {
    color: #c8ced9;
    max-width: 72ch;
    line-height: 1.65;
}

.blog-content-section {
    display: grid;
    gap: 0.62rem;
}

.blog-content-section h2 {
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    color: #f5f9ff;
}

.blog-content-section h3 {
    font-size: 1.04rem;
    color: #d8deea;
}

.blog-content-section p {
    color: #c8ced9;
    line-height: 1.65;
}

.blog-content-list {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.blog-content-list li {
    color: #d1d7e1;
    line-height: 1.6;
}

.blog-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.blog-table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.blog-table-wrap th,
.blog-table-wrap td {
    text-align: left;
    padding: 0.66rem 0.72rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.blog-table-wrap th {
    color: #f2f7ff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
}

.blog-table-wrap td {
    color: #c7ced8;
}

.blog-video-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #0c0e12;
    aspect-ratio: 16 / 9;
}

.blog-video-wrap iframe {
    width: 100%;
    height: 100%;
}

.blog-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.blog-image-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.blog-image-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-image-card figcaption {
    padding: 0.62rem 0.72rem 0.78rem;
    color: #b9c1cd;
    font-size: 0.85rem;
    line-height: 1.45;
}

.blog-cta-panel {
    margin-top: 0.2rem;
    padding: 1rem;
}

.blog-cta-panel h3 {
    color: #f5f9ff;
    margin-bottom: 0.45rem;
}

.blog-cta-panel p {
    color: #c5ccd7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.pricing-card {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.pricing-card.featured {
    border-color: rgba(255, 255, 255, 0.62);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04));
    box-shadow: 0 16px 30px rgba(255, 255, 255, 0.18);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price strong {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--color-white);
}

.light-panel .price strong {
    color: #333840;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.store-card {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.store-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.store-card .body {
    padding: 0.85rem;
    display: grid;
    gap: 0.45rem;
}

.contact-strip {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.85rem;
}

.blog-newsletter-section {
    padding-top: clamp(0.8rem, 1.6vw, 1.2rem);
    padding-bottom: clamp(1.2rem, 2vw, 1.8rem);
}

.contact-card {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
}

.contact-points {
    display: grid;
    gap: 0.65rem;
}

.contact-points li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.contact-points i {
    color: var(--color-accent);
    margin-top: 0.1rem;
}

.input-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.input,
textarea.input {
    flex: 1;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 0.68rem 0.8rem;
}

.input:focus,
textarea.input:focus {
    outline: 1px solid var(--color-accent);
    border-color: var(--color-accent);
}

.light-panel .input,
.light-panel textarea.input {
    border-color: rgba(15, 25, 35, 0.22);
    background: #ffffff;
    color: #32363d;
}

.spacer-top {
    margin-top: 0.85rem;
}

.compact-text {
    max-width: 62ch;
}

.muted-block {
    border: 1px dashed rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    padding: 0.9rem;
    color: #abb5c3;
    font-size: 0.92rem;
}

.hidden {
    display: none !important;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: var(--color-white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Footer CTA Section */
.footer-cta {
    text-align: center;
    padding: 5rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-white);
}

.footer-cta h2 span {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.footer-cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-btn.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-black);
}

.footer-btn.btn-primary:hover {
    background-color: #d8dde5;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.footer-btn.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-btn.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-3px);
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Footer About/Company Info */
.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo .logo-dot {
    color: var(--color-accent);
}

.footer-description {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-badges .badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
    transform: translateX(5px);
}

.footer-badges .badge i {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--color-accent);
}

.footer-badges .badge span {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    font-weight: 500;
    color: var(--color-white);
}

/* Footer Column Titles */
.footer-column-title {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact li i {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--color-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact li div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-contact .contact-label {
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-align: left;
}

.footer-contact a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact li div span:not(.contact-label) {
    color: #b0b0b0;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 1rem;
}

.footer-newsletter h4 {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.footer-newsletter p {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    color: #888;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem;
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.6rem 1rem;
    color: var(--color-white);
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: #d8dde5;
    transform: scale(1.1);
}

.newsletter-form button i {
    color: var(--color-black);
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.copyright {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    color: #888;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: clamp(0.75rem, 0.95vw, 0.85rem);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

.footer-legal .separator {
    color: #555;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-black);
    transform: translateY(-5px);
}

.footer-socials a i {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* ============================================
   FOOTER RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
        gap: 2rem;
    }

    .footer-about {
        padding-right: 1rem;
    }
}

@media (max-width: 992px) {
    .footer-container {
        padding: 0 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 600px;
    }

    .footer-badges {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-cta {
        padding: 3rem 0 2.5rem;
    }

    .footer-cta h2 {
        font-size: 2rem;
    }

    .footer-cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .footer-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .footer-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-badges {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 0;
    }

    .footer-bottom-left {
        width: 100%;
    }

    .footer-bottom-right {
        width: 100%;
    }

    .footer-socials {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-cta h2 {
        font-size: 1.8rem;
    }

    .footer-logo .logo-text {
        font-size: 1.5rem;
    }

    .footer-badges .badge {
        padding: 0.6rem 1rem;
    }

    .footer-badges .badge i {
        font-size: 1.1rem;
    }

    .footer-badges .badge span {
        font-size: 0.85rem;
    }

    .footer-socials a {
        width: 38px;
        height: 38px;
    }

    .footer-socials a i {
        font-size: 1rem;
    }
}





/* Source: assets/css/animations.css */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 650ms ease, transform 650ms ease;
}

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

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) {
    transition-delay: 40ms;
}

.reveal-stagger.visible > *:nth-child(2) {
    transition-delay: 90ms;
}

.reveal-stagger.visible > *:nth-child(3) {
    transition-delay: 140ms;
}

.reveal-stagger.visible > *:nth-child(4) {
    transition-delay: 190ms;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.visible,
    .reveal-stagger > *,
    .reveal-stagger.visible > * {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}


/* Source: assets/css/pages.css */
/* Page-level fine tuning */

.case-study-layout article {
    align-items: stretch;
}

.case-study-layout .case-body {
    padding: clamp(1rem, 2vw, 1.4rem);
    display: grid;
    gap: 0.65rem;
}

.light-panel .faq-trigger span {
    color: #2a2d33;
}

.light-panel .faq-content p {
    color: #5d636c;
}

.light-panel .filter-btn {
    color: #454a52;
    border-color: rgba(44, 49, 57, 0.2);
    background: rgba(44, 49, 57, 0.05);
}

.light-panel .filter-btn.active,
.light-panel .filter-btn:hover {
    color: #33373d;
    border-color: #33373d;
    background: rgba(63, 70, 80, 0.12);
}

.light-panel .blog-meta {
    color: #767b83;
}

.light-panel .muted-block {
    border-color: rgba(44, 49, 57, 0.2);
    color: #60646b;
}

/* Services page redesign */
.services-page {
    background: #0f0f10;
}

.services-page .site-header {
    background: rgba(12, 14, 18, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.services-page .section-shell {
    padding: clamp(2.3rem, 4vw, 3.4rem) 0;
}

.services-page .section-head {
    margin-bottom: clamp(1.3rem, 2.4vw, 1.9rem);
}

.services-hero {
    padding: clamp(4.4rem, 6.8vw, 6rem) 0 clamp(2.1rem, 3.8vw, 3rem);
    background:
        radial-gradient(circle at 15% 32%, rgba(255, 255, 255, 0.26), transparent 40%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.2), transparent 42%),
        linear-gradient(145deg, #0d0d0e 0%, #111214 48%, #090909 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-hero-shell {
    display: grid;
    grid-template-columns: 100fr 95fr;
    gap: clamp(1.1rem, 2.8vw, 2rem);
    align-items: end;
}

.services-hero-content h1 {
    font-size: clamp(2rem, 4.8vw, 4rem);
    color: #f6fbff;
    max-width: 25ch;
    line-height: 1.03;
    margin: 0.72rem 0 1rem;
}

.services-hero-content p {
    max-width: 68ch;
    color: #c5c9cf;
    font-size: clamp(1rem, 1.28vw, 1.18rem);
}

.services-hero-panel {
    padding: clamp(1rem, 2.2vw, 1.45rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.services-hero-panel h2 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    margin-bottom: 0.5rem;
}

.services-hero-panel p {
    color: #c7cbd1;
    margin-bottom: 0.75rem;
}

.services-hero-panel .check-list li {
    color: #c7cbd1;
}

.services-hero-metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.services-hero-metrics .metric {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
}

.services-hero-metrics .metric strong {
    font-size: 1.1rem;
}

.services-hero-metrics .metric span {
    color: #b9bec7;
    font-size: 0.82rem;
}

.services-problem {
    background: linear-gradient(180deg, #111213 0%, #0f0f10 100%);
}

.services-problem.section-shell {
    padding-bottom: clamp(1.4rem, 2.6vw, 2.1rem);
}

.services-solution {
    background:
        radial-gradient(circle at 82% 84%, rgba(255, 255, 255, 0.12), transparent 42%),
        #0f0f10;
}

.services-solution.section-shell {
    padding-top: clamp(1.6rem, 2.8vw, 2.4rem);
}

.services-architecture-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.service-capsule {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    padding: clamp(1rem, 2vw, 1.22rem);
    display: grid;
    gap: 0.72rem;
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.service-capsule:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.56);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.service-capsule-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.service-capsule .card-icon {
    margin-bottom: 0;
}

.service-mini-badge {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.13);
    color: #edf2f9;
    border-radius: 999px;
    padding: 0.24rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.service-capsule h3 {
    font-size: clamp(1.25rem, 1.9vw, 1.62rem);
}

.service-capsule p {
    color: #b9bec7;
}

.service-points {
    display: grid;
    gap: 0.48rem;
}

.service-points li {
    list-style: none;
    position: relative;
    padding-left: 1rem;
    color: #c5c9cf;
    font-size: 0.92rem;
}

.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.service-capsule .tags span {
    border-color: rgba(255, 255, 255, 0.24);
    color: #d1d4da;
}

.service-capsule .footer-cta-inline {
    margin-top: 0.15rem;
}

.services-showcase {
    background: linear-gradient(180deg, #131416 0%, #0f0f10 100%);
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.services-showcase-grid .case-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.14);
}

.services-impact-panel {
    grid-column: 1 / -1;
    padding: clamp(1.05rem, 2.2vw, 1.45rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.services-impact-panel h3 {
    margin-bottom: 0.4rem;
}

.services-impact-panel p {
    color: #cacdd3;
    margin-bottom: 0.85rem;
    max-width: 72ch;
}

.services-impact-metrics .metric {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.services-impact-metrics .metric span {
    color: #cbced4;
}

.services-process {
    background: #0f0f10;
}

.services-process-grid .process-step {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border-color: rgba(255, 255, 255, 0.14);
    min-height: 190px;
}

.services-process-grid .process-step h4 {
    margin-bottom: 0.45rem;
}

.services-process-grid .process-step p {
    color: #b9bec6;
}

.services-cta-banner {
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
}

/* Pricing page redesign */
.pricing-page {
    background: #0f0f10;
}

.pricing-page .site-header {
    background: rgba(12, 14, 18, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pricing-page .section-shell {
    padding: clamp(2.3rem, 4vw, 3.4rem) 0;
}

.pricing-hero {
    padding: clamp(4.4rem, 6.8vw, 6rem) 0 clamp(2.1rem, 3.8vw, 3rem);
    background:
        radial-gradient(circle at 14% 26%, rgba(255, 255, 255, 0.25), transparent 38%),
        radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.2), transparent 45%),
        linear-gradient(140deg, #0d0d0e 0%, #121416 46%, #090909 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(420px, 0.76fr);
    gap: clamp(1rem, 2.4vw, 1.7rem);
    align-items: end;
}

.pricing-hero-content {
    min-width: 0;
}

.pricing-hero-content h1 {
    font-size: clamp(2rem, 4.8vw, 4rem);
    color: #f7fbff;
    line-height: 1.03;
    max-width: 20ch;
    text-wrap: balance;
    overflow-wrap: anywhere;
    margin: 0.72rem 0 1rem;
}

.pricing-hero-content p {
    max-width: 60ch;
    overflow-wrap: anywhere;
    color: #c5c9cf;
    font-size: clamp(1rem, 1.28vw, 1.18rem);
}

.pricing-hero-panel {
    padding: clamp(1rem, 2.2vw, 1.35rem);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    width: min(100%, 520px);
    justify-self: end;
}

.pricing-hero-panel h2 {
    font-size: clamp(1.18rem, 2vw, 1.62rem);
    margin-bottom: 0.7rem;
}

.pricing-hero-panel .check-list {
    margin-bottom: 0.9rem;
}

.pricing-hero-panel .check-list li {
    color: #c7cbd1;
}

.pricing-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.pricing-hero-metrics .metric {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.pricing-hero-metrics .metric strong {
    font-size: 1rem;
}

.pricing-hero-metrics .metric span {
    color: #c4c8cf;
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.pricing-estimator-section {
    background: linear-gradient(180deg, #111315 0%, #0f0f10 100%);
}

.pricing-estimator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 0.9rem;
    align-items: start;
}

.pricing-estimator-card {
    padding: clamp(1rem, 2.4vw, 1.35rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    min-width: 0;
}

.pricing-mode-toggle {
    display: inline-flex;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
}

.pricing-mode-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    color: #d2d5db;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.84rem;
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.pricing-mode-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ecf2fa;
    box-shadow: 0 8px 18px rgba(255, 255, 255, 0.2);
}

.pricing-estimator-form {
    display: grid;
    gap: 0.85rem;
}

.estimate-group {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.85rem 0.85rem 0.82rem;
    display: grid;
    gap: 0.52rem;
    background: rgba(255, 255, 255, 0.02);
}

.estimate-group legend {
    color: #eff4fa;
    font-size: 0.95rem;
    font-weight: 700;
    padding-inline: 0.35rem;
}

.estimate-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #c8ccd2;
    font-size: 0.92rem;
    line-height: 1.4;
}

.estimate-option input {
    margin-top: 0.22rem;
    accent-color: #ffffff;
}

.estimate-option small {
    color: #adb2bb;
}

.estimate-group.is-hidden,
.estimate-option.is-hidden {
    display: none;
}

.estimate-total-box {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
}

.estimate-total-box p {
    color: #ebf1f8;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.estimate-total-box strong {
    display: block;
    margin-top: 0.1rem;
    color: #ffffff;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.08;
}

.estimate-breakdown {
    display: grid;
    gap: 0.4rem;
}

.estimate-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 0.45rem 0.55rem;
    color: #c9cdd3;
    font-size: 0.84rem;
}

.estimate-line strong {
    color: #e3e5ea;
    font-weight: 600;
    white-space: nowrap;
}

.estimate-note {
    min-height: 1.3rem;
    color: #e7edf6;
    font-size: 0.9rem;
}

.estimate-disclaimer {
    color: #9da3ad;
    font-size: 0.84rem;
    line-height: 1.55;
}

.pricing-guidance-card {
    padding: clamp(1rem, 2.2vw, 1.35rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    position: sticky;
    top: 88px;
    width: min(100%, 460px);
    justify-self: end;
    align-self: start;
}

.pricing-guidance-card h3 {
    margin-bottom: 0.55rem;
}

.pricing-guidance-card .check-list {
    margin-bottom: 1rem;
}

.pricing-guidance-card .check-list li {
    color: #c8ccd2;
}

.pricing-packages-section {
    background: #0f0f10;
}

.pricing-packages-section .pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.14);
}

.pricing-packages-section .pricing-card p {
    color: #c4c8cf;
}

.pricing-packages-section .pricing-card .pricing-points li {
    color: #c9cdd3;
}

.pricing-reviews-section {
    background: #f1f2f4;
}

.pricing-centered-head {
    margin-inline: auto;
    text-align: center;
    place-items: center;
}

.pricing-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.pricing-review-card {
    border: 1px solid rgba(17, 32, 48, 0.14);
    border-radius: 14px;
    background: #ffffff;
    padding: 1rem;
    display: grid;
    gap: 0.52rem;
    box-shadow: 0 12px 26px rgba(12, 26, 41, 0.08);
}

.pricing-review-card h3 {
    font-size: 0.96rem;
    color: #1f2227;
}

.pricing-review-card p {
    color: #5a5f67;
}

.pricing-review-cta {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

/* Contact page redesign */
.contact-page {
    background: #0f0f10;
}

.contact-page .site-header {
    background: rgba(12, 14, 18, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.contact-page .section-shell {
    padding: clamp(2.3rem, 4vw, 3.5rem) 0;
}

.contact-hero {
    padding: clamp(4.3rem, 6.8vw, 6rem) 0 clamp(2.2rem, 3.8vw, 3rem);
    background:
        radial-gradient(circle at 13% 24%, rgba(255, 255, 255, 0.2), transparent 39%),
        radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.17), transparent 42%),
        linear-gradient(140deg, #0b0b0c 0%, #111214 48%, #090909 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: clamp(1rem, 2.3vw, 1.6rem);
    align-items: start;
}

.contact-main-column {
    min-width: 0;
}

.contact-main-column h1 {
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    color: #f7fbff;
    line-height: 1.03;
    max-width: 25ch;
    margin: 0.72rem 0 0.9rem;
}

.contact-subtext {
    max-width: 66ch;
    color: #c2c6cd;
    font-size: clamp(1rem, 1.26vw, 1.15rem);
}

.contact-email-row {
    margin-top: 1.2rem;
}

.contact-email-row h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    margin-bottom: 0.3rem;
}

.contact-email-row a {
    color: #eef1f6;
    font-weight: 600;
}

.contact-email-row a:hover {
    color: #ffffff;
}

.contact-form-shell {
    margin-top: 1.05rem;
    padding: clamp(1rem, 2.2vw, 1.4rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.contact-form-shell h3 {
    font-size: clamp(1.2rem, 2vw, 1.62rem);
}

.contact-request-form {
    display: grid;
    gap: 0.62rem;
}

.contact-request-form.is-loading {
    opacity: 0.82;
}

.contact-request-form label {
    color: #d6d9df;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-request-form label span {
    color: #ffffff;
}

.contact-request-form .input,
.contact-request-form .contact-select,
.contact-request-form .contact-file-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-request-form button[disabled] {
    cursor: wait;
    opacity: 0.72;
}

.contact-form-note {
    min-height: 1.4rem;
    font-size: 0.92rem;
    color: #cfd4dc;
}

.contact-form-note.is-pending {
    color: #dbe1ea;
}

.contact-form-note.is-success {
    color: #cdebd0;
}

.contact-form-note.is-error {
    color: #ffb8b8;
}

.contact-select {
    appearance: none;
    cursor: pointer;
    color: #d3d6dc;
}

.contact-select option {
    background: #101113;
    color: #dcdee4;
}

.contact-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: linear-gradient(128deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    padding: 0.64rem 0.82rem;
    color: #d8dbe1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    text-align: left;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.custom-select-trigger i {
    color: #c0c4cb;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.custom-select-value {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select.open .custom-select-trigger {
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
    background: linear-gradient(128deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
}

.custom-select.open .custom-select-trigger i {
    transform: rotate(180deg);
    color: #ffffff;
}

.custom-select-trigger:focus-visible {
    outline: 0;
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 0.34rem);
    left: 0;
    right: 0;
    z-index: 80;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: linear-gradient(160deg, #0f0f11 0%, #0a0a0b 100%);
    box-shadow: 0 22px 34px rgba(1, 8, 16, 0.58);
    padding: 0.34rem;
    display: grid;
    gap: 0.16rem;
    max-height: 220px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.custom-select.open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-option {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #d9dce2;
    padding: 0.44rem 0.56rem;
    text-align: left;
    font-size: 0.93rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
    outline: 0;
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.16);
    color: #f3f7fc;
}

.custom-select-option.is-active {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.2);
    color: #f7f9fd;
}

.custom-select-option.is-disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.custom-select-menu::-webkit-scrollbar {
    width: 8px;
}

.custom-select-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.custom-select-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
}

.contact-file-input {
    color: #bcc2cb;
    padding: 0.52rem 0.72rem;
}

.contact-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-side-column {
    display: grid;
    gap: 0.85rem;
    align-self: start;
    position: sticky;
    top: clamp(80px, 8vh, 104px);
    width: min(100%, 430px);
    justify-self: end;
}

.contact-side-column.reveal,
.contact-side-column.reveal.visible {
    opacity: 1;
    transform: none;
}

.contact-profile-card,
.contact-info-stack {
    padding: clamp(1rem, 2vw, 1.3rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.contact-avatar {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.48);
    margin-bottom: 0.8rem;
}

.contact-schedule-btn {
    width: fit-content;
    margin-bottom: 0.7rem;
}

.contact-profile-card p {
    color: #c7ccd3;
}

.contact-info-stack {
    display: grid;
    gap: 0.9rem;
}

.contact-info-block h3 {
    font-size: clamp(1.04rem, 1.6vw, 1.3rem);
    margin-bottom: 0.35rem;
}

.contact-info-block p,
.contact-info-block a {
    color: #c9cdd3;
    font-size: 0.95rem;
}

.contact-info-block a:hover {
    color: #ffffff;
}

.contact-reviews-section {
    background: #f1f2f4;
}

.contact-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.contact-review-card {
    border: 1px solid rgba(17, 32, 48, 0.14);
    border-radius: 14px;
    background: #ffffff;
    padding: 1rem;
    display: grid;
    gap: 0.52rem;
    box-shadow: 0 12px 26px rgba(12, 26, 41, 0.08);
}

.contact-review-card h3 {
    font-size: 0.96rem;
    color: #1f2227;
}

.contact-review-card p {
    color: #5a5f67;
}

/* Service detail pages redesign */
.service-detail-page {
    background: #0f0f10;
}

.service-detail-page .site-header {
    background: rgba(12, 14, 18, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.service-detail-page .section-shell {
    padding: clamp(2.3rem, 4vw, 3.4rem) 0;
}

.service-detail-page .section-head {
    margin-bottom: clamp(1.3rem, 2.4vw, 1.9rem);
}

.service-detail-page .page-header-compact {
    padding: clamp(4.3rem, 6.8vw, 5.9rem) 0 clamp(2.1rem, 3.8vw, 3rem);
    background:
        radial-gradient(circle at 16% 30%, rgba(255, 255, 255, 0.24), transparent 40%),
        radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.2), transparent 46%),
        linear-gradient(140deg, #0d0d0e 0%, #131416 48%, #090909 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-detail-page .page-header-compact h1 {
    max-width: 11.5ch;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 1.03;
    margin: 0.72rem 0 0.95rem;
    color: #f7fbff;
}

.service-detail-page .page-header-compact p {
    max-width: 70ch;
    color: #c4c8cf;
    font-size: clamp(1rem, 1.22vw, 1.14rem);
}

.service-detail-page .floating-pills {
    margin-top: 1.05rem;
}

.service-detail-page .floating-pills span {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.14);
    color: #e8eef7;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.38rem 0.78rem;
}

.service-detail-page main>section:nth-of-type(2) {
    background: linear-gradient(180deg, #111315 0%, #0f0f10 100%);
}

.service-detail-page main>section:nth-of-type(3) {
    background:
        radial-gradient(circle at 84% 80%, rgba(255, 255, 255, 0.1), transparent 40%),
        #0f0f10;
}

.service-detail-page main>section:nth-of-type(2) .issue-list {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    padding: clamp(0.9rem, 1.8vw, 1.3rem);
}

.service-detail-page main>section:nth-of-type(2) .issue-list li {
    color: #c7cbd1;
}

.service-detail-page .split-grid>article {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: clamp(1rem, 2vw, 1.3rem);
}

.service-detail-page .split-grid>article:not(.solution-card) .check-list li {
    color: #c8ccd2;
}

.service-detail-page .solution-card {
    border-color: rgba(255, 255, 255, 0.44);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
}

.service-detail-page .case-card {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-detail-page .light-panel {
    background: linear-gradient(180deg, #131416 0%, #0f0f10 100%);
}

.service-detail-page .light-panel h2,
.service-detail-page .light-panel h3,
.service-detail-page .light-panel h4,
.service-detail-page .light-panel .section-head h2 {
    color: var(--color-heading);
}

.service-detail-page .light-panel p,
.service-detail-page .light-panel li {
    color: var(--color-muted);
}

.service-detail-page .light-panel .eyebrow {
    color: var(--color-accent);
}

.service-detail-page .light-panel .eyebrow::before {
    background: var(--color-accent);
}

.service-detail-page .case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.46);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.service-detail-page .case-body p {
    color: #bcc0c8;
}

.service-detail-page .process-step {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.14);
    min-height: 186px;
}

.service-detail-page .process-step h3 {
    margin-bottom: 0.4rem;
}

.service-detail-page .process-step p {
    color: #bfc3cb;
}

.service-detail-page .cta-banner {
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.45);
}

/* Portfolio page redesign */
.portfolio-page {
    background: #101011;
}

.portfolio-page .site-header {
    background: rgba(12, 14, 18, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.portfolio-hero {
    padding: clamp(4.5rem, 6.8vw, 6.2rem) 0 clamp(2.1rem, 3.8vw, 3rem);
    background:
        radial-gradient(circle at 16% 30%, rgba(255, 255, 255, 0.25), transparent 38%),
        radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.2), transparent 44%),
        linear-gradient(140deg, #101011 0%, #131416 46%, #090909 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-hero-shell {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: clamp(1.1rem, 2.5vw, 1.8rem);
    align-items: end;
}

.portfolio-hero-content h1 {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    color: #f7fbff;
    max-width: 25ch;
    margin: 0.7rem 0 1.1rem;
    line-height: 1.02;
}

.portfolio-hero-title {
    overflow: hidden;
}

.portfolio-char {
    display: inline-block;
    will-change: transform, opacity;
}

.portfolio-hero-content p {
    max-width: 66ch;
    color: #c3c7ce;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.portfolio-kpis {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.portfolio-kpis .metric {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
}

.portfolio-kpis .metric strong {
    color: #ffffff;
}

.portfolio-kpis .metric span {
    color: #c0c4cb;
}

.portfolio-hero-panel {
    padding: clamp(1rem, 2vw, 1.35rem);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.portfolio-hero-panel h3 {
    margin-bottom: 0.75rem;
}

.portfolio-hero-panel .check-list {
    margin-bottom: 1rem;
}

.portfolio-hero-panel .check-list li {
    color: #c1c5cc;
}

.portfolio-showcase {
    padding-top: clamp(1.6rem, 3.2vw, 2.6rem);
}

.portfolio-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.portfolio-toolbar h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.portfolio-toolbar-note {
    max-width: 40ch;
    font-size: 0.98rem;
    color: #9ba1aa;
    text-align: right;
}

.portfolio-filter {
    margin-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 1rem;
}

.portfolio-card {
    grid-column: span 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: #141518;
    min-height: 320px;
    position: relative;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), border-color 340ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card--wide {
    grid-column: span 2;
}

.portfolio-card--xl {
    grid-column: span 2;
    min-height: 420px;
}

.portfolio-card--tall {
    min-height: 460px;
}

.portfolio-card-link {
    display: block;
    height: 100%;
    position: relative;
    isolation: isolate;
}

.portfolio-media {
    height: 100%;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, var(--portfolio-parallax-offset, 0px), 0) scale(1.01);
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.15rem;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0) 0%, rgba(8, 12, 18, 0.9) 60%, rgba(8, 12, 18, 0.96) 100%);
    display: grid;
    gap: 0.42rem;
}

.portfolio-badge {
    width: fit-content;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.16);
    color: #e6edf7;
    padding: 0.25rem 0.65rem;
    font-size: 0.73rem;
    font-weight: 600;
}

.portfolio-overlay h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.42rem);
    color: #f7fbff;
}

.portfolio-overlay p {
    color: #c1c5cc;
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 44ch;
}

.portfolio-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.32);
}

.portfolio-card:hover .portfolio-media img {
    transform: translate3d(0, var(--portfolio-parallax-offset, 0px), 0) scale(1.07);
}

.portfolio-card-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -2px;
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 1700;
    display: grid;
    place-items: center;
    padding: clamp(0.8rem, 2vw, 1.4rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 240ms ease;
}

.portfolio-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.portfolio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 10, 0.78);
    backdrop-filter: blur(8px);
}

.portfolio-modal-dialog {
    position: relative;
    width: min(1060px, 100%);
    height: min(90vh, 860px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 0.55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(10, 14, 21, 0.98), rgba(7, 10, 15, 0.98));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.46);
    padding: clamp(1rem, 2.4vw, 1.35rem);
}

.portfolio-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #e5e8ec;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

.portfolio-modal-close:hover {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.portfolio-modal-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding-right: 2.5rem;
    margin-bottom: 0;
    min-width: 0;
}

.portfolio-modal-head>div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.portfolio-modal-label {
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 0.22rem 0.5rem;
    line-height: 1;
}

.portfolio-modal-head h2 {
    color: #f6fbff;
    font-size: clamp(1.06rem, 1.8vw, 1.72rem);
    line-height: 1.05;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-modal-count {
    color: #cacdd3;
    font-size: 0.9rem;
    white-space: nowrap;
}

.portfolio-modal-summary {
    display: none;
}

.portfolio-modal-stage {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #030508;
    min-height: 0;
    height: 100%;
}

.portfolio-modal-stage img,
.portfolio-modal-stage iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.portfolio-modal-controls {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: 0;
}

.portfolio-nav-btn {
    width: auto;
    min-width: 132px;
}

.portfolio-modal-thumbs {
    margin-top: 0;
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.08);
}

.portfolio-thumb {
    flex: 0 0 112px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.portfolio-thumb.is-active {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.portfolio-thumb img {
    width: 100%;
    height: 74px;
    object-fit: cover;
}

.portfolio-thumb-fallback {
    width: 100%;
    height: 74px;
    display: grid;
    place-items: center;
    color: #cacdd3;
    font-size: 1.25rem;
}

.portfolio-thumb-label {
    display: block;
    padding: 0.3rem 0.4rem;
    color: #d5d8de;
    font-size: 0.75rem;
    text-align: left;
}

.portfolio-modal-thumbs::-webkit-scrollbar {
    height: 8px;
}

.portfolio-modal-thumbs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.portfolio-modal-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
}

body.portfolio-modal-open {
    overflow: hidden;
}




/* Source: assets/css/responsive.css */
@media (max-width: 1120px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .cards-grid,
    .services-overview-grid,
    .blog-grid,
    .pricing-grid,
    .testimonial-grid,
    .store-grid,
    .process-grid,
    .metrics-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-card,
    .case-study-layout article,
    .blog-feature,
    .split-grid,
    .problem-solution,
    .contact-strip {
        grid-template-columns: 1fr;
    }

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

    .portfolio-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-toolbar-note {
        text-align: left;
    }

    .pricing-hero-shell {
        grid-template-columns: 1fr;
    }

    .pricing-hero-panel {
        width: 100%;
        justify-self: stretch;
    }

    .pricing-estimator-layout {
        grid-template-columns: 1fr;
    }

    .pricing-guidance-card {
        position: static;
        width: 100%;
        justify-self: stretch;
    }

    .pricing-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .contact-side-column {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        position: static;
        top: auto;
        width: 100%;
        justify-self: stretch;
    }

    .contact-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-page .page-header-compact h1 {
        max-width: 25ch;
    }

    .service-detail-page .process-step {
        min-height: 160px;
    }

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

    .services-hero-content h1 {
        max-width: 25ch;
    }

    .services-architecture-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .services-process-grid .process-step {
        min-height: 160px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-card {
        grid-column: span 1;
        min-height: 290px;
    }

    .portfolio-card--wide,
    .portfolio-card--xl {
        grid-column: span 2;
    }

    .portfolio-card--tall {
        min-height: 390px;
    }

    .blog-post-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-image-grid {
        grid-template-columns: 1fr;
    }

    .blog-table-wrap table {
        min-width: 560px;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .menu-overlay {
        display: block;
    }

    body.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner {
        grid-template-columns: 1fr;
    }

    .pricing-hero {
        padding: 4.25rem 0 1.9rem;
    }

    .pricing-hero-content h1 {
        max-width: 25ch;
    }

    .pricing-mode-toggle {
        width: 100%;
    }

    .pricing-mode-btn {
        flex: 1;
    }

    .pricing-review-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 4.2rem 0 1.9rem;
    }

    .contact-main-column h1 {
        max-width: 25ch;
    }

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

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

    .service-detail-page .page-header-compact {
        padding: 4.25rem 0 1.9rem;
    }

    .services-hero {
        padding: 4.25rem 0 2rem;
    }

    .services-hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-architecture-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .service-capsule {
        gap: 0.62rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .portfolio-card,
    .portfolio-card--tall {
        grid-column: span 1;
        min-height: 270px;
    }

    .portfolio-card--wide,
    .portfolio-card--xl {
        grid-column: span 2;
    }

    .portfolio-card--tall {
        min-height: 330px;
    }

    .portfolio-modal-dialog {
        border-radius: 16px;
    }

    .portfolio-modal-thumbs {
        gap: 0.55rem;
    }

    .portfolio-thumb {
        flex-basis: 98px;
    }
}

@media (max-width: 768px) {
    .container {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 2rem);
    }

    .section-shell {
        padding: clamp(2.5rem, 8vw, 3.6rem) 0;
    }

    .pricing-page .section-shell {
        padding: clamp(1.9rem, 6.5vw, 2.8rem) 0;
    }

    .pricing-hero {
        padding: 3.95rem 0 1.7rem;
    }

    .pricing-hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        max-width: 25ch;
    }

    .pricing-hero-metrics {
        grid-template-columns: 1fr;
    }

    .pricing-estimator-card,
    .pricing-guidance-card {
        padding: 0.85rem;
    }

    .estimate-group {
        padding: 0.75rem 0.72rem 0.72rem;
    }

    .estimate-option {
        font-size: 0.88rem;
    }

    .estimate-total-box strong {
        font-size: clamp(1.45rem, 8vw, 1.9rem);
    }

    .pricing-review-card {
        padding: 0.85rem;
    }

    .contact-page .section-shell {
        padding: clamp(1.9rem, 6.5vw, 2.8rem) 0;
    }

    .contact-hero {
        padding: 3.95rem 0 1.7rem;
    }

    .contact-main-column h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        max-width: 25ch;
    }

    .contact-form-shell,
    .contact-profile-card,
    .contact-info-stack {
        padding: 0.85rem;
    }

    .contact-avatar {
        width: 108px;
        height: 108px;
        margin-bottom: 0.65rem;
    }

    .service-detail-page .section-shell {
        padding: clamp(1.9rem, 6.5vw, 2.75rem) 0;
    }

    .service-detail-page .page-header-compact {
        padding: 3.95rem 0 1.7rem;
    }

    .service-detail-page .page-header-compact h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        max-width: 25ch;
    }

    .service-detail-page .floating-pills span {
        padding: 0.32rem 0.64rem;
        font-size: 0.74rem;
    }

    .service-detail-page .split-grid>article {
        padding: 0.85rem;
    }

    .service-detail-page .process-step {
        min-height: auto;
    }

    .services-page .section-shell {
        padding: clamp(1.9rem, 6.5vw, 2.75rem) 0;
    }

    .services-problem.section-shell {
        padding-bottom: clamp(1.15rem, 4.5vw, 1.7rem);
    }

    .services-solution.section-shell {
        padding-top: clamp(1.3rem, 4.5vw, 1.8rem);
    }

    .footer-top,
    .cards-grid,
    .services-overview-grid,
    .blog-grid,
    .pricing-grid,
    .testimonial-grid,
    .store-grid,
    .process-grid,
    .metrics-strip {
        grid-template-columns: 1fr;
    }

    .input-row,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .portfolio-hero {
        padding: 4rem 0 1.75rem;
    }

    .services-hero {
        padding: 3.95rem 0 1.75rem;
    }

    .services-hero-content h1 {
        font-size: clamp(1.8rem, 8.5vw, 2.8rem);
        max-width: 25ch;
    }

    .blog-post-body {
        padding: 0.85rem;
    }

    .blog-post-featured-media img {
        aspect-ratio: 16 / 10;
    }

    .blog-table-wrap table {
        min-width: 500px;
    }

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

    .service-capsule-head {
        gap: 0.55rem;
    }

    .service-mini-badge {
        font-size: 0.66rem;
        padding: 0.2rem 0.48rem;
    }

    .portfolio-hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

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

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

    .portfolio-card,
    .portfolio-card--wide,
    .portfolio-card--xl,
    .portfolio-card--tall {
        grid-column: span 1;
        min-height: 250px;
    }

    .portfolio-modal {
        padding: 0.5rem;
    }

    .portfolio-modal-dialog {
        height: auto;
        max-height: calc(100vh - 1rem);
        overflow: auto;
        display: block;
        padding: 0.85rem;
    }

    .portfolio-modal-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding-right: 2rem;
    }

    .portfolio-modal-head>div {
        min-width: 0;
        gap: 0.45rem;
    }

    .portfolio-modal-label {
        font-size: 0.62rem;
        padding: 0.2rem 0.4rem;
    }

    .portfolio-modal-head h2 {
        font-size: clamp(0.95rem, 4.5vw, 1.18rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .portfolio-modal-summary {
        font-size: 0.92rem;
    }

    .portfolio-modal-controls {
        flex-direction: column;
    }

    .portfolio-nav-btn {
        width: 100%;
    }

    .portfolio-modal-stage {
        height: auto;
        min-height: 220px;
    }

    .portfolio-modal-stage img,
    .portfolio-modal-stage iframe {
        height: min(52vh, 320px);
    }

    .portfolio-thumb {
        flex-basis: 92px;
    }
}

