/* andreihorciu.ro — stiluri comune. Tokenii vin din tokens.css (brand Asigurări Contactless). */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brand-text);
  background: var(--brand-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-primary-dark); }
:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-text);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand-primary); color: #fff; padding: 10px 16px; border-radius: var(--r-md);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 28px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Etichete și titluri de secțiune ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--brand-secondary);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gradient-signature); }
.section { padding: 72px 0; }
.section--alt { background: var(--brand-bg-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--brand-text-muted); font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--brand-text-muted); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.2;
  padding: .85em 1.35em; border-radius: var(--r-md); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: var(--t-base); white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--gradient-signature); color: #fff; box-shadow: 0 4px 16px rgba(14, 91, 148, .25); }
.btn-primary:hover { color: #fff; background: var(--gradient-button-hover); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14, 91, 148, .35); }
.btn-secondary { background: #fff; color: var(--brand-primary); border-color: var(--brand-primary); }
.btn-secondary:hover { background: var(--brand-primary); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(14, 91, 148, .06); color: var(--brand-primary); }
.btn-ghost:hover { background: rgba(14, 91, 148, .12); }
.btn-sm { font-size: .88rem; padding: .62em 1.05em; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transform: none; transition: none; } }

/* ---------- Antet ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--brand-border);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--brand-primary); letter-spacing: .01em; }
.brand-role { font-family: var(--font-display); font-weight: 400; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-secondary); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  position: relative; display: block; padding: 8px 10px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; color: var(--brand-text); text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--brand-primary); background: rgba(14, 91, 148, .05); }
.site-nav a[aria-current="page"] { color: var(--brand-primary); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--gradient-signature);
}
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--brand-border);
  background: #fff; color: var(--brand-primary); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--brand-border);
    box-shadow: var(--shadow-md);
  }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .site-nav a[aria-current="page"]::after { left: 10px; right: auto; width: 26px; bottom: 6px; }
  .site-header.is-open .site-nav { display: flex; }
  .site-header.is-open .nav-toggle-open { display: none; }
  .site-header.is-open .nav-toggle-close { display: inline; }
  .nav-cta { width: 100%; }
}

/* ---------- Hero: cartea de vizită ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 48px 0 64px;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(168, 216, 240, .6), transparent 62%),
    radial-gradient(800px 480px at -12% 108%, rgba(59, 140, 184, .16), transparent 60%),
    linear-gradient(180deg, #F3F8FC 0%, #FFFFFF 100%);
}
.hero::before {
  /* monograma, ca filigran uriaș în fundal */
  content: ""; position: absolute; z-index: -1; right: -6%; top: 6%;
  width: min(62vw, 760px); aspect-ratio: 256 / 197;
  background: url('/assets/img/ah-monograma.png') center / contain no-repeat;
  opacity: .07; filter: saturate(.6);
}
.hero-intro { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.hero-intro .eyebrow { justify-content: center; }

.bizcard-stage { perspective: 1400px; max-width: 1000px; margin-inline: auto; }
.bizcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%;
  position: relative; display: grid; grid-template-columns: minmax(250px, .82fr) 1.18fr;
  background: #fff; border-radius: var(--r-2xl); overflow: hidden;
  border: 1px solid rgba(14, 91, 148, .10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--shadow-lg);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s ease;
  animation: card-in .9s cubic-bezier(.2,.7,.3,1) backwards; /* backwards, nu both: după animație trebuie să preia transformarea de înclinare */
}
.bizcard::after {
  /* luciul care urmărește cursorul */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 255, 255, .38), transparent 42%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s ease;
}
.bizcard.is-tilting::after { opacity: 1; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(28px) rotateX(10deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}
.bizcard-photo { position: relative; margin: 0; min-height: 100%; background: #14202c; }
.bizcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bizcard-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(10, 63, 104, .55));
}
.bizcard-photo figcaption {
  position: absolute; z-index: 1; left: 22px; bottom: 18px;
  font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.bizcard-body { position: relative; padding: 38px 40px 34px 46px; }
.bizcard-body::before {
  /* banda cu gradientul semnătură, ca muchia unei cărți de vizită */
  content: ""; position: absolute; left: 0; top: 36px; bottom: 36px; width: 5px;
  border-radius: 0 5px 5px 0; background: var(--gradient-signature);
}
.bizcard-mark { position: absolute; top: 30px; right: 34px; width: 58px; opacity: .95; }
.bizcard .eyebrow { margin-bottom: .6rem; }
.bizcard h1 { margin: 0 0 .2em; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); color: var(--brand-primary); padding-right: 60px; }
.bizcard-tagline { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--brand-text); margin-bottom: 1.3rem; }
.bizcard-contacts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: var(--r-lg);
  border: 1px solid var(--brand-border); background: #fff; text-decoration: none; color: var(--brand-text);
  transition: var(--t-base);
}
.contact-row:hover { border-color: var(--brand-accent-light); background: #F6FAFD; transform: translateX(3px); color: var(--brand-text); }
.contact-ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--gradient-signature); color: #fff;
}
.contact-ico .icon { width: 20px; height: 20px; }
.contact-label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text-muted); }
.contact-value { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--brand-primary); }
.contact-row .icon.go { margin-left: auto; width: 18px; height: 18px; color: var(--brand-secondary); }
.bizcard-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bizcard-social { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.bizcard-social a, .social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  color: var(--brand-primary); background: rgba(14, 91, 148, .06); transition: var(--t-base);
}
.bizcard-social a:hover { background: var(--brand-primary); color: #fff; }
.bizcard-social .icon, .social .icon { width: 19px; height: 19px; }

.principles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; padding: 0; list-style: none; }
.principles li {
  display: inline-flex; align-items: center; gap: .5em; padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .75); border: 1px solid var(--brand-border);
  font-family: var(--font-display); font-size: .9rem; font-weight: 500; color: var(--brand-primary);
  animation: rise .7s cubic-bezier(.2,.7,.3,1) both;
}
.principles li:nth-child(1) { animation-delay: .35s; }
.principles li:nth-child(2) { animation-delay: .45s; }
.principles li:nth-child(3) { animation-delay: .55s; }
.principles .icon { width: 17px; height: 17px; color: var(--brand-secondary); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .bizcard { grid-template-columns: 1fr; }
  .bizcard-photo { aspect-ratio: 5 / 4; }
  .bizcard-photo img { position: absolute; inset: 0; }
  .bizcard-body { padding: 28px 20px 24px 24px; }
  .bizcard-body::before { top: 26px; bottom: auto; height: 70px; }
  .bizcard-mark { top: 24px; right: 20px; width: 46px; }
  .bizcard .eyebrow { padding-right: 58px; }
  .bizcard-social { margin-left: 0; width: 100%; }
  .bizcard-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bizcard, .principles li { animation: none; }
  .bizcard { transition: none; }
}

