/* =========================================================
   Din Grijă Pentru Tine — stylesheet
   Font: Jost (Google Fonts) — la fel ca site-ul de referință
   Culori: bleumarin + galben (identice cu materialele campaniei)
   ========================================================= */

:root {
  --navy: #14315c;
  --navy-2: #1c3f74;
  --navy-3: #0d2242;
  --yellow: #ffc72c;
  --yellow-dark: #f2a900;
  --teal: #2d8f8f;
  --plum: #7a4a6b;
  --white: #ffffff;
  --ink: #16233a;
  --ink-soft: #4d5b74;
  --bg-muted: #f4f6fa;
  --border: #e3e8f0;

  --font: 'Jost', 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(15, 34, 66, 0.12);
  --shadow-sm: 0 4px 14px rgba(15, 34, 66, 0.08);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  padding-top: 80px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[id] { scroll-margin-top: 96px; }

@media (max-width: 480px) {
  body { padding-top: 66px; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--yellow); color: var(--navy-3); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--yellow-dark); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

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

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

.btn--large { padding: 16px 32px; font-size: 16px; }
.btn--small { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.site-header .container { max-width: 1440px; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { flex-shrink: 0; }
.brand__logo { height: 52px; width: auto; }

.nav { flex-shrink: 1; min-width: 0; }
.nav__cta { display: none; }

.nav__list {
  display: flex;
  gap: 25px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav__list a {
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width .2s ease;
}
.nav__list a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-shrink: 0;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.phone-pill svg { width: 18px; height: 18px; fill: var(--yellow-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s 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;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-3), var(--navy) 60%, var(--navy-2));
  padding: 72px 0 96px;
}

.hero__decor { position: absolute; inset: 0; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
}
.blob--1 { width: 260px; height: 260px; background: var(--yellow); top: -80px; right: 8%; opacity: .18; }
.blob--2 { width: 180px; height: 180px; background: var(--teal); bottom: -60px; left: 4%; opacity: .22; }
.blob--3 { width: 120px; height: 120px; background: var(--plum); top: 40%; right: 28%; opacity: .18; }
.dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 2px, transparent 2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero__title .highlight {
  color: var(--yellow);
  -webkit-text-stroke: 0;
}

.hero__subtitle {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  max-width: 52ch;
}
.hero__subtitle strong { color: var(--white); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 30px;
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 100px;
}
.hero__facts svg { width: 16px; height: 16px; fill: var(--yellow); flex-shrink: 0; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__note {
  margin-top: 20px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.hero__note strong { color: var(--yellow); }

.hero__media { position: relative; }
.hero__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
  border: 6px solid rgba(255,255,255,.08);
  aspect-ratio: 4 / 5;
}
.hero__image-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__qr {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  max-width: 270px;
}
.hero__qr img { width: 76px; height: 76px; flex-shrink: 0; }
.hero__qr span { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.3; }

/* ---------- Partners ---------- */
.partners { padding: 34px 0; border-bottom: 1px solid var(--border); }
.partners__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.partners__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.partners__logos { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.partner img { height: 40px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.partner img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--navy-3); color: var(--white); }
.section--dark p { color: rgba(255,255,255,.75); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--yellow); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-lead { font-size: 16.5px; }

.tag {
  display: inline-block;
  color: var(--yellow-dark);
  background: rgba(255, 199, 44, .14);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.tag--light { background: rgba(255,255,255,.1); color: var(--yellow); }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 56px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-3);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 28px 16px;
}
.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}
.stat__label {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Cards grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card__image {
  aspect-ratio: 16 / 7;
  background: var(--bg-muted);
  overflow: hidden;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body { padding: 28px; }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; fill: var(--yellow); color: var(--yellow); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin: 0; }

/* ---------- Specialties list ---------- */
.specialties { margin-top: 48px; }
.specialties__title {
  text-align: center;
  font-size: 18px;
  margin-bottom: 24px;
}
.specialties__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.specialties__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.specialties__list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-dark);
}

.specialties__toggle {
  display: none;
  margin: 20px auto 0;
  padding: 12px 28px;
  border: 2px solid var(--navy);
  border-radius: 100px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 30px 22px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-3);
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- Event ---------- */
.event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.event__list { margin: 20px 0 28px; display: grid; gap: 10px; }
.event__list li { color: rgba(255,255,255,.85); font-size: 15px; }
.event__list strong { color: var(--white); }
.event__list a { color: var(--yellow); font-weight: 600; }
.event__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.event__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ / Accordion ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 22px;
  cursor: pointer;
}
.accordion__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--navy);
  transition: transform .2s ease, background .2s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--yellow);
}
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.accordion__panel p { padding: 0 22px 20px; margin: 0; font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--yellow);
  padding: 56px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { color: var(--navy-3); margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { color: var(--navy-3); opacity: .8; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 14px; }
.hashtag { color: var(--yellow); font-weight: 600; }
.footer__col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14px; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { padding: 22px 0; text-align: center; font-size: 13px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties__list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1360px) {
  .header__actions .phone-pill { display: none; }
}

@media (max-width: 1240px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);
    background: var(--white);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    padding: 24px;
    z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; white-space: normal; }
  .nav__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav__cta { display: block; width: 100%; text-align: center; margin-top: 24px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .header__inner { gap: 10px; }
  .brand__logo { height: 38px; }
  .header__actions .btn--small { display: none; }
  .nav { top: 66px; height: calc(100vh - 66px); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .specialties__list { grid-template-columns: 1fr; }
  .specialties__list li.specialties__item--extra { display: none; }
  .specialties__list.is-expanded li.specialties__item--extra { display: flex; }
  .specialties__toggle { display: block; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { text-align: center; justify-content: center; }
  .cta-band__actions { justify-content: center; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__col ul { justify-items: center; }
  .hero__qr { position: static; margin-top: 16px; max-width: none; }
  .header__actions .btn--small { padding: 9px 16px; font-size: 13px; }
}
