/* =========================================================
   Floarea cu Har — stil comun
   Paletă din logo (bujor roz + frunze verzi) pe fundal crem,
   inspirată de ingerasii.eu.
   ========================================================= */
:root {
  --cream: #fff9f3;
  --cream-2: #fdf0e6;
  --white: #ffffff;
  --rose: #e8608a;          /* decor, ilustrații */
  --rose-dark: #c73b6f;     /* butoane (contrast AA cu alb) */
  --rose-text: #b23163;     /* text accentuat */
  --rose-soft: #fbe1ea;
  --leaf: #7fa33a;
  --leaf-dark: #557a1f;
  --leaf-soft: #e9f2d8;
  --sun: #ffd166;
  --sun-soft: #fff1c9;
  --ink: #2c3e50;
  --ink-2: #55606e;
  --line: #f0e2d6;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(178, 49, 99, .08), 0 2px 6px rgba(44, 62, 80, .05);
  --shadow-lg: 0 20px 50px rgba(178, 49, 99, .14);
  --font-title: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; } /* height:auto — altfel atributele width/height alungesc poza pe mobil */
a { color: var(--rose-text); }
a:hover { color: var(--rose-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section--white { background: var(--white); }
.section--rose { background: var(--rose-soft); }
.section--leaf { background: var(--leaf-soft); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; }
.center .lead { margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--rose-dark); color: #fff; box-shadow: 0 8px 20px rgba(199, 59, 111, .3); }
.btn--primary:hover { background: #b0305f; color: #fff; }
.btn--leaf { background: var(--leaf-dark); color: #fff; box-shadow: 0 8px 20px rgba(85, 122, 31, .25); }
.btn--leaf:hover { background: #46661a; color: #fff; }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--rose-text); border-color: var(--rose); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .35em 1em; border-radius: 999px; font-weight: 800; font-size: .85rem;
  background: var(--leaf-soft); color: var(--leaf-dark);
}
.pill--rose { background: var(--rose-soft); color: var(--rose-text); }
.pill--sun { background: var(--sun-soft); color: #8a6100; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 243, .92); backdrop-filter: blur(10px);
  border-bottom: 2px dashed var(--rose-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand b { font-family: var(--font-title); font-size: 1.35rem; line-height: 1; display: block; color: var(--rose-text); }
.brand small { font-size: .78rem; color: var(--leaf-dark); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .96rem;
  padding: .5em .8em; border-radius: 999px;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--rose-soft); color: var(--rose-text); }
.nav .btn { margin-left: 8px; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .2s; }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 16px; gap: 4px; border-bottom: 2px solid var(--rose-soft);
    box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .8em 1em; }
  .nav .btn { margin: 8px 0 0; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun-soft) 0%, rgba(255, 241, 201, 0) 70%);
  top: -160px; right: -120px; z-index: -1;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose-soft) 0%, rgba(251, 225, 234, 0) 70%);
  bottom: -180px; left: -140px; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 .hl { color: var(--rose-text); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em;
  background: var(--sun); border-radius: 99px; z-index: -1;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { position: relative; }
.hero-photo .main {
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  aspect-ratio: 1; object-fit: cover; width: 100%;
  border: 10px solid var(--white); box-shadow: var(--shadow-lg);
}
.hero-photo .flower { position: absolute; width: 34%; left: -8%; bottom: -6%; filter: drop-shadow(0 10px 18px rgba(178, 49, 99, .25)); }
.hero-photo .badge {
  position: absolute; right: -4%; top: 8%; background: var(--white); border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow); font-weight: 800; font-size: .95rem; max-width: 200px; line-height: 1.3;
}
.hero-photo .badge b { display: block; font-family: var(--font-title); color: var(--leaf-dark); font-size: 1.6rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; margin: 10px auto 0; }
  .hero-photo .badge { right: 0; }
}

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(ellipse at center, var(--rose-soft) 0%, rgba(251, 225, 234, 0) 60%); z-index: -1;
}
.page-hero .lead { margin-inline: auto; }
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 10px; }
.crumbs a { color: var(--ink-2); }

