/* =========================================================
   Soluky child — HOMEPAGE redesign (front page only)
   Aligned to the shared category/why-us engine look
   (inc/soluky-redesign.php → .se-* palette + 1180 width).
   ========================================================= */
:root{
  --sk-cream:#EDE1D4; --sk-cream2:#f4ecdf; --sk-paper:#fffdf8;
  --sk-navy:#364E89; --sk-navy2:#46599b; --sk-amber:#F4AF50; --sk-amber2:#e89e34;
  --sk-coral:#F15F4F; --sk-grass:#48944F; --sk-ink:#2c2a26; --sk-muted:#6f685d;
  --sk-line:rgba(0,0,0,.08);
  --sk-sh2:0 10px 26px rgba(50,40,20,.10);
  --sk-sh3:0 20px 44px -14px rgba(50,40,20,.30);
  --sk-blob:62% 38% 55% 45%/50% 60% 40% 50%;
  --sk-blob2:38% 62% 47% 53%/60% 45% 55% 40%;
}

/* ---- whole-homepage width cap (theme container is 1600 → too wide) ---- */
.home main .container{ max-width:1180px; margin-left:auto; margin-right:auto; }
/* hero boxes run wider than the body content (Butternut-style) */
.home main .sk-hero .container{ max-width:1400px; }
/* kill the theme's 83px margin-top on the product section (it reserves space for a
   curve graphic that the homepage rewrite doesn't use) → removes the white gap */
.home main .product-section{ margin-top:0; }

/* (menu bar intentionally left as the theme default — do NOT recolor it) */

