/* =========================================================
   Lightbearers Christian Network — MAT 2027
   Change colours and fonts here; everything else follows.
   ========================================================= */
:root {
  --red: #F22E32;          /* logo red — accents, icons */
  --red-dark: #D11F25;     /* buttons (readable with white text) */
  --ink: #121417;          /* headings, dark sections */
  --ink-2: #1C1F24;
  --text: #474C55;         /* body text */
  --muted: #A9AEB8;        /* text on dark */
  --line: #E6E7EA;
  --tint: #F6F6F7;
  --white: #FFFFFF;

  --font-head: "Cal Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Aileron", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);   /* smooth "ease-out-quint" used by all motion */

  --container: 1200px;
  --radius: 6px;
  --section-space: clamp(72px, 9vw, 120px);
}

/* ---------- Fonts (files in /fonts) ---------- */
@font-face { font-family: "Cal Sans"; src: url("fonts/CalSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("fonts/Aileron-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("fonts/Aileron-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: var(--ink); line-height: 1.12; letter-spacing: .005em; margin: 0 0 16px; }
strong { font-weight: 400; color: var(--ink); }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; }
h3 { font-size: 18px; font-weight: 400; }
p { margin: 0 0 16px; }
a { color: var(--red-dark); }
a:hover { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-space) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: var(--muted); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.text-red { color: var(--red); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: 14px;
}
.section-dark .eyebrow, .hero .eyebrow, .cta .eyebrow { color: var(--red); }

.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 12px 30px; line-height: 1.3; text-align: center;
  font-family: var(--font-head); font-size: 14px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 13px; }
.btn-red { background: var(--red-dark); color: var(--white); }
.btn-red:hover { background: var(--ink); color: var(--white); }
.section-dark .btn-red:hover, .cta .btn-red:hover { background: var(--white); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.btn-row-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 22px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 220px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-size: 14px; font-weight: 400;
}
.site-nav a:not(.btn):hover { color: var(--red); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 160px 0 120px; color: var(--white); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
/* darker on the left where the headline sits, lighter over the people on the right */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,14,.82) 0%, rgba(10,11,14,.6) 45%, rgba(10,11,14,.2) 100%); }
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  font-size: clamp(46px, 7.5vw, 100px);
  font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin-bottom: 28px;
}
.hero-tagline { font-family: var(--font-head); font-size: clamp(18px, 2vw, 24px); font-weight: 400; color: #E9EAEC; }

/* ---------- Facts strip ---------- */
.facts { background: var(--ink-2); padding: 40px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.fact { display: flex; gap: 16px; align-items: flex-start; }
.fact h3 { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.fact p { color: var(--white); font-family: var(--font-head); font-weight: 400; margin: 0; line-height: 1.35; }
.icon, .card-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.prose p:last-child { margin-bottom: 0; }
.callout { border-top: 3px solid var(--red); padding-top: 18px; color: var(--ink); font-size: 19px; }

/* ---------- Image + text ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.media-split-reverse .media { order: 2; }
.media { position: relative; }
.media img { width: 100%; border-radius: var(--radius); }
.media-badge {
  position: absolute; left: -24px; bottom: -24px;
  background: var(--red-dark); color: var(--white);
  padding: 22px 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}
.media-badge span { display: block; font-size: 64px; line-height: 1; letter-spacing: 0; margin-bottom: 6px; }
.quote {
  margin: 28px 0; padding: 4px 0 4px 24px;
  border-left: 4px solid var(--red);
  font-family: var(--font-head); font-size: 21px; font-weight: 400; line-height: 1.45; color: var(--ink);
}
.quote p { margin: 0; }

/* ---------- Training cards ---------- */
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 26px 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 18px 40px rgba(18,20,23,.1); }
.card-icon { width: 48px; height: 48px; margin-bottom: 26px; }
.card-num { position: absolute; top: 26px; right: 24px; font-family: var(--font-head); font-weight: 400; font-size: 28px; color: var(--line); }
.card h3 { margin: 0; line-height: 1.35; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-dark .check-list li { color: var(--white); }

/* ---------- Two panels ---------- */
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.panel h2 { font-size: clamp(24px, 2.4vw, 30px); }
.panel .check-list li { color: var(--ink); }
.note { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-style: italic; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.step { position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%;
  background: var(--red-dark); color: var(--white);
  font-family: var(--font-head); font-weight: 400; position: relative;
  box-shadow: 0 0 0 8px var(--tint);
}
.step p { margin: 0; font-size: 16px; }
.center-row { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.small-print { margin: 0; font-size: 15px; font-style: italic; }

/* ---------- Progress ---------- */
.progress-group { display: grid; gap: 22px; margin: 32px 0; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-weight: 400; color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.progress-track { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-bar { width: var(--value, 0%); height: 100%; background: var(--red); border-radius: 99px; }
.progress-updated { margin: -6px 0 0; font-size: 13px; color: #6B707A; }
.partner-line { font-family: var(--font-head); font-weight: 400; color: var(--ink); font-size: 20px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: var(--section-space) 0; color: #E9EAEC; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(10,11,14,.66); }
.cta-content { position: relative; z-index: 1; max-width: 860px; }
.cta h2 { color: var(--white); font-size: clamp(32px, 4.6vw, 58px); margin-bottom: 28px; }
.cta-questions { margin-bottom: 20px; font-size: 19px; }
.cta-questions p { margin: 0 0 6px; }
.cta .eyebrow { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0C0F; color: var(--muted); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 240px; margin-bottom: 20px; }
.footer-motto { font-family: var(--font-head); font-weight: 400; color: var(--red); font-size: 18px; }
.site-footer h3 { color: var(--white); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 64px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid #23262C; }
.footer-bottom p { margin: 0; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-radius: var(--radius); padding: 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 12px; border-bottom: 1px solid #262A31; }
  .site-nav .btn { margin-top: 12px; }
  .split, .media-split, .two-panels { grid-template-columns: 1fr; gap: 40px; }
  .media-split-reverse .media { order: 0; }
  .media-badge { left: 16px; bottom: 16px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero::after { background: rgba(10,11,14,.66); }
  .brand img { width: 170px; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .media-badge { padding: 14px 18px; font-size: 11px; }
  .media-badge span { font-size: 40px; }
  .cards, .facts-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Motion — scroll reveals and micro-interactions
   Elements only start hidden when script.js has added
   .js-motion to <html>, so the page still shows without JS.
   ========================================================= */

/* Thin reading-progress bar at the top */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* Header turns solid once you scroll */
.site-header { position: fixed; transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.site-header.is-scrolled { background: rgba(18,20,23,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* Hero: headline lines rise in on load, background drifts on scroll */
.hero-bg { transform: translate3d(0, var(--parallax, 0), 0); will-change: transform, scale, translate; }

/* Ken Burns: a slow zoom and drift towards the couple, back and forth.
   Uses the separate scale/translate properties so it works alongside the scroll parallax. */
.hero-bg {
  scale: 1.08;
  transform-origin: 72% 60%;
  animation: ken-burns 24s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  0%   { scale: 1.08; translate: 0 0; }
  100% { scale: 1.22; translate: -2.5% -1.5%; }
}
.js-motion .hero .eyebrow,
.js-motion .hero h1,
.js-motion .hero-tagline,
.js-motion .hero .btn-row { opacity: 0; transform: translateY(28px); animation: rise 1.1s var(--ease) forwards; }
.js-motion .hero h1 { animation-delay: .12s; }
.js-motion .hero-tagline { animation-delay: .3s; }
.js-motion .hero .btn-row { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Generic reveal: fade + rise, staggered by --delay */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js-motion [data-reveal="left"]  { transform: translateX(-40px); }
.js-motion [data-reveal="right"] { transform: translateX(40px); }
.js-motion [data-reveal].is-visible,
.js-motion [data-reveal="none"] { opacity: 1; transform: none; }

/* Images unveil with a wipe and settle from a slight zoom */
.js-motion [data-reveal="image"] { opacity: 1; transform: none; }
.js-motion [data-reveal="image"] img {
  clip-path: inset(0 0 100% 0); transform: scale(1.15);
  transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease);
}
.js-motion [data-reveal="image"].is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Badge pops in after its image */
.js-motion .media-badge { opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .7s var(--ease) .6s, transform .7s var(--ease) .6s; }
.js-motion .is-visible .media-badge { opacity: 1; transform: none; }

/* Quote rule grows down */
.quote { position: relative; border-left: 0; }
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform-origin: top; }
.js-motion .quote::before { transform: scaleY(0); transition: transform 1s var(--ease) .3s; }
.js-motion .quote.is-visible::before { transform: scaleY(1); }

/* Callout rule draws across */
.callout { border-top: 0; position: relative; }
.callout::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform-origin: left; }
.js-motion .callout::before { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.js-motion .callout.is-visible::before { transform: scaleX(1); }

/* Ticks pop as their list appears */
.js-motion .check-list li::before { transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--delay, 0s); }
.js-motion .check-list li.is-visible::before { transform: scale(1); }

/* Cards: icon nudges on hover */
.card-icon { transition: transform .5s var(--ease); }
.card:hover .card-icon { transform: translateY(-4px) rotate(-6deg); }
.card:hover .card-num { color: var(--red); transition: color .4s var(--ease); }
.card-num { transition: color .4s var(--ease); }

/* Timeline line draws left to right, steps follow */
.timeline::before { transform-origin: left; }
.js-motion .timeline::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js-motion .timeline.is-visible::before { transform: scaleX(1); }
.step-num { transition: transform .4s var(--ease), background .4s var(--ease); }
.step:hover .step-num { transform: scale(1.08); background: var(--ink); }

/* Progress bars fill when seen */
.js-motion .progress-bar { width: 0; transition: width 1.8s var(--ease) .3s; }
.js-motion .progress-group.is-visible .progress-bar { width: var(--value, 0%); }

/* Buttons: soft lift and a light sweep */
.btn { position: relative; overflow: hidden; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(209,31,37,.25); }
.btn:active { transform: translateY(0); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:focus-visible, .nav-toggle:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Mobile menu: hamburger turns into a cross, menu slides down */
.nav-toggle span { transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .site-nav.is-open { animation: menu-in .45s var(--ease); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
}

/* Respect people who turn motion off */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion [data-reveal], .js-motion [data-reveal] img, .js-motion .media-badge { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-bg { transform: none; }
}

/* ---------- Language switch ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; }
.lang-switch a {
  min-width: 38px; min-height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 99px; color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-size: 13px; letter-spacing: .06em;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.site-nav .lang-switch a:not(.btn):hover { background: rgba(255,255,255,.12); color: var(--white); }
.site-nav .lang-switch a:not(.btn)[aria-current="page"] { background: var(--white); color: var(--ink); }
.site-nav .lang-switch a::after { display: none; }
@media (max-width: 900px) {
  .lang-switch { align-self: flex-start; margin: 14px 0 0 12px; }
  .site-nav .lang-switch a:not(.btn) { min-height: 40px; min-width: 48px; padding: 0 10px; border-bottom: 0; }
}

/* ---------- French version: slightly smaller type ----------
   French runs about 15–20% longer than English, so headings,
   menu and buttons are scaled down a little on the French page. */
html[lang="fr"] body { font-size: 16px; }
html[lang="fr"] .hero h1 { font-size: clamp(40px, 6.4vw, 86px); }
html[lang="fr"] .hero-tagline { font-size: clamp(17px, 1.8vw, 22px); }
html[lang="fr"] h2 { font-size: clamp(27px, 3.2vw, 39px); }
html[lang="fr"] .panel h2 { font-size: clamp(22px, 2.1vw, 27px); }
html[lang="fr"] .cta h2 { font-size: clamp(29px, 4vw, 50px); }
html[lang="fr"] h3 { font-size: 17px; }
html[lang="fr"] .fact h3 { font-size: 11px; }
html[lang="fr"] .site-footer h3 { font-size: 14px; }
html[lang="fr"] .card h3 { font-size: 16px; }
html[lang="fr"] .quote { font-size: 19px; }
html[lang="fr"] .eyebrow { font-size: 12px; letter-spacing: .14em; }
html[lang="fr"] .btn { font-size: 13px; letter-spacing: .05em; padding-inline: 24px; }
html[lang="fr"] .site-nav { gap: 24px; }
html[lang="fr"] .site-nav a:not(.btn) { font-size: 13px; }
html[lang="fr"] .cta-questions { font-size: 17px; }
html[lang="fr"] .partner-line { font-size: 18px; }
@media (max-width: 600px) {
  html[lang="fr"] body { font-size: 15px; }
  html[lang="fr"] .btn { font-size: 12px; padding-inline: 18px; }
}

/* ---------- WhatsApp link (footer) ---------- */
.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; }
.whatsapp-link svg { width: 18px; height: 18px; fill: none; stroke: #25D366; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.whatsapp-link:hover svg { transform: scale(1.15) rotate(-8deg); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #0B2E17; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .3s;
}
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.wa-float::before { /* soft pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: wa-pulse 2.6s var(--ease) infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 32px rgba(0,0,0,.3); }
.wa-float:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* label slides out on hover (computers only) */
.wa-float-label {
  position: absolute; right: 72px; white-space: nowrap;
  background: var(--ink); color: var(--white); font-family: var(--font-head); font-size: 14px;
  padding: 10px 14px; border-radius: var(--radius);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
@media (hover: none) { .wa-float-label { display: none; } }

/* With motion on, it slides in once you scroll past the top of the page */
.js-motion .wa-float { opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; }
.js-motion .wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.js-motion .wa-float.is-shown:hover { transform: translateY(-3px) scale(1.05); }

@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { display: none; } }
