/* RynSolution — Additional page and component styles */

/* SVG icon helpers */
.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.svg-icon svg {
    width: 100%;
    height: 100%;
}

/* Header dropdown */
.main-nav {
    position: relative;
}

.nav-dropdown {
    position: relative;
}

.nav-drop-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    font: inherit;
}

.nav-drop-trigger:hover,
.nav-dropdown:hover .nav-drop-trigger {
    color: var(--primary);
    background: rgba(28, 43, 74, 0.05);
}

.nav-dropdown-menu {
    position: absolute;
    inset-block-start: calc(100% + 0.6rem);
    inset-inline-start: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(13, 27, 46, 0.04), 0 20px 60px rgba(13, 27, 46, 0.14);
    padding: 0.55rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(28, 43, 74, 0.06);
    color: var(--primary);
}

[dir="rtl"] .nav-dropdown-menu {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

[dir="rtl"] .nav-drop-trigger svg {
    transform: rotate(180deg);
}

/* Page hero */
.page-hero {
    position: relative;
    padding-block: 10rem 5rem;
    background:
        linear-gradient(135deg, rgba(14, 26, 50, 0.96) 0%, rgba(20, 42, 71, 0.92) 100%),
        url('../images/background-hero.png') center/cover no-repeat;
    background-color: #0E1A32;
    color: #F4F6FA;
    overflow: hidden;
}

.page-hero.compact {
    padding-block: 8rem 3.5rem;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(201, 130, 75, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(58, 110, 165, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: rgba(196, 214, 235, 0.75);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: rgba(220, 232, 245, 0.9);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs svg {
    color: rgba(196, 214, 235, 0.5);
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(196, 214, 235, 0.88);
    max-width: 600px;
}

/* Buttons variants */
.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap var(--transition);
}

.text-link:hover {
    gap: 0.7rem;
}

/* Solutions list page */
.solutions-list {
    background: var(--bg);
}

.solutions-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.solutions-list-grid.small {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.solution-list-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
}

.solution-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28, 43, 74, 0.20);
}

.solution-list-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.solution-list-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 20, 42, 0.92) 0%, rgba(10, 20, 42, 0.35) 60%, transparent 100%);
}

.solution-list-icon {
    position: absolute;
    inset-block-end: 1rem;
    inset-inline-start: 1.25rem;
    color: #fff;
    background: rgba(28, 43, 74, 0.75);
    backdrop-filter: blur(8px);
    padding: 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
}

.solution-list-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-list-body h3 {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

.solution-list-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.solution-list-body .btn {
    align-self: flex-start;
}

/* ═══════════════════════════════════════════
   Quote Wizard
═══════════════════════════════════════════ */

/* ── Hero ── */
.qw-hero {
    position: relative;
    padding-block: 7rem 4rem;
    background:
        linear-gradient(135deg, rgba(8,18,38,0.96) 0%, rgba(14,42,74,0.90) 60%, rgba(8,18,38,0.85) 100%),
        url('../images/sections5.jpg') center/cover no-repeat;
    overflow: hidden;
}

.qw-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(201,130,75,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.qw-hero-inner {
    position: relative;
    z-index: 1;
}

.qw-hero-text {
    max-width: 680px;
}

.qw-hero-text .section-tag {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.qw-hero-text h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.qw-hero-text > p {
    font-size: 1.1rem;
    color: rgba(196, 216, 240, 0.88);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.qw-hero-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.qw-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(220, 235, 255, 0.9);
    backdrop-filter: blur(6px);
}

.qw-badge svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ── Wizard container ── */
.qw-section {
    background: var(--bg);
}

.qw-container {
    max-width: 820px;
}

/* ── Progress bar ── */
.qw-progress {
    margin-bottom: 2.5rem;
}

.qw-progress-track {
    height: 4px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.qw-progress-bar {
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qw-steps-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.qw-steps-nav::before {
    content: '';
    position: absolute;
    top: 18px;
    inset-inline-start: 10%;
    inset-inline-end: 10%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.qw-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    cursor: default;
}

.qw-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Space Grotesk', var(--font-display);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border);
}

.qw-step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.qw-step-dot.active .qw-step-num {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(28, 43, 74, 0.35);
}

.qw-step-dot.active .qw-step-label {
    color: var(--primary);
}

.qw-step-dot.done .qw-step-num {
    background: #22C55E;
    color: #fff;
    border-color: #22C55E;
}

.qw-step-dot.done .qw-step-label {
    color: #16A34A;
}

/* ── Form wrapper ── */
.qw-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(14,42,74,0.04), 0 24px 64px rgba(14,42,74,0.08);
    overflow: hidden;
}

/* ── Step panels ── */
.qw-step-panel {
    display: none;
    padding: 2.5rem;
    animation: qwFadeIn 0.3s ease;
}

.qw-step-panel.active {
    display: block;
}

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

/* ── Panel header ── */
.qw-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.qw-panel-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30,58,95,0.08) 0%, rgba(46,84,128,0.05) 100%);
    border: 1px solid rgba(30,58,95,0.12);
    border-radius: 14px;
    color: var(--primary);
}

