/* ============================================
   PANTRA Design System
   Brand: Object Sans, Verde Electric accent
   Approach: Mobile-first, 8px spacing grid
   Layer: Bootstrap 5 base + brand overrides
   Themes: Light (default) + Dark
   ============================================ */

/* --- Theme-independent tokens --- */
:root {
    /* Spacing (8px grid) */
    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 32px;
    --sp-xl: 48px;
    --sp-2xl: 64px;
    --sp-3xl: 96px;

    /* Typography */
    --font-brand: 'Object Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --fs-display: 36px;
    --fs-h1: 28px;
    --fs-h2: 22px;
    --fs-h3: 18px;
    --fs-sub: 17px;
    --fs-body: 15px;
    --fs-small: 13px;
    --fs-btn: 14px;
    --fs-overline: 11px;

    /* Radii */
    --radius-card: 16px;
    --radius-btn: 50px;
    --radius-input: 12px;
    --radius-icon: 12px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.2s ease;

    /* Nav height */
    --nav-h: 60px;
}

/* --- LIGHT MODE (default) --- */
:root,
[data-theme="light"] {
    --p-green: #4da826;
    --p-green-rgb: 77, 168, 38;
    --p-bg: #ffffff;
    --p-surface: #f5f5f5;
    --p-text: #4a4a4a;
    --p-heading: #020304;
    --p-muted: #6b6b6b;
    --p-error: #d32f2f;

    --p-border: rgba(var(--p-green-rgb), 0.18);
    --p-border-hover: rgba(var(--p-green-rgb), 0.4);
    --p-glow: rgba(var(--p-green-rgb), 0.12);
    --p-glow-soft: rgba(var(--p-green-rgb), 0.06);
    --p-card-bg: rgba(var(--p-green-rgb), 0.04);
    --p-icon-bg: rgba(var(--p-green-rgb), 0.08);

    --p-nav-bg: #ffffff;
    --p-nav-border: rgba(0, 0, 0, 0.08);
    --p-mobile-bg: rgba(255, 255, 255, 0.98);
    --p-footer-border: rgba(0, 0, 0, 0.08);
    --p-subtle-border: rgba(0, 0, 0, 0.06);

    --p-hero-gradient-end: #020304;
    --p-hero-img-opacity: 0.06;
    --p-logo-fill: #020304;
    --p-btn-primary-text: #ffffff;
    --p-input-bg: #ffffff;
    --p-input-color: #020304;
    --p-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --p-card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

    /* Bootstrap overrides */
    --bs-body-bg: var(--p-bg);
    --bs-body-color: var(--p-text);
    --bs-body-font-family: var(--font-brand);
    --bs-link-color: var(--p-green);
    --bs-link-hover-color: var(--p-green);
    --bs-border-color: var(--p-border);
    --bs-card-bg: var(--p-card-bg);
    --bs-card-border-color: var(--p-border);
    --bs-card-border-radius: var(--radius-card);
}

/* --- DARK MODE --- */
[data-theme="dark"] {
    --p-green: #80E054;
    --p-green-rgb: 128, 224, 84;
    --p-bg: #020304;
    --p-surface: #0a0b0c;
    --p-text: #c7c7c7;
    --p-heading: #ffffff;
    --p-muted: #767674;
    --p-error: #E05454;

    --p-border: rgba(var(--p-green-rgb), 0.12);
    --p-border-hover: rgba(var(--p-green-rgb), 0.35);
    --p-glow: rgba(var(--p-green-rgb), 0.15);
    --p-glow-soft: rgba(var(--p-green-rgb), 0.08);
    --p-card-bg: rgba(var(--p-green-rgb), 0.04);
    --p-icon-bg: rgba(var(--p-green-rgb), 0.1);

    --p-nav-bg: #020304;
    --p-nav-border: rgba(255, 255, 255, 0.06);
    --p-mobile-bg: rgba(2, 3, 4, 0.97);
    --p-footer-border: rgba(255, 255, 255, 0.06);
    --p-subtle-border: rgba(255, 255, 255, 0.06);

    --p-hero-gradient-end: #ffffff;
    --p-hero-img-opacity: 0.1;
    --p-logo-fill: #ffffff;
    --p-btn-primary-text: #020304;
    --p-input-bg: transparent;
    --p-input-color: #ffffff;
    --p-card-shadow: none;
    --p-card-shadow-hover: none;

    --bs-body-bg: var(--p-bg);
    --bs-body-color: var(--p-text);
    --bs-link-color: var(--p-green);
    --bs-link-hover-color: var(--p-green);
    --bs-border-color: var(--p-border);
    --bs-card-bg: var(--p-card-bg);
    --bs-card-border-color: var(--p-border);
}

