/* List It Group — shared premium layer (menu, Temu section, results, ask-us form, chat panel).
   Everything is prefixed lig-/#lig- so it can't clash with the compiled app styles. */

:root {
  --lig-orange: #f8992d;
  --lig-orange-2: #ffb24d;
  --lig-orange-d: #d9700f;
  --lig-navy: #192a3c;
  --lig-ink: #0b1117;
  --lig-ink-2: #0e1824;
  --lig-ease: cubic-bezier(.19, .9, .22, 1);
}

html { scroll-behavior: smooth; }

/* Accessibility: white text on the brand orange is only 2.3:1 (WCAG needs 4.5:1).
   Dark text on the same orange is ~9:1 and matches the Temu page buttons. */
.btn, .btn-primary { color: #0b1117; }
#services, #results, #ask, #about-teaser, #temu-band { scroll-margin-top: 88px; }
html.lig-lock { overflow: hidden; }

/* ---------- reveal on scroll ---------- */
.lig-rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--lig-ease), transform .95s var(--lig-ease);
  transition-delay: var(--d, 0ms);
}
.lig-rv.in { opacity: 1; transform: none; }

/* ---------- buttons / small bits ---------- */
.lig-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 800; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  padding: 1rem 1.9rem; border-radius: 50px; border: 0;
  transition: transform .35s var(--lig-ease), box-shadow .35s var(--lig-ease), background .3s, border-color .3s;
}
.lig-btn .lig-arr { transition: transform .35s var(--lig-ease); }
.lig-btn:hover .lig-arr { transform: translateX(5px); }
.lig-btn-primary {
  color: #0b1117;
  background: linear-gradient(135deg, #ffc46b, var(--lig-orange) 55%, var(--lig-orange-d));
  box-shadow: 0 14px 34px rgba(248,153,45, .38);
}
.lig-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(248,153,45, .55); }
.lig-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.lig-btn-ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .09); transform: translateY(-3px); }

.lig-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--lig-orange); font-weight: 800; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 50px;
  background: rgba(248,153,45, .1); border: 1px solid rgba(248,153,45, .35);
}
.lig-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lig-orange); animation: ligDot 1.9s ease-out infinite; }
@keyframes ligDot {
  0% { box-shadow: 0 0 0 0 rgba(248,153,45, .7); }
  70% { box-shadow: 0 0 0 9px rgba(248,153,45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248,153,45, 0); }
}
.lig-link { color: var(--lig-orange); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(248,153,45, .4); transition: border-color .3s, color .3s; }
.lig-link:hover { color: #ffb24d; border-color: #ffb24d; }
.lig-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ---------- official logo lockup in the app header ---------- */
:root { --lig-logo-h: 48px; --lig-panel-w: min(45vw, 600px); }
header#top { gap: .6rem; }
header#top .logo-container {
  position: relative; flex: none;
  width: calc(var(--lig-logo-h) * 2.7211); height: var(--lig-logo-h);
  background: url("/assets/logo-color.png?v=2") no-repeat center / contain;
}
header#top .logo-container > svg { display: none; }
header#top .logo-container .logo-text {            /* kept for screen readers, hidden visually */
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
header#top .btn { margin-left: auto; white-space: nowrap; }

/* ---------- menu button: the two arrows from the logo ---------- */
.lig-menu-btn {
  flex: none; width: 48px; height: 48px; margin-left: .35rem; border: 0; border-radius: 14px; cursor: pointer;
  display: grid; place-items: center; background: rgba(25, 42, 60, .06);
  transition: background .3s, transform .4s var(--lig-ease);
}
.lig-menu-btn:hover { background: rgba(248, 153, 45, .2); transform: translateY(-1px); }
.lig-menu-btn svg { width: 26px; height: 26px; overflow: visible; transition: transform .6s var(--lig-ease); }
.lig-menu-btn polygon { fill: var(--lig-orange); transition: transform .5s var(--lig-ease); }
.lig-menu-btn:hover polygon:first-child { transform: translate(26px, -26px); }
.lig-menu-btn:hover polygon:last-child { transform: translate(-26px, 26px); }
.lig-menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lig-menu-btn:focus-visible, .lig-panel a:focus-visible, .lig-panel button:focus-visible { outline: 2px solid var(--lig-orange); outline-offset: 3px; }