/* ---------- Carduri generale ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  position: relative; background: #fff; border: 1px solid var(--brand-border); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--shadow-sm); transition: var(--t-base);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--brand-text-muted); margin: 0; }
.card-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(168, 216, 240, .45), rgba(59, 140, 184, .18)); color: var(--brand-primary);
}
.card-ico .icon { width: 24px; height: 24px; }

a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-accent-light); }
.card-more {
  display: inline-flex; align-items: center; gap: .35em; margin-top: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand-primary);
}
.card-more .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
a.card:hover .card-more .icon { transform: translateX(3px); }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(14, 91, 148, .07); color: var(--brand-primary);
}
.tag--ext { background: rgba(168, 216, 240, .35); }

/* Unelte: dale compacte */
.tool-tile { display: flex; flex-direction: column; height: 100%; }
.tool-tile .card-more { margin-top: auto; padding-top: 14px; }
.tool-tile p { margin-bottom: 0; }

/* ---------- Secțiunea „despre" de pe prima pagină ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.about-photo { position: relative; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.quote {
  margin: 0 0 1.2em; padding: 0 0 0 20px; border-left: 4px solid; border-image: var(--gradient-signature) 1;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.5; color: var(--brand-primary);
}
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Bandă de apel la acțiune ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-2xl); padding: 44px 40px; color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(168, 216, 240, .45), transparent 60%),
    linear-gradient(135deg, #0E5B94 0%, #0a3f68 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .86); max-width: 560px; }
.cta-band .btn-secondary { background: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: var(--brand-accent-light); border-color: var(--brand-accent-light); color: var(--brand-primary-dark); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 600px) { .cta-band { padding: 32px 22px; } .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Antet de pagină interioară ---------- */
.page-hero {
  padding: 52px 0 40px; border-bottom: 1px solid var(--brand-border);
  background:
    radial-gradient(900px 380px at 92% -30%, rgba(168, 216, 240, .55), transparent 62%),
    linear-gradient(180deg, #F3F8FC, #fff);
}
.page-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 860px; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .86rem; color: var(--brand-text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--brand-border); }
.breadcrumb a { color: var(--brand-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-primary); }

