/* B&D ENERGY – stiluri peste Bootstrap 5.3. Culorile vin din logo: albastru #003193 și galben #ffd100. */

:root {
  --bd-blue: #003193;
  --bd-blue-dark: #00266f;
  --bd-blue-deep: #00153f;
  --bd-blue-soft: #e9effb;
  --bd-yellow: #ffd100;
  --bd-yellow-dark: #e8bc00;
  --bd-ink: #0b1b3a;
  --bd-text: #36445f;
  --bd-muted: #64748b;
  --bd-line: #dde5f3;
  --bd-bg: #f4f7fc;
  --bd-radius: 16px;
  --bd-radius-sm: 10px;
  --bd-shadow: 0 1px 2px rgba(0, 21, 63, .05), 0 8px 24px rgba(0, 21, 63, .08);
  --bd-shadow-lg: 0 2px 4px rgba(0, 21, 63, .06), 0 18px 48px rgba(0, 21, 63, .16);
  --bd-header-h: 80px;

  --bs-primary: #003193;
  --bs-primary-rgb: 0, 49, 147;
  --bs-body-font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.7;
  --bs-body-color: var(--bd-text);
  --bs-heading-color: var(--bd-ink);
  --bs-link-color: var(--bd-blue);
  --bs-link-color-rgb: 0, 49, 147;
  --bs-link-hover-color: var(--bd-blue-dark);
  --bs-link-hover-color-rgb: 0, 38, 111;
  --bs-border-color: var(--bd-line);
  --bs-border-radius: var(--bd-radius-sm);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bd-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--bd-ink); }
a { text-underline-offset: .2em; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--bd-yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--bd-blue); border-radius: 4px; }

.icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 2000;
  background: var(--bd-yellow); color: var(--bd-ink); font-weight: 700; padding: 10px 18px; border-radius: 0 0 var(--bd-radius-sm) var(--bd-radius-sm);
}
.skip-link:focus { top: 0; }

