/* netSEO Agency Theme */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Sora:wght@500;600;700;800&display=swap');

:root {
    --ns-flame: #f05423;
    --ns-flame-dark: #e04a1c;
    --ns-flame-glow: rgba(240, 84, 35, 0.35);
    --ns-ink: #0f1419;
    --ns-ink-muted: #5c6670;
    --ns-ink-soft: #8b959e;
    --ns-surface: #ffffff;
    --ns-surface-soft: #f7f8fa;
    --ns-border: #e8ecef;
    --ns-radius: 1rem;
    --ns-radius-lg: 1.25rem;
    --ns-radius-pill: 9999px;
    --ns-container: 80rem;
    --ns-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --color-brand-500: var(--ns-flame);
    --color-brand-600: var(--ns-flame-dark);
    --color-brand-700: #c73d14;
}

/* Layout */
html {
    overflow-x: clip;
}

.ns-body {
    font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    color: var(--ns-ink);
    background: var(--ns-surface);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.ns-main {
    min-width: 0;
    overflow-x: clip;
}

.ns-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ns-display {
    font-family: 'Sora', ui-sans-serif, system-ui, sans-serif;
}

.ns-section {
    padding-block: clamp(2.75rem, 7vw, 5.5rem);
}

.ns-section--soft {
    background: var(--ns-surface-soft);
}

.ns-container {
    width: 100%;
    max-width: var(--ns-container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Header */
.ns-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    transition: border-color 0.25s var(--ns-ease), box-shadow 0.25s var(--ns-ease);
}

.ns-header.is-scrolled {
    border-color: var(--ns-border);
    box-shadow: 0 4px 24px -8px rgba(15, 20, 25, 0.08);
}

.ns-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

@media (min-width: 1024px) {
    .ns-header__inner {
        min-height: 4.75rem;
    }
}

.ns-logo {
    flex-shrink: 1;
    min-width: 0;
    max-width: min(52vw, 11rem);
}

.ns-logo__img,
.ns-logo img {
    height: 2rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 640px) {
    .ns-logo {
        max-width: 12rem;
    }

    .ns-logo__img,
    .ns-logo img {
        height: 2.35rem;
    }
}

@media (min-width: 1024px) {
    .ns-logo {
        max-width: 10rem;
    }

    .ns-logo__img,
    .ns-logo img {
        height: 2.5rem;
    }
}

.ns-logo__text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--ns-ink);
}

/* Nav */
.ns-nav {
    display: none;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

@media (min-width: 1024px) {
    .ns-nav {
        display: flex;
    }
}

.ns-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ns-nav__chevron {
    flex-shrink: 0;
    opacity: 0.6;
}

.ns-nav__item {
    position: relative;
}

.ns-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ns-ink-muted);
    border-radius: var(--ns-radius-pill);
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.ns-nav__link:hover,
.ns-nav__link.cms-nav-link-active {
    color: var(--ns-ink);
    background: var(--ns-surface-soft);
}

.ns-nav__dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    min-width: 13rem;
    padding: 0.5rem;
    background: var(--ns-surface);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius-lg);
    box-shadow: 0 12px 40px -12px rgba(15, 20, 25, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s var(--ns-ease), transform 0.2s var(--ns-ease), visibility 0.2s;
    pointer-events: none;
}

.ns-nav__item:hover .ns-nav__dropdown,
.ns-nav__item:focus-within .ns-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ns-nav__dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--ns-ink-muted);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.ns-nav__dropdown a:hover,
.ns-nav__dropdown a.is-active {
    background: var(--ns-surface-soft);
    color: var(--ns-ink);
}

.ns-nav__dropdown a.is-active {
    color: var(--ns-flame);
    font-weight: 600;
}

/* Responsive utilities (fără Tailwind) */
.ns-show-sm { display: none !important; }
.ns-show-md { display: none !important; }
.ns-hide-lg { display: inline-flex !important; }

@media (min-width: 640px) {
    .ns-show-sm { display: inline-flex !important; }
}

@media (min-width: 768px) {
    .ns-show-md { display: inline-flex !important; }
}

@media (min-width: 1024px) {
    .ns-hide-lg { display: none !important; }
}

/* Mobile menu */
.ns-header__actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.ns-header__actions .ns-btn--sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
    white-space: nowrap;
}

@media (max-width: 389px) {
    .ns-header__actions .ns-btn--primary.ns-show-sm {
        display: none !important;
    }
}