/* ---------- grile și carduri ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 5px solid var(--accent, var(--rose));
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; background: var(--accent-soft, var(--rose-soft)); margin-bottom: 14px;
}
.card p:last-child { margin-bottom: 0; }
.c-rose { --accent: var(--rose); --accent-soft: var(--rose-soft); }
.c-leaf { --accent: var(--leaf); --accent-soft: var(--leaf-soft); }
.c-sun { --accent: var(--sun); --accent-soft: var(--sun-soft); }
.c-sky { --accent: #7cc4e4; --accent-soft: #e2f3fa; }
.c-lav { --accent: #b49be0; --accent-soft: #efe8fa; }

/* card caz */
.case {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case .thumb { position: relative; aspect-ratio: 4 / 3; background: var(--rose-soft); overflow: hidden; }
.case .thumb img { width: 100%; height: 100%; object-fit: cover; }
.case .thumb .pill { position: absolute; top: 14px; left: 14px; box-shadow: var(--shadow); }
.case .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case h3 { font-size: 1.25rem; margin-bottom: .35em; }
.case h3 a { color: var(--ink); text-decoration: none; }
.case h3 a:hover { color: var(--rose-text); }
.case p { color: var(--ink-2); font-size: .97rem; }
.case .foot { margin-top: auto; }


/* filtre + paginare */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button {
  border: 2px solid var(--line); background: var(--white); color: var(--ink); font: 800 .95rem var(--font-body);
  padding: .6em 1.2em; border-radius: 999px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px; display: inline-grid; place-items: center; padding: 0 14px;
  border-radius: 999px; background: var(--white); border: 2px solid var(--line);
  font-weight: 800; color: var(--ink); text-decoration: none;
}
.pagination a:hover { border-color: var(--rose); color: var(--rose-text); }
.pagination [aria-current="page"] { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.pagination .disabled { opacity: .4; pointer-events: none; }
.pagination .info { border: 0; background: none; font-weight: 700; color: var(--ink-2); width: 100%; height: auto; }

/* ---------- blocuri diverse ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-stack { position: relative; padding: 0 8% 12% 0; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.photo-stack img:first-child { aspect-ratio: 4 / 3; width: 100%; }
.photo-stack img:last-child { position: absolute; width: 46%; aspect-ratio: 3 / 4; right: 0; bottom: 0; border: 8px solid var(--white); }

.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--leaf-soft); color: var(--leaf-dark); display: grid; place-items: center; font-weight: 900; font-size: .8rem;
}

.quote {
  background: linear-gradient(135deg, var(--sun) 0%, #ffbf5e 100%); border-radius: 28px;
  padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-lg);
}
.quote blockquote { margin: 0; font-family: var(--font-title); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.35; font-weight: 700; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 800; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: #7a5200; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 24px 18px; text-align: center; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--font-title); font-size: 2.4rem; line-height: 1.1; color: var(--rose-text); }
.stat:nth-child(2n) b { color: var(--leaf-dark); }
.stat span { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cta-band {
  background: var(--rose-dark); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn--ghost { border-color: transparent; }
.cta-band .flower { position: absolute; right: -40px; bottom: -50px; width: 200px; opacity: .18; pointer-events: none; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px 24px 24px 84px; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px;
  width: 44px; height: 44px; border-radius: 50%; background: var(--rose-dark); color: #fff;
  display: grid; place-items: center; font: 800 1.2rem var(--font-title);
}
.step h3 { margin-bottom: .25em; }
.step p:last-child { margin: 0; }

.infobox {
  background: var(--white); border: 2px dashed var(--rose); border-radius: var(--radius); padding: 24px;
}
.data-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.data-row:last-child { border-bottom: 0; }
.data-row span { color: var(--ink-2); font-weight: 700; font-size: .9rem; }
.data-row code { font: 800 1.02rem/1.3 ui-monospace, Consolas, monospace; color: var(--ink); word-break: break-all; }
.copy { border: 0; background: var(--rose-soft); color: var(--rose-text); font: 800 .85rem var(--font-body); padding: .45em .9em; border-radius: 99px; cursor: pointer; }
.copy.ok { background: var(--leaf-soft); color: var(--leaf-dark); }

.notice { background: var(--sun-soft); border-left: 5px solid var(--sun); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .96rem; }

/* ---------- donație ---------- */
.donate-box { background: var(--white); border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-2); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.tabs button { border: 0; background: none; padding: .75em; border-radius: 999px; font: 800 1rem var(--font-body); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--white); color: var(--rose-text); box-shadow: var(--shadow); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.amounts button {
  border: 2px solid var(--line); background: var(--white); border-radius: var(--radius-sm);
  padding: 14px 6px; font: 800 1.15rem var(--font-title); color: var(--ink); cursor: pointer;
}
.amounts button[aria-pressed="true"] { border-color: var(--rose-dark); background: var(--rose-soft); color: var(--rose-text); }
.impact { min-height: 3em; font-size: .95rem; color: var(--ink-2); margin: 10px 0 18px; }
.pay-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--ink-2); font-weight: 700; }
.pay-logos span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.pay-logos[hidden] { display: none; }
.amounts button[hidden] { display: none; }

