/* ==========================================================================
   QuadGain — quadgain.com
   Identitate vizuală: editorial premium
   Paletă: Graphite / Sapphire Blue / Cloud / Slate / Ink
   ========================================================================== */

:root {
  --navy: #24272d;
  --navy-deep: #161920;
  --navy-soft: #e6ebf3;
  --copper: #2e6fd6;
  --copper-deep: #2358b0;
  --copper-light: #c4d9f4;
  --ivory: #f5f6f8;
  --ivory-deep: #e8eaef;
  --stone: #5b636f;
  --stone-light: #98a0ac;
  --graphite: #161920;
  --white: #ffffff;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 22px 55px -20px rgba(22, 25, 32, 0.32);
  --shadow-card: 0 12px 34px -14px rgba(22, 25, 32, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--graphite);
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

@supports (text-wrap: balance) {
  h1,
  h2 {
    text-wrap: balance;
  }
}

p {
  margin: 0 0 1.1em;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--graphite);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Etichete editoriale, butoane
   -------------------------------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 1.1rem;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--copper);
  flex: none;
}

.kicker--center {
  justify-content: center;
}

.kicker--center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--copper);
  flex: none;
}

.lead {
  font-size: 1.18rem;
  color: var(--stone);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.btn--emerald {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 32px -12px rgba(36, 39, 45, 0.55);
}

.btn--emerald:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn--gold {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 14px 32px -12px rgba(46, 111, 214, 0.6);
}

.btn--gold:hover {
  background: var(--copper-deep);
  color: var(--white);
}

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

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

.btn--light-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 246, 248, 0.6);
}

.btn--light-outline:hover {
  background: var(--ivory);
  color: var(--navy-deep);
}

/* --------------------------------------------------------------------------
   Header & navigație
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 25, 32, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__name span {
  color: var(--copper);
}

.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: -0.2rem;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--graphite);
  padding: 0.45rem 0.1rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--navy);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex: none;
  transition: background 0.25s ease;
}

.nav-toggle:hover {
  background: var(--navy-deep);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ivory);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  color: var(--ivory);
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13, 16, 22, 0.95) 0%,
    rgba(22, 25, 32, 0.84) 45%,
    rgba(13, 16, 22, 0.48) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 12vw, 9.5rem) 0 clamp(6rem, 13vw, 10.5rem);
  max-width: 720px;
}

.hero .kicker {
  color: var(--copper-light);
}

.hero .kicker::before {
  background: var(--copper);
}

.hero h1 {
  color: var(--white);
}

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

.hero__text {
  font-size: 1.16rem;
  color: rgba(245, 246, 248, 0.88);
  max-width: 58ch;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__note {
  margin-top: 2.4rem;
  font-size: 0.85rem;
  color: rgba(245, 246, 248, 0.65);
  max-width: 60ch;
}

.hero--page .hero__inner {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

/* --------------------------------------------------------------------------
   Secțiuni generale
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(4rem, 8vw, 6.75rem) 0;
}

.section--ivory-deep {
  background: var(--ivory-deep);
}
.section--white {
  background: var(--white);
}
.section--emerald {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: var(--ivory);
}

.section--emerald h2,
.section--emerald h3 {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--stone);
}

.section--emerald .section-head p {
  color: rgba(245, 246, 248, 0.82);
}

/* --------------------------------------------------------------------------
   Carduri „De ce QuadGain"
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.pillar {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem 2.2rem;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--copper);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.pillar__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--navy-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
}

.pillar__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--navy);
}

.pillar p {
  color: var(--stone);
  font-size: 0.98rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Rânduri editoriale (imagine + text, alternate)
   -------------------------------------------------------------------------- */

.editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.editorial--flip .editorial__media {
  order: 2;
}

.editorial__media {
  position: relative;
}

.editorial__media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.editorial__media::before {
  content: "";
  position: absolute;
  inset: -16px auto auto -16px;
  width: 55%;
  height: 55%;
  border: 2px solid var(--copper);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.editorial--flip .editorial__media::before {
  inset: auto -16px -16px auto;
}

.editorial__badge {
  position: absolute;
  bottom: -22px;
  right: 24px;
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.editorial__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--copper-light);
  line-height: 1.1;
}

.editorial__badge span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial__body p {
  color: var(--stone);
}

.check-list {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--graphite);
  font-weight: 600;
  font-size: 0.99rem;
}