/* ---------- side panel (opens over the right ~45% of the screen) ---------- */
.lig-scrim {
  position: fixed; inset: 0; z-index: 9400; background: rgba(4, 8, 13, .58);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--lig-ease), visibility 0s .5s;
}
.lig-panel {
  position: fixed; z-index: 9500; top: 0; right: 0; bottom: 0; width: var(--lig-panel-w);
  display: flex; flex-direction: column; overflow-y: auto; color: #fff;
  font-family: "Segoe UI", Roboto, Helvetica, sans-serif; line-height: 1.5;
  background:
    radial-gradient(520px 380px at 100% 0%, rgba(248, 153, 45, .24), transparent 62%),
    radial-gradient(420px 420px at 0% 100%, rgba(43, 72, 107, .35), transparent 62%),
    linear-gradient(170deg, #14233a, #0b1117 72%);
  border-left: 1px solid rgba(248, 153, 45, .28); box-shadow: -34px 0 90px rgba(0, 0, 0, .55);
  transform: translateX(104%); visibility: hidden;
  transition: transform .65s var(--lig-ease), visibility 0s .65s;
}
html.lig-menu-open { overflow: hidden; }
html.lig-menu-open .lig-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
html.lig-menu-open .lig-panel { transform: none; visibility: visible; transition-delay: 0s; }
.lig-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 1.35rem 1.7rem 1rem; }
.lig-panel-head img { height: 44px; width: auto; display: block; }
.lig-panel-close {
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer; flex: none;
  color: #fff; background: rgba(255, 255, 255, .09); font-size: 1.5rem; line-height: 1;
  transition: background .3s, transform .5s var(--lig-ease);
}
.lig-panel-close:hover { background: rgba(248, 153, 45, .3); transform: rotate(90deg); }
.lig-panel nav { flex: 1; padding: .6rem 1.7rem; }
.lig-panel nav a {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem .1rem; color: #fff; text-decoration: none;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem); font-weight: 700; letter-spacing: -.3px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  opacity: 0; transform: translateX(28px);
  transition: opacity .55s var(--lig-ease), transform .55s var(--lig-ease), color .25s;
}
html.lig-menu-open .lig-panel nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * .06s), calc(.18s + var(--i, 0) * .06s), 0s; }
.lig-panel nav a .num { min-width: 1.9rem; color: var(--lig-orange); font-size: .78rem; font-weight: 800; letter-spacing: 2px; }
.lig-panel nav a .arr { margin-left: auto; color: var(--lig-orange); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--lig-ease); }
.lig-panel nav a:hover { color: var(--lig-orange-2); }
.lig-panel nav a:hover .arr { opacity: 1; transform: none; }
.lig-panel nav a.is-minor { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: #b9c5d0; border-bottom: 0; }
.lig-panel nav .lig-new { margin-left: .2rem; }
.lig-panel-foot { padding: 1.2rem 1.7rem 1.7rem; border-top: 1px solid rgba(255, 255, 255, .09); }
.lig-panel-foot .lig-btn { width: 100%; padding: .95rem 1.2rem; font-size: 1rem; }
.lig-panel-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.1rem; font-size: .95rem; }
.lig-panel-contact a { color: #cfd8e0; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; transition: color .25s; }
.lig-panel-contact a:hover { color: var(--lig-orange-2); }
.lig-panel-contact svg { width: 18px; height: 18px; fill: #25d366; flex: none; }
.lig-new {
  display: inline-block; margin-left: .45rem; padding: .14rem .5rem; vertical-align: middle;
  font-size: .62rem; font-weight: 800; letter-spacing: 1px; color: #0b1117; border-radius: 50px;
  background: linear-gradient(135deg, var(--lig-orange-2), var(--lig-orange));
  animation: ligNew 2.6s ease-in-out infinite;
}
@keyframes ligNew {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 153, 45, .55); }
  50% { box-shadow: 0 0 0 6px rgba(248, 153, 45, 0); }
}