/* --- Fonts --- */
@font-face {
    font-family: 'Object Sans';
    src: url('../Fonts/ObjectSans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Object Sans';
    src: url('../Fonts/ObjectSans-Slanted.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Object Sans';
    src: url('../Fonts/ObjectSans-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Object Sans';
    src: url('../Fonts/ObjectSans-HeavySlanted.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-brand);
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--p-text);
    background: var(--p-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background var(--transition), color var(--transition);
}

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

a {
    color: var(--p-green);
    text-decoration: none;
    transition: all var(--transition);
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

ul, ol {
    list-style: none;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 720px;
}

/* --- Typography --- */
.display {
    font-weight: 900;
    font-style: italic;
    font-size: var(--fs-display);
    line-height: 1.05;
    color: var(--p-green);
}

h1, .h1 {
    font-weight: 900;
    font-style: italic;
    font-size: var(--fs-h1);
    line-height: 1.15;
    color: var(--p-heading);
}

h2, .h2 {
    font-weight: 900;
    font-style: italic;
    font-size: var(--fs-h2);
    line-height: 1.2;
    color: var(--p-heading);
}

h3, .h3 {
    font-weight: 900;
    font-size: var(--fs-h3);
    line-height: 1.3;
    color: var(--p-heading);
}

.sub-headline {
    font-weight: 400;
    font-size: var(--fs-sub);
    line-height: 1.5;
    color: var(--p-text);
}

.body-small {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--p-muted);
}

.overline {
    font-weight: 900;
    font-size: var(--fs-overline);
    line-height: 1.0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--p-green);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--nav-h);
    background: var(--p-nav-bg);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--p-nav-border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav__logo {
    flex-shrink: 0;
}

.nav__logo img {
    height: 30px;
    width: auto;
    display: block;
}

/* Theme-aware logo switching */
.logo--dark { display: none; }
.logo--light { display: block; }

[data-theme="dark"] .logo--dark { display: block; }
[data-theme="dark"] .logo--light { display: none; }

.nav__links {
    display: none;
    gap: 32px;
    align-items: center;
}

.nav__links a {
    font-size: var(--fs-body);
    font-weight: 400;
    color: var(--p-heading);
    text-decoration: none;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--p-green);
    transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.nav__links a:hover {
    text-decoration: none;
    color: var(--p-heading);
}

.nav__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__cta {
    display: none;
}

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-icon);
    border: 1px solid var(--p-border);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    color: var(--p-muted);
}

.theme-toggle:hover {
    background: var(--p-icon-bg);
    border-color: var(--p-border-hover);
    color: var(--p-green);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition), opacity var(--transition);
}

.theme-toggle__sun {
    display: none;
}

.theme-toggle__moon {
    display: block;
}

[data-theme="dark"] .theme-toggle__sun {
    display: block;
}

[data-theme="dark"] .theme-toggle__moon {
    display: none;
}

.nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
}

.nav__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--p-heading);
    transition: all var(--transition);
    display: block;
}

.nav__hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav__mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--p-mobile-bg);
    z-index: 1020;
    padding: var(--sp-xl) var(--sp-md);
    flex-direction: column;
    gap: 32px;
}

.nav__mobile.open {
    display: flex;
}

.nav__mobile a {
    font-size: var(--fs-h2);
    font-weight: 900;
    font-style: italic;
    color: var(--p-heading);
    text-decoration: none;
}

.nav__mobile a:hover {
    color: var(--p-green);
    text-decoration: none;
}

.nav__mobile .btn {
    margin-top: 16px;
    text-align: center;
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-brand);
    font-weight: 900;
    font-style: italic;
    font-size: var(--fs-btn);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: var(--sp-sm) 40px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    min-width: 0;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
}

.btn--primary {
    background: var(--p-green);
    color: var(--p-btn-primary-text);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--p-green-rgb), 0.25);
    color: var(--p-btn-primary-text);
}

.btn--ghost {
    background: transparent;
    color: var(--p-green);
    border: 1px solid rgba(var(--p-green-rgb), 0.3);
}

.btn--ghost:hover {
    border-color: var(--p-green);
    background: var(--p-glow-soft);
    transform: translateY(-2px);
    color: var(--p-green);
}

.btn--full {
    display: block;
    width: 100%;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0 48px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--p-hero-img-opacity);
    filter: grayscale(60%);
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--p-green-rgb), 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 1;
}

.hero__bg::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--p-green-rgb), 0.07) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    border-radius: 50%;
    z-index: 1;
}