.check-list li span {
  display: block;
  font-weight: 400;
  color: var(--stone);
  font-size: 0.93rem;
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--copper);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Statistici
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat {
  padding: 1.8rem 1rem;
  border: 1px solid rgba(245, 246, 248, 0.22);
  border-radius: var(--radius-md);
  background: rgba(245, 246, 248, 0.05);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--copper-light);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.78);
}

.stats-note {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(245, 246, 248, 0.55);
}

/* --------------------------------------------------------------------------
   Grile de conținut educațional
   -------------------------------------------------------------------------- */

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.edu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.edu-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.edu-card__body {
  padding: 1.7rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.edu-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-soft);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

.edu-card__body h3 {
  font-size: 1.4rem;
}

.edu-card__body p {
  color: var(--stone);
  font-size: 0.96rem;
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 2px;
  align-self: flex-start;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.text-link:hover {
  color: var(--copper-deep);
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   Pași / metodologie numerotată
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  background: var(--copper);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.step h3 {
  font-size: 1.25rem;
}

.step p {
  color: var(--stone);
  font-size: 0.93rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Citat editorial
   -------------------------------------------------------------------------- */

.pullquote {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.pullquote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--graphite);
}

.pullquote blockquote::before {
  content: "“";
  display: block;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--copper);
  margin-bottom: 1.2rem;
}

.pullquote figcaption {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

/* --------------------------------------------------------------------------
   Banda CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    120deg,
    var(--navy-deep),
    var(--navy) 60%,
    #2b4c7a
  );
  color: var(--ivory);
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.8rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(46, 111, 214, 0.5);
  border-radius: 50%;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(46, 111, 214, 0.32);
  border-radius: 50%;
}

.cta-band h2 {
  color: var(--white);
  max-width: 22ch;
  margin: 0;
}

.cta-band p {
  color: rgba(245, 246, 248, 0.82);
  max-width: 52ch;
  margin: 0.7rem 0 0;
}

.cta-band__action {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Timeline (Despre noi)
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  padding-left: 2.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--copper), var(--navy));
}

.timeline__item {
  position: relative;
  padding-bottom: 2.6rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ivory);
  border: 5px solid var(--copper);
}

.timeline__phase {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-soft);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  margin-bottom: 0.6rem;
}

.timeline__item h3 {
  margin-bottom: 0.4rem;
}

.timeline__item p {
  color: var(--stone);
  margin: 0;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Valori & echipă
   -------------------------------------------------------------------------- */

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

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  border-left: 4px solid var(--copper);
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  font-size: 1.25rem;
}

.value-card p {
  color: var(--stone);
  font-size: 0.93rem;
  margin: 0;
}

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

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-card__body {
  padding: 1.6rem 1.5rem 1.9rem;
}

.team-card__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 0.7rem;
}

.team-card p {
  color: var(--stone);
  font-size: 0.92rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pagina Analize
   -------------------------------------------------------------------------- */

.feature-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s ease;
}

.feature-article:hover {
  box-shadow: var(--shadow-soft);
}

.feature-article__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.feature-article__body {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Pagini articol
   -------------------------------------------------------------------------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.article-body h2 {
  margin-top: 2.4rem;
  padding-top: 0.4rem;
}

.article-body h3 {
  margin-top: 1.8rem;
  color: var(--navy-deep);
}

.article-body p,
.article-body li {
  color: #2f333a;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}

.article-body li {
  margin-bottom: 0.55rem;
}

.article-body img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin: 1.8rem 0;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.callout {
  background: var(--navy-soft);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}

.callout--gold {
  background: #dfeaf8;
  border-left-color: var(--copper);
}

.callout h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.callout p,
.callout li {
  font-size: 0.96rem;
  margin-bottom: 0.4rem;
}

.callout :last-child {
  margin-bottom: 0;
}

.example-box {
  background: var(--white);
  border: 1px solid var(--copper-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.7rem;
  margin: 1.8rem 0;
  box-shadow: var(--shadow-card);
}

.example-box h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-top: 0;
}

.example-box h3::before {
  content: "▸";
  color: var(--copper);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.data-table th {
  background: var(--navy);
  color: var(--ivory);
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.data-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--ivory-deep);
  color: #2f333a;
}

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

.table-wrap {
  overflow-x: auto;
}

.key-takeaways {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.2rem 2rem;
  margin: 2.5rem 0;
}

.key-takeaways h2,
.key-takeaways h3 {
  color: var(--copper-light);
  margin-top: 0;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.key-takeaways li {
  position: relative;
  padding-left: 1.9rem;
  color: rgba(245, 246, 248, 0.92);
}

.key-takeaways li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--copper-light);
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.sidebar-card h3 {
  font-size: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--copper-light);
}

.sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.sidebar-card a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--graphite);
  transition: color 0.2s ease;
}

