/* ASPAR — stylesheet unic. Paletă inspirată de cer și de aripa roșie din siglă. */
:root {
  --night: #0b2540;      /* text titluri, subsol */
  --ink: #1d2b38;        /* text */
  --muted: #4a5b6b;      /* text secundar (contrast 7:1 pe alb) */
  --sky: #0f5c99;        /* linkuri, butoane primare */
  --sky-deep: #0b4677;
  --sky-light: #e8f3fb;
  --sky-mist: #f5f9fd;
  --sun: #ffb547;        /* buton principal (text închis pe el) */
  --sun-deep: #f29a1f;
  --wing: #c8202a;       /* roșul din siglă, accente */
  --line: #d6e3ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 37, 64, .10);
  --max: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: .18em; }
a:hover { color: var(--sky-deep); }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--night); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin: .2rem 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--night); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 46rem; }

/* Antet */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--night); padding: .4rem 0; }
.brand img { width: 112px; height: auto; }
.brand span { font-size: .8rem; line-height: 1.25; color: var(--muted); max-width: 11rem; }
.menu-btn { display: none; font: inherit; font-weight: 600; color: var(--night); background: var(--sky-light); border: 0; border-radius: 999px; padding: .5rem 1rem; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem; }
.nav a { display: block; padding: .5rem .7rem; border-radius: 999px; text-decoration: none; color: var(--night); font-weight: 500; font-size: .97rem; }
.nav a:hover { background: var(--sky-light); }
.nav a[aria-current="page"] { background: var(--night); color: #fff; }
.js .menu-btn { display: inline-block; }
.js .nav { display: none; width: 100%; padding-bottom: .75rem; }
.js .nav.open { display: block; }
.js .nav ul { flex-direction: column; }
@media (min-width: 64rem) {
  .js .menu-btn { display: none; }
  .js .nav, .nav { display: block; width: auto; padding: 0; }
  .js .nav ul { flex-direction: row; }
}

/* Erou */
.hero { position: relative; color: #fff; isolation: isolate; min-height: min(86vh, 44rem); display: grid; align-items: center; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,28,50,.82) 0%, rgba(8,28,50,.55) 45%, rgba(8,28,50,.05) 80%); }
.hero-in { padding: 4rem 0 5rem; max-width: 38rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #eaf3fb; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: .75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Butoane */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--night); }
.btn-sun:hover { background: var(--sun-deep); color: var(--night); }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: var(--sky-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { border-color: var(--sky); color: var(--sky); }

/* Antet pagină interioară */
.page-head { background: linear-gradient(180deg, var(--sky-light), #fff); padding: 2.75rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.page-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: .75rem; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }

main { display: block; }
.section { padding: 3rem 0; }
.section-alt { background: var(--sky-mist); border-block: 1px solid var(--line); }
.section > .wrap > h2:first-child { margin-top: 0; }
.content { padding: 2.25rem 0 3.5rem; }

/* Grile și carduri */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; padding-top: .5rem; font-weight: 700; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(11,37,64,.16); }
a.card:hover h3 { color: var(--sky); }

/* Cifre */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 50rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; border-left: 4px solid var(--wing); box-shadow: var(--shadow); margin: 0; }
.stats strong { display: block; font-size: 1.6rem; color: var(--night); line-height: 1.15; }
.stats span { color: var(--muted); font-size: .95rem; }

/* Text + imagine */
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 52rem) { .split { grid-template-columns: 1.35fr 1fr; } .split-rev { grid-template-columns: 1fr 1.35fr; } }
.split figure, figure { margin: 0; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.stack { display: grid; gap: 1rem; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin: .45rem 0; }
.checklist li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .9rem; height: .5rem; border-left: 3px solid var(--sky); border-bottom: 3px solid var(--sky); transform: rotate(-45deg); }
.facts { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.25rem 0; }
.fact { background: var(--sky-light); border-radius: var(--radius); padding: 1rem 1.2rem; }
.fact strong { display: block; font-size: 1.35rem; color: var(--night); }

/* Casete */
.note { background: #fff8eb; border: 1px solid #f6d79f; border-left: 5px solid var(--sun-deep); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.note p:last-child { margin: 0; }
.callout { background: var(--night); color: #fff; border-radius: var(--radius); padding: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 0; }
.callout h2, .callout h3 { color: #fff; margin: 0 0 .25rem; }
.callout p { margin: 0; color: #d4e4f2; }
.callout a:not(.btn) { color: #fff; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0; }
.contact-list .label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-list .value { font-size: 1.3rem; font-weight: 700; color: var(--night); }
.contact-list a.value { color: var(--sky); text-decoration: none; }
.contact-list a.value:hover { text-decoration: underline; }
dl.data { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
dl.data dt { font-weight: 700; color: var(--night); }
dl.data dd { margin: 0; overflow-wrap: anywhere; }

/* Încorporări */
.embed { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sky-light); }
.embed iframe { display: block; width: 100%; border: 0; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x9 iframe { height: 100%; }
.link-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.link-card { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; box-shadow: var(--shadow); }
.link-card strong { display: block; color: var(--night); font-size: 1.1rem; }
.link-card span { color: var(--muted); font-size: .95rem; }
.link-card:hover strong { color: var(--sky); }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--sky-light); padding: .75rem 1rem; border-radius: 10px; display: block; overflow-x: auto; }

/* Galerie */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 70rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery li { margin: 0; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; text-decoration: none; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { padding: .35rem .1rem 0; }

/* Arhivă */
.archive { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.archive li { margin: 0; }
.archive article { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; background: #fff; }
.archive h3 { margin: 0 0 .25rem; }
.archive time { color: var(--muted); font-size: .9rem; }
.archive p { margin: .5rem 0 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: #eceff2; color: var(--muted); border-radius: 999px; padding: .1rem .6rem; margin-left: .4rem; vertical-align: middle; }

/* Subsol */
.site-footer { background: var(--night); color: #c9d8e6; padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.footer-phone { font-size: 1.35rem; font-weight: 700; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

.redirect { font-family: var(--font); max-width: 36rem; margin: 15vh auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 30rem) { .brand span { display: none; } .header-in { min-height: 3.75rem; } }
