/* =============================================================================
   StitchZone — Luxury Custom Greek Embroidery
   Shared stylesheet · Vanilla CSS · Design system + components
   Palette derived from the StitchZone logo (royal sapphire) + antique gold.
   ========================================================================== */

/* ------------------------------- Tokens ---------------------------------- */
:root {
  /* Brand — royal sapphire (from logo) + antique gold + heritage crimson */
  --ink:        #0C1024;   /* near-black navy — dark sections / headings */
  --ink-2:      #141A3A;   /* secondary dark */
  --primary:    #17225F;   /* deep royal sapphire (logo main color, refined) */
  --royal:      #2436A6;   /* brighter royal for gradients / links */
  --royal-soft: #3B4FD1;
  --gold:       #C8A24B;   /* antique metallic gold — luxury accent */
  --gold-2:     #E7C877;   /* light gold for sheen / gradients */
  --gold-deep:  #9E7E2E;
  --crimson:    #8E2A2B;   /* heritage crimson — varsity pop */
  --cream:      #F6F2EA;   /* warm paper background */
  --cream-2:    #EFE8DA;
  --surface:    #FFFFFF;
  --muted:      #5B6472;   /* secondary text */
  --muted-2:    #8A93A3;
  --line:       rgba(12,16,36,.10);
  --line-2:     rgba(12,16,36,.06);

  /* Gradients */
  --grad-royal: linear-gradient(135deg, #17225F 0%, #2436A6 55%, #17225F 100%);
  --grad-ink:   linear-gradient(160deg, #0C1024 0%, #141A3A 60%, #1B2450 100%);
  --grad-gold:  linear-gradient(120deg, #9E7E2E 0%, #E7C877 45%, #C8A24B 100%);

  /* Typography */
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body:    "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono:    "Montserrat", "Inter", sans-serif; /* varsity / eyebrow labels */

  /* Elevation — multi-layer shadows */
  --sh-sm:  0 1px 2px rgba(12,16,36,.06), 0 2px 6px rgba(12,16,36,.06);
  --sh-md:  0 2px 4px rgba(12,16,36,.05), 0 10px 24px rgba(12,16,36,.10);
  --sh-lg:  0 6px 14px rgba(12,16,36,.08), 0 24px 60px rgba(12,16,36,.16);
  --sh-gold:0 10px 30px rgba(158,126,46,.28);
  --sh-royal:0 14px 40px rgba(23,34,95,.30);

  /* Radii & layout */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .32s;

  /* Z-scale */
  --z-topbar: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-sticky: 45;
  --z-toast: 80;
}

/* ------------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0 0 .5em; font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* --------------------------- Layout helpers ------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.grid { display: grid; gap: clamp(18px, 2.5vw, 30px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .6rem; }

/* Eyebrow / kicker */
.eyebrow {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-gold); display: inline-block; }
.center .eyebrow { justify-content: center; }
.on-dark .eyebrow { color: var(--gold-2); }

/* Section title scale */
.h-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.78); }

.text-gold { color: var(--gold-deep); }
.on-dark .text-gold { color: var(--gold-2); }
.italic-accent { font-style: italic; font-family: var(--f-display); }

/* Stitch-dashed border motif */
.stitched {
  border: 2px dashed var(--gold);
  border-radius: var(--r-md);
}

/* --------------------------------- Buttons ------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 1.6em;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: none;
  border-radius: 100px;
  box-shadow: var(--sh-md);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn::before { /* sheen */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-royal); color: #fff; }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: #201502; background: var(--grad-gold); }
.btn--gold:hover { box-shadow: var(--sh-gold); color: #201502; }
.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: rgba(23,34,95,.04); }
.on-dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(255,255,255,.06); }
.btn--sm { padding: .7em 1.2em; font-size: .74rem; }
.btn--lg { padding: 1.1em 2em; font-size: .86rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* Text link with animated underline */
.link-arrow {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: .5em;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--gold-2); }

