/* =====================================================================
   Credo Industry — stilurile site-ului public
   Proprietățile logice (margin-inline, inset-inline...) fac ca araba (RTL)
   să funcționeze fără reguli separate.
   ===================================================================== */

:root {
    --navy-950: #060b16;
    --navy-900: #0b1424;
    --navy-850: #0e192d;
    --navy-800: #122039;
    --navy-700: #1b2c4b;
    --navy-600: #2a3f63;
    --steel-400: #8fa3bf;
    --steel-300: #b4c3d6;
    --sky-300: #bfdcf7;
    --sky-400: #a2c8ee;
    --sky-500: #74a7de;
    --yellow: #f2b705;
    --yellow-600: #d39d00;
    --paper: #eef1f5;
    --paper-2: #e3e8ef;
    --white: #ffffff;
    --ink: #13203a;
    --ink-2: #33415c;
    --muted: #64728a;
    --line: rgba(19, 32, 58, .12);
    --line-light: rgba(255, 255, 255, .12);

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 6px rgba(10, 20, 40, .06), 0 1px 2px rgba(10, 20, 40, .06);
    --shadow: 0 14px 34px -14px rgba(10, 22, 48, .28), 0 4px 10px -4px rgba(10, 22, 48, .12);
    --shadow-lg: 0 30px 60px -24px rgba(6, 14, 32, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 84px;
    --container: 1240px;

    /* textura fină de „beton” pentru secțiunile luminoase */
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.15 0 0 0 0 0.25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[dir="rtl"] { --font: "Cairo", "Manrope", system-ui, "Segoe UI", Tahoma, Arial, sans-serif; }

/* ---------------------------------------------------------------- bază */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--navy-900); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow, .narrow { max-width: 860px; margin-inline: auto; }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--yellow); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.7; }
.icon-sm { width: 1em; height: 1em; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }
.icon-up { transform: rotate(-90deg); }

/* ---------------------------------------------------------------- butoane */
.btn {
    --btn-bg: var(--navy-800);
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 48px; padding: .75em 1.5em;
    border-radius: 11px;
    font-weight: 700; font-size: 1rem; line-height: 1.1; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    position: relative; isolation: isolate;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon-flip { transform: scaleX(-1) translateX(3px); }
.btn-primary {
    color: var(--navy-900);
    background: linear-gradient(180deg, #cfe5fb 0%, var(--sky-400) 48%, var(--sky-500) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px -10px rgba(116, 167, 222, .9), 0 2px 4px rgba(6, 14, 32, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 16px 30px -10px rgba(116, 167, 222, 1), 0 3px 6px rgba(6, 14, 32, .25); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: #fff; background: rgba(8, 15, 30, .45); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.btn-dark { color: #fff; background: var(--navy-800); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .6em 1.15em; font-size: .95rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: .9em 1.8em; font-size: 1.06rem; border-radius: 12px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--navy-700); transition: gap .25s var(--ease), color .2s; }
.link-arrow:hover { gap: .75em; color: var(--sky-500); }
.link-arrow .icon { width: 1.1em; height: 1.1em; }
.link-sm { font-size: .93rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6em;
    font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--yellow-600); margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--yellow); }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }

.chip {
    display: inline-flex; align-items: center; padding: .3em .75em; border-radius: 999px;
    font-size: .76rem; font-weight: 700; background: rgba(8, 15, 30, .72); color: #fff; backdrop-filter: blur(6px);
}

.icon-badge {
    width: 52px; height: 52px; border-radius: 14px; flex: none;
    display: grid; place-items: center;
    color: var(--navy-800);
    background: linear-gradient(145deg, #fff6d6, #ffe8a0);
    box-shadow: inset 0 0 0 1px rgba(242, 183, 5, .35);
}
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.6; }

/* ---------------------------------------------------------------- antet */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 100; color: #fff; transition: transform .35s var(--ease); }
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(9, 17, 32, .9);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
    transition: opacity .35s;
}
.site-header.is-transparent::before { opacity: 0; }
.site-header.is-transparent.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.topbar { font-size: .84rem; color: var(--steel-300); border-bottom: 1px solid var(--line-light); transition: margin .35s var(--ease), opacity .3s; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-contacts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-contacts a, .topbar-hours { display: inline-flex; align-items: center; gap: .5em; transition: color .2s; }
.topbar-contacts a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--yellow); }
.site-header.is-scrolled .topbar { margin-top: -41px; opacity: 0; pointer-events: none; }