.ns-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--ns-border);
    border-radius: 0.75rem;
    background: var(--ns-surface);
    color: var(--ns-ink);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.ns-menu-toggle:hover {
    background: var(--ns-surface-soft);
}

.ns-menu-toggle__icon--close {
    display: none;
}

.ns-menu-toggle.is-active .ns-menu-toggle__icon--open {
    display: none;
}

.ns-menu-toggle.is-active .ns-menu-toggle__icon--close {
    display: block;
}

.ns-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}

.ns-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.ns-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.45);
    opacity: 0;
    transition: opacity 0.3s var(--ns-ease);
}

.ns-drawer.is-open .ns-drawer__backdrop {
    opacity: 1;
}

.ns-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(100vw, 22rem);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--ns-surface);
    transform: translateX(100%);
    transition: transform 0.35s var(--ns-ease);
    box-shadow: -8px 0 40px rgba(15, 20, 25, 0.12);
    overscroll-behavior: contain;
}

.ns-drawer.is-open .ns-drawer__panel {
    transform: translateX(0);
}

.ns-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--ns-border);
    flex-shrink: 0;
}

.ns-drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.ns-drawer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ns-drawer__item {
    border-bottom: 1px solid var(--ns-border);
}

.ns-drawer__item:last-child {
    border-bottom: none;
}

.ns-drawer__row {
    display: flex;
    align-items: stretch;
}

.ns-drawer__link {
    flex: 1;
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ns-ink);
    text-decoration: none;
}

.ns-drawer__link.is-active {
    color: var(--ns-flame);
}

.ns-drawer__expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    flex-shrink: 0;
    padding: 0;
    border: none;
    border-left: 1px solid var(--ns-border);
    background: transparent;
    color: var(--ns-ink-muted);
    cursor: pointer;
    transition: transform 0.2s var(--ns-ease), color 0.2s;
}

.ns-drawer__expand.is-expanded {
    transform: rotate(180deg);
    color: var(--ns-flame);
}

.ns-drawer__sub {
    margin: 0;
    padding: 0 0 0.75rem 1rem;
    list-style: none;
    border-left: 2px solid var(--ns-border);
}

.ns-drawer__sub[hidden] {
    display: none;
}

.ns-drawer__sublink {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--ns-ink-muted);
    text-decoration: none;
}

.ns-drawer__sublink.is-active {
    color: var(--ns-flame);
    font-weight: 600;
}

.ns-drawer__foot {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--ns-border);
    background: var(--ns-surface-soft);
}

.ns-btn--block {
    width: 100%;
}

/* Buttons */
.ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--ns-radius-pill);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ns-ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.ns-btn:hover {
    transform: translateY(-1px);
}

.ns-btn--primary {
    background: linear-gradient(135deg, var(--ns-flame) 0%, #ff6b3d 100%);
    color: #fff;
    box-shadow: 0 4px 20px -4px var(--ns-flame-glow);
}

.ns-btn--primary:hover {
    box-shadow: 0 8px 28px -6px var(--ns-flame-glow);
}

.ns-btn--secondary {
    background: var(--ns-surface);
    color: var(--ns-ink);
    border: 1px solid var(--ns-border);
}

.ns-btn--secondary:hover {
    border-color: var(--ns-ink-soft);
    background: var(--ns-surface-soft);
}

.ns-btn--ghost {
    background: transparent;
    color: var(--ns-ink-muted);
}

.ns-btn--ghost:hover {
    color: var(--ns-flame);
}

.ns-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero */
.ns-hero {
    position: relative;
    padding-block: clamp(3rem, 10vw, 7rem);
    overflow: hidden;
}

.ns-hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: 0;
    width: min(70vw, 28rem);
    height: min(70vw, 28rem);
    background: radial-gradient(circle, rgba(240, 84, 35, 0.1) 0%, transparent 72%);
    pointer-events: none;
    transform: translateX(15%);
}

.ns-hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ns-hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.ns-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.875rem 0.35rem 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ns-ink-muted);
    background: var(--ns-surface-soft);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius-pill);
}

.ns-hero__badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--ns-flame);
    box-shadow: 0 0 8px var(--ns-flame-glow);
}

.ns-hero__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ns-ink);
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.ns-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--ns-flame) 0%, #ff8a5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ns-hero__lead {
    margin-top: 1.25rem;
    max-width: 36rem;
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: var(--ns-ink-muted);
}

.ns-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