.qw-panel-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.qw-panel-header p {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Fields ── */
.qw-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.qw-fields-2col {
    grid-template-columns: 1fr 1fr;
}

.qw-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.qw-field-full {
    grid-column: 1 / -1;
}

.qw-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.qw-field input,
.qw-field select,
.qw-field textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.qw-field input:focus,
.qw-field select:focus,
.qw-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(28, 43, 74, 0.08);
    background: #fff;
}

.qw-field input.error,
.qw-field select.error,
.qw-field textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.qw-field textarea {
    resize: vertical;
    min-height: 120px;
}

.qw-field-error {
    font-size: 0.8rem;
    color: #EF4444;
    min-height: 1rem;
    font-weight: 500;
}

/* ── Service grid (radio cards) ── */
.qw-service-label {
    margin-bottom: 0.75rem;
}

.qw-service-label label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.qw-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.qw-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    line-height: 1.3;
}

.qw-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.qw-service-card:hover {
    border-color: rgba(30,58,95,0.3);
    color: var(--primary);
    background: rgba(30,58,95,0.03);
}

.qw-service-card.selected,
.qw-service-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(30,58,95,0.06);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}

.qw-svc-icon {
    color: var(--primary);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.qw-service-card.selected .qw-svc-icon,
.qw-service-card:has(input:checked) .qw-svc-icon {
    opacity: 1;
}

.qw-service-card-other {
    border-style: dashed;
    color: var(--text-muted);
}

.qw-other-field {
    margin-top: 0.75rem;
}

.qw-other-field input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.97rem;
    font-family: inherit;
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.qw-other-field input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

/* ── Summary ── */
.qw-summary {
    background: linear-gradient(135deg, rgba(30,58,95,0.04) 0%, rgba(46,84,128,0.03) 100%);
    border: 1px solid rgba(30,58,95,0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.qw-summary-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.qw-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.qw-summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.qw-summary-item .qw-si-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.qw-summary-item .qw-si-value {
    font-size: 0.93rem;
    color: var(--text);
    font-weight: 600;
}

/* ── Navigation buttons ── */
.qw-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .qw-step-panel {
        padding: 1.5rem;
    }

    .qw-fields,
    .qw-fields-2col,
    .qw-summary-grid {
        grid-template-columns: 1fr;
    }

    .qw-service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qw-hero-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    .qw-steps-nav::before {
        display: none;
    }

    .qw-step-label {
        display: none;
    }

    .qw-nav .btn {
        flex: 1;
        justify-content: center;
    }
}

/* CTA section */
.cta-section {
    text-align: center;
    padding-block: 6rem;
    background: linear-gradient(150deg, #0A1428 0%, #1A3557 50%, #0E2A4A 100%);
    color: #F4F6FA;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 720px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
}

.cta-content p {
    color: rgba(220, 232, 245, 0.85);
    margin-bottom: 2rem;
    font-size: 1.08rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   Solution detail page — full redesign
═══════════════════════════════════════════ */

/* ── Hero ── */
.sol-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding-block: 7rem 0;
    background-image: var(--sol-img);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.sol-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(8, 18, 38, 0.96) 0%, rgba(8, 18, 38, 0.75) 55%, rgba(8, 18, 38, 0.40) 100%),
        linear-gradient(to top, rgba(8, 18, 38, 0.92) 0%, transparent 50%);
}

.sol-hero-inner {
    position: relative;
    z-index: 1;
    padding-block-end: 3.5rem;
}

.sol-hero .breadcrumbs {
    margin-bottom: 2rem;
}

.sol-hero-body {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    max-width: 780px;
}

.sol-hero-icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2E5480 100%);
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 12px 36px rgba(14, 42, 74, 0.45);
    color: #fff;
    margin-top: 0.25rem;
}

