/* ============================================================
   Pentamed Drugstore — pentamedlb.com
   ============================================================ */
:root {
  --teal: #395273;
  --teal-dark: #2c405a;
  --teal-light: #e9eef5;
  --accent: #f27127;
  --ink: #22303f;
  --ink-soft: #5c6b7c;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f2f2f3;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(44, 64, 90, 0.08);
  --font: "Helvetica Neue", Helvetica, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: var(--teal); text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--teal-dark);
  color: #cdd8e6;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: #fff; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 38px; height: 38px; }
.brand .name { font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--teal-dark); }
.brand .name span { color: var(--accent); }
.brand .tag { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--ink-soft); text-transform: uppercase; }

nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--teal); }
nav.main a.active { color: var(--teal); border-bottom-color: var(--accent); }
nav.main .cta {
  background: var(--teal); color: #fff; padding: 10px 20px;
  border-radius: 999px; border: none; font-weight: 600;
}
nav.main .cta:hover { background: var(--teal-dark); color: #fff; }
nav.main a.cta.active { color: #fff; background: var(--teal-dark); border-bottom-color: transparent; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  nav.main {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line); gap: 14px; align-items: flex-start;
  }
  nav.main.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #4780c2 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; font-weight: 700; }
.hero h1 em { font-style: normal; color: #f9c9a6; }
.hero p.lead { margin-top: 18px; font-size: 18px; color: #dee6f1; max-width: 34em; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { border: 1.5px solid rgba(255,255,255,0.65); color: #fff; }
.btn.solid { background: var(--teal); color: #fff; }
.btn.outline { border: 1.5px solid var(--teal); color: var(--teal); }

.hero .badge-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px);
}
.hero .badge-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: #f9c9a6; }
.hero .badge-card ul { list-style: none; margin-top: 14px; }
.hero .badge-card li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 15px; }
.hero .badge-card li:last-child { border-bottom: none; }

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 52px; }
}

/* ---------- Stats strip ---------- */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 34px; padding-bottom: 34px; text-align: center;
}
.stats .num { font-size: 32px; font-weight: 700; color: var(--teal); }
.stats .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-soft); }
@media (max-width: 700px) { .stats .container { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.soft { background: var(--bg-soft); }
.kicker {
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
h2.title { font-size: clamp(24px, 3.2vw, 34px); margin-top: 8px; color: var(--teal-dark); }
p.sub { margin-top: 12px; color: var(--ink-soft); max-width: 46em; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--teal); font-size: 22px;
}
.card h3 { font-size: 18px; color: var(--teal-dark); }
.card p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Product grid ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.filters button {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: var(--font);
}
.filters button.active { background: var(--teal); border-color: var(--teal); color: #fff; }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px;
}
@media (max-width: 980px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products-grid { grid-template-columns: 1fr; } }

.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease;
}
.product:hover { transform: translateY(-4px); }
.product .ph {
  background: #fff; height: 210px; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line); padding: 16px;
}
.product .ph img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product .maker { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--accent); font-weight: 700; }
.product h3 { font-size: 19px; margin-top: 4px; color: var(--teal-dark); }
.product .cat {
  display: inline-block; margin-top: 8px; font-size: 12px; background: var(--teal-light);
  color: var(--teal-dark); border-radius: 999px; padding: 3px 12px; align-self: flex-start;
}
.product p.desc { margin-top: 12px; font-size: 14px; color: var(--ink-soft); flex: 1; }

/* ---------- About page ---------- */
.about-fact {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.about-fact b { min-width: 210px; color: var(--teal-dark); }
@media (max-width: 620px) { .about-fact { flex-direction: column; gap: 2px; } }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team { grid-template-columns: 1fr; } }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.member .avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--teal);
  color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.member h3 { font-size: 17px; color: var(--teal-dark); }