/* ---------- Butoane ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .65rem 1.5rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  --bs-btn-color: #fff; --bs-btn-bg: var(--bd-blue); --bs-btn-border-color: var(--bd-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--bd-blue-dark); --bs-btn-hover-border-color: var(--bd-blue-dark);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--bd-blue-deep); --bs-btn-active-border-color: var(--bd-blue-deep);
  --bs-btn-focus-shadow-rgb: 0, 49, 147;
}
.btn-outline-primary {
  --bs-btn-color: var(--bd-blue); --bs-btn-border-color: var(--bd-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--bd-blue); --bs-btn-hover-border-color: var(--bd-blue);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--bd-blue-dark); --bs-btn-active-border-color: var(--bd-blue-dark);
  --bs-btn-focus-shadow-rgb: 0, 49, 147;
}
.btn-accent {
  --bs-btn-color: var(--bd-ink); --bs-btn-bg: var(--bd-yellow); --bs-btn-border-color: var(--bd-yellow);
  --bs-btn-hover-color: var(--bd-ink); --bs-btn-hover-bg: #ffe04d; --bs-btn-hover-border-color: #ffe04d;
  --bs-btn-active-color: var(--bd-ink); --bs-btn-active-bg: var(--bd-yellow-dark); --bs-btn-active-border-color: var(--bd-yellow-dark);
  --bs-btn-focus-shadow-rgb: 255, 209, 0;
  box-shadow: 0 6px 18px rgba(255, 209, 0, .28);
}
.btn-outline-light { --bs-btn-hover-color: var(--bd-blue); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; font-size: .9em; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Bara de sus ---------- */
.topbar { position: relative; z-index: 1040; background: var(--bd-blue-deep); color: #c9d5f0; font-size: .875rem; } /* peste antetul lipicios: meniul de limbă se deschide deasupra lui */
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar__contact a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__contact a:hover { color: var(--bd-yellow); }
.topbar .icon { color: var(--bd-yellow); font-size: .85em; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; letter-spacing: .04em; padding: 6px 4px; cursor: pointer; transition: color .2s; }
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { color: var(--bd-yellow); }
.lang-toggle::after { border-top-width: .35em; border-right-width: .3em; border-left-width: .3em; margin-left: 0; }
.lang-dropdown .dropdown-menu { right: 0; left: auto; min-width: 9.5rem; } /* aliniat la dreapta și când se deschide doar prin hover (înainte să-l poziționeze Bootstrap) */
@media (max-width: 575.98px) { .topbar__contact li:last-child { display: none; } .topbar__contact { gap: 0; } }

/* ---------- Antet și meniu ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--bd-line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 21, 63, .1); }
.site-header .navbar { min-height: var(--bd-header-h); padding: 0; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--bd-blue); padding: 8px 0; }
.brand__mark { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 49, 147, .28); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; color: var(--bd-blue); }
.brand__tagline { font-size: .75rem; color: var(--bd-muted); font-weight: 500; margin-top: 2px; }
.brand:hover .brand__name { color: var(--bd-blue-dark); }
@media (max-width: 399.98px) { .brand__tagline { display: none; } }

.navbar-toggler { border: 1.5px solid var(--bd-line); border-radius: 12px; padding: .5rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 4px rgba(0, 49, 147, .15); }
.navbar-nav { --bs-nav-link-padding-x: 1rem; --bs-nav-link-padding-y: .5rem; gap: 2px; }
.navbar .nav-link { color: var(--bd-ink); font-weight: 600; font-size: .98rem; border-radius: 10px; position: relative; transition: color .2s, background-color .2s; }
.navbar .nav-link:hover, .navbar .nav-link:focus-visible { color: var(--bd-blue); background: var(--bd-blue-soft); }
.navbar .nav-link.active { color: var(--bd-blue); }
@media (min-width: 992px) {
  .navbar .nav-link.active::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--bd-yellow); }
  .navbar .dropdown-toggle.active::after { position: static; }
  /* Punte invizibilă peste spațiul dintre titlu și meniu: cursorul poate trece de la titlu la elemente fără ca meniul să se închidă */
  .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
}
@media (min-width: 992px) and (hover: hover) {
  .dropdown:hover > .dropdown-menu { display: block; }
}
.navbar .dropdown-toggle { background: none; border: 0; }
.navbar .dropdown-toggle::after { border-top-width: .35em; border-right-width: .3em; border-left-width: .3em; vertical-align: .15em; margin-left: .5em; }
.dropdown-menu { --bs-dropdown-spacer: 6px; border: 1px solid var(--bd-line); border-radius: 14px; padding: 8px; box-shadow: var(--bd-shadow-lg); margin-top: 6px; min-width: 240px; }
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 600; font-size: .95rem; color: var(--bd-ink); white-space: normal; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--bd-blue-soft); color: var(--bd-blue); }
.dropdown-item.active { background: var(--bd-blue); color: #fff; }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 8px 0 20px; border-top: 1px solid var(--bd-line); }
  .navbar-nav { gap: 0; }
  .navbar .nav-link { padding: .75rem 1rem; }
  .navbar .nav-link.active { background: var(--bd-blue-soft); }
  .navbar .dropdown-toggle { width: 100%; text-align: left; }
  .navbar .dropdown-menu { box-shadow: none; border: 0; background: var(--bd-bg); margin: 0 0 6px; }
}