.sol-hero-text {
    flex: 1;
}

.sol-hero-text .section-tag {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.sol-hero-text h1 {
    font-size: clamp(1.8rem, 3.8vw, 2.9rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.sol-hero-text > p {
    font-size: 1.1rem;
    color: rgba(196, 216, 240, 0.9);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.sol-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Main layout ── */
.sol-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    align-items: start;
}

.sol-main {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* ── Content blocks ── */
.sol-block {
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border);
}

.sol-main > .sol-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sol-block-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.sol-block-label svg {
    color: var(--primary);
    opacity: 0.8;
}

.sol-block h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.sol-description {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-muted);
}

/* ── Features grid ── */
.sol-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sol-feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}

.sol-feature-card::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.sol-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(14, 42, 74, 0.10);
    border-color: rgba(28, 43, 74, 0.22);
}

.sol-feature-card:hover::before {
    opacity: 1;
}

.sol-feature-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(28, 43, 74, 0.10) 0%, rgba(46, 84, 128, 0.06) 100%);
    border: 1px solid rgba(28, 43, 74, 0.14);
    border-radius: 50%;
    color: var(--primary);
    margin-top: 0.1rem;
}

.sol-feature-card h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.sol-feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Benefits list ── */
.sol-benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.sol-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    color: var(--text);
    padding: 0.9rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.sol-benefit-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ── Sidebar ── */
.sol-sidebar-sticky {
    position: sticky;
    top: 90px;
}

.sol-sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(14, 42, 74, 0.04), 0 20px 60px rgba(14, 42, 74, 0.09);
    overflow: hidden;
}

.sol-sidebar-block {
    padding: 1.5rem 1.75rem;
}

.sol-sidebar-block h3 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.sol-sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sol-sidebar-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sol-sidebar-list svg {
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.75;
}

.sol-sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

.sol-sidebar-ctas {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ── Tech tags (keep + enhance) ── */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(28, 43, 74, 0.06);
    border: 1px solid rgba(28, 43, 74, 0.14);
    color: var(--primary);
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-tag:hover {
    background: rgba(28, 43, 74, 0.12);
    border-color: var(--primary);
}

/* ── Process section ── */
.sol-process.section-dark {
    background:
        linear-gradient(135deg, rgba(14, 42, 74, 0.90) 0%, rgba(7, 26, 47, 0.90) 100%),
        url('../images/sections2.jpg') center/cover no-repeat;
}

.sol-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    position: relative;
    margin-top: 2rem;
}

.sol-process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.12) 100%);
}

.sol-process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.25rem 0;
    gap: 1rem;
}

.sol-process-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #2E6096);
    border: 3px solid rgba(255,255,255,0.18);
    box-shadow: 0 6px 24px rgba(14, 42, 74, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Space Grotesk', var(--font-display);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sol-process-step:hover .sol-process-num {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(14, 42, 74, 0.6);
}

.sol-process-step p {
    font-size: 0.93rem;
    color: rgba(196, 216, 240, 0.88);
    line-height: 1.6;
    max-width: 180px;
    margin-top: 0.5rem;
}

/* ── Related solutions ── */
.sol-related {
    background: var(--surface);
}

.sol-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sol-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.sol-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(14, 42, 74, 0.14);
    border-color: rgba(28, 43, 74, 0.20);
}

.sol-related-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #1E3A5F;
    position: relative;
    overflow: hidden;
}

.sol-related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,42,0.85) 0%, rgba(10,20,42,0.2) 60%, transparent 100%);
}

.sol-related-icon {
    position: absolute;
    bottom: 1rem;
    inset-inline-start: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 43, 74, 0.70);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #fff;
}