.member .role { font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.member p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- News ---------- */
.news-list { margin-top: 36px; display: grid; gap: 22px; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start;
}
@media (max-width: 620px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }
.news-item .date {
  font-weight: 700; color: var(--teal); font-size: 15px; line-height: 1.3;
  border-right: 2px solid var(--accent); padding-right: 16px;
}
@media (max-width: 620px) { .news-item .date { border-right: none; padding-right: 0; } }
.news-item h3 { font-size: 19px; color: var(--teal-dark); }
.news-item p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.news-photo { margin: 16px 0 4px; border-radius: 14px; overflow: hidden; background: var(--line); }
.news-photo img { display: block; width: 100%; height: auto; }
.news-photo-inline { background: #fff; border: 1px solid var(--line); }
.news-photo-inline img { padding: 8px; }
.news-photo figcaption {
  padding: 10px 14px; font-size: 13px; color: var(--ink-soft);
  border-left: 3px solid var(--accent); background: #fff;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; margin-top: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.contact-card .row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row .ic { color: var(--teal); font-size: 18px; min-width: 24px; }
.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff !important; font-weight: 600;
  padding: 12px 24px; border-radius: 999px; margin-top: 18px;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--teal-dark); color: #bcd8d7; margin-top: 0;
  padding: 56px 0 28px; font-size: 14px;
}
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px;
}
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
footer.site a { color: #bcd8d7; display: block; padding: 4px 0; }
footer.site a:hover { color: #fff; }
footer.site .legal {
  border-top: 1px solid rgba(255,255,255,0.15); margin-top: 40px; padding-top: 20px;
  font-size: 12.5px; color: #9dc2c1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.disclaimer {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  padding: 16px 20px; border-radius: 8px; font-size: 13.5px; color: var(--ink-soft);
  margin-top: 40px;
}

/* ============================================================
   V2 design upgrade — professional polish
   ============================================================ */

h1, h2.title, .page-hero h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.5px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; }
body { -webkit-font-smoothing: antialiased; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--teal);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
}
.page-hero .container { padding-top: 74px; padding-bottom: 66px; position: relative; z-index: 1; }
.page-hero .crumb { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #ffffff; font-weight: 700; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 50px); margin-top: 10px; line-height: 1.1; color: var(--accent); }
.page-hero p { margin-top: 14px; max-width: 44em; color: #dee6f1; font-size: 17px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Mission / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.value-card {
  position: relative; border-radius: var(--radius); padding: 30px 28px;
  background: linear-gradient(160deg, #ffffff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
}
.value-card .num {
  font-family: var(--font-display); font-size: 42px; color: var(--teal-light);
  -webkit-text-stroke: 1.5px var(--teal); color: transparent; line-height: 1;
}
.value-card h3 { margin-top: 12px; color: var(--teal-dark); font-size: 19px; }
.value-card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Story / timeline ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; margin-top: 44px; align-items: start; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-copy p { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.story-copy p:first-child { margin-top: 0; }
.story-copy .drop::first-letter {
  font-family: var(--font-display); font-size: 52px; line-height: 0.9;
  float: left; padding-right: 10px; color: var(--teal);
}
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--teal), var(--accent));
}
.tl-item { position: relative; padding: 0 0 26px 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--teal);
}
.tl-item .yr { font-family: var(--font-display); font-size: 20px; color: var(--teal-dark); font-weight: 600; }
.tl-item p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }

/* ---------- Licence panel ---------- */
.licence-panel {
  margin-top: 44px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
@media (max-width: 900px) { .licence-panel { grid-template-columns: 1fr; } }
.licence-panel .seal {
  padding: 44px 40px; color: #fff; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(600px 300px at 20% 120%, rgba(232,131,58,0.35), transparent 60%);
}
.licence-panel .seal .stamp {
  width: 92px; height: 92px; border-radius: 50%; border: 3px double #f9c9a6;
  display: flex; align-items: center; justify-content: center; font-size: 38px; margin-bottom: 20px;
  background: rgba(255,255,255,0.08);
}
.licence-panel .seal h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.licence-panel .seal p { margin-top: 10px; color: #dee6f1; font-size: 15px; }
.licence-panel .facts { background: #fff; padding: 36px 40px; }
.licence-panel .facts .about-fact:last-child { border-bottom: none; }

/* ---------- Team v2 ---------- */
.team-lead {
  margin-top: 40px; display: grid; grid-template-columns: 200px 1fr; gap: 34px;
  background: linear-gradient(150deg, var(--teal-dark), var(--teal)); color: #fff;
  border-radius: 20px; padding: 38px 42px; box-shadow: var(--shadow); align-items: center;
}
@media (max-width: 760px) { .team-lead { grid-template-columns: 1fr; text-align: center; } }
.team-lead .avatar {
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto;
  background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 52px; color: #f9c9a6;
}
.team-lead h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.team-lead .role { color: #f9c9a6; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; margin-top: 4px; }
.team-lead p { margin-top: 14px; color: #dee6f1; font-size: 15.5px; line-height: 1.7; }

.team-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 980px) { .team-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-v2 { grid-template-columns: 1fr; } }
.member-v2 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.member-v2:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(44,64,90,0.14); }
.member-v2 .avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(140deg, var(--teal), #4780c2);
  color: #fff; font-weight: 700; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--teal-light);
}
.member-v2 h3 { font-size: 16.5px; color: var(--teal-dark); }
.member-v2 .role { font-size: 12.5px; color: var(--accent); font-weight: 700; margin-top: 3px; letter-spacing: 0.6px; text-transform: uppercase; }

/* ---------- Capability tiles ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 980px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.cap .ic {
  width: 44px; height: 44px; border-radius: 12px; font-size: 21px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.cap b { color: var(--teal-dark); font-size: 15.5px; display: block; }
.cap span { color: var(--ink-soft); font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), #f09a55);
  border-radius: 20px; color: #fff; padding: 44px 48px; margin-top: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 14px 34px rgba(232,131,58,0.35);
}
.cta-band h3 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; }
.cta-band p { color: #fff3e8; margin-top: 6px; }
.cta-band .btn { background: #fff; color: var(--accent); white-space: nowrap; }

/* ---------- Announcement bar (homepage) ---------- */
.announce {
  position: relative; z-index: 60;
  background: var(--accent, #f27127); color: #fff;
  font-size: 14px; font-weight: 600; padding: 8px 0;
}
.announce .container { display: flex; justify-content: center; gap: 14px; align-items: center; flex-wrap: wrap; }
.announce a {
  color: #fff; background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.55); border-radius: 999px;
  padding: 3px 16px; letter-spacing: 1px; font-size: 13px;
  transition: background .2s;
}
.announce a:hover { background: rgba(255,255,255,0.32); }
.announce ~ header.site { top: 0; }

/* ---------- Partners carousel ---------- */
.partners-carousel { overflow: hidden; margin-top: 36px; }
.partners-track {
  display: flex; gap: 64px; width: max-content; align-items: center;
  animation: partners-scroll 30s linear infinite;
  padding: 10px 32px;
}
.partners-carousel:hover .partners-track { animation-play-state: paused; }
.partner-logo {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--teal-dark); white-space: nowrap;
}
.partner-logo img {
  height: 62px; width: auto; max-width: 200px; object-fit: contain;
  filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s;
}
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo small { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font); }
@keyframes partners-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Partner CTA ---------- */
.partner-cta { background: var(--teal-dark); color: #fff; padding: 56px 0; }
.partner-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.partner-cta h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 8px; }
.partner-cta p { color: #cdd8e6; max-width: 560px; }
.btn.partner-btn {
  background: var(--accent, #f27127); color: #fff; font-weight: 700;
  padding: 16px 32px; border-radius: 12px; font-size: 17px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform .15s;
}
.btn.partner-btn:hover { transform: translateY(-2px); }

/* ---------- News cards row (homepage) ---------- */
.news-row {
  margin-top: 36px; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.news-card.has-img { padding: 0; overflow: hidden; }
.news-card.has-img > :not(.ph) { margin-left: 22px; margin-right: 22px; }
.news-card.has-img > :last-child { margin-bottom: 22px; }
.news-card .ph { background: var(--line); aspect-ratio: 3 / 2; overflow: hidden; }
.news-card .ph img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.news-card.has-img:hover .ph img { transform: scale(1.04); }
.news-card.has-img .date { margin-top: 20px; }
.news-card .date { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent, #f27127); font-weight: 700; }
.news-card h3 { font-size: 17px; }
.news-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Social links ---------- */
.social { display: flex; gap: 12px; margin-top: 12px; }
.social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: #fff !important;
  transition: background .2s;
}
.social a:hover { background: var(--accent, #f27127); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Team photo avatars ---------- */
img.avatar.photo { object-fit: cover; padding: 0; }
.member-v2 img.avatar.photo { margin-left: auto; margin-right: auto; }
.member-v2 img.avatar.photo { width: 88px; height: 88px; }

/* ---------- Brand logo ---------- */
.brand img { height: 48px; width: auto; display: block; }
footer.site .cols img.footer-logo { height: 44px; width: auto; margin-bottom: 12px; }
.leaflet-link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--teal); }
.leaflet-link:hover { color: var(--accent); }
.team-photo { width: 100%; border-radius: var(--radius); margin-top: 32px; box-shadow: var(--shadow); }

/* ---------- Photo gallery ---------- */
.gallery {
  margin-top: 36px; display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery img.tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; } .gallery img.tall { grid-row: span 1; } }

/* ---------- Brand icons (client icon set) ---------- */
.card .icon img, .cap .ic img { width: 28px; height: 28px; object-fit: contain; display: block; }
.contact-card .row .ic img { width: 22px; height: 22px; object-fit: contain; display: block; }
.licence-panel .seal .stamp img { width: 46px; height: 46px; object-fit: contain; }
.badge-card li .bi {
  width: 20px; height: 20px; object-fit: contain; vertical-align: -4px; margin-right: 10px;
}
.leaflet-link .bi { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }

/* ---------- Leaf-masked feature images ---------- */
.leaf-figure { margin: 0; }
.leaf-figure img { width: 100%; height: auto; display: block; }

.hero .container > .hero-copy { min-width: 0; }
.hero .leaf-figure { margin-top: 34px; grid-column: 1 / -1; }
@media (min-width: 901px) { .hero .leaf-figure img { max-width: 900px; margin: 0 auto; } }

.partner-cta .leaf-figure { margin-top: 34px; width: 100%; }
.partner-cta .leaf-figure img { max-width: 860px; margin: 0 auto; }

/* ---------- About hero world map ---------- */
.page-hero .hero-map {
  margin-top: 30px; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.page-hero .hero-map img { width: 100%; height: auto; display: block; }

/* ---------- News article typography ---------- */
.news-item h3, .news-card h3 { color: var(--accent); }
.news-item h4 {
  margin-top: 20px; font-size: 16px; color: var(--teal); font-weight: 700;
}
.news-item p { margin-top: 12px; color: var(--ink-soft); line-height: 1.65; }
.news-item p:first-of-type { margin-top: 10px; }
