/*
Theme Name: Fitelo-rebranded
Theme URI: https://fitelo.co
Author: Fitelo
Description: Fitelo marketing theme. Colors, type, logo, and the homepage match the Fitelo 360 design.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fitelo
*/

/* Shared header and footer. Page styles live in home.css and v31.css. */
/* ============================================================
   NAV  - white CTA on maroon, orange once it leaves the hero
   ============================================================ */
.nav{position:fixed;left:0;right:0;top:calc(12px + env(safe-area-inset-top,0px));z-index:100;display:flex;justify-content:center;padding-inline:12px;pointer-events:none}
.nav-in{pointer-events:auto;width:100%;max-width:1160px;height:62px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:0 8px 0 24px;border-radius:999px;
  background:rgba(255,255,255,.07);backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.13);color:#fff;transition:background .5s var(--ease),box-shadow .5s var(--ease),color .5s var(--ease)}
.nav .brand{display:flex;align-items:center;color:#fff;transition:color .5s}
.nav .brand svg{height:22px;width:auto}
.nav-links{display:flex;gap:4px}
.nav-links a{color:#fff;text-decoration:none;font-size:14.5px;font-weight:500;padding:8px 14px;border-radius:999px;opacity:.82;transition:opacity .25s,background .25s}
.nav-links a:hover{opacity:1;background:rgba(255,255,255,.08)}
.nav-cta{justify-self:end;height:46px;padding:0 20px;font-size:15px;background:#fff;color:var(--maroon);font-variant-numeric:tabular-nums}
.nav-cta:hover{background:#FFF1EC}
.nav.lite .nav-in{background:rgba(255,255,255,.78);box-shadow:inset 0 0 0 1px rgba(79,7,22,.07),0 14px 40px -14px rgba(42,9,15,.22);color:var(--ink)}
.nav.lite .brand{color:var(--maroon)}
.nav.lite .nav-links a{color:var(--ink)}
.nav.lite .nav-links a:hover{background:rgba(79,7,22,.05)}
.nav.lite .nav-cta{background:var(--orange);color:#fff;box-shadow:0 8px 22px -8px rgba(255,71,57,.6)}
.nav.lite .nav-cta:hover{background:var(--orangeD)}
@media(max-width:1020px){
  .nav-links{display:none}
  .nav-in{grid-template-columns:1fr auto;padding-left:20px}
}
.store{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 16px;border-radius:16px;background:var(--ink);color:#fff;transition:background .3s}
.store:hover{background:#3A1219}
.store svg{width:22px;height:22px;fill:currentColor}
.store span{display:flex;flex-direction:column;line-height:1.1;font-size:16px;font-weight:600}
.store small{font-size:11px;font-weight:400;opacity:.7}
/* ============================================================
   FOOTER (v3)
   ============================================================ */
.ft{position:relative;background:var(--ivory);overflow:hidden;padding:clamp(64px,7vw,104px) 0 0;margin-top:clamp(56px,6vw,96px)}
.ft-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px 40px;flex-wrap:wrap;padding-bottom:clamp(40px,5vw,64px);border-bottom:1px solid var(--line)}
.ft-hero h3{font-family:var(--serif);font-weight:500;font-size:clamp(30px,3.4vw,48px);letter-spacing:-.022em;line-height:1.08;max-width:15ch;color:var(--ink)}
.ft-cta{display:flex;gap:10px;flex-wrap:wrap}
.ft-grid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr));gap:32px;padding:clamp(40px,5vw,64px) 0}
.ft-brand p{font-size:15px;line-height:1.55;color:var(--ink2);max-width:30ch;margin-top:16px}
.soc{display:flex;gap:8px;margin-top:22px}
.soc a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink2);box-shadow:inset 0 0 0 1px var(--line);transition:background .3s,color .3s}
.soc a:hover{background:var(--maroon);color:#fff;box-shadow:none}
.soc svg{width:18px;height:18px}
.ft h4{font-family:'Zalando Sans',sans-serif;font-size:13.5px;font-weight:600;color:var(--ink);margin:0 0 16px;letter-spacing:0}
.ft ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.ft ul a{font-size:15px;color:var(--ink2);transition:color .25s}
.ft ul a:hover{color:var(--maroon)}
.ft-bot{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:24px 0 30px;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink3);background:transparent}
.ft-bot nav{display:flex;gap:22px}
.ft-bot a:hover{color:var(--maroon)}
.ft>.wrap{position:relative;z-index:1}
.ft-ghost{position:absolute;left:50%;bottom:-7vw;width:min(1500px,112%);height:auto;transform:translateX(-50%);color:rgba(79,7,22,.045);pointer-events:none;z-index:0}
.nav-cta:focus-visible{outline-color:#fff}
.nav-cta{background:var(--orange);color:#fff;box-shadow:0 8px 22px -8px rgba(255,71,57,.6)}
.nav-cta:hover{background:var(--orangeD)}
.vc .store{background:#fff;color:var(--ink)}
.vc .store:hover{background:#FFF1EC}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1020px){
  .ft-grid{grid-template-columns:1fr 1fr}
  .ft-brand{grid-column:span 2}
}
@media(max-width:680px){
  .ft-grid{grid-template-columns:1fr 1fr;gap:28px 20px}
  .nav-cta{height:42px;padding:0 15px;font-size:14px}
}
@media(min-width:361px){
  .nav-cta .short{display:none}
}
@media(max-width:360px){
  .nav-cta .long{display:none}
}
.ft-hero h3{font-size:clamp(26px,2.5vw,36px);line-height:1.15}
/* ---------- WORDMARK sizing for the new artwork ---------- */
.brand svg{height:26px;width:auto;color:var(--orange)}
.ft-brand svg,.foot .brand svg{color:var(--orange)}
@media(max-width:680px){
  .brand svg{height:22px}
}
.store .gp{fill:none}
/* ============================================================
   FOOTER  - call us / product support
   ============================================================ */
.ft-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.ft-btns .btn{height:46px;padding:0 22px;font-size:15px;font-weight:500}
/* ============================================================
   V15 - MENU
   Phones and tablets lose the section links, so the nav gets a
   menu button and a full-screen sheet in the maroon of the hero.
   ============================================================ */
.nav-menu{display:none;width:46px;height:46px;border-radius:50%;place-items:center;color:#fff;
  background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
  transition:background .35s var(--ease),color .35s var(--ease),box-shadow .35s var(--ease)}
.nav-menu svg{width:21px;height:21px}
.nav.lite .nav-menu{color:var(--maroon);background:rgba(79,7,22,.05);box-shadow:inset 0 0 0 1px rgba(79,7,22,.1)}
@media(max-width:1020px){
  .nav-in{grid-template-columns:1fr auto auto;gap:8px}
  .nav-menu{display:grid}
}
.mnav{position:fixed;inset:0;z-index:260;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;color:#fff;
  padding:calc(10px + env(safe-area-inset-top,0px)) 0 calc(20px + env(safe-area-inset-bottom,0px));
  background:radial-gradient(80% 50% at 100% 0%,rgba(226,92,70,.22),transparent 62%),
             radial-gradient(70% 45% at 0% 100%,rgba(255,71,57,.08),transparent 60%),
             linear-gradient(168deg,#4A0716 0%,#2C0510 58%,#1C0307 100%);
  opacity:0;visibility:hidden;transition:opacity .35s var(--ease2),visibility 0s linear .35s}
.mnav[hidden]{display:none}
.mnav.open{opacity:1;visibility:visible;transition:opacity .35s var(--ease2)}
.mnav-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;flex:none;height:58px;padding:0 16px 0 28px}
.mnav-top .brand{display:flex}
.mnav-x{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.mnav-x svg{width:18px;height:18px}
.mnav-links{position:relative;z-index:1;display:flex;flex-direction:column;padding:14px var(--pad) 0}
.mnav-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 2px 13px;
  font-family:var(--serif);font-weight:450;font-size:clamp(24px,6.9vw,30px);line-height:1.14;letter-spacing:-.022em;
  border-bottom:1px solid rgba(255,255,255,.1);opacity:0;transform:translate3d(0,12px,0);
  transition:opacity .45s var(--ease2),transform .6s var(--ease2)}
.mnav-links a svg{width:18px;height:18px;opacity:.45}
.mnav-links a:active{color:var(--flame)}
.mnav.open .mnav-links a{opacity:1;transform:none;transition-delay:calc(var(--i,0) * 35ms + 60ms)}
.mnav-acts{position:relative;z-index:1;display:grid;gap:10px;padding:26px var(--pad) 0;margin-top:auto}
.mnav-acts .btn{width:100%;height:54px}
.mnav-call{justify-self:center;display:inline-flex;align-items:center;gap:8px;padding:10px 12px;font-size:14.5px;font-weight:500;color:rgba(255,255,255,.74)}
.mnav-call svg{width:17px;height:17px}
.mnav-ov{position:absolute;right:-34%;bottom:-6%;width:96%;pointer-events:none}
.mnav-ov svg{display:block;width:100%;height:auto;overflow:visible}
.mnav-ov ellipse{fill:none;stroke:rgba(255,178,150,.12);stroke-width:1;vector-effect:non-scaling-stroke}
html.mnav-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){
  .mnav-links a{opacity:1;transform:none}
}
/* ============================================================
   V15 - MOBILE (680px and down)
   Not the desktop, shrunk. One idea per screen: collections turn
   into swipe rails that always show a sliver of the next card,
   long reads fold, and the ask stays one thumb away.
   ============================================================ */
@media(max-width:680px){
  /* ---------- NAV ---------- */
  .nav{top:calc(10px + env(safe-area-inset-top,0px));padding-inline:10px}
  .nav-in{height:58px;padding:0 6px 0 18px;gap:6px}
  .nav-cta{width:46px;height:46px;padding:0;gap:0;border-radius:50%}
  .nav-cta .long,.nav-cta .short{display:none}
  .nav-cta svg{width:19px;height:19px}
  .vc .store{height:48px;border-radius:14px;padding:0 14px}
  /* ---------- FOOTER: link lists fold ---------- */
  .ft{padding-top:44px;margin-top:0}
  .ft-hero{flex-direction:column;align-items:stretch;gap:18px;padding-bottom:28px}
  .ft-hero h3{font-size:28px}
  .ft-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ft-cta .btn{grid-column:1/-1;height:54px}
  .ft-cta .store{justify-content:center;height:52px;padding:0 10px}
  .ft-grid{grid-template-columns:1fr;gap:0;padding:26px 0 8px}
  .ft-brand{grid-column:auto;padding-bottom:24px}
  .ft-col{border-top:1px solid var(--line)}
  .ft-col h4{margin:0}
  .ft-col h4 button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:17px 0;
    font-size:15px;font-weight:600;color:var(--ink);text-align:left}
  .ft-col .pm{position:relative;width:14px;height:14px;flex:none}
  .ft-col .pm::before,.ft-col .pm::after{content:"";position:absolute;left:0;top:50%;width:14px;height:1.5px;margin-top:-.75px;border-radius:2px;background:currentColor;transition:transform .4s var(--ease2)}
  .ft-col.shut .pm::after{transform:rotate(90deg)}
  .ft-col ul{padding:0 0 18px}
  .ft-col.shut ul{display:none}
  .ft-bot{flex-direction:column;align-items:flex-start;gap:10px;padding:20px 0 26px}
}
.ft-btns .fb-ic,.ft-btns .fb-go,.ft-btns .fb-t small{display:none}
@media(max-width:680px){
  /* ---------- NAV: ivory on the dark hero, orange once the bar turns light; the call button is never red ---------- */
  .nav:not(.lite) .nav-in{background:rgba(34,6,13,.46);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
  .nav .brand svg{transition:color .5s var(--ease)}
  .nav:not(.lite) .brand svg{color:var(--ivory)}
  .nav .nav-cta,.nav.lite .nav-cta{background:var(--ivory);color:var(--maroon);box-shadow:0 8px 20px -10px rgba(0,0,0,.55)}
  .nav.lite .nav-cta{box-shadow:inset 0 0 0 1px rgba(79,7,22,.16)}
  .nav .nav-cta:hover,.nav.lite .nav-cta:hover{background:#fff}
  .nav.lite .nav-cta:focus-visible{outline-color:var(--orange)}
  .nav-cta svg{stroke-width:1.9}
  /* ---------- MENU: ivory mark on maroon, links a size down ---------- */
  .mnav .brand svg{color:var(--ivory)}
  .mnav-links{padding-top:10px}
  .mnav-links a{padding:15px 2px;font-family:var(--sans);font-size:16.5px;font-weight:450;line-height:1.25;
    letter-spacing:-.004em;color:rgba(250,248,238,.92);border-bottom-color:rgba(255,255,255,.08)}
  .mnav-links a svg{width:14px;height:14px;opacity:.34}
  /* ---------- FOOTER: no brand line; contact as two clear rows ---------- */
  .ft-brand p{display:none}
  .ft-btns{display:grid;gap:0;margin-top:20px;border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
  .ft-btns .btn{display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;column-gap:14px;height:auto;min-height:70px;padding:13px 18px 13px 14px;border-radius:0;
    background:none;box-shadow:none;white-space:normal;text-align:left;font-size:15.5px;font-weight:600;line-height:1.25;color:var(--ink)}
  .ft-btns .btn:hover{box-shadow:none}
  .ft-btns .btn:active{transform:none;background:var(--ivory)}
  .ft-btns .btn+.btn{border-top:1px solid var(--line)}
  .ft-btns .fb-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--ivory2);color:var(--maroon)}
  .ft-btns .fb-ic svg{width:19px;height:19px}
  .ft-btns .fb-t small{display:block;margin-top:3px;font-size:13px;font-weight:400;color:var(--ink3)}
  .ft-btns .fb-go{display:block;width:16px;height:16px;color:var(--ink3)}
}
@media(max-width:680px){
  /* ---------- FOOTER: the hero's maroon closes the page ---------- */
  .ft{padding-top:52px;border-radius:28px 28px 0 0;color:rgba(250,248,238,.72);
    background:radial-gradient(120% 50% at 100% 0%,rgba(226,92,70,.22),transparent 62%),linear-gradient(172deg,#4A0716 0%,#2E0511 52%,#1C0307 100%)}
  .ft::before{content:"";position:absolute;right:-42%;top:-7%;width:108%;aspect-ratio:220/250;pointer-events:none;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 250'%3E%3Cg fill='none' stroke='%23FFB296' stroke-opacity='.16' stroke-width='.6'%3E%3Cellipse cx='110' cy='125' rx='56.2' ry='72'/%3E%3Cellipse cx='110' cy='125' rx='67.3' ry='86.3'/%3E%3Cellipse cx='110' cy='125' rx='78.4' ry='100.5'/%3E%3Cellipse cx='110' cy='125' rx='89.5' ry='114.8'/%3E%3Cellipse cx='110' cy='125' rx='100.6' ry='129'/%3E%3Cellipse cx='110' cy='125' rx='111.7' ry='143.3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
  .ft .ft-hero{gap:20px;padding-bottom:32px;border-bottom-color:rgba(250,248,238,.12)}
  .ft .ft-hero h3{font-size:31px;line-height:1.1;color:var(--ivory)}
  .ft .ft-cta .store{background:rgba(250,248,238,.08);color:var(--ivory);box-shadow:inset 0 0 0 1px rgba(250,248,238,.18)}
  .ft .ft-cta .store:hover{background:rgba(250,248,238,.14)}
  .ft .ft-brand svg{color:var(--ivory)!important}
  .ft .ft-btns{background:rgba(250,248,238,.05);box-shadow:inset 0 0 0 1px rgba(250,248,238,.12)}
  .ft .ft-btns .btn{color:var(--ivory)}
  .ft .ft-btns .btn+.btn{border-top-color:rgba(250,248,238,.1)}
  .ft .ft-btns .btn:active{background:rgba(250,248,238,.06)}
  .ft .ft-btns .fb-ic{background:rgba(250,248,238,.1);color:var(--ivory)}
  .ft .ft-btns .fb-t small{color:rgba(250,248,238,.55)}
  .ft .ft-btns .fb-go{color:rgba(250,248,238,.45)}
  .ft .soc a{color:rgba(250,248,238,.8);box-shadow:inset 0 0 0 1px rgba(250,248,238,.18)}
  .ft .ft-col{border-top-color:rgba(250,248,238,.12)}
  .ft .ft-col h4 button{color:var(--ivory)}
  .ft .ft-col ul a{color:rgba(250,248,238,.68)}
  .ft .ft-bot{border-top-color:rgba(250,248,238,.12);color:rgba(250,248,238,.5)}
  .ft .ft-bot a{color:rgba(250,248,238,.72)}
  .ft .ft-ghost{color:rgba(250,248,238,.055)}
  .ft{margin-top:var(--sgap);padding-top:46px}
}