@media (max-width: 768px) { :root { --lig-logo-h: 40px; } }
@media (max-width: 700px) {
  :root { --lig-panel-w: min(78vw, 330px); }   /* phones: a bit wider than half so the menu text fits */
  .lig-panel-head { padding: 1.1rem 1.2rem .8rem; }
  .lig-panel-head img { height: 38px; }
  .lig-panel nav { padding: .4rem 1.2rem; }
  .lig-panel nav a { padding: .95rem .1rem; }
  .lig-panel-foot { padding: 1rem 1.2rem 1.4rem; }
}
/* small phones: keep logo, button and menu button on one line */
@media (max-width: 420px) {
  :root { --lig-logo-h: 36px; }
  header#top { padding: .7rem 4%; gap: .5rem; }
  header#top .btn { padding: .45rem .75rem; font-size: .78rem; }
  .lig-menu-btn { width: 42px; height: 42px; border-radius: 12px; }
  .lig-menu-btn svg { width: 22px; height: 22px; }
}
@media (max-width: 340px) { header#top > a.btn { display: none; } header#top .lig-menu-btn { margin-left: auto; } }

/* ---------- Temu section (homepage) ---------- */
.lig-temu { margin: 4.5rem 0 0; }
.lig-temu-card {
  position: relative; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
  padding: clamp(2rem, 5vw, 4rem); border-radius: 28px;
  border: 1px solid rgba(248,153,45, .25);
  background:
    radial-gradient(700px 380px at 88% 15%, rgba(248,153,45, .30), transparent 62%),
    radial-gradient(620px 420px at 0% 100%, rgba(43, 72, 107, .5), transparent 60%),
    linear-gradient(150deg, #101b27, #0b1117 72%);
  box-shadow: 0 34px 80px rgba(11, 17, 23, .28);
}
.lig-temu-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 72%);
}
.lig-temu-copy { position: relative; z-index: 2; }
.lig-temu-copy h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -1.5px; font-weight: 800; margin: 1.1rem 0 1rem; text-wrap: balance; }
.lig-temu-copy h2 .lig-grad { display: inline-block; }
.lig-temu-copy h2 .lig-grad {
  background: linear-gradient(100deg, #ffc46b, var(--lig-orange) 40%, #ff8a3d 60%, #ffc46b);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ligSheen 6s linear infinite;
}
@keyframes ligSheen { to { background-position: -220% center; } }
.lig-temu-copy p { color: #cfd8e0; font-size: 1.12rem; max-width: 520px; margin: 0 0 1.4rem; }
.lig-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.9rem; padding: 0; }
.lig-chips li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 50px;
  font-size: .92rem; font-weight: 600; color: #e7edf2;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.lig-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lig-orange); }
.lig-cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.lig-temu-art { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; min-height: 280px; }
.lig-parcel {
  position: relative; width: 210px; height: 210px; border-radius: 24px; transform: rotate(-6deg);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffa845 0%, var(--lig-orange) 45%, #f0601f 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset -24px -30px 60px rgba(150, 60, 0, .35), 0 40px 80px rgba(240, 96, 31, .42);
  animation: ligFloat 6s ease-in-out infinite;
}
.lig-parcel::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: rgba(150, 60, 0, .18); }
.lig-parcel::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 40px; transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05));
  border-top: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(150, 60, 0, .2);
}
.lig-parcel b { position: relative; z-index: 2; color: #fff; font-size: 2.3rem; font-weight: 800; letter-spacing: 1px; text-shadow: 0 3px 10px rgba(130, 50, 0, .4); }
@keyframes ligFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }
@media (max-width: 860px) {
  .lig-temu-card { grid-template-columns: 1fr; }
  .lig-temu-art { order: -1; min-height: 230px; }
  .lig-parcel { width: 170px; height: 170px; }
  .lig-parcel b { font-size: 1.9rem; }
  .lig-wrap { padding: 0 1rem; }
  .lig-cta-row .lig-btn { flex: 1 1 100%; }
}

