/* ===========================================================
   Канарейка — landing page
   Brand system: canary gold + forest green + warm cream
   =========================================================== */

:root {
  --gold:        #F3C13A;
  --gold-deep:   #E6AF22;
  --gold-soft:   #FBF2CE;
  --green:       #2F5E3F;
  --green-mid:   #3C7350;
  --green-deep:  #1F3F2A;
  --green-dark:  #5A6356;
  --green-line:  #C9DABC;
  --cream:       #F4EFE3;
  --cream-2:     #FBF8F0;
  --mint:        #E7EFE0;
  --ink:         #2B2A24;
  --muted:       #7E7B6F;
  --white:       #ffffff;

  --maxw: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 18px rgba(47, 94, 63, .07);
  --shadow-md: 0 18px 44px rgba(47, 94, 63, .12);
  --shadow-lg: 0 30px 70px rgba(31, 63, 42, .18);

  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --ease: cubic-bezier(.22, .68, 0, 1);

  --section-gap: 50px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7E8C5A;
  margin-bottom: 18px;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--green);
  line-height: 1.05;
  letter-spacing: -.01em;
}

h2.sec-title { font-size: clamp(26px, 4vw, 38px); text-transform: uppercase; }

p { text-wrap: pretty; font-weight: 450; }

/* ---------- reveal animation base ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; }
}

/* ===========================================================
   HERO
   =========================================================== */
.logo-mustache {
  display: inline-block; margin-right: 2px; vertical-align: -.15em;
  width: 48px; height: 48px;
  margin: 0 -8px 0 -12px;
}
.logo-mustache g, .logo-mustache path { fill: currentColor; }
.logo-heart {
  display: inline-block; margin-left: 8px; vertical-align: -.15em;
  animation: beat 2.4s var(--ease) infinite;
}
@keyframes beat { 0%,100%{transform:scale(1);} 18%{transform:scale(1.15);} 32%{transform:scale(1);} }

/* ===========================================================
   HERO
   =========================================================== */
.hero { padding: 32px 0 0; position: relative; }
.hero-card {
  position: relative; border-radius: 30px; overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-md);
  min-height: 500px;
  margin-inline: calc(var(--section-gap) * -1);
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 100% center;
  transform: scale(1);
  animation: kenburns 30s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1) translateX(0); } to { transform: scale(1.1) translateX(-3%); } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(251,248,240,.97) 0%, rgba(251,248,240,.94) 34%, rgba(251,248,240,.55) 50%, rgba(251,248,240,0) 66%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 560px; 
  padding: 36px var(--section-gap);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(38px, 5vw, 56px); color: var(--green);
  letter-spacing: -.02em; line-height: .98;
  display: flex; align-items: center; gap: 0; margin-bottom: 22px;
}
.hero-lead {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.25;
  color: var(--ink); margin-bottom: 20px; max-width: 430px;
}
.hero p.desc { font-size: 16.5px; color: var(--green-deep); max-width: 430px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: nowrap; }
.hero-brand { position: absolute; right: 24px; top: 24px;}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 16px 30px; cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--green-deep); box-shadow: 0 12px 28px rgba(230,175,34,.4); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(230,175,34,.5); background: var(--gold-deep); }
.btn-gold .heart { transition: transform .3s var(--ease); }
.btn-gold:hover .heart { transform: scale(1.3) rotate(-8deg); }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }
.btn-website { font-size: 12px; padding: 8px 16px;  background: rgba(255,255,255,.6); color: var(--green); border-color: var(--white); }
.btn-website:hover { background: rgba(255,255,255,.8); transform: translateY(-3px); }
.btn-website svg {
  height: 16px;
  width: auto;
}

/* ===========================================================
   WHO WE ARE + MAP
   =========================================================== */
.section { padding: var(--section-gap) 0; }
.who-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.who p { color: #56544B; font-size: 15.5px; margin-bottom: 16px; }
.who p strong { color: var(--ink); }

.stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px 8px; margin: 28px 0 30px;
}
.stat { text-align: center; padding: 4px 6px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 16%; height: 68%; width: 1px; background: #ECE7D8; }
.stat .ico { color: var(--green-mid); margin-bottom: 8px; display: flex; justify-content: center; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--green); line-height: 1; }
.stat .lbl { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.3; }

/* geography panel */
.geo p { color: #56544B; font-size: 15px; margin-bottom: 22px; }
.geo-map {
  position: relative; overflow: hidden;
  aspect-ratio: 15 / 11;
  transform: translateX(36px);
}

/* ===========================================================
   BLOCK 4 — IMPACT (calm typographic three columns)
   =========================================================== */
.impact { background: var(--mint); position: relative; overflow: hidden; }
.impact-head { max-width: 820px; margin-bottom: var(--section-gap); }
.impact-head h2 { font-size: clamp(28px, 3.6vw, 42px); text-transform: none; line-height: 1.06; }
.impact-sub { color: #4F5A4A; font-size: 18px; margin-top: 18px; max-width: 620px; }

.impact-comp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--section-gap); row-gap: var(--section-gap);
}
.thesis { max-width: 36ch; }
.thesis .th-kicker {
  display: block;
  font-size: 13px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 18px;
}
.thesis h3 {
  font-family: var(--font-display); font-weight: 800;
  color: var(--green); font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.22; letter-spacing: -.01em;
  margin-bottom: 16px;
}
.thesis p { color: #4F5A4A; font-size: 16px; line-height: 1.65; }

.cat-peek {
  position: absolute; right: 0; bottom: calc((var(--section-gap)) * -1); width: 140px; z-index: 4;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.14));
}
/* ===========================================================
   BLOCK 5 — TRUST BAND (social proof, dark)
   =========================================================== */