/* ---- UNIFIED section-heading colour across the whole homepage (black, like the rest of the site) ---- */
.home main .section-header h2,
.home main .vet-ribbon-heading h2{ color:#1c1c1e; }

/* =========================================================
   HERO
   ========================================================= */
/* Two rounded colour boxes on a WHITE page (Butternut LP style) */
.sk-hero{ background:#fff; padding:30px 0 52px; position:relative; overflow:visible; }
.sk-hero .container{ position:relative; }
.sk-hero-boxes{ position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:stretch; }
/* brand "squiggly friends" — playful accents peeking around the boxes */
.sk-deco{ position:absolute; z-index:1; pointer-events:none; }
.sk-deco-sq{ width:118px; top:-30px; left:-26px; transform:rotate(-8deg); }
.sk-deco-circle{ width:66px; top:-26px; right:-20px; }
.sk-deco-donut{ width:58px; bottom:-26px; left:48%; }
@media(max-width:899px){ .sk-deco{ display:none; } }
.sk-hbox{ border-radius:30px; overflow:hidden; }

/* LEFT colour box: copy + start-card */
.sk-hbox-text{ background:var(--sk-cream); padding:clamp(28px,3.4vw,52px); display:flex; flex-direction:column; justify-content:center; }
.sk-hero-info{ width:100%; max-width:540px; }
.sk-badge{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--sk-line); border-radius:999px; padding:7px 15px; font-weight:700; font-size:13px; color:var(--sk-muted); box-shadow:var(--sk-sh2); margin-bottom:16px; }
.sk-badge .dot{ width:8px;height:8px;border-radius:50%;background:var(--sk-grass);box-shadow:0 0 0 4px rgba(72,148,79,.18); }
.sk-hero-info h1{ font-size:clamp(30px,3.1vw,44px) !important; line-height:1.1 !important; color:#1c1c1e; margin:0 0 12px; font-weight:800; }
.sk-hero-info h1 em{ font-style:normal; color:var(--sk-coral); }
.sk-hero-lede{ color:var(--sk-muted); font-size:17px; line-height:1.55; margin:0 0 22px; }

/* start-card sits directly on the colour box (no nested card chrome) */
.sk-startcard{ background:transparent; border:none; box-shadow:none; padding:0; }
.sk-startcard .sc-q{ font-weight:800; font-size:15px; color:#1c1c1e; margin-bottom:10px; }
.sk-startcard .sc-q.sc-q-sm{ margin-top:2px; }
.sk-startcard .sc-opt{ font-weight:500; color:var(--sk-muted); }
.sc-seg{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.sc-seg button{ display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; border-radius:14px; border:2px solid var(--sk-line); background:#fff; font-family:inherit; font-weight:800; font-size:16px; color:#1c1c1e; cursor:pointer; transition:.15s; }
.sc-seg button .ic{ width:24px;height:24px;object-fit:contain; }
.sc-seg button.on{ border-color:var(--sk-coral); background:#FEF0EE; box-shadow:0 0 0 3px rgba(241,95,79,.12); }
.sc-fld{ margin-bottom:13px; }
.sc-fld label{ display:block; font-size:13px; font-weight:700; color:var(--sk-muted); margin-bottom:6px; }
.sc-fld input{ width:100%; padding:13px 16px; border-radius:14px; border:2px solid var(--sk-line); font-family:inherit; font-size:16px; font-weight:600; color:#1c1c1e; background:#fff; }
.sc-fld input:focus{ outline:none; border-color:var(--sk-navy2); }
.sc-goals{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.sc-goals button{ font-family:inherit; font-weight:600; font-size:13px; padding:8px 13px; border-radius:999px; border:1.5px solid var(--sk-line); background:#fff; color:var(--sk-muted); cursor:pointer; transition:.15s; }
.sc-goals button.on{ border-color:var(--sk-navy); background:var(--sk-navy); color:#fff; }
.sk-startcard .sc-submit{ width:100%; justify-content:center; background:var(--sk-amber); color:#3a2a08; font-weight:800; font-size:16px; border:none; border-radius:999px; padding:15px; cursor:pointer; box-shadow:0 8px 20px -6px rgba(244,175,80,.6); transition:.15s; }
.sk-startcard .sc-submit:hover{ background:var(--sk-amber2); }
.sk-startcard .sc-fine{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--sk-muted); margin-top:11px; }
.sk-startcard .sc-fine b{ color:var(--sk-grass); }
.sk-trust{ margin-top:18px; font-size:14px; color:var(--sk-muted); font-weight:700; }
.sk-trust .stars{ color:var(--sk-amber); letter-spacing:1px; }
.sk-trust .dot{ margin:0 8px; opacity:.45; }

/* RIGHT colour box: full image / video */
.sk-hbox-media{ position:relative; background:#e7eef6; min-height:480px; }
.sk-hbox-media img,.sk-hbox-media video{ width:100%; height:100%; object-fit:cover; display:block; opacity:1 !important; }
.sk-hbox-media .stamp{ position:absolute; right:22px; top:22px; background:var(--sk-coral); color:#fff; font-weight:800; font-size:15px; line-height:1.15; padding:13px 17px; border-radius:var(--sk-blob2); box-shadow:var(--sk-sh3); transform:rotate(-5deg); text-align:center; z-index:2; }

/* =========================================================
   STATS BAND (pet-improvement proof)
   ========================================================= */
.sk-stats{ background:var(--sk-navy); padding:40px 0; }
.sk-stats .row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.sk-stats .stat .n{ font-size:clamp(30px,3.4vw,44px); font-weight:800; color:var(--sk-amber); line-height:1; }
.sk-stats .stat .l{ color:rgba(255,255,255,.85); font-size:14px; font-weight:600; margin-top:8px; line-height:1.4; }

/* =========================================================
   UNIQUE DNA → icon cards
   ========================================================= */
.sk-dna{ background:var(--sk-cream); padding:64px 0; }
.sk-dna .section-header{ text-align:center; margin-bottom:36px; }
.sk-dna .section-header h2{ color:var(--sk-navy); }
.sk-dna-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.sk-dcard{ background:#fff; border:1px solid var(--sk-line); border-radius:22px; box-shadow:var(--sk-sh2); padding:30px 24px; text-align:center; transition:.2s; }
.sk-dcard:hover{ transform:translateY(-4px); box-shadow:var(--sk-sh3); }
.sk-dcard .ic{ width:84px;height:84px; margin:0 auto 16px; border-radius:var(--sk-blob); background:#fdf2d8; display:flex; align-items:center; justify-content:center; }
.sk-dcard:nth-child(2) .ic{ background:#e6f0e2; } .sk-dcard:nth-child(3) .ic{ background:#efe6f3; }
.sk-dcard .ic img{ width:42px;height:42px;object-fit:contain; }
.sk-dcard h3{ font-size:18px; font-weight:800; color:var(--sk-navy); margin:0 0 8px; }
.sk-dcard p{ font-size:15px; color:var(--sk-muted); margin:0; line-height:1.55; }

/* =========================================================
   COMPARISON TABLE (Soluky vs kibble)
   ========================================================= */
.sk-compare{ background:var(--sk-paper); padding:64px 0; }
.sk-compare .section-header{ text-align:center; margin-bottom:34px; }
.sk-compare .section-header h2{ color:var(--sk-navy); }
/* Butternut-style: raised, highlighted Soluky column that steers the eye */
.sk-ctable{ position:relative; display:grid; grid-template-columns:1.7fr repeat(4,1fr); grid-template-rows:repeat(6,auto); max-width:880px; margin:0 auto; }
.sk-ctable .sk-hl{ position:absolute; grid-column:2 / 3; grid-row:1 / -1; top:-18px; bottom:-18px; left:0; right:0; background:#fff; border:2px solid var(--sk-amber); border-radius:20px; box-shadow:0 24px 50px -16px rgba(244,175,80,.55); z-index:0; }
.sk-ctable .sk-rec{ position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--sk-amber); color:#3a2a08; font-weight:800; font-size:11px; letter-spacing:.04em; text-transform:uppercase; padding:5px 13px; border-radius:999px; white-space:nowrap; box-shadow:0 6px 14px -4px rgba(244,175,80,.8); z-index:3; }
.sk-ctable > div{ position:relative; z-index:1; padding:15px 10px; display:flex; align-items:center; justify-content:center; text-align:center; font-size:14.5px; color:var(--sk-ink); border-bottom:1px solid var(--sk-line); }
.sk-ctable .feat{ justify-content:flex-start; text-align:left; font-weight:700; }
.sk-ctable .so{ font-weight:800; }
.sk-ctable .ch{ padding:20px 10px 16px; font-weight:800; color:var(--sk-muted); font-size:14px; }
.sk-ctable .ch.so{ color:var(--sk-navy); font-size:18px; padding-top:30px; }
.sk-ctable > div:nth-last-child(-n+5){ border-bottom:none; }
/* check / cross marks */
.sk-mk{ width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-weight:900; font-size:15px; }
.sk-mk.y{ background:var(--sk-grass); color:#fff; }       /* Soluky yes — vivid */
.sk-mk.ym{ background:#dfe9d8; color:#83a075; }           /* competitor yes — muted */
.sk-mk.n{ background:#ece7dd; color:#bcae9b; }            /* no */

/* =========================================================
   BENEFITS → cards (from ACF repeater)
   ========================================================= */
.sk-benefits{ background:var(--sk-cream2); padding:64px 0; }
.sk-benefits .section-header{ text-align:center; margin-bottom:36px; }
.sk-benefits .section-header h2{ color:var(--sk-navy); }
.sk-ben-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.sk-ben{ background:#fff; border:1px solid var(--sk-line); border-radius:18px; box-shadow:var(--sk-sh2); padding:26px 16px; text-align:center; }
.sk-ben .ic{ width:64px;height:64px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; }
.sk-ben .ic img{ max-width:48px; max-height:48px; object-fit:contain; }
.sk-ben h3{ font-size:16px; font-weight:800; color:var(--sk-navy); margin:0 0 6px; }
.sk-ben p{ font-size:13.5px; color:var(--sk-muted); margin:0; line-height:1.5; }

/* =========================================================
   VET RIBBON
   ========================================================= */
.vet-ribbon-section{ background:var(--sk-paper); padding:64px 0; }
.vet-ribbon-heading{ text-align:center; max-width:46rem; margin:0 auto 36px; }
.vet-ribbon-heading h2{ color:var(--sk-navy); margin-bottom:.6rem; }
.vet-ribbon-sub{ color:var(--sk-muted); font-size:16px; margin:0; }
.vet-ribbon-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.vet-card{ background:#fff; border:1px solid var(--sk-line); border-radius:22px; box-shadow:var(--sk-sh2); padding:26px 20px; text-align:center; transition:.18s; height:100%; }
.vet-card:hover{ transform:translateY(-4px); box-shadow:var(--sk-sh3); }
.vet-avatar{ width:94px;height:94px; margin:0 auto 14px; border-radius:var(--sk-blob); overflow:hidden; box-shadow:var(--sk-sh2); background:linear-gradient(135deg,var(--sk-navy),var(--sk-navy2)); display:flex; align-items:center; justify-content:center; }
.vet-avatar img{ width:100%;height:100%;object-fit:cover;object-position:center top; }
.vet-initials{ color:#fff; font-weight:800; font-size:26px; }
.vet-name{ font-size:17px; font-weight:800; color:var(--sk-navy); margin:0 0 2px; line-height:1.25; }
.vet-post{ font-weight:600; color:var(--sk-muted); font-size:.92em; }
.vet-spec{ font-size:12px; font-weight:800; letter-spacing:.02em; text-transform:uppercase; color:var(--sk-coral); margin:6px 0 12px; line-height:1.35; }
.vet-quote{ font-size:14px; color:var(--sk-muted); line-height:1.5; margin:0 0 12px; }
.vet-clinic{ font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--sk-navy); opacity:.6; padding-top:12px; border-top:1px solid var(--sk-line); }
.vet-ribbon-foot{ text-align:center; margin:30px 0 0; font-size:14.5px; color:var(--sk-muted); }

/* the brand squiggle (title-shap.svg) before headings — keep theme look */
.sk-dna .section-header h2 img,.sk-compare .section-header h2 img,.sk-benefits .section-header h2 img,.vet-ribbon-heading h2 img{ vertical-align:middle; margin-right:8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* stack the two hero boxes */
@media(max-width:899px){
  .sk-hero-boxes{ grid-template-columns:1fr; gap:16px; }
  .sk-hero-info{ max-width:none; }
  .sk-hbox-media{ min-height:300px; order:-1; }   /* image on top on mobile */
}
@media(max-width:991px){
  .sk-ben-grid{ grid-template-columns:repeat(3,1fr); }
  .vet-ribbon-row{ grid-template-columns:1fr 1fr; }
}
@media(max-width:767px){
  .sk-stats .row{ grid-template-columns:1fr 1fr; gap:22px; }
  .sk-dna-grid{ grid-template-columns:1fr; }
  .sk-ben-grid{ grid-template-columns:1fr 1fr; }
  .sk-startcard{ max-width:100%; }
  .sk-ctable{ grid-template-columns:1.4fr repeat(4,1fr); }
  .sk-ctable > div{ padding:12px 3px; font-size:11.5px; }
  .sk-ctable .ch{ font-size:11.5px; } .sk-ctable .ch.so{ font-size:13px; }
  .sk-mk{ width:22px; height:22px; font-size:12px; }
  .sk-ctable .sk-hl{ margin:-10px 0; }
}
@media(max-width:520px){ .vet-ribbon-row,.sk-ben-grid{ grid-template-columns:1fr; } }