/* ------------------------------- Top bar --------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  position: relative;
  z-index: var(--z-topbar);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold-2); }
.topbar__left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold-2); }
.topbar__note { color: rgba(255,255,255,.55); font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.socials { display: inline-flex; align-items: center; gap: 6px; }
.socials a {
  width: 30px; height: 30px; display: inline-grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; }

/* -------------------------------- Header --------------------------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(246,242,234,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-2);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.header .container { max-width: 1340px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; transition: min-height var(--dur) var(--ease); }
.header.is-scrolled { background: rgba(246,242,234,.9); box-shadow: var(--sh-sm); }
.header.is-scrolled .header__inner { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 24px; width: auto; max-width: 58vw; transition: height var(--dur) var(--ease); }
.header.is-scrolled .brand__logo { height: 21px; }
.footer__logo { height: 30px; width: auto; background: #fff; padding: 9px 14px; border-radius: 10px; box-shadow: var(--sh-sm); }
.brand__word { font-family: var(--f-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.brand__word b { color: var(--royal); }
.brand__tag { display: block; font-family: var(--f-mono); font-weight: 700; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  position: relative; padding: .5em .58em; color: var(--ink);
  font-weight: 600; font-size: .82rem; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: .58em; right: .58em; bottom: .3em; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); position: relative;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--ink); transform: translate(-50%,-50%); transition: .3s var(--ease);
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { top: 0; transform: translate(-50%,-50%) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { top: 0; transform: translate(-50%,-50%) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--grad-ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 90px var(--gutter) 40px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  color: #fff; font-family: var(--f-display); font-size: clamp(1.6rem, 7vw, 2.4rem);
  padding: .25em 0; border-bottom: 1px solid rgba(255,255,255,.1);
  opacity: 0; transform: translateY(18px);
}
.mobile-menu.is-open a { animation: mm-in .5s var(--ease-out) forwards; }
.mobile-menu.is-open a:nth-child(1){animation-delay:.08s}
.mobile-menu.is-open a:nth-child(2){animation-delay:.13s}
.mobile-menu.is-open a:nth-child(3){animation-delay:.18s}
.mobile-menu.is-open a:nth-child(4){animation-delay:.23s}
.mobile-menu.is-open a:nth-child(5){animation-delay:.28s}
.mobile-menu.is-open a:nth-child(6){animation-delay:.33s}
.mobile-menu.is-open a:nth-child(7){animation-delay:.38s}
.mobile-menu.is-open a:nth-child(8){animation-delay:.43s}
.mobile-menu.is-open a:nth-child(9){animation-delay:.48s}
.mobile-menu.is-open a:nth-child(10){animation-delay:.53s}
.mobile-menu__foot { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; opacity: 0; }
.mobile-menu.is-open .mobile-menu__foot { animation: mm-in .5s .58s var(--ease-out) forwards; }
@keyframes mm-in { to { opacity: 1; transform: translateY(0); } }

/* -------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-ink);
  padding: clamp(90px, 13vw, 170px) 0 clamp(70px, 10vw, 130px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .34;
  background-size: cover; background-position: center;
  transform: scale(1.12);
  will-change: transform;
}
.hero::after { /* royal vignette + grain wash */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 20%, rgba(36,54,166,.55), transparent 60%),
    radial-gradient(50% 50% at 12% 90%, rgba(200,162,75,.20), transparent 60%),
    linear-gradient(180deg, rgba(12,16,36,.35), rgba(12,16,36,.85));
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); color: #fff; margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); }
.hero.is-in h1 .line > span { animation: rise .9s var(--ease-out) forwards; }
.hero.is-in h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero.is-in h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lead { color: rgba(255,255,255,.8); font-size: clamp(1.08rem, 1.6vw, 1.32rem); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat b { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--gold-2); line-height: 1; }
.hero__stat span { font-size: .82rem; color: rgba(255,255,255,.66); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

/* Floating decorative motifs */
.float {
  position: absolute; z-index: 1; pointer-events: none;
  color: rgba(255,255,255,.06); font-family: var(--f-display); font-weight: 900;
  animation: drift 9s ease-in-out infinite;
}
.float--1 { top: 12%; right: 6%; font-size: 12rem; }
.float--2 { bottom: 8%; left: 2%; font-size: 8rem; animation-delay: -3s; color: rgba(200,162,75,.10); }
@keyframes drift { 0%,100%{ transform: translateY(0) rotate(-4deg); } 50%{ transform: translateY(-26px) rotate(3deg); } }

/* Marquee trust strip */
.marquee { background: var(--ink); color: rgba(255,255,255,.7); overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; gap: 56px; padding: 16px 0; width: max-content; animation: slide 26s linear infinite; }
.marquee__track span { font-family: var(--f-mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------- Section header block -------------------------- */
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; flex-wrap: wrap; }

/* ----------------------------- Category cards ---------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.tilt { perspective: 1000px; }
.cat-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; box-shadow: var(--sh-md);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cat-card__img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transition: transform .7s var(--ease-out); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,16,36,.05) 20%, rgba(12,16,36,.82) 100%); }
.cat-card__body { position: relative; z-index: 2; padding: 26px; transform: translateZ(30px); }
.cat-card__tag { font-family: var(--f-mono); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.cat-card h3 { color: #fff; font-size: 1.5rem; margin: .3em 0 .3em; }
.cat-card p { color: rgba(255,255,255,.78); font-size: .95rem; margin: 0 0 1em; }
.cat-card:hover { box-shadow: var(--sh-lg); }
.cat-card:hover .cat-card__img { transform: scale(1.08); }
.cat-card__link { color: #fff; }

/* Category tile v2 — filled image + royal text band (handles the originals cleanly) */
.cat-tile { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-md); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cat-tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.06); }
.cat-tile__body { background: var(--grad-royal); color: #fff; padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.cat-tile__tag { font-family: var(--f-mono); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.cat-tile h3 { color: #fff; font-size: 1.4rem; margin: .35em 0 .35em; }
.cat-tile p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0 0 1.1em; }
.cat-tile__link { color: #fff; margin-top: auto; }

/* --------------------------- Feature bento grid -------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.bento .cell {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.bento .cell:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(200,162,75,.4); }
.cell--wide { grid-column: span 2; }
.cell--tall { grid-row: span 2; }
.cell--dark, .bento .cell--dark { background: var(--grad-royal); color: #fff; border: none; }
.cell--dark h3, .cell--dark p { color: #fff; }
.cell--gold, .bento .cell--gold { background: var(--grad-gold); color: #201502; border: none; }
.cell--gold h3, .cell--gold p { color: #201502; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(23,34,95,.08); color: var(--primary); margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.cell--dark .icon-badge { background: rgba(255,255,255,.14); color: var(--gold-2); }
.cell h3 { font-size: 1.25rem; }
.cell p { color: var(--muted); margin: 0; font-size: .96rem; }
.cell--dark p { color: rgba(255,255,255,.8); }

/* Big number process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: clamp(20px,3vw,36px); }
.step { position: relative; padding-top: 14px; }
.step__num { font-family: var(--f-display); font-weight: 900; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 12px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* --------------------------- Split / showcase ---------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; object-fit: cover; position: relative; z-index: 1; }
.split__badge {
  position: absolute; bottom: -22px; right: -14px; background: var(--surface);
  border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2);
}
.split__badge b { font-family: var(--f-display); font-size: 1.6rem; color: var(--primary); line-height: 1; }
.split__badge span { font-size: .78rem; color: var(--muted); }
.split__media--stack::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px dashed var(--gold); border-radius: var(--r-lg);
}

/* checklist */
.ticks { display: grid; gap: 14px; margin: 22px 0 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.ticks b { display:block; }
.ticks span { color: var(--muted); font-size: .95rem; }

/* ------------------------------ Reviews ---------------------------------- */
.reviews-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 8px; }
.rating-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 100px; padding: 8px 18px 8px 10px; box-shadow: var(--sh-sm); }
.rating-badge .g { width: 34px; height: 34px; }
.rating-badge b { font-family: var(--f-display); font-size: 1.3rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.rating-badge small { color: var(--muted); font-size: .8rem; display: block; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.tab {
  font-family: var(--f-mono); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .7em 1.25em; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--muted);
  transition: all var(--dur) var(--ease);
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--sh-md); }
.tab .count { opacity: .6; margin-left: .4em; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.review-panel { display: none; }
.review-panel.is-active { display: block; animation: fade-up .5s var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.review-card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 26px; box-shadow: var(--sh-sm); position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.review-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: #fff; background: var(--grad-royal); flex: none; }
.review-card__who b { display: block; font-size: .98rem; }
.review-card__who small { color: var(--muted-2); font-size: .78rem; }
.review-card p { color: var(--ink); font-size: .96rem; margin: 0 0 14px; }
.review-card__foot { display: flex; align-items: center; justify-content: space-between; }
.review-card__foot .stars svg { width: 14px; height: 14px; }
.gverified { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.gverified svg { width: 15px; height: 15px; }
.quote-mark { position: absolute; top: 16px; right: 20px; font-family: var(--f-display); font-size: 3.4rem; line-height: 1; color: rgba(200,162,75,.22); }

/* ------------------------------- CTA band -------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad-royal); color: #fff; padding: clamp(40px, 6vw, 76px);
  box-shadow: var(--sh-royal);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 10%, rgba(200,162,75,.35), transparent 55%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 46ch; margin: 0; }
.cta-band .float-letter { position: absolute; right: -10px; bottom: -50px; font-family: var(--f-display); font-weight: 900; font-size: 16rem; color: rgba(255,255,255,.06); z-index: 0; }

/* -------------------------------- Forms ---------------------------------- */
.inquiry {
  background: var(--surface); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--sh-lg); border: 1px solid var(--line-2);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--crimson); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8em .9em; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--cream); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); background: #fff;
  box-shadow: 0 0 0 4px rgba(36,54,166,.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--crimson); background: #fdf3f3; }