.navbar-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 50px; height: 42px; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: skewX(-6deg) translateX(2px); }
.brand-text { display: flex; flex-direction: column; line-height: .95; font-style: italic; direction: ltr; }
.brand-text b { font-size: 1.62rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
.brand-text i { font-size: .82rem; font-weight: 800; letter-spacing: .32em; color: var(--yellow); margin-top: 3px; }
.brand-img { max-height: 52px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    position: relative; display: block; padding: 10px 14px; border-radius: 8px;
    font-weight: 600; font-size: 1rem; color: rgba(255, 255, 255, .88); transition: color .2s, background .2s;
}
.main-nav a::after {
    content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s var(--ease);
}
[dir="rtl"] .main-nav a::after { --origin: right; }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: #fff; }

.navbar-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); }
.nav-toggle .icon { width: 24px; height: 24px; }

/* comutatorul de limbă */
.lang-switch { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: .45em; padding: 6px 8px; border-radius: 8px; font-weight: 700; color: #fff; transition: background .2s; }
.lang-current:hover { background: rgba(255, 255, 255, .08); }
.lang-current .icon { color: var(--steel-300); }
.lang-menu {
    position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; z-index: 5;
    list-style: none; margin: 0; padding: 6px; border-radius: 12px;
    background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
}
.lang-switch.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a.is-active { background: var(--navy-900); color: #fff; }
.lang-code { font-size: .72rem; font-weight: 800; width: 28px; padding: 2px 0; text-align: center; border-radius: 5px; background: var(--paper-2); color: var(--navy-700); }
.lang-menu a.is-active .lang-code { background: var(--yellow); color: var(--navy-900); }

/* meniul mobil */
.drawer { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 9, 18, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.drawer-panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 90vw);
    display: flex; flex-direction: column; gap: 22px; padding: 22px 24px 28px; overflow-y: auto;
    background: var(--navy-900) var(--noise-dark); color: #fff;
    transform: translateX(var(--drawer-x, 100%)); transition: transform .4s var(--ease);
}
[dir="rtl"] .drawer-panel { --drawer-x: -100%; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
    display: flex; align-items: center; justify-content: space-between; padding: 15px 4px;
    font-size: 1.22rem; font-weight: 700; border-bottom: 1px solid var(--line-light);
    opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .4s var(--ease), color .2s;
    transition-delay: calc(var(--i) * 40ms + 100ms);
}
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; }
.drawer-nav a.is-active, .drawer-nav a:hover { color: var(--yellow); }
.drawer-nav .icon { color: var(--steel-400); }
.drawer-contacts { display: grid; gap: 10px; color: var(--steel-300); }
.drawer-contacts a { display: inline-flex; gap: 10px; align-items: center; }
.drawer-contacts .icon { color: var(--yellow); }
.drawer-langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.drawer-langs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-light); font-weight: 600; font-size: .92rem; }
.drawer-langs a.is-active { background: var(--yellow); color: var(--navy-900); border-color: var(--yellow); }

