/* ============================================================
   JustConta & BFF
   Author: Marius Burtă | Design: Marius Burtă
   ============================================================ */

/* ── CSS Variables ── */
:root {
    /* Navy palette */
    --n900: #050d1c;
    --n800: #0a1628;
    --n700: #0d1f3c;
    --n600: #122850;
    --n500: #1a3460;
    --n400: #234888;
    --n300: #3162b0;
    --n200: #6090d8;
    --n100: #b0c8f0;
    --n050: #eef3fc;

    /* Gold accent */
    --gold: #c4922a;
    --gold-light: #ddb05c;
    --gold-pale: #f5e6c8;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;

    /* Semantic aliases */
    --primary: var(--n700);
    --primary-dark: var(--n800);
    --primary-light: var(--n500);
    --accent: var(--gold);
    --text: var(--gray-700);
    --text-light: var(--gray-500);
    --bg: var(--white);
    --bg-alt: var(--gray-100);

    /* Layout */
    --container: 1200px;
    --header-h: 82px;
    --topbar-h: 38px;
    --section-py: 90px;

    /* Shape */
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(13, 31, 60, .07);
    --shadow-md: 0 4px 16px rgba(13, 31, 60, .11);
    --shadow-lg: 0 8px 32px rgba(13, 31, 60, .15);
    --shadow-xl: 0 16px 56px rgba(13, 31, 60, .19);

    /* Motion – tranziții specifice în loc de "all" (evită recalculul tuturor proprietăților) */
    --ease: background-color .3s ease, color .3s ease, border-color .3s ease,
        transform .3s ease, box-shadow .3s ease, opacity .3s ease, padding-left .3s ease;
    --ease-slow: background-color .55s ease, color .55s ease, border-color .55s ease,
        transform .55s ease, box-shadow .55s ease, opacity .55s ease;
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--n700);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-white {
    color: var(--white);
}

/* ── Section ── */
.section {
    padding: var(--section-py) 0;
}

.section-dark {
    background: var(--n700);
    color: var(--white);
}

.section-darker {
    background: var(--n800);
    color: var(--white);
}

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

/* ── Section Header ── */
.section-header {
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.section-dark .eyebrow {
    color: var(--gold-light);
}

.section-dark .eyebrow::before {
    background: var(--gold-light);
}

.section-darker .eyebrow {
    color: var(--gold-light);
}

.section-darker .eyebrow::before {
    background: var(--gold-light);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: var(--n700);
    margin-bottom: 14px;
}

.section-dark .section-title,
.section-darker .section-title {
    color: var(--white);
}

.section-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 10px 0 16px;
    border-radius: 2px;
}

.text-center .section-line {
    margin: 10px auto 16px;
}

.section-desc {
    font-size: 1.02rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

.text-center .section-desc {
    margin: 0 auto;
}

.section-dark .section-desc,
.section-darker .section-desc {
    color: rgba(255, 255, 255, .7);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: 'Sora', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--n700);
    color: var(--white);
    border-color: var(--n700);
}

.btn-primary:hover {
    background: var(--n600);
    border-color: var(--n600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: #b3801e;
    border-color: #b3801e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 146, 42, .35);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--n700);
    border-color: var(--white);
}

.btn-outline-navy {
    background: transparent;
    color: var(--n700);
    border-color: var(--n700);
}

.btn-outline-navy:hover {
    background: var(--n700);
    color: var(--white);
}

.btn-sm {
    padding: 9px 20px;
    font-size: .82rem;
}

.btn-lg {
    padding: 16px 38px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--n900);
    color: rgba(255, 255, 255, .65);
    height: var(--topbar-h);
    font-size: .82rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.tb-contact {
    display: flex;
    gap: 22px;
}

.tb-contact a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .65);
}

.tb-contact a:hover {
    color: var(--white);
}

.tb-contact i {
    font-size: .75rem;
    color: var(--gold);
}

.tb-social {
    display: flex;
    gap: 10px;
}