.hero__grid {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__content {
    max-width: 560px;
    margin: 0 auto;
}

.hero__visual {
    display: none;
}

.hero__mascot {
    width: 160px;
    height: auto;
    margin: 0 auto;
}

.hero__logo {
    width: 180px;
    margin: 0 auto var(--sp-md);
}

.hero__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__overline {
    margin-bottom: var(--sp-xs);
}

.hero__title {
    margin-bottom: var(--sp-sm);
    background: linear-gradient(135deg, var(--p-green) 0%, var(--p-hero-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    max-width: 520px;
    margin: 0 auto var(--sp-lg);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__actions .btn {
    width: 100%;
}

/* --- Page header --- */
.page-header {
    padding: 120px 0 64px;
    text-align: left;
}

.page-header__title {
    margin-bottom: 16px;
}

.page-header__subtitle {
    max-width: 560px;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--p-surface);
}

.section--pattern {
    position: relative;
}

.section--pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(var(--p-green-rgb), 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.section--cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--p-green-rgb), 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.section--cta .container {
    position: relative;
    z-index: 1;
}

.section__title {
    margin-bottom: 32px;
}

.section__intro {
    margin-bottom: 48px;
    max-width: 560px;
}

.section--cta .section__title {
    margin-bottom: 16px;
}

.section--cta .section__intro {
    margin: 0 auto 48px;
    max-width: 480px;
}

.section--cta .btn {
    width: 100%;
    max-width: 400px;
}

.section--cta .section__or {
    margin-top: var(--sp-md);
    color: var(--p-muted);
    font-size: 14px;
}

/* --- Cards --- */
.card {
    background: var(--p-card-bg);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-card);
    padding: var(--sp-lg);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    box-shadow: var(--p-card-shadow);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--p-border-hover);
    box-shadow: var(--p-card-shadow-hover);
}

.card__icon {
    width: 48px;
    height: 48px;
    background: var(--p-icon-bg);
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--p-green);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition);
}

.card:hover .card__icon svg {
    transform: rotate(5deg) scale(1.08);
}

.card__number {
    margin-bottom: var(--sp-xs);
}

/* Service cards — generous spacing between cards */
#servicii .row {
    --bs-gutter-y: 2.5rem;
    --bs-gutter-x: 2.5rem;
}

.card__title {
    margin-bottom: 10px;
    font-style: italic;
    font-size: 20px;
}

.card__text {
    color: var(--p-muted);
    font-size: 15px;
    line-height: 1.6;
}

.card__link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 900;
}

.card__link:hover {
    text-decoration: none;
}

/* --- Differentiators --- */
.diff {
    padding-left: 20px;
    border-left: 2px solid rgba(var(--p-green-rgb), 0.2);
}

.diff__title {
    font-weight: 900;
    font-size: 16px;
    color: var(--p-heading);
    margin-bottom: 8px;
}

.diff__text {
    color: var(--p-text);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Steps --- */
#cum-functioneaza .row {
    counter-reset: step;
}

.step {
    counter-increment: step;
}

.step__number {
    margin-bottom: 16px;
}

.step__number::before {
    content: "0" counter(step);
}

.step__title {
    margin-bottom: 8px;
}

.step__text {
    color: var(--p-text);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Service blocks --- */
.service-block {
    padding: 48px 0;
    border-bottom: 1px solid var(--p-subtle-border);
}

.service-block:last-child {
    border-bottom: none;
}

.service-block__title {
    margin-bottom: 16px;
}

.service-block__text {
    margin-bottom: 24px;
    max-width: 640px;
    color: var(--p-text);
    font-size: 15px;
    line-height: 1.7;
}

.service-block__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-block__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--p-text);
    font-size: 15px;
    line-height: 1.5;
}

.service-block__feature svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--p-green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 2px;
}

/* --- Values --- */
.values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.value__title {
    font-weight: 900;
    font-size: 16px;
    color: var(--p-green);
    margin-bottom: 8px;
}