/* ---------- Prima pagină: hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--bd-blue-deep); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 85% 110%, rgba(255, 209, 0, .22), transparent 55%),
  linear-gradient(100deg, rgba(0, 21, 63, .96) 0%, rgba(0, 38, 111, .88) 45%, rgba(0, 49, 147, .5) 100%); }
.hero::after { content: ''; position: absolute; right: -6%; bottom: -22%; width: min(56vw, 640px); aspect-ratio: 1; z-index: -1; background: url('../img/globe.svg') center / contain no-repeat; opacity: .12; }
.hero__inner { padding-top: clamp(72px, 12vw, 140px); padding-bottom: clamp(120px, 14vw, 170px); }
.hero__content { max-width: 680px; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 1.25rem; }
.hero__title::before { content: ''; display: block; width: 64px; height: 6px; border-radius: 6px; background: var(--bd-yellow); margin-bottom: 1.5rem; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #d7e1f7; max-width: 52ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.info-strip { position: relative; z-index: 2; margin-top: -64px; }
.info-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.info-card { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--bd-radius); padding: 22px 26px; box-shadow: var(--bd-shadow-lg); border-bottom: 4px solid var(--bd-yellow); }
.info-card__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; background: var(--bd-blue); color: var(--bd-yellow); border-radius: 14px; font-size: 1.35rem; }
.info-card__body { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.info-card__body strong { color: var(--bd-ink); font-size: 1.05rem; font-weight: 800; }
.info-card__body span { color: var(--bd-muted); font-size: .95rem; text-wrap: balance; }
@media (min-width: 992px) and (max-width: 1199.98px) { .info-card { padding: 20px 18px; gap: 14px; } .info-card__icon { width: 46px; height: 46px; font-size: 1.15rem; } }
@media (max-width: 991.98px) { .info-cards { grid-template-columns: 1fr; gap: 14px; } .info-strip { margin-top: -48px; } .hero__inner { padding-bottom: 100px; } }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--bd-bg); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1rem; }
.section-head h2::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--bd-yellow); margin: 1rem auto 0; }
.section-head p { color: var(--bd-muted); font-size: 1.1rem; margin: 0; }
.lead { font-size: 1.2rem; font-weight: 500; color: var(--bd-ink); line-height: 1.65; }
.media-img { width: 100%; height: auto; border-radius: var(--bd-radius); box-shadow: var(--bd-shadow-lg); }

.feature-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 40px 32px 36px; text-align: center; box-shadow: var(--bd-shadow); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--bd-blue), var(--bd-yellow)); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--bd-shadow-lg); }
.feature-card__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 22px; background: var(--bd-blue-soft); color: var(--bd-blue); font-size: 1.9rem; transition: background-color .25s, color .25s; }
.feature-card:hover .feature-card__icon { background: var(--bd-blue); color: var(--bd-yellow); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.feature-card p { color: var(--bd-muted); margin-bottom: 1.5rem; }

/* ---------- Antetul paginilor interioare ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: linear-gradient(115deg, var(--bd-blue-deep), var(--bd-blue) 100%); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); }
.page-hero::after { content: ''; position: absolute; right: -4%; top: 50%; width: min(42vw, 420px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; background: url('../img/globe.svg') center / contain no-repeat; opacity: .11; }
.page-hero--image { background: var(--bd-blue-deep); padding: clamp(64px, 10vw, 120px) 0 clamp(44px, 6vw, 72px); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 21, 63, .92), rgba(0, 49, 147, .55)); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.02em; margin: 0; max-width: 24ch; }
.page-hero h1::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--bd-yellow); margin-top: 1.1rem; }
.page-hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #d7e1f7; max-width: 62ch; margin: 1.4rem 0 0; }
.crumbs { margin-bottom: 1.1rem; font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { color: #aebde0; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--bd-yellow); text-decoration: underline; }
.crumbs [aria-current] { color: var(--bd-yellow); }

/* ---------- Text ---------- */
.prose { max-width: 76ch; margin-inline: auto; }
.prose p { margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--bd-line); }
.prose.text-center { max-width: none; }
.legal ul { margin: 0 0 1.25rem; padding-left: 1.3rem; display: grid; gap: .55rem; }
.legal h2 { font-size: 1.3rem; }
.legal__updated { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--bd-line); font-size: .9rem; color: var(--bd-muted); }
.callout { background: var(--bd-blue-soft); border-left: 5px solid var(--bd-yellow); border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0; padding: 1.1rem 1.4rem; font-weight: 600; }
.callout a { text-decoration: none; }
.callout a:hover { text-decoration: underline; }

.check-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; }
.check-list .icon { color: var(--bd-blue); font-size: 1.15em; margin-top: .22em; }