.tb-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: rgba(255, 255, 255, .65);
}

.tb-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    transition: none;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--n700);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.15rem;
    transition: var(--ease);
}

.logo:hover .logo-mark {
    background: var(--n600);
    transform: rotate(-5deg);
}

.logo-text {
    line-height: 1.15;
}

.logo-name {
    display: block;
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--n700);
}

.logo-sub {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Nav */
.main-nav ul {
    display: flex;
    gap: 2px;
}

.main-nav li {
    position: relative;
}

.main-nav>ul>li>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    transition: var(--ease);
}

.main-nav>ul>li>a:hover,
.main-nav>ul>li>a.active {
    color: var(--n700);
    background: var(--n050);
}

.main-nav>ul>li>a i {
    font-size: .68rem;
    transition: transform .3s;
}

.main-nav li:hover>a>i {
    transform: rotate(180deg);
}

/* Dropdown */
.has-sub {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 12px;
    /* visual gap without breaking hover */
    min-width: 240px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: var(--ease);
    z-index: 200;
}

.sub-menu-inner {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: 8px;
}

.has-sub:hover .sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.sub-menu-inner {
    display: flex;
    flex-direction: column;
}

.sub-menu-inner a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: .86rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    transition: var(--ease);
    white-space: nowrap;
}

.sub-menu-inner a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.sub-menu-inner a:hover {
    background: var(--n050);
    color: var(--n700);
    padding-left: 18px;
}

/* Buton close meniu – ascuns pe desktop */
.nav-close {
    display: none;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--n700);
    border-radius: 2px;
    transition: var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - var(--topbar-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--n800);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: .15;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, var(--n900) 0%, rgba(13, 31, 60, .88) 55%, rgba(22, 52, 96, .6) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 24px;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(196, 146, 42, .12);
    border: 1px solid rgba(196, 146, 42, .3);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
}

.hero-badge i {
    font-size: .72rem;
}

.hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.22;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold-light);
}

.hero-desc {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.75;
    margin-bottom: 38px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    gap: 28px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-meta-item strong {
    display: block;
    font-family: 'Lora', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-meta-item span {
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero-meta-sep {
    width: 1px;
    background: rgba(255, 255, 255, .1);
    align-self: stretch;
}

/* Hero visual */
.hero-visual {
    position: relative;
    height: 440px;
}

.hero-card {
    position: absolute;
    background: rgba(13, 31, 60, .65);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--white);
}

.hc-main {
    top: 16px;
    left: 10px;
    right: 0;
    padding: 30px;
    animation: floatCard 5s ease-in-out infinite;
    will-change: transform;
}

.hc-main h3 {
    font-family: 'Lora', serif;
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.hc-main p {
    color: rgba(255, 255, 255, .6);
    font-size: .86rem;
}

.hc-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(196, 146, 42, .2);
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.hc-check-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hc-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .8);
}

.hc-check-item i {
    color: var(--gold-light);
    font-size: .75rem;
}

.hc-stat {
    bottom: 50px;
    left: 0;
    right: 60%;
    text-align: center;
    animation: floatCard 5s ease-in-out infinite;
    animation-delay: 1.5s;
    will-change: transform;
}

.hc-stat-num {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.hc-stat-label {
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
    margin-top: 4px;
}

.hc-badge {
    top: 52%;
    left: 2%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 5s ease-in-out infinite;
    animation-delay: 3s;
    will-change: transform;
}

.hc-icon {
    width: 40px;
    height: 40px;
    background: rgba(196, 146, 42, .18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1rem;
    flex-shrink: 0;
}

.hc-text-title {
    font-size: .86rem;
    font-weight: 600;
    color: var(--white);
}

.hc-text-sub {
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: var(--white);
    padding: 0;
    position: relative;
    z-index: 10;
}

.stats-band-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin: -56px 24px 0;
    overflow: hidden;
}

.stat-box {
    padding: 38px 24px;
    text-align: center;
    position: relative;
    transition: var(--ease);
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

.stat-box:hover {
    background: var(--n050);
}

.stat-icon-wrap {
    width: 54px;
    height: 54px;
    background: var(--n050);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.35rem;
    color: var(--n700);
    transition: var(--ease);
}

.stat-box:hover .stat-icon-wrap {
    background: var(--n700);
    color: var(--white);
}

.stat-num {
    font-family: 'Lora', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--n700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-lbl {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--ease-slow);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--n700), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--n050);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--n700);
    margin-bottom: 22px;
    transition: var(--ease);
}