.trust { background: var(--cream); }
.trust-shell {
  background: var(--green-deep); border-radius: 30px;
  padding: var(--section-gap); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  margin-inline: calc(var(--section-gap) * -1);
}
.trust-shell::before {
  content: ""; position: absolute; left: -80px; top: -90px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(243,193,58,.12);
}
.trust-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 56px; align-items: center;
}
.trust-head { position: relative; z-index: 2; max-width: 760px; margin-bottom: 38px; }
.trust-eyebrow { color: var(--gold); }
.trust-head h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); text-transform: none; }
.trust-sub { color: var(--cream); font-size: 16px; margin-top: 16px; }
.trust-note { color: var(--green-line); font-size: 14.5px; line-height: 1.6; margin-top: 18px; }
.trust-logos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tlogo {
  display: grid; place-items: center;
  height: 75px; padding: 18px 22px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tlogo img {
  max-height: 52px; max-width: 100%; width: auto; object-fit: contain; display: block;
}
.tlogo-more { background: transparent; border: 1.5px dashed rgba(255,255,255,.4); font-size: 12px; color: var(--green-line); padding: 12px 22px; }

/* ===========================================================
   BLOCK 6 — WHY COMPANIES CHOOSE US (numbered list)
   =========================================================== */
.choose { background: var(--cream); }
.choose-head { max-width: 760px; margin-bottom: var(--section-gap); }
.choose-head .eyebrow { margin-bottom: 12px; }
.choose-sub { color: #56544B; font-size: 16.5px; margin-top: 14px; }
.choose-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.choose-row {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 0; border-top: 1px solid #E3DCC9;
}
.choose-row:nth-child(1), .choose-row:nth-child(2) { border-top: none; }
.choose-row .cr-n {
  font-family: var(--font-display); font-weight: 900;
  font-size: 30px; color: var(--gold-deep); line-height: 1; flex: none;
  min-width: 48px;
}
.choose-row .cr-body h4 { font-family: var(--font-display); font-weight: 800; color: var(--green); font-size: 19px; margin-bottom: 6px; }
.choose-row .cr-body p { color: #56544B; font-size: 15px; }
.choose-row:last-child { border-bottom: none; }

/* ===========================================================
   PARTNERSHIP FORMATS (green)
   =========================================================== */
.formats { background: var(--cream); }
.formats-shell { background: var(--mint); border-radius: 30px; padding: var(--section-gap); box-shadow: var(--shadow-sm); margin-inline: calc(var(--section-gap) * -1);}
.formats h2 { text-align: center; margin-bottom: 12px; }
.formats-sub { text-align: center; color: #56544B; font-size: 16px; max-width: 560px; margin: 0 auto 40px; }
.fmt-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.fmt { padding: 0 10px; }
.fmt-head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.fmt-head .n { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); font-weight: 900; font-size: 13px; display: grid; place-items: center; flex: none; }
.fmt-head h4 { font-weight: 800; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--green); line-height: 1.1; }
.fmt .price { font-size: 12px; color: var(--gold-deep); font-weight: 800; margin: 4px 0 16px 35px; }
.fmt-img { height: 130px; display: grid; place-items: center; margin-bottom: 16px; }
.fmt-img img { max-height: 130px; width: auto; object-fit: contain; transition: transform .4s var(--ease); filter: drop-shadow(0 12px 16px rgba(0,0,0,.12)); }
.fmt:hover .fmt-img img { transform: translateY(-8px) scale(1.04); }
.fmt ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fmt li { font-size: 12.5px; color: #5A6356; padding-left: 16px; position: relative; }
.fmt li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.fmt-note { text-align: center; margin-top: 36px; font-size: 14px; color: var(--green); display: flex; gap: 8px; align-items: center; justify-content: center; }

/* ===========================================================
   FINAL CTA
   =========================================================== */
.final-cta { background: var(--cream); }
.cta-card {
  background: var(--gold); border-radius: 30px;
  padding: var(--section-gap); display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 36px; align-items: center;
  box-shadow: 0 24px 56px rgba(230,175,34,.28);
  position: relative; overflow: hidden;
  margin-inline: calc(var(--section-gap) * -1);
}
.cta-card::after {
  content: ""; position: absolute; right: -60px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.cta-text h2 { font-family: var(--font-display); font-weight: 900; color: var(--green-deep); font-size: clamp(24px,2.8vw,34px); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 12px; }
.cta-text p { color: #5A4A1E; font-size: 16px; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.cta-actions .btn { justify-content: center; }
.cta-actions .btn-gold { background: var(--green); color: var(--white); box-shadow: 0 12px 28px rgba(31,63,42,.3); }
.cta-actions .btn-gold:hover { background: var(--green-deep); }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--green-deep); color: #DCE6D5; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact { display: flex; gap: 18px; align-items: center; }
.contact img { width: 92px; height: 110px; border-radius: 14px; object-fit: cover; object-position: top; flex: none; }
.contact .name { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 20px; }
.contact .role { font-size: 13px; color: #A9C0A0; margin-bottom: 12px; font-style: italic; }
.contact .field { font-size: 13.5px; margin-top: 7px; }
.contact .field .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8FAA85; display: block; }
.contact a { color: var(--gold); text-decoration: none; font-weight: 700; }
.supplier .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8FAA85; font-weight: 800; margin-bottom: 14px; }
.supplier p { font-size: 14.5px; margin-bottom: 7px; color: #8FAA85; }
.supplier a { color: var(--gold); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 12.5px; color: #7E9676; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1280px) {
  .hero-card, .trust-shell, .choose-list, .formats-shell, .cta-card, .impact-comp { margin-inline: 0; min-height: auto; }
}
@media (max-width: 980px) {
  .who-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .fmt-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .stat:nth-child(n+4) { margin-top: 8px; }
  .cat-peek { width: 130px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .hero-card { margin-inline: 0; min-height: auto; }
  .hero-content { padding: calc(var(--section-gap) * 0.5); width: 100%; max-width: 100%; }
  .hero p.desc { max-width: 100%; }
  .hero-veil { background: linear-gradient(180deg, rgba(251,248,240,.96) 40%, rgba(251,248,240,.7) 100%); }
  .fmt-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4):before { display: none; }
  .hero-cta .btn { justify-content: center; }
  .trust-shell, .choose-list, .formats-shell, .cta-card, .impact-comp { margin-inline: 0; min-height: auto; display: flex; flex-direction: column; }
  .trust-shell, .formats-shell, .cta-card {padding:calc(var(--section-gap)*0.5) }
  .footer { padding:calc(var(--section-gap)*0.5); }
  .fmt-img, .cat-peek {display: none;}
  .thesis {max-width: 100%;}
  .geo-map {transform: none;}
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-brand { display: none; }
  .hero-photo {animation: none; transform: scale(1); object-position: left center; filter: blur(3px);}
}

/* ===========================================================
   GEO-MAP — animated markers
   Stage is 600×400 px (same 3:2 ratio as the source image).
   Container is never wider than 600 px, so scale ≈ 1.0 at max —
   all sizes below are natural screen-pixel values.
   Variables prefixed --map-* to avoid colliding with page vars.
   =========================================================== */
#geoMap {
  --map-green:      #8CAA56;
  --map-gold:       #F2C94C;
  --map-glow-inner: rgba(242,201,76,.45);
  --map-glow-outer: rgba(242,201,76,.18);
}

#mapStage {
  position: absolute;
  left: 0; top: 0;
  width: 600px; height: 440px;
  background: url("assets/map_clean.png") center / 115% no-repeat;
  transform-origin: top left;
}

/* ---- markers ---- */
#geoMap .map-marker {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 0; height: 0;
  z-index: 2;
}
#geoMap .map-marker .glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(.3);
  border-radius: 50%; opacity: 0; pointer-events: none;
  transition: opacity 700ms ease, transform 700ms ease;
}
#geoMap .map-marker .glow.outer {
  width: 56px; height: 56px;
  background: radial-gradient(circle, var(--map-glow-outer) 0%, rgba(242,201,76,0) 70%);
}
#geoMap .map-marker .glow.inner {
  width: 30px; height: 30px;
  background: radial-gradient(circle, var(--map-glow-inner) 0%, rgba(242,201,76,0) 70%);
}

/* inactive dot */
#geoMap .map-marker .dot {
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px;
  transform: translate(-50%,-50%) scale(1);
  border-radius: 50%;
  background: var(--map-green);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.92),
              0 2px 4px rgba(60,70,40,.28),
              inset 0 1px 1px rgba(255,255,255,.25);
  transition: background 600ms ease,
              transform 600ms cubic-bezier(.34,1.4,.5,1),
              box-shadow 600ms ease;
}

/* active dot — gold flash with white ring */
#geoMap .map-marker.active .dot {
  background: var(--map-gold);
  transform: translate(-50%,-50%) scale(1.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,.95),
              0 4px 10px rgba(196,150,30,.45),
              inset 0 1px 1px rgba(255,255,255,.35);
}

#geoMap .map-marker.active .glow        { opacity: 1; }
#geoMap .map-marker.active .glow.outer  { transform: translate(-50%,-50%) scale(1); }
#geoMap .map-marker.active .glow.inner  { transform: translate(-50%,-50%) scale(1); }