/* ---------- Licențe ---------- */
.license { margin: 0; text-align: center; }
.license__preview { display: block; border-radius: var(--bd-radius); overflow: hidden; box-shadow: var(--bd-shadow-lg); border: 1px solid var(--bd-line); background: #fff; transition: transform .25s; }
.license__preview:hover { transform: translateY(-4px); }
.license img { display: block; width: 100%; height: auto; }
.license figcaption { margin-top: 1.1rem; font-weight: 700; }
.license figcaption a { text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.license figcaption .icon { color: #c0392b; font-size: 1.1em; }
.license__type { color: var(--bd-muted); font-weight: 500; font-size: .9em; }

/* ---------- Activitate ---------- */
.market { background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); box-shadow: var(--bd-shadow); margin-bottom: 28px; overflow: hidden; }
.market__head { display: flex; align-items: center; gap: 16px; padding: 20px 30px; background: var(--bd-blue-soft); border-bottom: 1px solid var(--bd-line); }
.market__head h2 { font-size: 1.3rem; margin: 0; }
.market__head h2 a { color: var(--bd-ink); text-decoration: none; }
.market__head h2 a:hover { color: var(--bd-blue); }
.market__abbr { flex: none; background: var(--bd-blue); color: var(--bd-yellow); font-weight: 800; letter-spacing: .06em; font-size: .85rem; padding: .35rem .9rem; border-radius: 999px; }
.market__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding: 30px; }
.market__text { flex: 1 1 320px; min-width: 0; }
.market__text .btn { margin-top: .5rem; }
.market__sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bd-blue); margin-bottom: 1rem; }
.market__logo { flex: none; width: 150px; height: auto; border: 1px solid var(--bd-line); border-radius: 14px; }

/* ---------- Obiective ---------- */
.objective { height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); overflow: hidden; box-shadow: var(--bd-shadow); transition: transform .25s, box-shadow .25s; }
.objective:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-lg); }
.objective__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.objective__body { padding: 28px 30px 20px; }
.objective__body h2 { font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Energie verde ---------- */
.partnership { height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 40px; box-shadow: var(--bd-shadow); }
.partnership__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--bd-blue); color: var(--bd-yellow); font-size: 1.7rem; margin-bottom: 1.5rem; }
.partnership h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.note { background: var(--bd-blue-soft); border-radius: var(--bd-radius-sm); padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.note strong { color: var(--bd-blue); display: block; margin-bottom: .35rem; }
.note p { margin: 0; }

/* ---------- Operarea parcurilor ---------- */
.services-card { background: linear-gradient(150deg, var(--bd-blue-deep), var(--bd-blue)); color: #dbe5fa; border-radius: var(--bd-radius); padding: 34px; box-shadow: var(--bd-shadow-lg); }
.services-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 1.4rem; }
.services-card .check-list { margin: 0; }
.services-card .check-list .icon { color: var(--bd-yellow); }

/* ---------- Parteneri ---------- */
.partner { display: flex; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--bd-shadow); transition: box-shadow .25s; }
.partner:hover { box-shadow: var(--bd-shadow-lg); }
.partner__logo { flex: none; width: 220px; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid var(--bd-line); border-radius: 14px; padding: 16px; }
.partner__logo img { max-width: 100%; max-height: 116px; width: auto; height: auto; object-fit: contain; } /* 150px caseta - 2 x 16px padding - 2px bordura */
.partner__body { min-width: 0; }
.partner__body h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.partner__body h2 a { color: var(--bd-ink); text-decoration: none; }
.partner__body h2 a:hover { color: var(--bd-blue); }
.partner__body p { margin: 0; color: var(--bd-text); }
@media (max-width: 767.98px) { .partner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px; } .partner__logo { width: 100%; height: 130px; } .partner__logo img { max-height: 96px; } }

/* ---------- Contact ---------- */
.contact-card, .form-card { background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); box-shadow: var(--bd-shadow); overflow: hidden; height: 100%; }
.contact-card__img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top center; }
.contact-card__body, .form-card { padding: 32px; }
.contact-card__body { padding-top: 28px; }
.contact-card h2, .form-card h2 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list > li > .icon { flex: none; box-sizing: content-box; width: 1.15rem; height: 1.15rem; padding: .8rem; border-radius: 14px; background: var(--bd-blue-soft); color: var(--bd-blue); }
.contact-list strong { display: block; color: var(--bd-ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .1rem; }
.contact-list a { color: var(--bd-text); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--bd-blue); text-decoration: underline; }