@media (max-width: 479px) {
    .ns-hero__actions .ns-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

.ns-hero__card {
    padding: 1.75rem;
    background: var(--ns-surface);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius-lg);
    box-shadow: 0 4px 24px -4px rgba(15, 20, 25, 0.08);
}

.ns-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.ns-stat {
    text-align: center;
    padding: 1rem;
    background: var(--ns-surface-soft);
    border-radius: var(--ns-radius);
}

.ns-stat__value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.375rem, 4vw, 1.75rem);
    font-weight: 700;
    color: var(--ns-flame);
    line-height: 1.1;
}

.ns-stat__label {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--ns-ink-muted);
}

/* Logo strip */
.ns-logos {
    padding-block: 2.5rem;
    border-block: 1px solid var(--ns-border);
    background: var(--ns-surface-soft);
}

.ns-logos__track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
}

.ns-logos__item {
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ns-ink-soft);
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.ns-logos__item:hover {
    opacity: 1;
    color: var(--ns-ink-muted);
}

/* Section headers */
.ns-section-head {
    max-width: 42rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.ns-section-head--center {
    margin-inline: auto;
    text-align: center;
}

.ns-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-flame);
}

.ns-section-head h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ns-section-head p {
    margin-top: 0.875rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ns-ink-muted);
}

/* Cards grid */
.ns-grid {
    display: grid;
    gap: 1.25rem;
}

.ns-grid--2 {
    grid-template-columns: 1fr;
}

.ns-grid--3 {
    grid-template-columns: 1fr;
}

.ns-grid--4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .ns-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ns-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ns-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ns-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ns-card {
    padding: 1.75rem;
    background: var(--ns-surface);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius-lg);
    transition: transform 0.25s var(--ns-ease), box-shadow 0.25s, border-color 0.25s;
}

.ns-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 84, 35, 0.25);
    box-shadow: 0 12px 40px -16px rgba(15, 20, 25, 0.12);
}

.ns-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    background: linear-gradient(135deg, rgba(240, 84, 35, 0.12), rgba(240, 84, 35, 0.04));
    border-radius: 0.75rem;
    color: var(--ns-flame);
}

.ns-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
}

.ns-card p {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ns-ink-muted);
}

.ns-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ns-flame);
    text-decoration: none;
}

.ns-card__link:hover {
    gap: 0.5rem;
}

/* Case study */
.ns-case {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--ns-surface);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius-lg);
}

@media (min-width: 768px) {
    .ns-case {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.ns-case__metric {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 700;
    color: var(--ns-flame);
    line-height: 1;
}

@media (max-width: 767px) {
    .ns-case {
        text-align: left;
    }

    .ns-case > div:last-child {
        text-align: left;
    }
}

/* Process */
.ns-process {
    counter-reset: step;
}

.ns-process__item {
    position: relative;
    padding-left: 3.5rem;
    padding-bottom: 2rem;
}

.ns-process__item:last-child {
    padding-bottom: 0;
}

.ns-process__item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ns-flame);
    background: rgba(240, 84, 35, 0.1);
    border-radius: 50%;
}

.ns-process__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.0625rem;
    top: 2.5rem;
    bottom: 0;
    width: 2px;
    background: var(--ns-border);
}

/* Testimonials */
.ns-testimonial {
    padding: 1.75rem;
    background: var(--ns-surface);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius-lg);
    height: 100%;
}

.ns-testimonial blockquote {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ns-ink-muted);
}

.ns-testimonial footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ns-border);
}

.ns-testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--ns-ink);
}

/* CTA band */
.ns-cta {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    border-radius: var(--ns-radius-lg);
    overflow: hidden;
}

.ns-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 84, 35, 0.25) 0%, transparent 65%);
    pointer-events: none;
}

.ns-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .ns-cta__inner {
        grid-template-columns: 1fr auto;
    }
}

.ns-cta h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
}

.ns-cta p {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Internal page */
.ns-page-hero {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(180deg, var(--ns-surface-soft) 0%, var(--ns-surface) 100%);
    border-bottom: 1px solid var(--ns-border);
}

.ns-page-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ns-page-hero .ns-lead {
    margin-top: 1rem;
    max-width: 42rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--ns-ink-muted);
}

.ns-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--ns-ink-soft);
}

.ns-breadcrumb a {
    color: var(--ns-ink-muted);
    text-decoration: none;
}

.ns-breadcrumb a:hover {
    color: var(--ns-flame);
}

.ns-breadcrumb [aria-current] {
    color: var(--ns-ink);
    font-weight: 500;
}