/* ---------------------------------------------------------------- slider principal */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
/* Swiper (efect fade) se ocupă de suprapunerea și estomparea slide-urilor */
.hero-swiper { position: absolute; inset: 0; }
.hero-swiper .swiper-wrapper, .hero-slide { height: 100%; }
.hero-slide { position: relative; overflow: hidden; }
/* zoom lent pe fundal: e tranziție (nu animație), deci la plecare nu „sare” */
.hero-bg { --flip: 1; position: absolute; inset: -2%; background-size: cover; background-position: 72% 62%; transform: scale(1.1) scaleX(var(--flip)); transition: transform 9s cubic-bezier(.2, .6, .3, 1); will-change: transform; }
[dir="rtl"] .hero-bg { --flip: -1; }
.hero-slide.swiper-slide-active .hero-bg { transform: scale(1) scaleX(var(--flip)) translateX(-1.5%); }
.hero-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(var(--shade-dir, 90deg), rgba(6, 11, 22, .92) 0%, rgba(6, 11, 22, .72) 34%, rgba(6, 11, 22, .18) 70%, rgba(6, 11, 22, .05) 100%),
        linear-gradient(180deg, rgba(6, 11, 22, .55) 0%, transparent 26%, transparent 60%, rgba(6, 11, 22, .85) 100%);
}
[dir="rtl"] .hero-shade { --shade-dir: 270deg; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 210px; }
.hero-title {
    font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em;
    max-width: 14ch; margin: 0 0 1.4rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
[dir="rtl"] .hero-title { line-height: 1.3; letter-spacing: 0; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.34rem); max-width: 34rem; color: rgba(255, 255, 255, .88); margin-bottom: 2.2rem; }
.hero-sub strong { color: var(--sky-300); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slide .hero-title, .hero-slide .hero-sub, .hero-slide .hero-actions { opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .6s var(--ease); }
.hero-slide.swiper-slide-active .hero-title { opacity: 1; transform: none; transition: opacity .9s ease .35s, transform 1s var(--ease) .35s; }
.hero-slide.swiper-slide-active .hero-sub { opacity: 1; transform: none; transition: opacity .9s ease .5s, transform 1s var(--ease) .5s; }
.hero-slide.swiper-slide-active .hero-actions { opacity: 1; transform: none; transition: opacity .9s ease .65s, transform 1s var(--ease) .65s; }

.hero-controls { position: absolute; inset-inline: 0; bottom: 156px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 54px; height: 22px; display: grid; align-items: center; }
.hero-dot span { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(var(--p, 0)); transform-origin: var(--origin, left); }
[dir="rtl"] .hero-dot span::after { --origin: right; }
.hero-dot.is-active span { background: rgba(255, 255, 255, .45); }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: rgba(6, 11, 22, .35); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero-arrows button:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.hero-stats { position: relative; z-index: 3; margin-top: auto; background: linear-gradient(180deg, rgba(10, 18, 34, .55), rgba(10, 18, 34, .92)); border-top: 1px solid var(--line-light); backdrop-filter: blur(10px); }

/* ---------------------------------------------------------------- cifre */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stats-bar .stat { padding: 26px 18px; text-align: center; position: relative; }
.stats-bar .stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .25), transparent); }
.stat-value { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; display: flex; align-items: baseline; justify-content: center; gap: .1em; flex-wrap: wrap; direction: ltr; }
.stat-num { display: inline-grid; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat-num::before { content: attr(data-final); visibility: hidden; grid-area: 1 / 1; }
.stat-num > span { grid-area: 1 / 1; }
.stat-value small { font-size: .42em; font-weight: 700; color: var(--steel-300); margin-inline-start: .35em; letter-spacing: 0; }
.stat-label { margin-top: 8px; font-size: .98rem; color: var(--steel-300); font-weight: 600; }
.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats-grid .stat { padding: 20px; border-radius: var(--radius); background: var(--navy-900) var(--noise-dark); color: #fff; text-align: start; position: relative; overflow: hidden; }
.stats-grid .stat-value { justify-content: flex-start; font-size: clamp(1.4rem, 1.9vw, 1.7rem); padding-inline-end: 34px; }
[dir="rtl"] .stats-grid .stat-value { justify-content: flex-end; }
.stats-grid .stat-icon { position: absolute; inset-inline-end: 14px; top: 14px; color: var(--yellow); opacity: .9; }
.stats-grid .stat-icon .icon { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- secțiuni */
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.section-paper { background: var(--paper) var(--noise); }
.section-dark { background: var(--navy-900) var(--noise-dark); color: #fff; }
.section + .section-paper, .section-paper + .section:not(.section-dark):not(.section-paper) { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.section-head.is-center .section-text { margin-inline: auto; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--navy-800); }
.section-dark .section-title { color: #fff; }
.section-title.has-rule { padding-bottom: .55em; margin-bottom: .75em; position: relative; }
.section-title.has-rule::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: min(100%, 420px); height: 1px; background: linear-gradient(90deg, var(--navy-600), transparent); }
[dir="rtl"] .section-title.has-rule::after { background: linear-gradient(270deg, var(--navy-600), transparent); }
.section-text { max-width: 40rem; margin: .8em 0 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-text { color: var(--steel-300); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------------------------------------------------------------- despre (acasă) */
.about-teaser { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-text .prose { font-size: 1.08rem; margin-bottom: 1.8rem; }
.about-visual { position: relative; }
.about-visual img {
    width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    -webkit-mask-image: linear-gradient(var(--mask-dir, 90deg), transparent 0, #000 22%);
    mask-image: linear-gradient(var(--mask-dir, 90deg), transparent 0, #000 22%);
}
[dir="rtl"] .about-visual img { --mask-dir: 270deg; }
.about-badge {
    position: absolute; inset-inline-end: 24px; bottom: -22px;
    display: flex; align-items: center; gap: 14px; padding: 16px 22px;
    border-radius: var(--radius); background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg);
}
.about-badge b { font-size: 2rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.about-badge span { font-size: .9rem; max-width: 12ch; line-height: 1.3; color: var(--steel-300); font-weight: 600; }

/* ---------------------------------------------------------------- carduri */
.card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(19, 32, 58, .07);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-2); flex: 1; }
.card-body h3 { font-size: 1.22rem; color: var(--navy-800); }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card .link-arrow { position: relative; z-index: 1; margin-top: 4px; }

.service-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--yellow), var(--sky-500)); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .45s var(--ease); z-index: 2; }
[dir="rtl"] .service-card::before { --origin: right; }
.service-card:hover::before { transform: scaleX(1); }
.service-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.service-card .icon-badge { transition: transform .4s var(--ease), background .3s; }
.service-card:hover .icon-badge { transform: rotate(-6deg) scale(1.06); background: linear-gradient(145deg, var(--yellow), #ffd34d); }

.news-card time { display: inline-flex; align-items: center; gap: .45em; font-size: .86rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.news-card h3 { margin-bottom: 10px; }

/* proiecte */
.project-card { border-radius: var(--radius); overflow: hidden; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.is-hidden { display: none; }
.project-link { position: relative; display: block; height: 100%; }
.project-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 22, .1) 0%, transparent 25%, rgba(6, 11, 22, .55) 55%, rgba(6, 11, 22, .96) 100%); }
.project-media .chip { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; }
.project-body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 24px; z-index: 1; }
.project-body h3 { font-size: 1.18rem; margin-bottom: 8px; padding-inline-end: 42px; }
.project-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--steel-300); font-weight: 600; }
.project-meta span { display: inline-flex; align-items: center; gap: .4em; }
.project-meta .icon { color: var(--yellow); }
.project-go {
    position: absolute; inset-inline-end: 20px; bottom: 24px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: var(--sky-400); color: var(--navy-900);
    transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
}
.project-card:hover .project-go { transform: none; opacity: 1; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .94rem; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: all .25s var(--ease); }
.filter:hover { border-color: var(--navy-600); color: var(--navy-800); }
.filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------------------------------------------------------------- avantaje */
.features-section { overflow: hidden; }
.features-bg { position: absolute; inset: 0; background: url("../img/scene-night.svg") center 70% / cover; opacity: .16; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.features-section .container { position: relative; }
.features { gap: 18px; }
.feature {
    display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid var(--line-light); transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(242, 183, 5, .5); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.feature-icon { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(145deg, #ffd54d, var(--yellow)); box-shadow: 0 10px 22px -10px rgba(242, 183, 5, .8); }
.feature-icon .icon { width: 27px; height: 27px; stroke-width: 1.7; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--steel-300); font-size: .97rem; }

/* ---------------------------------------------------------------- parteneri */
.partners-section { background: #fff; overflow: hidden; }
.partners-slider { position: relative; }
.partners-slider .swiper { padding: 8px 4px 12px; }
.partners-slider .swiper-slide { height: auto; }
.partner-card {
    height: 100%; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 24px 18px; border-radius: var(--radius); text-align: center;
    background: var(--paper) var(--noise); border: 1px solid var(--line);
    font-weight: 700; color: var(--navy-700); line-height: 1.3;
    user-select: none;
}
.partner-card img { max-height: 56px; max-width: 80%; width: auto; pointer-events: none; }
.partner-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(145deg, #fff6d6, #ffe8a0); }
.partner-icon .icon { width: 26px; height: 26px; }
.partner-name { font-size: .98rem; }
.partners-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.partners-pagination .swiper-pagination-bullet { cursor: default; width: 8px; height: 8px; margin: 0 !important; background: var(--navy-600); opacity: .25; transition: width .3s var(--ease), opacity .3s, background .3s; border-radius: 8px; }
.partners-pagination .swiper-pagination-bullet-active { width: 26px; opacity: 1; background: var(--yellow); }

/* ---------------------------------------------------------------- bandă ofertă */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, var(--navy-800), var(--navy-900) 55%, #0c1a33) ; padding-block: clamp(48px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--noise-dark); }
.cta-band::after { content: ""; position: absolute; inset-inline-end: -8%; top: -60%; width: 46%; height: 220%; background: repeating-linear-gradient(115deg, rgba(242, 183, 5, .08) 0 14px, transparent 14px 40px); transform: skewX(-12deg); }
.cta-glow { position: absolute; inset-inline-start: 10%; top: -50%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 167, 222, .28), transparent 65%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .35em; }
.cta-inner p { margin: 0; color: var(--steel-300); max-width: 38rem; font-size: 1.06rem; }
.cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; flex: none; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; }
.cta-phone > .icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); color: var(--yellow); }
.cta-phone small { display: block; font-size: .8rem; color: var(--steel-400); font-weight: 600; }
.cta-phone b { font-size: 1.15rem; }

/* ---------------------------------------------------------------- subsol */
.site-footer { position: relative; background: var(--navy-950) var(--noise-dark); color: var(--steel-300); padding-top: 76px; }
.footer-road { position: absolute; inset-inline: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 80px); opacity: .85; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin: 20px 0; max-width: 22rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--yellow); margin-top: .2em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--yellow); color: var(--navy-900); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--line-light); font-size: .9rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); color: #fff; transition: background .2s; }
.to-top:hover { background: var(--yellow); color: var(--navy-900); }

