/* faringo.ro 2026: clean pharma with herbal warmth */

@font-face { font-family: "Barmeno"; src: url("../fonts/BarmenoProMed.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barmeno"; src: url("../fonts/BarmenoProBol.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barmeno"; src: url("../fonts/BarmenoProMedIta.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --cream: #fbf7ef;
  --cream-2: #f3ecdd;
  --paper: #ffffff;
  --navy: #003268;
  --navy-deep: #00224a;
  --ink: #16294a;
  --muted: #56657c;
  --line: #e6dfd0;
  --teal: #009ca1;
  --teal-50: #e2f4f3;
  --teal-100: #c7ebe9;
  --green: #2c8f52;
  --green-50: #e6f3e8;
  --green-100: #cde8d3;
  --lilac: #5f6bbb;
  --lilac-50: #eceefa;
  --lilac-100: #d8dcf3;
  --orange: #f39200;
  --orange-deep: #d97c00;
  --orange-50: #fff2de;
  --sun: #ffc94a;

  --font-display: "Barmeno", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --shadow-soft: 0 24px 48px -30px rgba(0, 50, 104, 0.35);
  --shadow-card: 0 2px 0 rgba(0, 50, 104, 0.04), 0 18px 40px -28px rgba(0, 50, 104, 0.4);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
sup { font-size: 0.62em; line-height: 0; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 0.9rem;
}
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { left: 0.75rem; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 14px 26px -16px rgba(0, 50, 104, 0.8); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(0, 50, 104, 0.25); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 14px 26px -16px rgba(217, 124, 0, 0.9); }
.btn-orange:hover { background: var(--orange-deep); color: #fff; }
.btn-white { background: #fff; color: var(--orange-deep); }
.btn-white:hover { color: var(--navy); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.02em;
  padding: 0.38rem 0.85rem; border-radius: 999px; background: #fff; color: var(--navy);
  border: 1px solid var(--line);
}
.chip-age { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-sugar { background: #fff; color: var(--green); border-color: var(--green-100); }
.chip-gify { background: var(--orange); color: #fff; border-color: var(--orange); }
.chip-tag { background: rgba(255, 255, 255, 0.75); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(0, 50, 104, 0.6); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a, .nav button.nav-drop {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 0.55rem 0.9rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav a:hover, .nav button.nav-drop:hover, .nav a[aria-current="page"] { background: rgba(0, 50, 104, 0.07); color: var(--navy); }
.nav a.nav-gify { background: var(--orange); color: #fff; margin-left: 0.4rem; padding-inline: 1.1rem; }
.nav a.nav-gify:hover, .nav a.nav-gify[aria-current="page"] { background: var(--orange-deep); color: #fff; }
.nav-drop svg { width: 0.8em; height: 0.8em; transition: transform 0.2s ease; }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 560px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); padding: 0.8rem; display: none; grid-template-columns: 1fr 1fr; gap: 0.4rem;
}
.drop.open { display: grid; }
.drop a { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem; border-radius: var(--r-md); font-size: 0.98rem; line-height: 1.15; }
.drop a span small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; }
.drop a:hover { background: var(--cream); }
.drop .thumb { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none; padding: 5px; }
.drop .thumb img { max-height: 100%; width: auto; }
.menu-btn { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 999px; height: 44px; padding: 0 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; align-items: center; gap: 0.5rem; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- tints ---------- */
.tint-teal { --tint: var(--teal-50); --tint-2: var(--teal-100); --accent: var(--teal); }
.tint-green { --tint: var(--green-50); --tint-2: var(--green-100); --accent: var(--green); }
.tint-lilac { --tint: var(--lilac-50); --tint-2: var(--lilac-100); --accent: var(--lilac); }
.tint-orange { --tint: var(--orange-50); --tint-2: #ffe1b3; --accent: var(--orange-deep); }
.thumb.tint-teal, .thumb.tint-green, .thumb.tint-lilac { background: var(--tint); }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(0, 156, 161, 0.16), rgba(0, 156, 161, 0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: 13.5ch; }
.hero-badges .badges { grid-template-columns: repeat(2, max-content); gap: 0.8rem 1.6rem; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-text p.sub { font-size: 1.1rem; color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-badges { margin-top: 2rem; }
.shelf {
  position: relative; aspect-ratio: 1 / 0.86; border-radius: 48% 52% 46% 54% / 55% 48% 52% 45%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 45%),
    linear-gradient(145deg, var(--teal-50), #d5efe4 55%, var(--orange-50));
  box-shadow: inset 0 0 0 1px rgba(0, 50, 104, 0.05);
}
.shelf img { position: absolute; filter: drop-shadow(0 22px 24px rgba(0, 34, 74, 0.22)); }
.shelf .p1 { width: 33%; left: 3%; bottom: 16%; z-index: 2; }
.shelf .p2 { width: 40%; left: 30%; bottom: 40%; z-index: 1; }
.shelf .p3 { width: 33%; right: 2%; bottom: 17%; z-index: 2; }
.shelf .p4 { width: 37%; left: 31%; bottom: 2%; z-index: 4; }
.shelf.three .p1 { width: 38%; left: 4%; bottom: 14%; }
.shelf.three .p3 { width: 38%; right: 4%; bottom: 16%; }
.shelf.three .p4 { width: 40%; left: 30%; bottom: 4%; }
.leaf { position: absolute; color: var(--green); opacity: 0.85; z-index: 0; }
.leaf.l1 { width: 64px; top: 8%; left: 10%; transform: rotate(-24deg); }
.leaf.l2 { width: 44px; top: 4%; right: 18%; transform: rotate(32deg); color: var(--teal); }

/* brand swoosh */
.swoosh { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 96px); display: block; }

/* ---------- campaign strip ---------- */
.gify-strip { position: relative; color: #fff; background-color: var(--orange); overflow: hidden; }
.gify-strip::before, .gify-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.22; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%23a35400'%3E%3Cpath d='M18 14c14-6 34-2 38 10s-6 28-20 30-28-4-30-16 0-20 12-24z'/%3E%3Cpath d='M86 8c16-2 30 6 30 18s-12 22-26 22-24-8-24-20 6-18 20-20z'/%3E%3Cpath d='M150 18c18-4 40 4 42 18s-12 26-28 26-26-10-26-22 0-18 12-22z'/%3E%3Cpath d='M30 84c16-4 32 6 30 20s-16 24-30 22-22-12-20-24 6-14 20-18z'/%3E%3Cpath d='M98 74c18 0 30 12 28 26s-16 22-32 20-24-14-20-26 8-20 24-20z'/%3E%3Cpath d='M164 88c14-2 28 8 26 22s-14 20-28 20-24-10-22-22 10-18 24-20z'/%3E%3Cpath d='M14 160c14-6 30 2 32 14s-8 26-22 26-22-8-22-20 0-16 12-20z'/%3E%3Cpath d='M80 150c18-2 32 8 30 22s-14 24-30 24-26-10-24-24 8-20 24-22z'/%3E%3Cpath d='M150 156c16-4 36 4 38 18s-10 28-26 28-28-10-28-22 2-20 16-24z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.gify-strip .wrap { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding-block: 1.6rem; }
.gify-strip .tag { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; background: rgba(0, 34, 74, 0.18); padding: 0.4rem 0.8rem; border-radius: 999px; white-space: nowrap; }
.gify-strip .slogan { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.2; margin: 0; }
.gify-strip .period { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; opacity: 0.92; margin-top: 0.2rem; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-head p { max-width: 46ch; color: var(--muted); margin: 0; }
.paper { background: var(--paper); }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: #fff;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); color: var(--ink); box-shadow: 0 30px 50px -30px rgba(0, 50, 104, 0.55); }
.card-media { position: relative; background: radial-gradient(circle at 50% 38%, #fff 0, var(--tint) 62%); aspect-ratio: 1 / 0.92; }
.card-media img { position: absolute; left: 10%; top: 12%; width: 80%; height: 80%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 34, 74, 0.18)); transition: transform 0.45s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.04) rotate(-1deg); }
.card-media .chip-gify { position: absolute; top: 0.9rem; left: 0.9rem; font-size: 0.75rem; z-index: 2; }
.card-body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-line { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0; }
.card h3 { margin: 0; font-size: 1.45rem; }
.card .slogan { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .chips { margin-top: auto; padding-top: 0.4rem; }
.card .more { font-family: var(--font-display); font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 0.4rem; }
.card .more svg { width: 1em; height: 1em; transition: transform 0.2s ease; }
.card:hover .more svg { transform: translateX(4px); }

/* badges row */
.badges { display: grid; grid-template-columns: repeat(4, auto); gap: 0.6rem 1.4rem; justify-content: start; margin: 0; padding: 0; list-style: none; }
.badges li { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.badges .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal-100); flex: none; }
.badges .ico svg { width: 20px; height: 20px; }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #6cc04a, var(--teal)); }
.t-year { position: relative; }
.t-year .yr { position: relative; display: inline-grid; place-items: center; height: 74px; min-width: 120px; padding: 0 1.4rem; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; box-shadow: 0 0 0 8px var(--cream); }
.t-items { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.t-item { display: flex; align-items: center; gap: 0.9rem; background: #fff; border-radius: var(--r-md); padding: 0.7rem 1rem 0.7rem 0.7rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); }
.t-item:hover { color: var(--ink); transform: translateY(-2px); }
.t-item .thumb { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; padding: 5px; flex: none; background: var(--tint); }
.t-item .thumb img { max-height: 100%; width: auto; }
.t-item b { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; display: block; line-height: 1.15; }
.t-item .chips { margin-top: 0.35rem; }
.t-item .chip { font-size: 0.74rem; padding: 0.2rem 0.55rem; }

/* cough teaser */
.teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.teaser-media { position: relative; }
.teaser-media .blob { position: absolute; inset: 8% 2% 0 12%; background: var(--teal-50); border-radius: 50% 46% 52% 48% / 48% 54% 46% 52%; }
.teaser-media img { position: relative; width: min(420px, 82%); margin-inline: auto; }
.teaser blockquote { margin: 0 0 1.5rem; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.3; color: var(--navy); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4.5rem, 8vw, 6.5rem); overflow: hidden; }
.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.ph-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ph-grid h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.ph-slogan { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--accent, var(--teal)); margin-bottom: 1.2rem; }
.claims { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.55rem; }
.claims li { position: relative; padding-left: 2rem; font-size: 1.05rem; }
.claims li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent, var(--teal)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.ph-media { position: relative; }
.ph-panel { position: relative; border-radius: var(--r-xl); background: radial-gradient(circle at 50% 40%, #fff 0, var(--tint) 58%, var(--tint-2) 100%); aspect-ratio: 1 / 0.95; }
.ph-panel img { position: absolute; left: 11%; top: 10%; width: 78%; height: 80%; object-fit: contain; filter: drop-shadow(0 26px 26px rgba(0, 34, 74, 0.22)); }
.ph-panel .chip-gify { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; }
.ph-notified { margin: 0.8rem 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* product details */
.details { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 0.2rem; font-family: var(--font-display); font-weight: 700; }
.toc a { text-decoration: none; color: var(--muted); padding: 0.45rem 0.9rem; border-radius: 999px; }
.toc a:hover, .toc a.active { color: var(--navy); background: #fff; }
.block { scroll-margin-top: 100px; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.block > h2 { margin-bottom: 1.2rem; }
.intro p { font-size: 1.08rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.info { background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-card); border-top: 4px solid var(--tint-2); }
.info b:first-child { color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; }
.subhead { font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; margin: 1.5rem 0 0.8rem; }
.doses { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.dose { background: #fff; border-radius: var(--r-lg); padding: 1.3rem 1.3rem 1.2rem; box-shadow: var(--shadow-card); }
.dose .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 0.6rem; }
.dose .who { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; line-height: 1.25; }
.dose p { margin: 0; color: var(--muted); }
.note { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--orange-50); color: #7a4a00; }
.recs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.recs li { background: #fff; border-radius: var(--r-md); padding: 0.95rem 1.1rem 0.95rem 3rem; position: relative; box-shadow: var(--shadow-card); }
.recs li::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; border: 3px solid var(--accent); }
.ingredients { background: #fff; border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-card); }
.ingredients p { margin: 0; font-size: 0.97rem; color: var(--ink); }
.ingredients p b { color: var(--navy); }
table.actives { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1.2rem; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); font-size: 0.98rem; }
table.actives th, table.actives td { padding: 0.85rem 1.2rem; text-align: left; }
table.actives thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
table.actives th:last-child, table.actives td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.actives tbody tr:nth-child(even) td { background: var(--cream); }
table.actives tbody td:first-child { font-weight: 600; color: var(--navy); }
.leaflet-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 1.4rem 1.8rem; }
.leaflet-card h3 { color: #fff; margin: 0 0 0.2rem; }
.leaflet-card p { margin: 0; opacity: 0.82; font-size: 0.95rem; }
.leaflet-card .doc { width: 58px; height: 58px; border-radius: 16px; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.leaflet-card .doc svg { width: 28px; height: 28px; }
.leaflet-card .btns { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: end; }
.video-card { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #0f3d22; box-shadow: var(--shadow-soft); }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.footnotes { font-size: 0.85rem; color: var(--muted); margin-top: 1.5rem; }
.footnotes p { margin: 0 0 0.3rem; }

/* related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related .card-media { aspect-ratio: 1.5 / 1; }
.related .card h3 { font-size: 1.2rem; }

/* ---------- article (cough) ---------- */
.article-hero { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4.5rem, 8vw, 6.5rem); }
.article-hero .ph-grid { grid-template-columns: 1fr 1fr; }
.article-hero .photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1.25 / 1; background: #eaf3ea; }
.article-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.article { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.article-body { max-width: 760px; }
.article-body section { scroll-margin-top: 100px; margin-bottom: 3.4rem; }
.article-body section > .sec-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }
.article-body section > .sec-head img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; }
.article-body h2 { margin: 0; }
.article-body h3 { margin-top: 1.8rem; }
.lead-b { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.15rem; line-height: 1.35; }
ul.dots, ul.checks { padding: 0; margin: 0 0 1.2rem; list-style: none; display: grid; gap: 0.75rem; }
ul.dots li, ul.checks li { position: relative; padding-left: 1.7rem; }
ul.dots li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 0.25em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.type-card { background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-card); }
.type-card p { margin: 0; }
.callout { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 1.8rem 2rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; }
.refs { font-size: 0.85rem; color: var(--muted); margin-top: 2rem; }
.refs ol { padding-left: 1.2rem; margin: 0.4rem 0 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-card { background: #fff; border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow-card); }
.contact-card img { width: 190px; margin-bottom: 1.4rem; }
.contact-card .company { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.25rem; margin-bottom: 0.3rem; }
.contact-card.soft { background: var(--teal-50); box-shadow: none; }
.contact-card.soft p { font-size: 0.95rem; }

/* ---------- campaign page ---------- */
.gify-hero { position: relative; overflow: hidden; background: var(--orange); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(5rem, 9vw, 7rem); }
.gify-hero .wrap { position: relative; }
.gify-hero .crumbs, .gify-hero .crumbs a { color: rgba(255, 255, 255, 0.85); }
.gify-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 16ch; }
.gify-hero .eyebrow { color: #fff; opacity: 0.9; }
.gify-hero .lead { font-size: 1.15rem; max-width: 44ch; }
.gify-hero .period-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--orange-deep); font-family: var(--font-display); font-weight: 700; padding: 0.55rem 1rem; border-radius: 999px; margin-bottom: 1.4rem; }
.gify-hero .period-pill svg { width: 1.25em; height: 1.25em; flex: none; }
.gify-visual { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(80, 40, 0, 0.6); background: rgba(255, 255, 255, 0.16); }
.gify-visual img { width: 100%; height: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: #fff; border-radius: var(--r-xl); padding: 1.6rem 1.6rem 1.5rem; box-shadow: var(--shadow-card); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.fact { background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-card); }
.fact h3 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--orange-deep); }
.fact p { margin: 0; }
.rules-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 1.5rem 1.8rem; margin-top: 2rem; }
.rules-cta p { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); padding: 3.2rem 0 2rem; margin-top: 0; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.foot-grid img { width: 150px; margin-bottom: 1rem; }
.foot-grid h4 { color: #fff; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.85rem; }
.foot-legal p { margin: 0; max-width: 70ch; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.cards .reveal:nth-child(2) { transition-delay: 0.07s; }
.cards .reveal:nth-child(3) { transition-delay: 0.14s; }
.cards .reveal:nth-child(4) { transition-delay: 0.21s; }
.shelf img { animation: floaty 7s ease-in-out infinite; }
.shelf .p2 { animation-delay: -2s; }
.shelf .p3 { animation-delay: -4s; }
.shelf .p4 { animation-delay: -1s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shelf img { animation: none; }
  .card, .card-media img, .btn { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gify-strip .wrap { grid-template-columns: 1fr auto; }
  .gify-strip .tag { grid-column: 1 / -1; justify-self: start; }
  .badges { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 78px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0, 50, 104, 0.5); flex-direction: column; align-items: stretch; padding: 0.8rem 1.25rem 1.4rem; gap: 0.2rem; max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a, .nav button.nav-drop { padding: 0.8rem 1rem; font-size: 1.1rem; justify-content: space-between; }
  .nav a.nav-gify { margin: 0.6rem 0 0; justify-content: center; }
  .drop { position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.4rem 0.4rem; grid-template-columns: 1fr; }
  .hero-grid, .ph-grid, .teaser, .article-hero .ph-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .shelf { max-width: 520px; width: 100%; margin-inline: auto; }
  .details, .article { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .toc a { background: #fff; font-size: 0.92rem; padding: 0.4rem 0.8rem; }
  .timeline { grid-template-columns: 1fr; gap: 1.6rem; }
  .timeline::before { left: 59px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: linear-gradient(180deg, #6cc04a, var(--teal)); }
  .t-year .yr { height: 60px; min-width: 118px; font-size: 1.6rem; }
  .t-items { margin-left: 0; }
  .related { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .leaflet-card { grid-template-columns: auto 1fr; }
  .leaflet-card .btns { grid-column: 1 / -1; justify-content: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .section-head { flex-direction: column; align-items: start; gap: 0.6rem; }
  .ph-media { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 600px) {
  .wrap { width: min(var(--wrap), 100% - 2rem); }
  .header-in { height: 68px; }
  .nav { top: 68px; max-height: calc(100vh - 68px); }
  .brand img { height: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 42% 1fr; }
  .card-media, .related .card-media { aspect-ratio: auto; min-height: 170px; }
  .card-media img { left: 8%; top: 16%; width: 84%; height: 74%; }
  .card-media .chip-gify { top: 0.6rem; left: 0.6rem; font-size: 0.68rem; padding: 0.25rem 0.55rem; }
  .card-body { padding: 1rem 1rem 1.1rem; }
  .card h3 { font-size: 1.2rem; }
  .card .slogan { display: none; }
  .info-grid, .type-grid, .facts, .contact-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .badges li { font-size: 0.88rem; }
  .badges .ico { width: 32px; height: 32px; }
  .related { grid-template-columns: 1fr; }
  .gify-strip .wrap { grid-template-columns: 1fr; gap: 0.9rem; }
  .gify-strip .btn { justify-self: start; }
  table.actives th, table.actives td { padding: 0.7rem 0.8rem; }
  table.actives thead th:last-child { white-space: normal; width: 42%; }
  .leaflet-card { padding: 1.2rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .article-body section > .sec-head img { width: 64px; height: 64px; }
  .callout { padding: 1.4rem; font-size: 1.1rem; }
}

/* ---------- rules page ---------- */
.btn-ghost.on-orange { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost.on-orange:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.rules-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.rules-hero .lead { font-family: var(--font-display); font-size: 1.3rem; }
.rules-toc { font-size: 0.95rem; }
.rules-toc a { padding: 0.35rem 0.8rem; line-height: 1.25; }
.rules-body .art { scroll-margin-top: 100px; margin-bottom: 2.6rem; }
.rules-body .art h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 1rem; }
.rules-body .art h2 span { color: var(--orange-deep); }
.clause { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.6rem; margin-bottom: 0.9rem; }
.clause .num { font-family: var(--font-display); font-weight: 700; color: var(--navy); background: var(--orange-50); border-radius: 999px; height: 1.9rem; display: grid; place-items: center; font-size: 0.95rem; margin-top: 0.1rem; }
.clause p { margin: 0 0 0.4rem; }
.clause ul.dots { margin-top: 0.5rem; }
.rules-cta .btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 900px) {
  .rules-toc { display: none; }
}
@media (max-width: 600px) {
  .clause { grid-template-columns: 2.9rem 1fr; gap: 0.5rem; }
  .clause .num { font-size: 0.85rem; height: 1.7rem; }
}

/* ---------- from Simona's deck (25 Nov) ---------- */
.shelf.deck { border-radius: var(--r-xl); background: #0f5a2c url("../img/deck-hero.webp") 30% center / cover no-repeat; box-shadow: var(--shadow-soft); }
.shelf.deck::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 40, 20, 0.35)); pointer-events: none; }
.shelf.deck img { z-index: 2; }
.ph-grid .kind { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: linear-gradient(90deg, #ffe27a, #fff3c2); padding: 0.3rem 0.8rem; border-radius: 999px; margin: -0.4rem 0 1.2rem; }
.comp { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; align-items: center; }
.comp-art { width: 100%; max-width: 300px; margin-inline: auto; }
.comp-list, .ind-list, .adv { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.comp-list li { display: flex; align-items: center; gap: 1rem; border-radius: 16px; padding: 0.6rem 1.2rem 0.6rem 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; background: linear-gradient(90deg, #1d7a3c, #3fa14c); box-shadow: var(--shadow-card); }
.comp-list li:nth-child(2) { background: linear-gradient(90deg, #f1b51c, #f7cf4d); color: var(--navy); }
.cico { width: 62px; height: 62px; border-radius: 12px; background: rgba(255, 255, 255, 0.9); display: grid; place-items: center; flex: none; padding: 6px; }
.cico img { max-width: 100%; max-height: 100%; }
.ind-list { grid-template-columns: repeat(3, 1fr); }
.ind-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.8rem; background: #fff; border-radius: var(--r-lg); padding: 1.4rem 1rem; box-shadow: var(--shadow-card); border-top: 5px solid #2c8f52; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.ind-list li:nth-child(2) { border-top-color: #f1b51c; }
.iico { width: 74px; height: 74px; display: grid; place-items: center; }
.iico img { max-width: 100%; max-height: 100%; }
.adv { grid-template-columns: repeat(4, 1fr); }
.adv li { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-transform: uppercase; color: #fff; background: radial-gradient(circle at 35% 30%, #6cbf4b, #2c8f52); box-shadow: 0 16px 28px -18px rgba(20, 80, 40, 0.8); }
.adv li:nth-child(2) { background: radial-gradient(circle at 35% 30%, #3fa14c, #1d6b36); }
.adv li:nth-child(3) { background: radial-gradient(circle at 35% 30%, #ffd75e, #f1b51c); color: var(--navy); }
.why { position: relative; background-color: #fff3e3; background-size: cover; background-position: left center; overflow: hidden; }
.why-in { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.why-in > div { justify-self: end; text-align: right; background: rgba(255, 255, 255, 0.8); padding: 1.2rem 1.6rem; border-radius: var(--r-lg); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.why-q { display: inline-block; margin: 0 0 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; background: linear-gradient(90deg, #1d7a3c, #3fa14c); padding: 0.2rem 1.2rem; border-radius: 999px; }
.why-a { margin: 0; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); color: #1d7a3c; }
.why-in img { max-height: 260px; width: auto; justify-self: start; filter: drop-shadow(0 22px 24px rgba(0, 34, 74, 0.25)); }
table.about { width: 100%; border-collapse: separate; border-spacing: 0 0.6rem; }
table.about th, table.about td { padding: 0.9rem 1.2rem; text-align: left; vertical-align: top; }
table.about th { width: 34%; font-family: var(--font-display); font-weight: 700; color: #fff; background: #2c8f52; border-radius: 14px 0 0 14px; }
table.about tr:nth-child(even) th { background: #f1b51c; color: var(--navy); }
table.about td { background: #fff; border-radius: 0 14px 14px 0; box-shadow: var(--shadow-card); }
@media (max-width: 900px) {
  .comp { grid-template-columns: 1fr; }
  .comp-art { max-width: 220px; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .why-in { grid-template-columns: 1fr; text-align: center; }
  .why-in > div { justify-self: center; text-align: center; background: rgba(255, 255, 255, 0.82); padding: 1rem 1.2rem; border-radius: var(--r-lg); }
  .why-in img { justify-self: center; max-height: 200px; }
}
@media (max-width: 600px) {
  .ind-list { grid-template-columns: 1fr; }
  .ind-list li { flex-direction: row; text-align: left; padding: 1rem; }
  .iico { width: 56px; height: 56px; flex: none; }
  .comp-list li { font-size: 1.02rem; }
  .cico { width: 52px; height: 52px; }
  .adv li { font-size: 0.9rem; }
  table.about th, table.about td { display: block; width: auto; border-radius: 14px 14px 0 0; }
  table.about td { border-radius: 0 0 14px 14px; margin-bottom: 0.6rem; }
}