.service-card:hover .service-icon {
    background: var(--n700);
    color: var(--white);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--n700);
}

.service-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--n700);
}

.service-link i {
    font-size: .72rem;
    transition: transform .3s;
}

.service-link:hover {
    color: var(--gold);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ============================================================
   WHY US  (dark section)
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    transition: var(--ease);
    background: rgba(255, 255, 255, .03);
}

.why-card:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(196, 146, 42, .3);
    transform: translateY(-5px);
}

.why-icon {
    width: 54px;
    height: 54px;
    background: rgba(196, 146, 42, .12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.02rem;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: .87rem;
    color: rgba(255, 255, 255, .58);
    line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.04);
}

.about-badge {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: var(--n700);
    color: var(--white);
    padding: 20px 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(196, 146, 42, .35);
}

.about-badge-num {
    display: block;
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.about-badge-lbl {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .68);
    margin-top: 4px;
}

.about-content .eyebrow {
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    color: var(--n700);
    margin-bottom: 18px;
}

.about-content>p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 28px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--n700);
    transition: var(--ease);
}

.feature-item:hover {
    background: var(--n050);
    border-left-color: var(--gold);
}

.fi-icon {
    width: 38px;
    height: 38px;
    background: var(--n700);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .9rem;
    flex-shrink: 0;
}

.fi-text h4 {
    font-family: 'Sora', sans-serif;
    font-size: .93rem;
    color: var(--n700);
    margin-bottom: 3px;
}

.fi-text p {
    font-size: .84rem;
    color: var(--text-light);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--n700) 0%, var(--gold) 100%);
    opacity: .2;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--n700);
    margin: 0 auto 24px;
    transition: var(--ease);
}

.process-step:hover .step-num {
    background: var(--n700);
    color: var(--white);
    border-color: var(--n700);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: .98rem;
    margin-bottom: 10px;
    color: var(--n700);
}

.process-step p {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.faq-intro h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.faq-intro p {
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    overflow: hidden;
    transition: var(--ease);
}

.faq-item.open {
    border-color: var(--n700);
    box-shadow: var(--shadow-md);
}

.faq-q {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: .93rem;
    color: var(--gray-700);
    transition: var(--ease);
}

.faq-q:hover {
    color: var(--n700);
}

.faq-item.open .faq-q {
    background: var(--n700);
    color: var(--white);
}

.faq-q-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    flex-shrink: 0;
    transition: transform .3s;
}

.faq-item.open .faq-q-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease;
}

.faq-body p {
    padding: 20px 22px;
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.72;
    border-top: 1px solid var(--gray-200);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: var(--ease);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(196, 146, 42, .3);
    transform: translateY(-6px);
}

.tc-stars {
    display: flex;
    gap: 4px;
    color: var(--gold);
    font-size: .78rem;
    margin-bottom: 16px;
}