/* ---------------------------------------------------------------- bannerul paginilor interioare */
.page-hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 65%; transform: scale(1.06); animation: heroIn 1.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 22, .75) 0%, rgba(6, 11, 22, .45) 45%, rgba(6, 11, 22, .92) 100%), linear-gradient(var(--shade-dir, 90deg), rgba(6, 11, 22, .7), transparent 70%); }
[dir="rtl"] .page-hero-shade { --shade-dir: 270deg; }
.page-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 80px); padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--steel-300); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--yellow); }
.crumb-sep { opacity: .5; }
.page-hero-title { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 20ch; }
.page-hero-sub { margin: 16px 0 0; max-width: 42rem; font-size: 1.15rem; color: rgba(255, 255, 255, .85); }
.page-hero-meta { margin-top: 18px; display: flex; gap: 16px; color: var(--steel-300); font-weight: 600; }
.page-hero-meta time { display: inline-flex; align-items: center; gap: .5em; }

/* ---------------------------------------------------------------- text formatat (din editor) */
.prose { color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--navy-800); margin: 1.6em 0 .6em; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.65rem; }
.prose h3 { font-size: 1.3rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--sky-500); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 0; margin: 0 0 1.2em; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-inline-start: 34px; margin-bottom: .6em; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .35em; width: 18px; height: 18px; border-radius: 6px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1424' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; inset-inline-start: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-inline-start: 4px solid var(--yellow); background: #fff; border-radius: var(--radius-sm); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: end; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-inline-start: 3em; }
.prose .ql-indent-2 { padding-inline-start: 6em; }
.prose-lg { font-size: 1.08rem; }
.intro-prose { margin-bottom: 44px; text-align: center; font-size: 1.1rem; }