/* ---------- Text lung (articole, pagini de conținut) ---------- */
.prose { max-width: 720px; font-size: 1.06rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand-secondary); }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 22px; border-radius: var(--r-lg);
  background: var(--brand-bg-alt); border-left: 4px solid var(--brand-secondary);
  font-family: var(--font-display); color: var(--brand-primary); font-size: 1.08rem;
}
.prose strong { color: var(--brand-text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--brand-text-muted); font-size: .92rem; margin-top: 14px; }
.article-meta .tag { margin: 0; }

.note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); margin: 0 0 1.6em;
  background: #F1F7FC; border: 1px solid #D5E6F3; color: var(--brand-text); font-size: .95rem; line-height: 1.55;
}
.note .icon { color: var(--brand-secondary); margin-top: 2px; }
.note p { margin: 0; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 92px; }
.layout-aside > * { min-width: 0; }
@media (max-width: 980px) { .layout-aside { grid-template-columns: minmax(0, 1fr); } .aside-card { position: static; } }

/* ---------- Liste de contact (pagina Contact, bandă) ---------- */
.contact-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---------- Formulare și unelte ---------- */
.tool-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 28px; align-items: start; }
.tool-layout > * { min-width: 0; }
@media (max-width: 920px) { .tool-layout { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.2rem; }
.field { margin-bottom: 18px; }
.field > label, .field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--brand-text); }
.field-hint { display: block; font-size: .82rem; color: var(--brand-text-muted); margin-top: 4px; }
.input, select.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--brand-text);
  padding: 11px 13px; border: 1.5px solid #CBD8E4; border-radius: var(--r-md); background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus { outline: none; border-color: var(--brand-secondary); box-shadow: 0 0 0 4px rgba(59, 140, 184, .18); }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: var(--r-md) 0 0 var(--r-md); }
.input-suffix {
  display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #CBD8E4; border-left: 0;
  border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--brand-bg-alt); color: var(--brand-text-muted); font-size: .9rem;
}
input[type="range"] { width: 100%; accent-color: var(--brand-primary); margin-top: 10px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-md); background: var(--brand-bg-alt); border: 1px solid var(--brand-border); flex-wrap: wrap; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 7px 14px; border-radius: 9px; font-size: .9rem; font-weight: 500; color: var(--brand-text-muted); }
.seg input:checked + span { background: #fff; color: var(--brand-primary); box-shadow: var(--shadow-sm); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--brand-secondary); outline-offset: 1px; }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-bottom: 22px; }
.stat { padding: 16px 18px; border-radius: var(--r-lg); background: var(--brand-bg-alt); border: 1px solid var(--brand-border); }
.stat-label { display: block; font-size: .8rem; color: var(--brand-text-muted); margin-bottom: 4px; }
.stat-value { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--brand-primary); font-variant-numeric: tabular-nums; }
.stat--hero { background: linear-gradient(160deg, #0E5B94 0%, #0a3f68 100%); border-color: transparent; } /* nu gradientul semnătură: text alb pe #A8D8F0 are contrast prea mic */
.stat--hero .stat-label, .stat--hero .stat-value { color: #fff; }

.table-wrap { overflow-x: auto; border: 1px solid var(--brand-border); border-radius: var(--r-lg); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--brand-border); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { position: sticky; top: 0; background: var(--brand-bg-alt); font-weight: 600; color: var(--brand-text); font-size: .82rem; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tfoot td { font-weight: 700; background: var(--brand-bg-alt); }

.disclaimer { font-size: .86rem; color: var(--brand-text-muted); margin-top: 18px; }

/* ---------- Subsol ---------- */
.site-footer {
  margin-top: 0; color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(59, 140, 184, .35), transparent 60%),
    linear-gradient(180deg, #0a3f68 0%, #082f4f 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-top: 56px; padding-bottom: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-role { color: var(--brand-accent-light); }
.footer-lead { margin: 16px 0 18px; max-width: 340px; }
.footer-title { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-accent-light); font-weight: 600; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .86); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--brand-accent-light); }
.social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.site-footer .social a { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .social a:hover { background: #fff; color: var(--brand-primary); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 28px; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.footer-legal p { margin: 0 0 6px; }
.footer-legal a { color: #fff; }

/* ---------- Apariție la derulare ---------- */
/* Ascundem doar când JavaScript rulează (clasa .js), ca fără JS conținutul să rămână vizibil. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .panel, .card { box-shadow: none; }
}