/* CMS prose — imported + editor content */
.ns-prose,
.cms-prose.ns-prose {
    max-width: 48rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ns-ink-muted);
}

.ns-prose h2,
.cms-prose.ns-prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ns-ink);
}

.ns-prose h3,
.cms-prose.ns-prose h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ns-ink);
}

.ns-prose a,
.cms-prose.ns-prose a {
    color: var(--ns-flame);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ns-prose img,
.cms-prose.ns-prose img {
    border-radius: var(--ns-radius);
    margin-block: 1.5rem;
}

.ns-prose ul,
.ns-prose ol,
.cms-prose.ns-prose ul,
.cms-prose.ns-prose ol {
    padding-left: 1.25rem;
    margin-block: 1rem;
}

.ns-imported-content {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ns-border);
}

.ns-imported-content .et_pb_section,
.ns-imported-content .et_pb_row {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 1.5rem !important;
}

/* Overflow — conținut CMS / Divi */
.ns-prose,
.cms-prose.ns-prose,
.ns-imported-content {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ns-prose table,
.cms-prose.ns-prose table,
.ns-imported-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ns-prose iframe,
.ns-prose video,
.ns-prose embed,
.cms-prose.ns-prose iframe,
.ns-imported-content iframe,
.ns-imported-content img {
    max-width: 100% !important;
    height: auto !important;
}

.ns-imported-content * {
    max-width: 100%;
    box-sizing: border-box;
}

.ns-imported-content [style*="width"] {
    width: auto !important;
    max-width: 100% !important;
}

/* Beneficii homepage */
.ns-benefits__layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .ns-benefits__layout {
        grid-template-columns: 1fr 1.1fr;
        gap: 3rem;
        align-items: center;
    }
}

.ns-section-head--flush {
    margin-bottom: 0;
}

.ns-benefits__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ns-card--compact {
    padding: 1.125rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.ns-benefits__check {
    color: var(--ns-flame);
    margin-right: 0.35rem;
    font-weight: 700;
}

/* Compatibilitate setări CMS */
.cms-layout-boxed .ns-main .ns-container {
    max-width: var(--layout-max-width, var(--ns-container));
}

.cms-header-border .ns-header {
    border-bottom-color: var(--ns-border);
}

/* Footer */
.ns-footer {
    margin-top: auto;
    background: var(--ns-ink);
    color: rgba(255, 255, 255, 0.75);
}

.ns-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.ns-footer a:hover {
    color: #fff;
}

.ns-footer__grid {
    display: grid;
    gap: 2.5rem;
    padding-block: clamp(3rem, 8vw, 5rem);
}

@media (min-width: 768px) {
    .ns-footer__grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ns-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.ns-footer__brand {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.ns-footer__title {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.ns-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.ns-footer__bottom {
    padding-block: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.ns-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .ns-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Scroll reveal */
.ns-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ns-ease), transform 0.6s var(--ns-ease);
}

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

/* Nav link compat CMS */
.cms-nav-link {
    text-decoration: none;
}

.cms-nav-link-active {
    color: var(--ns-flame) !important;
}

/* Breadcrumb component override */
.ns-main .cms-container {
    max-width: var(--ns-container);
}

/* Mobile — spacing & tipografie */
@media (max-width: 639px) {
    .ns-container {
        padding-inline: 1rem;
    }

    .ns-section {
        padding-block: 2.5rem;
    }

    .ns-hero {
        padding-block: 2.25rem 2.75rem;
    }

    .ns-hero__card {
        padding: 1.25rem;
    }

    .ns-hero__stats {
        gap: 0.625rem;
    }

    .ns-stat {
        padding: 0.75rem 0.5rem;
    }

    .ns-stat__label {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .ns-card {
        padding: 1.25rem;
    }

    .ns-section-head h2 {
        font-size: 1.5rem;
    }

    .ns-section-head p {
        font-size: 1rem;
    }

    .ns-page-hero {
        padding-block: 2rem;
    }

    .ns-page-hero .ns-lead {
        font-size: 1rem;
    }

    .ns-logos__track {
        gap: 1.25rem 1.75rem;
    }

    .ns-cta {
        padding: 1.75rem 1.25rem;
        border-radius: 1rem;
    }

    .ns-cta__inner {
        text-align: center;
    }

    .ns-cta .ns-btn {
        width: 100%;
    }

    .ns-grid--4 {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ns-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ns-btn:hover,
    .ns-card:hover {
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}