.sidebar-card a:hover {
  color: var(--navy);
}

.sidebar-card--emerald {
  background: var(--navy);
  color: var(--ivory);
}

.sidebar-card--emerald h3 {
  color: var(--copper-light);
  border-bottom-color: rgba(46, 111, 214, 0.45);
}

.sidebar-card--emerald p {
  font-size: 0.92rem;
  color: rgba(245, 246, 248, 0.85);
}

.breadcrumbs {
  padding: 1.1rem 0;
  font-size: 0.86rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--stone-light);
}

.breadcrumbs a {
  color: var(--stone);
  text-decoration: none;
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.faq details {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--copper-deep);
  flex: none;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 1.5rem 1.3rem;
  margin: 0;
  color: var(--stone);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-card h3 svg {
  width: 26px;
  height: 26px;
  stroke: var(--copper-deep);
  flex: none;
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--copper);
  word-break: break-all;
}

.contact-email:hover {
  color: var(--copper-deep);
}

.social-links {
  display: flex !important;
  gap: 0.9rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.social-links a:hover {
  background: var(--navy);
  color: var(--ivory);
  transform: translateY(-3px);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Pagini legale
   -------------------------------------------------------------------------- */

.legal-body {
  max-width: 820px;
}

.legal-body h2 {
  font-size: 1.6rem;
  margin-top: 2.4rem;
}

.legal-body p,
.legal-body li {
  color: #2f333a;
  font-size: 0.99rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--stone-light);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--graphite);
  color: rgba(245, 246, 248, 0.78);
  padding: clamp(3.5rem, 7vw, 5rem) 0 0;
  font-size: 0.94rem;
}

.site-footer a {
  color: rgba(245, 246, 248, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--copper-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}

.footer-brand .brand__name {
  color: var(--ivory);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(245, 246, 248, 0.6);
  max-width: 34ch;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.2rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-disclaimer {
  border-top: 1px solid rgba(245, 246, 248, 0.14);
  padding: 1.8rem 0;
  font-size: 0.82rem;
  color: rgba(245, 246, 248, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 246, 248, 0.14);
  padding: 1.4rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom .social-links a {
  background: rgba(245, 246, 248, 0.1);
  color: var(--ivory);
  width: 42px;
  height: 42px;
}

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

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 2rem));
  background: var(--graphite);
  color: rgba(245, 246, 248, 0.88);
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 111, 214, 0.45);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  z-index: 150;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: cookie-rise 0.45s ease;
}

@keyframes cookie-rise {
  from {
    opacity: 0;
    transform: translate(-50%, 24px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-banner h2 {
  font-size: 1.15rem;
  color: var(--copper-light);
  margin-bottom: 0.4rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
}

.cookie-banner a {
  color: var(--copper-light);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cookie-banner .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   Animații la scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .pillar,
  .edu-card,
  .team-card,
  .main-nav {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .pillars,
  .edu-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid rgba(22, 25, 32, 0.1);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0;
  }

  .main-nav a {
    display: block;
    padding: 0.95rem 1.6rem;
    border-left: 3px solid transparent;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    border-left-color: var(--copper);
    background: rgba(46, 111, 214, 0.07);
  }

  .editorial,
  .contact-grid,
  .feature-article {
    grid-template-columns: 1fr;
  }

  .editorial--flip .editorial__media {
    order: 0;
  }

  .editorial__media img {
    height: 340px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .pillars,
  .edu-grid,
  .team-grid,
  .steps,
  .values-grid,
  .stats,
  .article-sidebar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand__name {
    font-size: 1.3rem;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

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

  .article-body img {
    height: 240px;
  }

  .editorial__badge {
    position: static;
    margin-top: 1rem;
    display: inline-block;
  }
}

/* --------------------------------------------------------------------------
   Garantie mobil — toate grilele de carduri pe o singura coloana
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .pillars,
  .edu-grid,
  .team-grid,
  .steps,
  .values-grid,
  .stats,
  .article-sidebar,
  .footer-grid,
  .editorial,
  .contact-grid,
  .feature-article {
    grid-template-columns: 1fr !important;
  }
  .editorial--flip .editorial__media {
    order: 0;
  }
}