.form-label { font-weight: 700; font-size: .92rem; color: var(--bd-ink); margin-bottom: .4rem; }
.req { color: #c2410c; }
.form-control { border: 1.5px solid var(--bd-line); border-radius: 12px; padding: .75rem 1rem; background: #fbfcff; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-control:focus { border-color: var(--bd-blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 49, 147, .12); }
textarea.form-control { resize: vertical; min-height: 150px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-check { padding-left: 1.9rem; margin: .4rem 0 0; }
.form-check-input { width: 1.2rem; height: 1.2rem; margin: .22rem 0 0 -1.9rem; border: 1.5px solid #8fa1cb; cursor: pointer; }
.form-check-input:checked { background-color: var(--bd-blue); border-color: var(--bd-blue); }
.form-check-input:focus { border-color: var(--bd-blue); box-shadow: 0 0 0 4px rgba(0, 49, 147, .15); }
.form-check-label { font-size: .93rem; line-height: 1.55; color: var(--bd-text); cursor: pointer; }
.form-check-label a { font-weight: 700; }
.alert { border-radius: 12px; }

/* ---------- Ferestre modale (previzualizare PDF, avertizare link extern) ---------- */
.modal { --bs-modal-border-radius: var(--bd-radius); --bs-modal-header-padding-x: 20px; --bs-modal-header-padding-y: 14px; --bs-modal-header-padding: 14px 20px; }
.modal-backdrop { --bs-backdrop-bg: var(--bd-blue-deep); --bs-backdrop-opacity: .65; }
.modal-content { border: 0; border-radius: var(--bd-radius); box-shadow: var(--bd-shadow-lg); overflow: hidden; }
.modal-header { align-items: center; gap: 12px; border-bottom: 1px solid var(--bd-line); }
.modal-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.3; } /* butoanele din header rămân în dreapta; „X” la capăt */
.modal-footer { gap: 10px; padding: 16px 20px; border-top: 1px solid var(--bd-line); }
.pdf-frame { display: block; width: 100%; height: min(78vh, 900px); border: 0; background: var(--bd-bg); }
.pdf-unavailable { margin: 0; padding: 40px 24px; text-align: center; color: var(--bd-muted); }
.external-url { margin: 0; padding: .8rem 1rem; background: var(--bd-blue-soft); border-radius: var(--bd-radius-sm); color: var(--bd-ink); font-size: .92rem; font-weight: 600; word-break: break-all; }
@media (min-width: 768px) { #pdf-modal .modal-dialog { max-width: min(1140px, calc(100vw - 3rem)); } } /* previzualizare lată și pe tablete */
@media (max-width: 767.98px) { .pdf-frame { height: calc(100vh - 66px); height: calc(100dvh - 66px); } }

/* ---------- 404 ---------- */
.not-found { padding: clamp(72px, 12vw, 140px) 0; }
.not-found__code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin: 0; color: var(--bd-blue); letter-spacing: -.04em; text-shadow: 6px 6px 0 var(--bd-yellow); }
.not-found h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1.5rem 0 .75rem; }
.not-found .lead { margin-bottom: 2rem; }

/* ---------- Subsol ---------- */
.site-footer { background: var(--bd-blue-deep); color: #b9c7e6; }
.site-footer__top { padding: clamp(48px, 6vw, 72px) 0 32px; }
.site-footer .brand__name, .site-footer .brand:hover .brand__name { color: #fff; } /* sigla din subsol nu se schimbă la hover */
.site-footer .brand__tagline { color: #9fb0d6; }
.site-footer a { color: #d3ddf3; text-decoration: none; transition: color .2s; }
.site-footer a:not(.brand):hover { color: var(--bd-yellow); text-decoration: underline; }
.site-footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #fff; margin-bottom: 1.2rem; padding-bottom: .8rem; position: relative; }
.site-footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--bd-yellow); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .96rem; }
.site-footer__list--contact li { display: flex; gap: .7rem; align-items: center; }
.site-footer__list--contact .icon, .site-footer__list--docs .icon { color: var(--bd-yellow); font-size: .9em; flex: none; }
.site-footer__list--docs li { display: flex; gap: .7rem; align-items: flex-start; }
.site-footer__list--docs .icon { margin-top: .3em; }
.site-footer__address { font-style: normal; font-size: .96rem; margin-bottom: 1rem; line-height: 1.6; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .875rem; color: #8fa1cb; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; }

/* ---------- Media (presă și resurse de brand) ---------- */
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 1.8rem; }
.page-hero__note { color: #aebde0; font-size: .875rem; }
.media-nav { margin-top: 1.8rem; }
.media-nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.media-nav a { display: inline-block; padding: .4rem 1rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.media-nav a:hover, .media-nav a:focus-visible { background: var(--bd-yellow); border-color: var(--bd-yellow); color: var(--bd-ink); }
.subhead { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; margin: 3rem 0 1.2rem; }
.subhead--do .icon { color: #16a34a; }
.subhead--dont .icon { color: #dc2626; }

.copy-block { background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 26px 28px; box-shadow: var(--bd-shadow); margin-bottom: 20px; }
.copy-block__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bd-blue); margin-bottom: .7rem; }
.copy-block p { margin-bottom: 1rem; }
.copy-block .btn { margin-top: .2rem; }
.copy-block .btn.is-copied { background: var(--bd-yellow); border-color: var(--bd-yellow); color: var(--bd-ink); }
.facts-card { background: linear-gradient(150deg, var(--bd-blue-deep), var(--bd-blue)); color: #dbe5fa; border-radius: var(--bd-radius); padding: 30px; box-shadow: var(--bd-shadow-lg); }
.facts-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1.3rem; }
.facts { margin: 0; display: grid; gap: 1.05rem; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--bd-yellow); margin-bottom: .15rem; }
.facts dd { margin: 0; font-size: .96rem; line-height: 1.55; }
.facts a { color: #fff; }

.media-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); overflow: hidden; box-shadow: var(--bd-shadow); }
.media-card__preview { display: grid; place-items: center; height: 220px; padding: 26px; border-bottom: 1px solid var(--bd-line); }
.media-card__preview--light { background: #fff; }
.media-card__preview--dark { background: var(--bd-blue-deep); }
.media-card__preview img { display: block; max-width: 100%; max-height: 166px; width: auto; height: auto; } /* 220px caseta - 2 x 26px padding - 1px bordura */
.media-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.media-card__body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.media-card__body p { color: var(--bd-muted); font-size: .95rem; margin-bottom: 1.1rem; }
.dl-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: auto 0 0; padding: 0; }
.dl-chip { display: inline-flex; align-items: center; gap: 8px; padding: .38rem .9rem; border: 1.5px solid var(--bd-line); border-radius: 999px; color: var(--bd-ink); font-size: .85rem; font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.dl-chip .icon { color: var(--bd-blue); font-size: .85em; transition: color .2s; }
.dl-chip small { color: var(--bd-muted); font-weight: 500; font-size: .85em; transition: color .2s; }
.dl-chip:hover, .dl-chip:focus-visible { background: var(--bd-blue); border-color: var(--bd-blue); color: #fff; }
.dl-chip:hover .icon, .dl-chip:hover small, .dl-chip:focus-visible .icon, .dl-chip:focus-visible small { color: #fff; }

.swatch { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); overflow: hidden; box-shadow: var(--bd-shadow); }
.swatch__color { flex: none; height: 96px; border-bottom: 1px solid var(--bd-line); }
.swatch__color--blue { background: var(--bd-blue); } /* aceleași culori ca $brandColors din config.php; fără stil inline, pentru o politică CSP strictă */
.swatch__color--yellow { background: var(--bd-yellow); }
.swatch__color--navy { background: var(--bd-blue-deep); }
.swatch__color--white { background: #fff; }
.swatch__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.swatch h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.swatch p { flex: 1; font-size: .88rem; color: var(--bd-muted); margin-bottom: .9rem; }
.swatch__code { align-self: flex-start; font: inherit; font-weight: 800; letter-spacing: .04em; padding: .25rem .65rem; border: 0; border-radius: 8px; background: var(--bd-blue-soft); color: var(--bd-ink); cursor: pointer; transition: background-color .2s; }
.swatch__code:hover { background: #d7e2f8; }
.swatch__code.is-copied { background: var(--bd-yellow); }
.swatch__rgb { display: block; margin-top: .45rem; font-size: .85rem; color: var(--bd-muted); }
.font-card { height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 28px 30px; box-shadow: var(--bd-shadow); }
.font-card__sample { margin: 0 0 1rem; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; color: var(--bd-blue); }
.font-card__sample--arial { font-family: 'Arial Black', Arial, Helvetica, sans-serif; font-weight: 900; }
.font-card__sample--manrope { font-weight: 800; letter-spacing: .02em; }
.font-card h3 { font-size: 1.15rem; }
.font-card h3 small { margin-left: .4rem; font-size: .8em; font-weight: 500; color: var(--bd-muted); }

.guide-card { height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 30px; box-shadow: var(--bd-shadow); }
.guide-card h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.clear-space { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 0 auto 1.4rem; padding: 16.667%; border: 2px dashed var(--bd-blue); border-radius: 14px; background: repeating-linear-gradient(45deg, rgba(0, 49, 147, .06) 0 10px, transparent 10px 20px); }
.clear-space img { display: block; width: 100%; height: 100%; }
.clear-space__x { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bd-yellow); color: var(--bd-ink); font-size: .85rem; font-weight: 800; }
.clear-space__x--top { top: calc(8.333% - 13px); left: calc(50% - 13px); }
.clear-space__x--bottom { bottom: calc(8.333% - 13px); left: calc(50% - 13px); }
.clear-space__x--left { left: calc(8.333% - 13px); top: calc(50% - 13px); }
.clear-space__x--right { right: calc(8.333% - 13px); top: calc(50% - 13px); }
.min-sizes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 36px; padding: 22px; background: var(--bd-bg); border-radius: var(--bd-radius-sm); }
.min-sizes figure { display: grid; gap: .6rem; justify-items: start; margin: 0; }
.min-sizes img { display: block; }
.min-sizes figcaption { font-size: .85rem; line-height: 1.35; color: var(--bd-muted); }
.min-sizes figcaption strong { display: block; color: var(--bd-ink); }

.tile { margin: 0; }
.tile__box { position: relative; display: grid; place-items: center; height: 150px; overflow: hidden; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius-sm); }
.tile__box--dark { background: var(--bd-blue-deep); border-color: var(--bd-blue-deep); }
.tile__box--photo { background: linear-gradient(rgba(0, 21, 63, .74), rgba(0, 21, 63, .74)), url('../img/hero.jpg') center / cover; border-color: var(--bd-blue-deep); }
.tile__box--busy { background: url('../img/energie-regenerabila.jpg') center / cover; }
.tile__img { display: block; max-width: 100%; height: auto; }
.tile__img--stretch { transform: scaleX(1.7) scaleY(.8); }
.tile__img--rotate { transform: rotate(-16deg); }
.tile__img--recolor { filter: hue-rotate(150deg) saturate(1.5); }
.tile__img--effects { filter: drop-shadow(5px 8px 4px rgba(0, 0, 0, .65)) drop-shadow(0 0 8px #ff3b3b); }
.tile__badge { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #fff; font-size: 1.45rem; line-height: 0; }
.tile--do .tile__badge { color: #16a34a; }
.tile--dont .tile__badge { color: #dc2626; }
.tile figcaption { margin-top: .65rem; font-size: .88rem; font-weight: 600; line-height: 1.4; color: var(--bd-ink); }

.doc-card { display: flex; flex-direction: column; align-items: flex-start; height: 100%; background: #fff; border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 26px; box-shadow: var(--bd-shadow); }
.doc-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 14px; background: #fdecea; color: #c0392b; font-size: 1.4rem; }
.doc-card h3 { font-size: 1.05rem; }
.doc-card p { flex: 1; font-size: .92rem; color: var(--bd-muted); }
.doc-card__size { margin-left: .4em; font-weight: 500; opacity: .75; }
.press-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 44px); border-radius: var(--bd-radius); color: #dbe5fa; background: linear-gradient(120deg, var(--bd-blue-deep), var(--bd-blue)); box-shadow: var(--bd-shadow-lg); }
.press-band h2 { margin-bottom: .6rem; font-size: 1.6rem; color: #fff; }
.press-band p { max-width: 56ch; margin: 0; }
.press-band a:not(.btn) { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .feature-card:hover, .objective:hover, .license__preview:hover { transform: none; }
}