.field__error { color: var(--crimson); font-size: .78rem; min-height: 0; display: none; }
.field.has-error .field__error { display: block; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 16px 22px; border-radius: 100px;
  box-shadow: var(--sh-lg); z-index: var(--z-toast); display: flex; align-items: center; gap: 10px;
  opacity: 0; visibility: hidden; transition: all .4s var(--ease-out); font-size: .92rem;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 22px; height: 22px; color: var(--gold-2); }

/* ------------------------------- Contact grid ---------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 26px; box-shadow: var(--sh-sm); }
.contact-card .icon-badge { margin-bottom: 14px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-card a, .contact-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.contact-card a:hover { color: var(--primary); }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--r-lg); filter: grayscale(.2) contrast(1.05); }

/* -------------------------------- Gallery -------------------------------- */
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--r-md); overflow: hidden; position: relative; box-shadow: var(--sh-sm); }
.masonry img { width: 100%; transition: transform .6s var(--ease-out); }
.masonry figure::after { content: attr(data-cap); position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; color: #fff; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(transparent, rgba(12,16,36,.8)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.masonry figure:hover img { transform: scale(1.06); }
.masonry figure:hover::after { opacity: 1; }

/* -------------------------------- Catalog -------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: clamp(18px,2.2vw,26px); }
.product {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.product__media { aspect-ratio: 4/3; background: var(--cream-2); position: relative; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product:hover .product__media img { transform: scale(1.07); }
.product__tag { position: absolute; top: 12px; left: 12px; background: var(--crimson); color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; }
.product__body { padding: 18px 20px 22px; }
.product__body h3 { font-size: 1.1rem; margin-bottom: .2em; }
.product__body p { color: var(--muted); font-size: .88rem; margin: 0 0 .8em; }
.product__price { font-family: var(--f-display); font-weight: 700; color: var(--primary); }

/* ------------------------------- Accordion ------------------------------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; background: none; border: none; padding: 24px 44px 24px 0;
  font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; color: var(--ink);
  position: relative; display: flex; justify-content: space-between; gap: 16px;
}
.acc-q::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317225F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); transition: transform var(--dur) var(--ease); }
.acc-item.is-open .acc-q::after { transform: translateY(-50%) rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-a p { color: var(--muted); padding: 0 44px 24px 0; margin: 0; }

/* ------------------------------- Breadcrumb ------------------------------ */
.crumbs { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs span { color: var(--gold-deep); }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; padding: clamp(60px,9vw,120px) 0 clamp(48px,7vw,90px); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(36,54,166,.5), transparent 55%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 14px 0 .3em; }
.page-hero .lead { color: rgba(255,255,255,.8); }

/* Section on cream vs surface vs dark */
.bg-surface { background: var(--surface); }
.bg-cream2 { background: var(--cream-2); }
.bg-ink { background: var(--grad-ink); }
.bg-royal { background: var(--grad-royal); }

/* Decorative stitch divider */
.stitch-line { height: 2px; background-image: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); opacity: .55; margin: 0; border: none; }