.tc-quote {
    font-size: .94rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, .78);
    font-style: italic;
    margin-bottom: 24px;
    flex: 1;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.tc-avatar {
    width: 46px;
    height: 46px;
    background: var(--n500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
    flex-shrink: 0;
}

.tc-name {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    color: var(--white);
    margin-bottom: 3px;
}

.tc-role {
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(130deg, var(--n900) 0%, var(--n700) 55%, var(--n500) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(196, 146, 42, .06);
    right: -120px;
    top: -220px;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-text p {
    color: rgba(255, 255, 255, .7);
    font-size: .98rem;
    max-width: 480px;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 3fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-sidebar {
    background: var(--n700);
    padding: 56px 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-sidebar::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
    bottom: -100px;
    right: -100px;
}

.contact-sidebar h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.contact-sidebar>p {
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ci-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: .95rem;
    flex-shrink: 0;
    transition: var(--ease);
}

.contact-item:hover .ci-icon {
    background: rgba(196, 146, 42, .2);
}

.ci-lbl {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 4px;
}

.ci-val {
    font-size: .9rem;
    color: var(--white);
    font-weight: 500;
}

.ci-val a {
    color: var(--white);
}

.ci-val a:hover {
    color: var(--gold-light);
}

.contact-social {
    display: flex;
    gap: 10px;
}

.contact-social a {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .65);
    font-size: .82rem;
    transition: var(--ease);
}

.contact-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.contact-form-panel {
    background: var(--white);
    padding: 56px 48px;
}

.contact-form-panel h3 {
    font-size: 1.4rem;
    color: var(--n700);
    margin-bottom: 8px;
}

.contact-form-panel>p {
    color: var(--text-light);
    font-size: .88rem;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: 'Sora', sans-serif;
    font-size: .9rem;
    color: var(--gray-700);
    background: var(--white);
    outline: none;
    transition: var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--n700);
    box-shadow: 0 0 0 3px rgba(13, 31, 60, .08);
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field select {
    cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--n900);
    color: rgba(255, 255, 255, .62);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .07);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.15rem;
}

.footer-logo-name {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-sub {
    display: block;
    font-size: .67rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-brand>p {
    font-size: .87rem;
    line-height: 1.7;
    max-width: 270px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: rgba(255, 255, 255, .62);
    transition: var(--ease);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--white);
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 22px;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul a {
    font-size: .87rem;
    color: rgba(255, 255, 255, .58);
    transition: var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer-col ul a::before {
    content: '›';
    color: var(--gold);
    font-size: 1rem;
    line-height: 1;
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .87rem;
}

.footer-contact-item i {
    color: var(--gold);
    margin-top: 3px;
    font-size: .78rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, .58);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-contact-item span {
    color: rgba(255, 255, 255, .58);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: .82rem;
}

.footer-bottom a {
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: .82rem;
    color: rgba(255, 255, 255, .48);
    transition: var(--ease);
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.delay-1 {
    transition-delay: .1s;
}

.fade-in.delay-2 {
    transition-delay: .2s;
}

.fade-in.delay-3 {
    transition-delay: .3s;
}

.fade-in.delay-4 {
    transition-delay: .4s;
}

.fade-in.delay-5 {
    transition-delay: .5s;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    transition: transform .55s cubic-bezier(.165, .84, .44, 1);
    z-index: 9999;
    width: min(700px, calc(100vw - 48px));
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--n700);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: .93rem;
    color: var(--n700);
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: .8rem;
    color: var(--text-light);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 992px) {
    :root {
        --section-py: 72px;
    }

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

    .hero-visual {
        display: none;
    }

    .stats-band-box {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 24px;
    }

    .stat-box:nth-child(2)::after {
        display: none;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-text p {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .top-bar {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform .35s ease;
        z-index: 999;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    /* Buton închidere meniu mobil */
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        background: var(--n050);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: var(--n700);
        cursor: pointer;
        transition: var(--ease);
        z-index: 10;
    }

    .nav-close:hover {
        background: var(--n700);
        color: var(--white);
        transform: rotate(90deg);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .main-nav>ul>li>a {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    /* Dropdown mobil – ascuns implicit, deschis cu .open */
    .sub-menu {
        position: static;
        opacity: 1;
        pointer-events: all;
        transform: none;
        padding-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .22s ease-out;
    }

    .has-sub.open>.sub-menu {
        max-height: 400px;
    }

    .sub-menu-inner {
        box-shadow: none;
        border: none;
        background: var(--gray-100);
        border-radius: 8px;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    /* Rotire săgeată când submeniu e deschis */
    .has-sub.open>a>i {
        transform: rotate(180deg);
    }

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

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

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

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

    .stats-band-box {
        grid-template-columns: 1fr;
        margin: 0 24px;
    }

    .stat-box::after {
        display: none !important;
    }

    .contact-sidebar {
        padding: 40px 28px;
    }

    .contact-form-panel {
        padding: 40px 28px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 18px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ============================================================
   PAGE HERO  (sub-pages)
   ============================================================ */
.page-hero {
    padding: 100px 0 64px;
    background:
        linear-gradient(135deg, rgba(5, 13, 28, .96) 0%, rgba(13, 31, 60, .9) 60%, rgba(26, 52, 96, .82) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center / cover;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero.bg-alt::after {
    background: var(--gray-100);
}

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

.page-hero-icon {
    width: 72px;
    height: 72px;
    background: rgba(196, 146, 42, .15);
    border: 1px solid rgba(196, 146, 42, .3);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin: 0 auto 24px;
}

.page-hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, .72);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
    flex-wrap: wrap;
    justify-content: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .8);
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, .35);
    font-size: .7rem;
}

.breadcrumb-current {
    color: var(--gold-light);
    font-weight: 500;
}

/* ============================================================
   CONTENT GRID + SIDEBAR  (sub-pages)
   ============================================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.content-main h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
    color: var(--n700);
}

.content-main h3 {
    font-size: 1.2rem;
    margin: 28px 0 10px;
    color: var(--n700);
}

.content-main p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.content-main img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 28px 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.sidebar-box {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 26px;
    margin-bottom: 20px;
}

.sidebar-box h4 {
    font-family: 'Sora', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--n700);
    margin-bottom: 16px;
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--ease);
    border-left: 3px solid transparent;
}

.sidebar-nav-list a i {
    font-size: .85rem;
    color: var(--text-light);
    width: 18px;
    text-align: center;
}

.sidebar-nav-list a:hover {
    background: var(--n050);
    color: var(--n700);
    border-left-color: var(--gold);
}

.sidebar-nav-list a.active {
    background: var(--n050);
    color: var(--n700);
    font-weight: 600;
    border-left-color: var(--n700);
}

.sidebar-cta-box {
    background: var(--n700);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    color: var(--white);
}

.sidebar-cta-box h4 {
    color: var(--white);
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.sidebar-cta-box p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-cta-box .btn {
    width: 100%;
    justify-content: center;
}

.sidebar-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}

.sidebar-cta-phone a {
    color: var(--gold-light);
    font-weight: 600;
}

/* Check list */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .93rem;
    color: var(--text-light);
    line-height: 1.6;
}

.check-list li i {
    color: var(--n700);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: .9rem;
}

/* Feature highlight boxes */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.highlight-box {
    background: var(--n050);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 3px solid var(--n700);
}

.highlight-box i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.highlight-box h4 {
    font-family: 'Sora', sans-serif;
    font-size: .9rem;
    color: var(--n700);
    margin-bottom: 6px;
}

.highlight-box p {
    font-size: .83rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* Numbered process (service pages) */
.numbered-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.numbered-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-badge {
    width: 36px;
    height: 36px;
    background: var(--n700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: .95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-body h4 {
    font-family: 'Sora', sans-serif;
    font-size: .93rem;
    color: var(--n700);
    margin-bottom: 4px;
}

.step-body p {
    font-size: .86rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Info banner inside pages */
.info-banner {
    background: var(--n700);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 32px 0;
}

.info-banner i {
    font-size: 2rem;
    color: var(--gold-light);
    flex-shrink: 0;
}

.info-banner h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.info-banner p {
    color: rgba(255, 255, 255, .75);
    font-size: .88rem;
    line-height: 1.6;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.mission-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mission-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--ease);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--n050);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--n700);
    transition: var(--ease);
}

.value-card:hover .value-icon {
    background: var(--n700);
    color: var(--white);
}

.value-card h3 {
    font-size: 1rem;
    color: var(--n700);
    margin-bottom: 8px;
}

.value-card p {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--ease);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    height: 200px;
    background: var(--n600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    position: relative;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 1.05rem;
    color: var(--n700);
    margin-bottom: 4px;
}

.team-role {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 12px;
}

.team-bio {
    font-size: .86rem;
    color: var(--text-light);
    line-height: 1.6;
}

.team-social {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.team-social a {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    color: var(--gray-500);
    transition: var(--ease);
}

.team-social a:hover {
    background: var(--n700);
    color: var(--white);
}

.cert-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    font-size: .88rem;
    font-weight: 600;
    color: var(--n700);
    transition: var(--ease);
}

.cert-badge:hover {
    border-color: var(--n700);
    background: var(--n050);
}

.cert-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
/* Client grid (portfolio) */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    align-items: start;
}

.client-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 20px 22px;
    text-align: center;
    transition: var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

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

/* Featured card (has testimonial) */
.client-card--featured {
    border-color: var(--gold);
    background: linear-gradient(160deg, var(--white) 60%, #fdf8f0);
    grid-row: span 2;
    /* takes more visual weight */
}

.client-card--featured:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(196, 146, 42, .18);
}

/* Coat-of-arms (stema) */
.client-stema {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Real coat-of-arms image */
.client-stema img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
}

/* Initials fallback – hidden by default, shown via JS onerror */
.client-stema span {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--n700);
    letter-spacing: .04em;
}

.client-card--featured .client-stema {
    width: 92px;
    height: 92px;
    border-width: 4px;
}

.client-card--featured .client-stema span {
    font-size: 1.55rem;
}

/* Name & county */
.client-info {
    margin-bottom: 0;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--n700);
    line-height: 1.3;
}

.client-card--featured .client-name {
    font-size: 1.1rem;
}

.client-county {
    font-size: .78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 5px;
}

/* Testimonial */
.client-quote {
    font-size: .84rem;
    line-height: 1.6;
    color: var(--gray-700);
    border-left: 3px solid var(--gold);
    text-align: left;
    padding: 10px 12px;
    margin: 16px 0 10px;
    background: rgba(196, 146, 42, .06);
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

.client-mayor {
    font-size: .8rem;
    font-weight: 600;
    color: var(--n700);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--ease);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.info-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: var(--n050);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--n700);
    transition: var(--ease);
}

.info-card:hover .info-card-icon {
    background: var(--n700);
    color: var(--white);
}

.info-card h3 {
    font-size: 1.05rem;
    color: var(--n700);
    margin-bottom: 10px;
}

.info-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.info-card a {
    color: var(--n700);
    font-weight: 500;
}

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

.map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
    height: 380px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    color: var(--text-light);
    flex-direction: column;
    gap: 12px;
}

.map-wrap i {
    font-size: 3rem;
    color: var(--n300);
}

.map-wrap p {
    font-size: .9rem;
}

/* ============================================================
   RESPONSIVE – sub-pages
   ============================================================ */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .info-cards {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .client-card--featured {
        grid-row: span 1;
    }

    .info-banner {
        flex-direction: column;
        text-align: center;
    }
}

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

/* ═══════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════ */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.45rem;
    color: var(--navy);
    margin: 40px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

.legal-content h2:first-of-type {
    margin-top: 8px;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin: 24px 0 10px;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--navy);
}

.legal-updated {
    font-size: 0.88rem;
    color: var(--text-muted, #888);
    margin-bottom: 32px !important;
    font-style: italic;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 32px;
    font-size: 0.92rem;
}

.legal-table th {
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.legal-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-light);
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) td {
    background: var(--n050);
}

.legal-table code {
    background: var(--n100, #f0f4f8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: monospace;
}