/* ---------- formulare ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 2px solid var(--line); background: var(--white); border-radius: var(--radius-sm);
  padding: .8em 1em; font: 600 1rem var(--font-body); color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--rose); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin-bottom: 18px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rose-dark); flex: none; }

/* ---------- articol caz / text legal ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--rose-soft); }
.table-scroll { overflow-x: auto; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.case-layout .side { position: sticky; top: 100px; }
@media (max-width: 960px) { .case-layout { grid-template-columns: 1fr; } .case-layout .side { position: static; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 1.4em 0; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; width: 100%; }
.case-note { margin: 1.2em 0 0; padding: 1em 1.2em; border-left: 4px solid var(--rose); background: var(--rose-soft); border-radius: var(--radius-sm); font-weight: 600; font-style: italic; }
.cover { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: var(--shadow); margin-bottom: 28px; }

/* proiect (Activitatea noastră) */
.project { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-top: 5px solid var(--accent); display: grid; grid-template-columns: 220px 1fr; }
.project img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.project .body { padding: 22px 24px; }
.project h3 { display: flex; align-items: center; gap: 10px; }
.project .ico { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--accent-soft); font-size: 1.3rem; flex: none; }
.project p { color: var(--ink-2); font-size: .97rem; }
.project .check { margin: 0; font-size: .93rem; }
.project .check li { margin-bottom: 6px; }
@media (max-width: 1100px) { .project { grid-template-columns: 1fr; } .project img { aspect-ratio: 16 / 9; min-height: 0; height: auto; } }

/* hero cu fetița (prima pagină) */
/* web: card îngust, cu fetița lipită de marginea din dreapta, ca pe telefon */
.hero-girl { background: #ebddd2; width: min(var(--wrap), 100% - 32px); margin: 20px auto 0; border-radius: 28px; overflow: hidden; }
.hero-girl .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0; width: 100%; padding-left: clamp(24px, 4vw, 56px); }
.hero-girl .txt { padding: 28px 16px 28px 0; }
.hero-girl h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
.hero-girl .tag { font-family: Georgia, serif; font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--ink-2); margin-bottom: 1.2em; }
.hero-girl .photo { align-self: end; }
.hero-girl .photo img {
  width: auto; height: clamp(300px, 33vw, 400px); max-width: none;
  /* marginea din stânga se topește în fundal, ca poza să nu pară un dreptunghi lipit */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%);
  mask-image: linear-gradient(90deg, transparent, #000 14%);
}
.hero-girl .actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* mobil: aceeași compoziție ca pe web — text în stânga, fetița în dreapta, până la marginea ecranului */
@media (max-width: 760px) {
  .hero-girl { width: auto; margin: 0; border-radius: 0 0 28px 28px; }
  .hero-girl .wrap { margin: 0; padding-left: 16px; grid-template-columns: 48% 1fr; gap: 0; align-items: stretch; }
  .hero-girl .txt { padding: 20px 0; position: relative; z-index: 1; }
  .hero-girl .pill { font-size: .72rem; padding: .3em .8em; }
  .hero-girl h1 { font-size: clamp(1.4rem, 6.6vw, 2.5rem); }
  .hero-girl .tag { font-size: clamp(.9rem, 3.9vw, 1.25rem); line-height: 1.3; margin-bottom: .8em; }
  .hero-girl .actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-girl .actions .btn { padding: .6em .95em; font-size: .82rem; line-height: 1.15; text-align: center; }
  .hero-girl .photo { position: relative; align-self: stretch; }
  .hero-girl .photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0;
    object-fit: cover; object-position: 100% 50%; /* capul fetiței e spre dreapta pozei */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%);
    mask-image: linear-gradient(90deg, transparent, #000 12%);
  }
}