/* ---------- results band (replaces the plain About / Results text) ---------- */
.lig-results { position: relative; overflow: hidden; margin-top: 5rem; color: #fff; background: #0b1117; }
.lig-results::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 12% 0%, rgba(248,153,45, .16), transparent 62%), radial-gradient(700px 420px at 100% 100%, rgba(43, 72, 107, .45), transparent 60%);
}
.lig-results .lig-wrap { position: relative; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.lig-results h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -1px; font-weight: 800; margin: 1rem 0 0; max-width: 720px; }
.lig-results h2 span { color: var(--lig-orange); }
.lig-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.lig-stat {
  padding: 2.1rem 1.6rem; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .45s var(--lig-ease), border-color .45s, box-shadow .45s;
}
.lig-stat:hover { transform: translateY(-7px); border-color: rgba(248,153,45, .55); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.lig-stat b {
  display: block; font-size: clamp(2.5rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -2px; line-height: 1.05; margin-bottom: .4rem;
  background: linear-gradient(120deg, #ffd59a, var(--lig-orange) 55%, #ff7a2f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lig-stat span { color: #c5d0da; font-size: 1.02rem; line-height: 1.5; display: block; }
.lig-about { margin-top: 3.4rem; padding-top: 2.4rem; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem 3rem; align-items: start; }
.lig-about h3 { color: var(--lig-orange); font-size: .85rem; letter-spacing: 3px; text-transform: uppercase; margin: .35rem 0 0; }
.lig-about p { color: #dbe3ea; font-size: 1.2rem; line-height: 1.7; margin: 0 0 1rem; max-width: 720px; }
@media (max-width: 860px) {
  .lig-stat-grid { grid-template-columns: 1fr; }
  .lig-about { grid-template-columns: 1fr; gap: .4rem; }
}

/* ---------- ask-us section ---------- */
.lig-ask { position: relative; background: linear-gradient(180deg, #f4f7f6, #e8eef0); }
.lig-ask .lig-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.2rem; align-items: center; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.lig-ask h2 { color: #16202b; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -1px; font-weight: 800; margin: 1rem 0 .9rem; }
.lig-ask h2 span { color: var(--lig-orange-d); }
.lig-ask-copy p { color: #4a5663; font-size: 1.1rem; max-width: 460px; margin: 0 0 1.6rem; }
.lig-chip {
  display: inline-flex; align-items: center; gap: .6rem; padding: .78rem 1.15rem; margin: 0 .6rem .7rem 0; border-radius: 50px;
  background: #fff; border: 1px solid #dde5e8; color: #16202b; font-weight: 600; text-decoration: none; font-size: .98rem;
  transition: transform .3s var(--lig-ease), box-shadow .3s, border-color .3s;
}
.lig-chip:hover { transform: translateY(-3px); border-color: var(--lig-orange); box-shadow: 0 12px 26px rgba(16, 27, 39, .1); }
.lig-ask-card {
  background: #fff; border-radius: 26px; padding: 2.1rem; border: 1px solid rgba(16, 27, 39, .06);
  box-shadow: 0 34px 70px rgba(16, 27, 39, .14), 0 2px 0 rgba(248,153,45, .6) inset;
}
.lig-ask-card h3 { margin: 0 0 1.2rem; color: #16202b; font-size: 1.3rem; }
@media (max-width: 860px) {
  .lig-ask .lig-wrap { grid-template-columns: 1fr; gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }
  .lig-ask-card { padding: 1.5rem 1.2rem; }
}

/* ---------- forms (floating labels) ---------- */
.lig-form { --lf-bg: #fff; --lf-border: #d6dee3; --lf-text: #16202b; --lf-muted: #6b7886; --lf-err: #d6343a; }
.lig-form--dark { --lf-bg: rgba(255, 255, 255, .06); --lf-border: rgba(255, 255, 255, .17); --lf-text: #fff; --lf-muted: #9fb0bf; --lf-err: #ff6b70; }
.lig-field { position: relative; margin-bottom: 13px; }
.lig-field input, .lig-field textarea, .lig-field select {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; /* 16px stops iOS zooming on focus */
  padding: 1.45rem .95rem .5rem; border-radius: 13px; outline: none; -webkit-appearance: none; appearance: none;
  color: var(--lf-text); background: var(--lf-bg); border: 1.5px solid var(--lf-border);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.lig-field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.lig-field select {
  padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f8992d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.lig-form--dark select option { color: #16202b; }
.lig-field label {
  position: absolute; left: .98rem; top: 1.02rem; color: var(--lf-muted); font-size: 1rem; line-height: 1.2; pointer-events: none;
  transition: top .22s var(--lig-ease), font-size .22s var(--lig-ease), color .22s, letter-spacing .22s;
}
.lig-field input:focus + label, .lig-field input:not(:placeholder-shown) + label,
.lig-field textarea:focus + label, .lig-field textarea:not(:placeholder-shown) + label,
.lig-field select + label { top: .5rem; font-size: .7rem; letter-spacing: .4px; text-transform: uppercase; font-weight: 700; }
.lig-field input:focus + label, .lig-field textarea:focus + label, .lig-field select:focus + label { color: var(--lig-orange-d); }
.lig-form--dark .lig-field input:focus + label, .lig-form--dark .lig-field textarea:focus + label, .lig-form--dark .lig-field select:focus + label { color: var(--lig-orange-2); }
.lig-field input:focus, .lig-field textarea:focus, .lig-field select:focus { border-color: var(--lig-orange); box-shadow: 0 0 0 4px rgba(248,153,45, .17); }
.lig-field.err input, .lig-field.err textarea, .lig-field.err select { border-color: var(--lf-err); box-shadow: 0 0 0 4px rgba(214, 52, 58, .12); }
.lig-err { display: none; color: var(--lf-err); font-size: .8rem; margin: 5px 3px 0; }
.lig-field.err .lig-err { display: block; animation: ligShake .4s; }
@keyframes ligShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.lig-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 13px; }
@media (max-width: 520px) { .lig-row2 { grid-template-columns: 1fr; } }
.lig-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lig-submit {
  width: 100%; margin-top: 4px; position: relative; overflow: hidden;
}
.lig-submit[disabled] { cursor: progress; opacity: .85; transform: none; }
.lig-submit .lig-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11, 17, 23, .25); border-top-color: #0b1117; animation: ligSpin .7s linear infinite; }
.lig-submit[disabled] .lig-spin { display: inline-block; }
@keyframes ligSpin { to { transform: rotate(360deg); } }
.lig-fine { font-size: .78rem; color: var(--lf-muted); margin: .85rem 0 0; text-align: center; }
.lig-fine a { color: inherit; text-decoration: underline; }
.lig-formerr { display: none; margin: .7rem 0 0; padding: .7rem .9rem; border-radius: 10px; font-size: .9rem; color: var(--lf-err); background: rgba(214, 52, 58, .09); }
.lig-formerr.show { display: block; }
.lig-formerr a { color: inherit; font-weight: 700; text-decoration: underline; }

.lig-done { text-align: center; padding: 1.2rem .4rem .6rem; }
.lig-done[hidden] { display: none; }
.lig-done svg { width: 74px; height: 74px; margin-bottom: .6rem; }
.lig-done circle { fill: none; stroke: var(--lig-orange); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; animation: ligDraw .8s var(--lig-ease) forwards; }
.lig-done path { fill: none; stroke: var(--lig-orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: ligDraw .55s var(--lig-ease) .6s forwards; }
@keyframes ligDraw { to { stroke-dashoffset: 0; } }
.lig-done .lig-done-title { margin: 0 0 .4rem; font-size: 1.35rem; font-weight: 700; color: var(--lf-text); }
.lig-done p { margin: 0 0 1.2rem; color: var(--lf-muted); font-size: 1rem; }
.lig-done .lig-btn { padding: .85rem 1.5rem; font-size: .96rem; }

/* ---------- floating chat ---------- */
.lig-chat {
  position: fixed; z-index: 9000; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  font-family: "Segoe UI", Roboto, Helvetica, sans-serif; line-height: 1.5;
  display: flex; align-items: center; gap: .6rem;
}
.lig-chat-launch, .lig-wa-launch { box-sizing: border-box; min-height: 52px; min-width: 11.5rem; justify-content: center; }
.lig-wa-launch {
  order: -1; display: flex; align-items: center; gap: .6rem; text-decoration: none; cursor: pointer; color: #0b1117;
  font: inherit; font-weight: 800; font-size: .98rem; padding: .88rem 1.25rem .88rem 1.05rem; border-radius: 50px;
  background: linear-gradient(135deg, #6af092, #25d366 55%, #17a64f);
  box-shadow: 0 16px 38px rgba(37, 211, 102, .42), 0 2px 8px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none;
  transition: opacity .6s var(--lig-ease) .12s, transform .6s var(--lig-ease) .12s, box-shadow .3s;
}
.lig-chat[data-ready="true"] .lig-wa-launch { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s, .12s, 0s; }
.lig-wa-launch:hover { box-shadow: 0 20px 46px rgba(37, 211, 102, .6), 0 2px 8px rgba(0, 0, 0, .22); transform: translateY(-3px); }
.lig-wa-launch:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lig-wa-launch svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.lig-chat-launch {
  display: flex; align-items: center; gap: .6rem; border: 0; cursor: pointer; color: #0b1117;
  font: inherit; font-weight: 800; font-size: .98rem; padding: .88rem 1.25rem .88rem 1.05rem; border-radius: 50px;
  background: linear-gradient(135deg, #ffc46b, var(--lig-orange) 55%, var(--lig-orange-d));
  box-shadow: 0 16px 38px rgba(248,153,45, .45), 0 2px 8px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none;
  transition: opacity .6s var(--lig-ease), transform .6s var(--lig-ease), box-shadow .3s;
}
.lig-chat[data-ready="true"] .lig-chat-launch { opacity: 1; transform: none; pointer-events: auto; }
.lig-chat-launch:hover { box-shadow: 0 20px 46px rgba(248,153,45, .6), 0 2px 8px rgba(0, 0, 0, .22); transform: translateY(-3px); }
.lig-chat-launch svg { width: 22px; height: 22px; flex: none; }
.lig-chat[data-open="true"] .lig-chat-launch { transform: scale(.94); }
.lig-chat-panel {
  position: absolute; right: 0; bottom: calc(100% + 14px); width: min(390px, calc(100vw - 28px)); color: #fff;
  background: #0e1824; border-radius: 24px; border: 1px solid rgba(248,153,45, .32); overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right;
  transition: opacity .35s var(--lig-ease), transform .45s var(--lig-ease), visibility 0s .45s;
}
.lig-chat[data-open="true"] .lig-chat-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lig-chat-head {
  display: flex; align-items: center; gap: .85rem; padding: 1.05rem 1.1rem;
  background: radial-gradient(260px 120px at 100% 0%, rgba(248,153,45, .35), transparent 70%), linear-gradient(135deg, #16273a, #0e1824);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lig-chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.lig-chat-avatar svg { width: 24px; height: 24px; }
.lig-chat-head b { display: block; font-size: 1rem; }
.lig-chat-head small { color: #9fb0bf; font-size: .8rem; display: flex; align-items: center; gap: .4rem; }
.lig-chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.lig-chat-close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; color: #cfd8e0; background: rgba(255, 255, 255, .08); font-size: 1.2rem; line-height: 1; transition: background .25s; }
.lig-chat-close:hover { background: rgba(255, 255, 255, .18); }
.lig-chat-body { padding: 1.1rem; max-height: min(520px, calc(100vh - 190px)); overflow-y: auto; }
.lig-bubble {
  display: inline-block; max-width: 92%; padding: .8rem 1rem; margin: 0 0 1rem; border-radius: 4px 18px 18px 18px;
  background: rgba(255, 255, 255, .08); color: #e7edf2; font-size: .95rem;
  animation: ligBubble .6s var(--lig-ease) both;
}
@keyframes ligBubble { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.lig-chat .lig-field { margin-bottom: 11px; }
.lig-chat .lig-field textarea { min-height: 92px; }
.lig-chat .lig-btn { padding: .9rem 1.4rem; font-size: .98rem; }

@media (max-width: 520px) {
  .lig-chat { right: 12px; bottom: 12px; }
  .lig-chat-launch span, .lig-wa-launch span { display: none; }
  .lig-chat-launch, .lig-wa-launch { padding: .95rem; min-width: 0; }
  .lig-chat-panel { position: fixed; left: 10px; right: 10px; bottom: 76px; width: auto; }
  .lig-chat-body { max-height: calc(100dvh - 210px); }
}

/* ---------- final call-to-action: "Ready to dominate…" with David and WhatsApp ---------- */
.lig-foot {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  column-gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(3.6rem, 8vw, 6.2rem) max(1.5rem, calc((100% - 1120px) / 2)) 2rem !important;
  text-align: left !important;
  background:
    radial-gradient(720px 420px at 14% 24%, rgba(248, 153, 45, .17), transparent 62%),
    radial-gradient(640px 460px at 100% 100%, rgba(43, 72, 107, .46), transparent 60%),
    linear-gradient(165deg, #12202f 0%, #0b1117 64%) !important;
}
.lig-foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 30% 40%, #000, transparent 72%);
}
.lig-foot > * { position: relative; z-index: 1; grid-column: 2; }
.lig-foot > h2 {
  color: #fff !important; font-size: clamp(2.1rem, 4.2vw, 3.3rem) !important; line-height: 1.08; letter-spacing: -1.2px;
  margin: 0 0 1rem !important; text-wrap: balance;
}
.lig-foot > p:not(.lig-foot-copy) { color: #b6c2cd !important; font-size: 1.18rem !important; margin: 0 0 2rem !important; max-width: 520px; }
.lig-foot > a.btn { justify-self: start; margin: 0 !important; }
.lig-foot .footer-contact { margin-top: 2.4rem !important; justify-content: flex-start !important; gap: .7rem !important; }
.lig-foot .footer-contact a[href="/about/"], .lig-foot .footer-contact a[href="/temu/"], .lig-foot .footer-contact a[href="/privacy/"] { display: none !important; }
.lig-foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1.5rem; }
.lig-foot-links a { color: #8fa1b1; font-size: .95rem; text-decoration: none; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.lig-foot-links a:hover { color: var(--lig-orange-2); border-color: rgba(248, 153, 45, .5); }
.lig-foot > .lig-foot-copy {
  grid-column: 1 / -1 !important; margin: 3.2rem 0 0 !important; padding-top: 1.4rem; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08); color: #6c7a87 !important; font-size: .88rem !important; max-width: none !important;
}

/* David: circular portrait, bubble, WhatsApp "app icon" */
.lig-foot-me { grid-column: 1; grid-row: 1 / span 7; align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lig-me-photo { position: relative; width: clamp(190px, 22vw, 250px); aspect-ratio: 1; margin: 1.6rem 0 1.5rem; }
.lig-me-photo::before {                     /* slowly turning gold ring */
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg, #f8992d, #ffd59a 25%, #f8992d 50%, #b8620a 75%, #f8992d);
  animation: ligSpin 9s linear infinite;
}
.lig-me-photo::after {                      /* soft glow behind */
  content: ""; position: absolute; inset: -46px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(248, 153, 45, .3), transparent); filter: blur(10px);
}
@keyframes ligSpin { to { transform: rotate(360deg); } }
.lig-me-photo .ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 5px solid #0b1117; background: #010e1d; }
.lig-me-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 0%; transform: scale(1.36); transform-origin: 50% 20%; }
.lig-hi {
  position: absolute; z-index: 3; top: -1.9rem; left: -26%; display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1.15rem .7rem; border-radius: 22px;
  font-family: "Segoe Print", "Bradley Hand", "Marker Felt", "Chalkboard SE", "Comic Neue", cursive;
  font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.2; color: #0b1117; white-space: nowrap;
  background: linear-gradient(135deg, #ffc46b, var(--lig-orange)); box-shadow: 0 16px 40px rgba(248, 153, 45, .38);
  opacity: 0; transform: scale(.6) rotate(-9deg);
}
.lig-hi::after {
  content: ""; position: absolute; right: 22%; bottom: -13px; width: 26px; height: 26px;
  background: var(--lig-orange); clip-path: polygon(0 0, 100% 0, 66% 100%);
}
.lig-rv.in .lig-hi { animation: ligPop .9s cubic-bezier(.34, 1.56, .64, 1) .35s forwards; }
@keyframes ligPop { to { opacity: 1; transform: scale(1) rotate(-5deg); } }
.lig-wave { display: inline-block; transform-origin: 70% 75%; animation: ligWave 2.6s ease-in-out 1.3s infinite; }
@keyframes ligWave {
  0%, 55%, 100% { transform: rotate(0); }
  8% { transform: rotate(16deg); } 16% { transform: rotate(-8deg); } 24% { transform: rotate(16deg); }
  32% { transform: rotate(-4deg); } 40% { transform: rotate(10deg); }
}
.lig-foot-me h3 { margin: 0 0 .25rem; color: #fff; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.5px; }
.lig-me-sub { margin: 0 0 1.4rem; color: #aeb9c3; font-size: 1.02rem; max-width: 300px; }
.lig-wa-card {
  display: inline-flex; align-items: center; gap: 1rem; padding: .7rem 1.5rem .7rem .7rem; border-radius: 22px;
  color: #fff; text-decoration: none; text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  transition: transform .4s var(--lig-ease), border-color .3s, box-shadow .4s var(--lig-ease);
}
.lig-wa-tile {                              /* looks like the app icon on a phone's home screen */
  position: relative; flex: none; width: 64px; height: 64px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(160deg, #5cea86 0%, #25d366 46%, #128c4a 100%);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .38), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 6px rgba(0, 0, 0, .2);
  transition: transform .4s var(--lig-ease);
}
.lig-wa-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 48%; border-radius: 15px 15px 60% 60% / 15px 15px 22% 22%; background: linear-gradient(rgba(255, 255, 255, .22), transparent); pointer-events: none; }
.lig-wa-tile svg { width: 38px; height: 38px; fill: #fff; position: relative; z-index: 1; }
.lig-wa-text small { display: block; color: #9fb0bf; font-size: .78rem; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; }
.lig-wa-text b { display: block; font-size: 1.28rem; letter-spacing: .1px; line-height: 1.25; }
.lig-wa-card:hover { transform: translateY(-4px); border-color: rgba(37, 211, 102, .6); box-shadow: 0 24px 50px rgba(0, 0, 0, .4), 0 0 0 1px rgba(37, 211, 102, .25); }
.lig-wa-card:hover .lig-wa-tile { transform: scale(1.07) rotate(-3deg); }
.lig-wa-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 900px) {
  .lig-foot { grid-template-columns: 1fr; text-align: center !important; padding: 3.4rem 1.4rem 1.8rem !important; }
  .lig-foot > * { grid-column: 1 !important; }
  .lig-foot-me { grid-row: auto; order: -1; margin-bottom: 2.6rem; }
  .lig-foot > p:not(.lig-foot-copy) { margin-left: auto !important; margin-right: auto !important; }
  .lig-foot > a.btn { justify-self: center; }
  .lig-foot .footer-contact { justify-content: center !important; }
  .lig-foot-links { justify-content: center; }
  .lig-foot > .lig-foot-copy { margin-top: 2.4rem !important; }
  .lig-hi { left: -14%; }
}
@media (max-width: 380px) { .lig-wa-card { padding-right: 1.1rem; } .lig-wa-text b { font-size: 1.12rem; } }

/* ---------- Calendly popup: premium frame (the booking page inside is Calendly's own) ---------- */
.calendly-overlay {
  background: rgba(4, 8, 13, .76) !important;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  animation: ligFadeIn .35s ease both;
}
@keyframes ligFadeIn { from { opacity: 0; } }
.calendly-popup { animation: ligSheetIn .6s var(--lig-ease) both; }
@keyframes ligSheetIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.calendly-popup-close {
  width: 44px !important; height: 44px !important; top: 22px !important; right: 24px !important; border-radius: 50%;
  background-color: rgba(255, 255, 255, .14) !important; background-position: center !important; background-size: 16px !important;
  border: 1px solid rgba(255, 255, 255, .28);
  transition: background-color .25s, transform .4s var(--lig-ease);
}
.calendly-popup-close:hover { background-color: rgba(248, 153, 45, .6) !important; transform: rotate(90deg); }
@media (max-width: 975px) {                 /* phones and tablets: a full-height sheet that slides up */
  html .calendly-overlay .calendly-popup { top: 56px !important; height: calc(100% - 56px) !important; min-height: 0 !important; max-height: none !important; border-radius: 22px 22px 0 0 !important; overflow: hidden; animation: ligSheetUp .55s var(--lig-ease) both; }
  html .calendly-overlay .calendly-popup .calendly-popup-content, html .calendly-overlay .calendly-popup iframe { border-radius: inherit; height: 100% !important; }
  .calendly-popup-close { top: 8px !important; right: 12px !important; width: 40px !important; height: 40px !important; }
}
@keyframes ligSheetUp { from { opacity: 0; transform: translateY(40px); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lig-rv { opacity: 1; transform: none; transition: none; }
  .lig-dot, .lig-new, .lig-parcel, .lig-grad, .lig-wave { animation: none !important; }
  .lig-hi { opacity: 1; transform: rotate(-5deg); animation: none !important; }
  .lig-me-photo::before { animation: none !important; }
  .calendly-overlay, .calendly-popup { animation: none !important; }
  .lig-panel, .lig-scrim, .lig-panel nav a { transition-duration: .01s !important; transition-delay: 0s !important; }
  .lig-chat-launch, .lig-wa-launch, .lig-chat-panel { transition: opacity .2s; }
}