/* ---------------------------------------------------------------- despre (pagina) */
.about-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.aside-title { font-size: 1.45rem; color: var(--navy-800); margin-bottom: 20px; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--navy-600) 6%, var(--navy-600) 94%, transparent); transform: translateX(-50%); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 34px; }
.timeline-year {
    position: absolute; inset-inline-start: 50%; top: 14px; transform: translateX(-50%); z-index: 1;
    padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--navy-900); font-weight: 800; font-size: .95rem; box-shadow: 0 0 0 6px #fff;
}
[dir="rtl"] .timeline-year, [dir="rtl"] .timeline::before { transform: translateX(50%); }
.timeline-card { grid-column: 1; padding: 22px 26px; margin-top: 52px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.timeline-item:nth-child(even) .timeline-card { grid-column: 2; }
.timeline-card h3 { font-size: 1.15rem; color: var(--navy-800); margin-bottom: 6px; }
.timeline-card p { margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- pagini de detaliu */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.detail-main { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm); border: 1px solid rgba(19, 32, 58, .06); }
.detail-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; margin-bottom: 24px; color: var(--navy-900); background: linear-gradient(145deg, #ffd54d, var(--yellow)); box-shadow: 0 12px 26px -12px rgba(242, 183, 5, .9); }
.detail-icon .icon { width: 34px; height: 34px; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(19, 32, 58, .06); }
.aside-card h3 { font-size: 1.12rem; color: var(--navy-800); margin-bottom: 14px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .96rem; color: var(--ink-2); transition: background .2s, color .2s; }
.aside-links a .icon { color: var(--yellow-600); }
.aside-links a:hover { background: var(--paper); color: var(--navy-800); }
.aside-links a.is-active { background: var(--navy-900); color: #fff; }
.aside-links a.is-active .icon { color: var(--yellow); }
.aside-cta { background: var(--navy-900) var(--noise-dark); color: #fff; }
.aside-cta h3 { color: #fff; }
.aside-cta p { color: var(--steel-300); font-size: .96rem; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 1.08rem; }
.aside-phone .icon { color: var(--yellow); }
.facts dl { margin: 0; display: grid; gap: 4px; }
.fact { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
[dir="rtl"] .fact dt { letter-spacing: 0; }
.fact dt .icon { color: var(--yellow-600); }
.fact dd { margin: 0; font-weight: 700; color: var(--navy-800); font-size: 1.04rem; }

.gallery-title { font-size: 1.4rem; color: var(--navy-800); margin: 40px 0 18px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery-item { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 11, 22, .45); color: #fff; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(4, 8, 16, .92); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox [data-lb-close] { top: 20px; inset-inline-end: 20px; }
.lightbox [data-lb-prev] { inset-inline-start: 20px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb-next] { inset-inline-end: 20px; top: 50%; transform: translateY(-50%); }

.article { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-sm); border: 1px solid rgba(19, 32, 58, .06); }
.article-lead { font-size: 1.22rem; font-weight: 600; color: var(--navy-700); padding-bottom: 1.2em; margin-bottom: 1.4em; border-bottom: 1px solid var(--line); }
.back-link { margin-top: 32px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 46px; height: 46px; padding-inline: 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; transition: all .2s; }
.pagination a:hover { border-color: var(--navy-600); }
.pagination a.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.empty-state { text-align: center; color: var(--muted); font-size: 1.1rem; padding: 40px 0; }

/* ---------------------------------------------------------------- contacte */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(19, 32, 58, .07); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
[dir="rtl"] .contact-card:hover { transform: translateX(-4px); }
.contact-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
[dir="rtl"] .contact-card h3 { letter-spacing: 0; font-size: .92rem; }
.contact-card p { margin: 0 0 4px; font-weight: 700; color: var(--navy-800); font-size: 1.05rem; }
.contact-card p a:hover { color: var(--sky-500); }
.contact-card small { font-weight: 600; color: var(--muted); font-size: .85rem; margin-inline-start: 6px; }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.messenger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: #fff; background: var(--navy-800); }
.messenger-whatsapp { background: #1f9d55; }
.messenger-viber { background: #6f4dbd; }
.messenger-telegram { background: #2a8bd6; }

.form-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border-top: 5px solid var(--yellow); }
.form-card h2 { font-size: 1.8rem; color: var(--navy-800); margin-bottom: 10px; }
.form-intro { color: var(--muted); margin-bottom: 26px; }
.contact-form { display: grid; gap: 18px; }
.contact-form.is-hidden { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span:first-child { font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.field em { color: #d0461f; font-style: normal; }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; color: var(--ink); background: var(--paper);
    border: 1.5px solid transparent; border-radius: 11px; padding: 13px 15px; min-height: 50px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover, .field select:hover { background: #e8edf3; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; background: #fff; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(116, 167, 222, .22); }
.field.has-error input, .field.has-error textarea { border-color: #d0461f; background: #fff6f3; }
.field-error { color: #c23d17; font-weight: 600; font-size: .85rem; }
.field-error:empty { display: none; }
.select { position: relative; display: block; }
.select select { appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select .icon { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; color: var(--muted); max-width: 22rem; }
.form-note .icon { color: #1f9d55; }
.form-alert { display: none; padding: 12px 16px; border-radius: 10px; background: #fff1ec; color: #a33512; font-weight: 600; border: 1px solid #ffd2c2; }
.form-alert.is-visible { display: block; }
.contact-form button[disabled] { opacity: .75; pointer-events: none; }
.contact-form button.is-loading .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding: 32px 10px; }
.form-success.is-visible { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.success-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e6f7ee; color: #1f9d55; }
.success-icon .icon { width: 38px; height: 38px; stroke-width: 2.4; }
.form-success h3 { font-size: 1.6rem; color: var(--navy-800); margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-section { position: relative; background: var(--navy-900); }
.map-frame { height: 480px; filter: grayscale(.25) contrast(1.05); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card-wrap { position: absolute; inset-inline: 0; bottom: 40px; display: flex; justify-content: flex-end; pointer-events: none; }
.map-card { pointer-events: auto; display: inline-flex; gap: 16px; align-items: flex-start; max-width: 360px; padding: 20px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.map-card b { display: block; font-size: 1.08rem; color: var(--navy-800); margin-bottom: 4px; }
.map-card p { margin: 0 0 8px; color: var(--ink-2); font-size: .94rem; }

.legal-section { background: var(--paper) var(--noise); padding-block: 64px; }
.legal-card { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px dashed rgba(19, 32, 58, .2); }
.legal-card h2 { font-size: 1.3rem; color: var(--navy-800); margin-bottom: 18px; }
.legal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; margin: 0; }
.legal-list dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.legal-list > div:first-child dt { font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--navy-800); font-weight: 800; }
.legal-list dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); direction: ltr; text-align: start; }

/* ---------------------------------------------------------------- 404 */
.not-found { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; background: var(--navy-900); overflow: hidden; }
.not-found-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.not-found-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(6, 11, 22, .55), rgba(6, 11, 22, .92)); }
.not-found-inner { position: relative; padding-top: var(--header-h); }
.not-found-code { display: flex; align-items: center; justify-content: center; gap: .1em; font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; color: #fff; direction: ltr; }
.not-found-code span { display: grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--yellow); color: var(--navy-900); }
.not-found-code .icon { width: .55em; height: .55em; stroke-width: 1.8; }
.not-found h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 18px 0 12px; }
.not-found p { color: var(--steel-300); font-size: 1.1rem; margin-bottom: 28px; }

/* ---------------------------------------------------------------- animații la derulare */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }


/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
    .main-nav a { padding-inline: 10px; font-size: .96rem; }
    .main-nav a::after { inset-inline: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1020px) {
    :root { --header-h: 74px; }
    .main-nav, .topbar { display: none; }
    .nav-toggle { display: grid; }
    .navbar-actions { margin-inline-start: auto; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .about-page, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
    .about-aside, .detail-aside { position: static; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .hero-content { padding-bottom: 260px; }
    .hero-controls { bottom: 200px; }
}

@media (max-width: 720px) {
    body { font-size: 15.5px; }
    .container { padding-inline: 18px; }
    .navbar-cta { display: none; }
    .brand-mark { width: 42px; height: 36px; }
    .brand-text b { font-size: 1.36rem; }
    .brand-text i { font-size: .7rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero { min-height: max(640px, 100svh); }
    .hero-content { padding-bottom: 300px; }
    .hero-controls { bottom: 252px; }
    .hero-arrows { display: none; }
    .hero-actions .btn { flex: 1 1 auto; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stats-bar .stat { padding: 18px 10px; }
    .stats-bar .stat:nth-child(3)::before { display: none; }
    .stats-bar .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
    .section-head { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column-reverse; justify-content: center; padding-block: 18px; text-align: center; }
    .page-hero { min-height: 400px; }
    .timeline::before { inset-inline-start: 18px; transform: none; }
    .timeline-item { grid-template-columns: 1fr; gap: 0; padding-inline-start: 44px; }
    .timeline-year { inset-inline-start: 0; transform: none; }
    [dir="rtl"] .timeline-year, [dir="rtl"] .timeline::before { transform: none; }
    .timeline-card, .timeline-item:nth-child(even) .timeline-card { grid-column: 1; margin-top: 50px; }
    .map-frame { height: 380px; }
    .map-card-wrap { position: static; display: block; padding-block: 16px; }
    .map-card { max-width: none; width: 100%; }
    .about-badge { inset-inline-end: 12px; bottom: -18px; padding: 12px 16px; }
    .stats-grid .stat-icon { position: static; display: block; margin-bottom: 10px; }
    .stats-grid .stat-value { padding-inline-end: 0; }
}