/* mobil: mai puțin scroll */
@media (max-width: 620px) {
  .section { padding: 44px 0; }
  .page-hero { padding: 28px 0 24px; }
  .photo-stack { display: none; }
  .quote { padding: 26px 20px; }
  .project { grid-template-columns: 96px 1fr; border-top-width: 0; border-left: 5px solid var(--accent); }
  .project img { aspect-ratio: auto; height: 100%; min-height: 0; }
  .project .body { padding: 14px 16px; }
  .project h3 { font-size: 1.05rem; }
  .project .ico { display: none; }
  .project p { font-size: .9rem; margin: 0; }
  .project .check { display: none; }
  .case .thumb { aspect-ratio: 16 / 9; }
  .case .body { padding: 16px 18px 18px; }
}

.values .card { padding: 18px 20px; }
.values h3 { font-size: 1.1rem; margin-bottom: .2em; }
.values p { font-size: .93rem; color: var(--ink-2); }

/* WhatsApp flotant */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; text-decoration: none;
  font-weight: 800; box-shadow: 0 10px 26px rgba(37, 211, 102, .4); transition: transform .15s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) { .wa-float { padding: 12px; } .wa-float span { display: none; } }
.cookie { max-width: min(520px, calc(100% - 110px)); }
@media (max-width: 560px) { .cookie { max-width: none; right: 86px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d8dde3; padding: 64px 0 28px; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 56px; background: var(--cream); border-radius: 50%; padding: 4px; }
.foot-brand b { font-family: var(--font-title); font-size: 1.4rem; color: #fff; }
.anpc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.anpc a {
  display: inline-flex; flex-direction: column; justify-content: center; background: #fff; color: var(--ink) !important;
  border-radius: 10px; padding: 8px 12px; line-height: 1.15; min-width: 150px;
}
.anpc a b { font-size: .95rem; color: #1a4f8b; }
.anpc a small { font-size: .7rem; color: var(--ink-2); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #aab3bd; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- banner cookie ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 520px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px;
  border: 2px solid var(--rose-soft); font-size: .93rem;
}
.cookie p { margin-bottom: 12px; }
.cookie .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .case { transition: none; }
}

/* sponsori — bandă care derulează (finalul paginii Despre noi) */
.sponsor-strip { padding: 0 0 8px; scroll-margin-top: 80px; }
.sponsor-strip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 4px; }
.sponsor-strip__head h2 { font-size: 1.35rem; margin: 0; }
.sponsor-strip__head a { font-weight: 800; font-size: .95rem; text-decoration: none; }
.marquee {
  overflow: hidden; padding: 12px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* spațiul dintre carduri e margin-right (nu gap), ca -50% să fie exact jumătatea benzii pe orice ecran */
.marquee__track {
  display: flex; width: max-content; will-change: transform;
  -webkit-animation: derulare var(--durata, 25s) linear infinite;
  animation: derulare var(--durata, 25s) linear infinite;
}
@-webkit-keyframes derulare { from { -webkit-transform: translate3d(0, 0, 0); } to { -webkit-transform: translate3d(-50%, 0, 0); } }
@keyframes derulare { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* pauză doar cu mouse-ul: pe touch, :hover „se lipește” după o atingere și oprea banda */
@media (hover: hover) {
  .marquee:hover .marquee__track { -webkit-animation-play-state: paused; animation-play-state: paused; }
}
.marquee:focus-within .marquee__track { -webkit-animation-play-state: paused; animation-play-state: paused; }
.sponsor {
  flex: none; margin-right: 20px; width: 210px; height: 120px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); display: grid; place-items: center; padding: 18px 22px;
  text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease;
}
a.sponsor:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.sponsor img { max-width: 100%; max-height: 84px; width: auto; object-fit: contain; border-radius: 8px; }
.sp-name { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; text-align: center; line-height: 1.2; }
@media (max-width: 620px) {
  .sponsor { margin-right: 12px; width: 150px; height: 90px; padding: 12px 14px; }
  .sponsor img { max-height: 62px; }
  .sp-name { font-size: 1rem; }
}
/* „animații reduse” (setare de telefon / economisire baterie): banda merge, dar de 3 ori mai încet */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { -webkit-animation-duration: calc(var(--durata, 25s) * 3); animation-duration: calc(var(--durata, 25s) * 3); }
}