.sol-related-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.sol-related-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

.sol-related-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.sol-related-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
    transition: gap 0.2s ease;
}

/* ── Inline process steps ── */
.sol-block-last {
    border-bottom: none;
    padding-bottom: 0;
}

.sol-steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
    counter-reset: none;
}

.sol-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.97rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sol-step-item:hover {
    border-color: rgba(28, 43, 74, 0.20);
    background: #fff;
}

.sol-step-n {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #2E6096);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Space Grotesk', var(--font-display);
    line-height: 1;
}

/* ── Sidebar CTA hint ── */
.sol-sidebar-cta-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0.25rem;
    text-align: center;
}

/* ── Sidebar check icon color ── */
.sol-sidebar-list svg {
    color: #22C55E;
    flex-shrink: 0;
}

/* About page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    min-height: 360px;
    background: var(--surface-light);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    padding: 1.75rem;
    backdrop-filter: blur(8px);
    border-top: 3px solid rgba(212, 132, 74, 0.5);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
    border-top-color: var(--accent);
    border-color: rgba(255,255,255,0.22);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #fff;
}

.value-card p {
    color: rgba(196, 214, 235, 0.82);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Stats */
.stats-section {
    background: var(--bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-top {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 0.4rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.testimonial p {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial footer {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* FAQ */
.faq .container.narrow {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

details.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

details.faq-item[open] {
    box-shadow: var(--shadow);
    border-color: rgba(28, 43, 74, 0.20);
}

details.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    gap: 1rem;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary span {
    flex: 1;
}

.faq-icon {
    color: var(--primary);
    flex-shrink: 0;
}

details.faq-item .minus {
    display: none;
}

details.faq-item[open] .plus {
    display: none;
}

details.faq-item[open] .minus {
    display: block;
}

details.faq-item p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Partners */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.partner-logo {
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.93rem;
    box-shadow: var(--shadow-xs);
    transition: all 0.25s ease;
}

.partner-logo:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Process page timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 800px;
    margin-inline: auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    inset-inline-start: 28px;
    inset-block: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 60%, rgba(30,58,95,0.15) 100%);
    border-radius: 3px;
}

[dir="rtl"] .process-timeline::before {
    inset-inline-start: auto;
    inset-inline-end: 28px;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 1.25rem 0;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.timeline-item:hover {
    transform: translateX(4px);
}

[dir="rtl"] .timeline-item:hover {
    transform: translateX(-4px);
}

.timeline-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(28, 43, 74, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    font-family: 'Space Grotesk', var(--font-display, sans-serif);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(28, 43, 74, 0.35);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    flex: 1;
    box-shadow: 0 2px 12px rgba(14, 42, 74, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    border-left: 3px solid transparent;
}

.timeline-item:hover .timeline-content {
    border-left-color: var(--primary);
    box-shadow: 0 10px 32px rgba(14, 42, 74, 0.10);
}

[dir="rtl"] .timeline-content {
    border-left: 1px solid var(--border, #E2E8F0);
    border-right: 3px solid transparent;
}

[dir="rtl"] .timeline-item:hover .timeline-content {
    border-right-color: var(--primary);
    border-left-color: var(--border, #E2E8F0);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1E3A5F;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.65;
    margin: 0;
}

/* Contact page */
.contact-page-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.info-card:hover {
    border-color: rgba(28, 43, 74, 0.20);
    box-shadow: var(--shadow);
}

.info-card svg {
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.info-card h3 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.info-card p,
.info-card a {
    color: var(--text);
    font-size: 0.97rem;
    font-weight: 600;
}

.info-card a:hover {
    color: var(--primary);
}

/* Quote page */
.quote-page .contact-form.wide {
    max-width: 900px;
    margin-inline: auto;
}

.form-row.three-col {
    grid-template-columns: repeat(3, 1fr);
}

/* 404 */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.error-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

/* Footer 4 columns override */
.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

@media (max-width: 960px) {
    .solution-detail-grid,
    .contact-page-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image img {
        max-height: 400px;
    }

    .solution-sidebar {
        position: static;
    }

    .solutions-list-grid,
    .testimonials-grid,
    .features-subgrid {
        grid-template-columns: 1fr;
    }

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

    /* Solution page responsive */
    .sol-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sol-sidebar-sticky {
        position: static;
    }

    .sol-features-grid,
    .sol-benefits-list {
        grid-template-columns: 1fr;
    }

    .sol-related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sol-hero-body {
        gap: 1.25rem;
    }

    .sol-hero-icon-wrap {
        width: 56px;
        height: 56px;
    }

    .sol-process-steps::before {
        display: none;
    }

    .sol-process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sol-process-step {
        flex-direction: row;
        text-align: start;
        align-items: flex-start;
        padding: 0;
    }

    .sol-process-step p {
        max-width: 100%;
        margin-top: 0.2rem;
    }

    .nav-dropdown-menu {
        position: static;
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-inline-start: 1.5rem;
    }

    .nav-drop-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding-block: 7rem 3rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .error-code {
        font-size: 5rem;
    }

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

    .process-timeline::before {
        inset-inline-start: 22px;
    }

    .timeline-number {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    /* Solution page mobile */
    .sol-hero {
        min-height: 420px;
        padding-block: 5.5rem 0;
    }

    .sol-hero-body {
        flex-direction: column;
        gap: 1rem;
    }

    .sol-hero-icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .sol-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sol-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .sol-related-grid {
        grid-template-columns: 1fr;
    }

    .sol-block h2 {
        font-size: 1.3rem;
    }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS PAGE
═══════════════════════════════════════════ */
.testi-stats-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding-block: 1.25rem;
}

.testi-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.testi-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.testi-stat strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 1;
}

.testi-stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testi-stat-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.testi-card:hover {
    box-shadow: 0 8px 32px rgba(28, 43, 74, 0.10);
    transform: translateY(-2px);
}

.testi-stars {
    display: flex;
    gap: 0.2rem;
    color: #f59e0b;
}

.testi-quote p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #2E6096);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.testi-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.testi-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.testi-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.testi-company {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   PORTFOLIO PAGE
═══════════════════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.portfolio-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover {
    box-shadow: 0 10px 40px rgba(28, 43, 74, 0.12);
    transform: translateY(-3px);
}

.portfolio-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.04);
}

.portfolio-tag {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.portfolio-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.portfolio-client {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.portfolio-client svg {
    color: var(--primary);
    flex-shrink: 0;
}

.portfolio-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.35;
}

.portfolio-results {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.portfolio-results li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.portfolio-results li svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    padding-top: 0.75rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.portfolio-link:hover {
    gap: 0.6rem;
}

/* ═══════════════════════════════════════════
   FAQ PAGE
═══════════════════════════════════════════ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(28, 43, 74, 0.08);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.1rem 1.25rem;
    text-align: start;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text);
    font-family: inherit;
    transition: color 0.15s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.is-open .faq-question {
    color: var(--primary);
}

.faq-q-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.faq-item.is-open .faq-q-num {
    background: rgba(28, 43, 74, 0.12);
    color: var(--primary);
}

.faq-q-text {
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    margin-inline-start: auto;
    transition: transform 0.3s ease, color 0.15s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer.is-visible {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem 4.1rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0;
}

.faq-answer-inner p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Sidebar */
.faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.faq-sidebar-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-sidebar-card h3 {
    font-size: 0.97rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.35;
}

.faq-sidebar-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.faq-sidebar-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.faq-sidebar-quote {
    background: linear-gradient(145deg, var(--primary) 0%, #2E6096 100%);
    border-color: transparent;
}

.faq-sidebar-quote h3 {
    color: #fff;
}

.faq-sidebar-quote p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive — Testimonials, Portfolio, FAQ */
@media (max-width: 900px) {
    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .faq-sidebar {
        position: static;
        flex-direction: row;
        order: -1;
    }

    .faq-sidebar-card {
        flex: 1;
        min-width: 0;
    }

    .faq-answer-inner {
        padding-inline-start: 1.25rem;
    }
}

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

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

    .testi-stat-sep {
        display: none;
    }

    .testi-stats-inner {
        gap: 1.25rem;
    }

    .faq-sidebar {
        flex-direction: column;
        order: -1;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer-inner {
        padding: 0 1rem 1rem 1rem;
    }
}