.value__text {
    color: var(--p-text);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Team --- */
.team-member {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-member__info {
    flex: 1;
}

.team-member__name {
    font-weight: 900;
    font-size: 20px;
    color: var(--p-heading);
    margin-bottom: 4px;
}

.team-member__role {
    font-size: 14px;
    color: var(--p-green);
    margin-bottom: 12px;
}

.team-member__text {
    color: var(--p-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-member__contact {
    font-size: 14px;
    color: var(--p-muted);
}

.team-member__contact a {
    color: var(--p-green);
}

/* --- Contact form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-size: 14px;
    color: var(--p-text);
    margin-bottom: 8px;
}

.form__input,
.form__select,
.form__textarea {
    font-family: var(--font-brand);
    font-size: 16px;
    font-weight: 400;
    color: var(--p-input-color);
    background: var(--p-input-bg);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-input);
    padding: var(--sp-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--p-muted);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--p-green);
    box-shadow: 0 0 0 3px rgba(var(--p-green-rgb), 0.1);
}

.form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23767674' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form__textarea {
    min-height: 140px;
    resize: vertical;
}

.form__note {
    font-size: 13px;
    color: var(--p-muted);
}

/* Contact sidebar */
.contact-direct__title {
    font-weight: 900;
    font-size: 18px;
    color: var(--p-heading);
    margin-bottom: 24px;
}

.contact-direct__item {
    margin-bottom: 24px;
}

.contact-direct__label {
    font-size: 13px;
    color: var(--p-muted);
    margin-bottom: 4px;
}

.contact-direct__value {
    font-size: 16px;
    color: var(--p-heading);
}

.contact-direct__value a {
    color: var(--p-green);
}

/* --- Status badge --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-xs);
    padding: 10px var(--sp-md);
    border: 1px solid rgba(var(--p-green-rgb), 0.2);
    border-radius: var(--radius-btn);
    font-size: 14px;
    color: var(--p-green);
    margin-top: 40px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--p-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--p-footer-border);
    padding: 64px 0 40px;
    background: var(--p-surface);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer__brand-text {
    color: var(--p-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 280px;
}

.footer__heading {
    font-weight: 900;
    font-size: 14px;
    color: var(--p-heading);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer__link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link-list a {
    color: var(--p-muted);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer__link-list a:hover {
    color: var(--p-green);
    text-decoration: none;
}

.footer__contact-item {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--p-muted);
}

.footer__contact-item a {
    color: var(--p-green);
}

.footer__social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer__social a {
    color: var(--p-muted);
    transition: color 0.3s ease;
}

.footer__social a:hover {
    color: var(--p-green);
    text-decoration: none;
}

.footer__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--p-subtle-border);
    font-size: 13px;
    color: var(--p-muted);
}

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--p-green);
}

/* --- Coverage badges --- */
.badge-county {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(var(--p-green-rgb), 0.3);
    border-radius: var(--radius-btn);
    color: var(--p-green);
    font-size: var(--fs-small);
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Stats --- */
.stat {
    padding: var(--sp-md);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-card);
    background: var(--p-card-bg);
}

.stat__number {
    font-weight: 900;
    font-style: italic;
    font-size: var(--fs-h1);
    color: var(--p-green);
    line-height: 1.1;
    margin-bottom: var(--sp-xs);
}

.stat__label {
    font-size: var(--fs-small);
    color: var(--p-muted);
    margin-bottom: 0;
}

.mt-xs { margin-top: 8px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 48px; }

.mb-xs { margin-bottom: 8px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 32px; }
.mb-xl { margin-bottom: 48px; }

/* ============================================
   Desktop breakpoint (768px+)
   ============================================ */
@media (min-width: 768px) {

    :root {
        --fs-display: 48px;
        --fs-h1: 36px;
        --fs-h2: 26px;
        --fs-h3: 19px;
        --fs-sub: 19px;
        --fs-body: 16px;
        --fs-btn: 15px;
        --fs-overline: 12px;
        --nav-h: 72px;
    }

    .btn {
        min-width: 200px;
    }

    .nav__logo img {
        height: 34px;
    }

    .card {
        padding: 40px;
    }

    #servicii .row {
        --bs-gutter-x: 3rem;
        --bs-gutter-y: 3rem;
    }

    /* Bootstrap row/col now handles card, diff, step grids */

    .hero__actions {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .hero__actions .btn {
        width: auto;
    }

    .hero__logo {
        width: 240px;
    }

    .section--cta .btn {
        width: auto;
        max-width: none;
    }

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

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

    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

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

    .values {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ============================================
   Large desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {

    :root {
        --fs-display: 64px;
        --fs-h1: 40px;
        --fs-h2: 28px;
        --fs-h3: 20px;
        --fs-sub: 20px;
    }

    .nav__links {
        display: flex;
    }

    .nav__cta {
        display: inline-block;
    }

    .nav__hamburger {
        display: none;
    }

    .hero {
        padding: 120px 0 64px;
    }

    .hero__grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: var(--sp-xl);
        align-items: center;
        text-align: left;
    }

    .hero__content {
        margin: 0;
    }

    .hero__logo {
        width: 260px;
        margin-left: 0;
    }

    .hero__subtitle {
        margin-left: 0;
    }

    .hero__actions {
        justify-content: flex-start;
    }

    .hero__visual {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero__mascot {
        width: 220px;
    }

    .section {
        padding: 120px 0;
    }

    .section--cta {
        padding: 120px 0;
    }

    .page-header {
        padding: 160px 0 64px;
    }
}
