/*--------------------------------------------------------------
  Skroll design layer (loaded after the Arino template styles).

  The site is DARK, period. Section-level `cs-light` classes left in
  page markup are inert (kept only to avoid touching every template).
----------------------------------------------------------------*/

:root {
  --sk-light: #f6f4f1;
  --sk-card: #ffffff;
  --sk-ink: #17130f;
  --sk-ink-soft: rgba(23, 19, 15, 0.72);
  --sk-ink-faint: rgba(23, 19, 15, 0.5);
  --sk-line: rgba(23, 19, 15, 0.14);
  --sk-accent: #ff4a17;
  --sk-accent-hi: #ff6a1a;
  --sk-accent-deep: #d63a0e;
}

/* ==========================================================================
   DARK-NATIVE COMPONENT DEFAULTS (shared pieces that live in this sheet)
   ========================================================================== */

/* Editorial page header (replaces the template's bg-image page headings) */
.cs-pagehead {
  padding: 190px 0 90px;
}
.cs-pagehead_eyebrow {
  display: inline-block;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sk-accent-hi);
  margin: 0 0 1.1rem;
}
.cs-pagehead_title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.06;
  font-weight: 700;
  margin: 0;
  max-width: 18ch;
  color: #fefefe;
}
.cs-pagehead_sub {
  margin: 1.6rem 0 0;
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(254, 254, 254, 0.72);
}
@media (max-width: 767px) {
  .cs-pagehead { padding: 140px 0 60px; }
}

/* Long article/case titles: slightly smaller ceiling than section pageheads */
.cs-pagehead_title_article {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  max-width: 26ch;
}

/* Solid dark bar behind the fixed header on pages without a dark hero */
.sk-solid-header .cs-site_header.cs-style1 {
  background-color: #141110;
}

/* Global type-scale lift */
.cs-section_title {
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 1.12;
}

/* One link affordance: arrows stay orange everywhere */
.cs-work_card_arrow, .cs-num_item_arrow { color: var(--sk-accent); }

/* Case-study tag chip */
.cs-work_tag_case {
  border-color: rgba(255, 74, 23, 0.55);
  color: var(--sk-accent-hi);
  font-weight: 600;
}

/* ===== Header toolbar: language button ===== */
.sk-toolbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border: 1px solid rgba(254, 254, 254, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #fefefe;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  vertical-align: middle;
}
.sk-toolbtn:hover {
  border-color: var(--sk-accent);
  color: var(--sk-accent-hi);
  background: rgba(255, 74, 23, 0.08);
}
.sk-lang {
  width: auto;
  padding: 0 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
.cs-toolbox { display: flex; align-items: center; }
@media (max-width: 575px) {
  .sk-toolbtn { width: 38px; height: 38px; margin-right: 8px; }
  .sk-lang { padding: 0 12px; }
}
/* Keep the toolbar compact while the desktop nav is visible */
@media (min-width: 992px) and (max-width: 1400px) {
  .sk-toolbtn { width: 36px; height: 36px; margin-right: 8px; font-size: 0.85rem; }
  .sk-lang { padding: 0 11px; font-size: 0.78rem; }
}

/* The template's absolutely-positioned nav container spans the full header
   width and swallows clicks meant for the toolbar. Let empty areas pass
   clicks through; the nav itself stays interactive. */
.cs-main_header_center { pointer-events: none; }
.cs-main_header_center .cs-nav { pointer-events: auto; }
.cs-main_header_right { position: relative; z-index: 12; }

/* ===== Display serif utilities (Instrument Serif) ===== */
.sk-serif { font-family: 'Instrument Serif', serif; font-weight: 400; }
.sk-serif-italic { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

/* ===== Speed / AI-era proof band (used on EN + FR home) ===== */
.sk-speed { background: #141110; }
.sk-speed_lead { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; opacity: 0.78; }
.sk-speed_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.sk-speed_card { border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.8rem 1.5rem; background: rgba(255,255,255,0.02); transition: border-color 0.25s ease, transform 0.25s ease; }
.sk-speed_card:hover { border-color: rgba(255,106,26,0.5); transform: translateY(-4px); }
.sk-speed_num { font-size: 1.5rem; font-weight: 600; color: #ff6a1a; margin-bottom: 0.6rem; }
.sk-speed_card p { margin: 0; opacity: 0.8; line-height: 1.55; font-size: 0.98rem; }
@media (max-width: 991px) { .sk-speed_grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .sk-speed_grid { grid-template-columns: 1fr; } }

/* ===== WhatsApp chat widget (metheqcuisine-style, Skroll-branded) ===== */
.sk-wa { position: fixed; right: 22px; bottom: 22px; z-index: 9999; }
.sk-wa__toggle { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: #25D366; color: #fff; font-size: 28px; box-shadow: 0 10px 26px rgba(0,0,0,.3); position: relative; display: grid; place-items: center; transition: transform .2s ease; }
.sk-wa__toggle:hover { transform: scale(1.06); color: #fff; }
.sk-wa__toggle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .5; animation: sk-wa-pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes sk-wa-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.85); opacity: 0; } }
.sk-wa.is-open .sk-wa__toggle::before { animation: none; }
.sk-wa__icon-close { display: none; }
.sk-wa.is-open .sk-wa__icon-chat { display: none; }
.sk-wa.is-open .sk-wa__icon-close { display: block; }
.sk-wa__panel { position: absolute; bottom: 76px; right: 0; width: 340px; max-width: calc(100vw - 44px); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: translateY(16px) scale(.96); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
.sk-wa.is-open .sk-wa__panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.sk-wa__header { background: #075E54; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.sk-wa__avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.sk-wa__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.sk-wa__ident { line-height: 1.35; }
.sk-wa__ident strong { display: block; font-size: 15px; color: #fff; }
.sk-wa__ident span { font-size: 12px; color: #b9d8cf; display: flex; align-items: center; gap: 6px; }
.sk-wa__dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; display: inline-block; }
.sk-wa__close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 17px; cursor: pointer; opacity: .85; line-height: 1; }
.sk-wa__close:hover { opacity: 1; }
.sk-wa__body { padding: 20px 16px; background: #ece5dd; min-height: 120px; background-image: linear-gradient(rgba(255,255,255,.02), rgba(255,255,255,.02)); }
.sk-wa__bubble { background: #fff; border-radius: 2px 12px 12px 12px; padding: 12px 14px; font-size: 14px; color: #333; box-shadow: 0 1px 2px rgba(0,0,0,.12); max-width: 92%; line-height: 1.55; }
.sk-wa__form { display: flex; gap: 8px; padding: 10px; background: #f4f0e9; }
.sk-wa__input { flex: 1; border: 1px solid #ddd; border-radius: 22px; padding: 10px 16px; font-size: 14px; outline: none; color: #333; background: #fff; }
.sk-wa__input:focus { border-color: #25D366; }
.sk-wa__send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #25D366; color: #fff; cursor: pointer; flex: none; font-size: 16px; display: grid; place-items: center; }
.sk-wa__send:hover { background: #1eb356; color: #fff; }
@media (max-width: 480px) { .sk-wa { right: 16px; bottom: 16px; } .sk-wa__toggle { width: 56px; height: 56px; font-size: 26px; } }