/* -------------------------------- Footer --------------------------------- */
.footer { background: var(--grad-ink); color: rgba(255,255,255,.7); padding: clamp(56px,7vw,90px) 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer a { color: rgba(255,255,255,.68); }
.footer a:hover { color: var(--gold-2); }
.footer__links { display: grid; gap: 11px; font-size: .95rem; }
.footer__brand .brand__word { color: #fff; }
.footer__brand .brand__word b { color: var(--gold-2); }
.footer__brand p { font-size: .95rem; margin: 16px 0 20px; max-width: 34ch; }
.footer .socials a { background: rgba(255,255,255,.09); color: #fff; }
.footer .socials a:hover { background: var(--gold); color: var(--ink); }
.footer__contact { display: grid; gap: 12px; font-size: .95rem; }
.footer__contact .row { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; margin-top: 3px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: .75em .9em; border-radius: 100px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { flex: none; border-radius: 100px; }
.footer__bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer__bottom a { color: var(--gold-2); font-weight: 600; }
.footer__credit b { color: #fff; }

/* --------------------- Sticky mobile call / whatsapp --------------------- */
.mobile-cta { display: none; }
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 24px rgba(12,16,36,.18);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 10px; font-family: var(--f-mono); font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
.mobile-cta svg { width: 20px; height: 20px; }
.mobile-cta .call { background: var(--primary); }
.mobile-cta .wa { background: #25D366; color: #06331a; }
.mobile-cta .wa { position: relative; }
.mobile-cta .wa::after { content: ""; position: absolute; inset: 0; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* Desktop floating WhatsApp bubble */
.wa-bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-sticky);
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-lg);
  transition: transform var(--dur) var(--ease);
}
.wa-bubble:hover { transform: scale(1.08); color: #fff; }
.wa-bubble svg { width: 30px; height: 30px; }
.wa-bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }

/* ---------------------------- Scroll reveal ------------------------------ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal--scale { transform: scale(.94); }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 90px; z-index: var(--z-sticky); width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--dur) var(--ease); border: none; }
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* Grain overlay */
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--tall { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav, .header__cta .btn { display: none; }
  .hamburger { display: block; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__badge { right: 10px; }
  .masonry { columns: 2 200px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: grid; }
  .wa-bubble { display: none; }
  body { padding-bottom: 54px; } /* room for sticky mobile bar */
  .to-top { bottom: 74px; }
  .topbar__note { display: none; }
  .brand__logo { height: 20px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .hero__meta { gap: 20px 30px; }
  .topbar__left { gap: 12px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ----------------------- Reduced motion / a11y --------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__bg { transform: none !important; }
  .hero h1 .line > span { transform: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* Collapse the 9-item nav to a menu earlier (needs more room than a short nav) */
@media (max-width: 1160px) {
  .nav, .header__cta .btn { display: none; }
  .hamburger { display: block; }
}

/* Payment method pills (Pay For Order page) */
.pay-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pay-pill {
  font-family: var(--f-mono); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: .7em 1.3em; border-radius: 100px; background: var(--surface);
  border: 1.5px solid var(--line); color: var(--ink); box-shadow: var(--sh-sm);
}
.pay-pill:nth-child(odd) { border-color: rgba(200,162,75,.5); }

/* Empty cart state (Shopping Cart page) */
.empty-cart { max-width: 640px; margin-inline: auto; text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(36px,6vw,64px) clamp(24px,4vw,52px); box-shadow: var(--sh-lg); }
.empty-cart__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(23,34,95,.07); color: var(--primary); margin-bottom: 18px; }
.empty-cart__icon svg { width: 40px; height: 40px; }
