/* =============================================================
   PRINTWEAR NJ — "Ink & Canvas" luxury design system
   HTML + Vanilla CSS + Vanilla JS
   Brand: #EF4223 (vermillion, sampled from logo)
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand + palette */
  --brand: #EF4223;
  --brand-600: #d8341a;
  --brand-700: #b82912;
  --brand-soft: rgba(239, 66, 35, .12);
  --brand-glow: rgba(239, 66, 35, .45);
  --gold: #c9a15a;
  --gold-soft: rgba(201, 161, 90, .16);

  --ink: #0e0e10;
  --ink-1: #141418;
  --ink-2: #1c1c22;
  --ink-3: #26262e;

  --canvas: #f7f4ef;
  --canvas-2: #fffdf9;
  --paper: #ffffff;

  --text: #14120f;
  --text-dim: #55524c;
  --muted: #7d7a72;
  --on-ink: #f4f1ea;
  --on-ink-dim: #b6b2a8;

  --line: #e7e0d5;
  --line-ink: rgba(255, 255, 255, .10);

  /* Typography */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-ui: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Radius + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(20, 18, 15, .06), 0 2px 6px rgba(20, 18, 15, .05);
  --sh-2: 0 6px 16px rgba(20, 18, 15, .08), 0 14px 40px rgba(20, 18, 15, .10);
  --sh-3: 0 10px 30px rgba(20, 18, 15, .10), 0 30px 80px rgba(20, 18, 15, .16);
  --sh-brand: 0 10px 30px rgba(239, 66, 35, .28), 0 2px 8px rgba(239, 66, 35, .30);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  /* z-scale */
  --z-parallax: 0;
  --z-base: 10;
  --z-sticky: 40;
  --z-header: 60;
  --z-overlay: 80;
  --z-modal: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  font-family: var(--f-body);
  background: var(--canvas);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: -.015em; }
.eyebrow {
  font-family: var(--f-ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.eyebrow.center::before { display: none; }
.display {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  letter-spacing: -.03em;
}
.display .ital { font-style: italic; font-weight: 300; color: var(--brand); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-dim); max-width: 60ch; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.text-gold { color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .8rem; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.section-head { max-width: 68ch; margin-inline: auto; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head .lead { margin-inline: auto; margin-top: 1rem; }
.section-head h2 { margin-top: .7rem; }

/* Ink (dark) sections */
.ink-section { background: var(--ink); color: var(--on-ink); }
.ink-section h1, .ink-section h2, .ink-section h3 { color: var(--on-ink); }
.ink-section .lead { color: var(--on-ink-dim); }

/* Texture overlays */
.halftone {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(currentColor 1.1px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: .05;
  color: var(--ink);
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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");
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px);
  pointer-events: none; z-index: 0; opacity: .55;
}
.orb-brand { background: radial-gradient(circle, var(--brand-glow), transparent 70%); }
.orb-gold { background: radial-gradient(circle, var(--gold-soft), transparent 70%); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .95em; --pad-x: 1.7em;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: .6em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s, color .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(239, 66, 35, .4); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--sh-2); }
.btn-ink:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.ink-section .btn-ghost { color: var(--on-ink); border-color: var(--line-ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn-gold { background: linear-gradient(120deg, #e6c27e, var(--gold)); color: #2a2213; box-shadow: 0 8px 24px rgba(201, 161, 90, .35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(201, 161, 90, .45); }
.btn-lg { --pad-y: 1.1em; --pad-x: 2.1em; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow svg { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow svg, .btn.btn-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-ink-dim);
  font-family: var(--f-ui);
  font-size: .8rem;
  border-bottom: 1px solid var(--line-ink);
  position: relative; z-index: var(--z-header);
}
.topbar .container-wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-block: 6px; }
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info a { display: inline-flex; align-items: center; gap: .5em; transition: color .25s; }
.topbar-info a:hover { color: #fff; }
.topbar-info svg { width: 14px; height: 14px; color: var(--brand); }
.topbar-socials { display: flex; align-items: center; gap: 6px; }
.topbar-socials a {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-ink); transition: all .25s var(--ease);
}
.topbar-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.topbar-socials svg { width: 15px; height: 15px; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(247, 244, 239, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s, padding .3s;
}
.header.scrolled { background: rgba(247, 244, 239, .9); border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; transition: padding .3s; }
.header.scrolled .nav { padding-block: 9px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-badge {
  background: var(--ink); border-radius: 12px; padding: 9px 13px;
  display: grid; place-items: center; box-shadow: var(--sh-1);
  transition: transform .3s var(--ease-out);
}
.brand:hover .brand-badge { transform: rotate(-3deg) scale(1.03); }
.brand-badge img { height: 24px; width: auto; }
.brand-name { font-family: var(--f-ui); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--muted); font-weight: 500; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  font-family: var(--f-ui); font-weight: 500; font-size: .92rem;
  padding: 9px 14px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .25s, background-color .25s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--brand); background: var(--brand-soft); }
.nav-links .chev { width: 12px; height: 12px; transition: transform .25s; }

/* dropdown */
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 10px; min-width: 260px;
  opacity: 0; visibility: hidden; transition: all .25s var(--ease-out); z-index: var(--z-overlay);
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-menu:hover .chev { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background .2s; }
.dropdown a:hover { background: var(--canvas); }
.dropdown a .di { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.dropdown a .di svg { width: 18px; height: 18px; }
.dropdown a strong { font-family: var(--f-ui); font-size: .9rem; font-weight: 600; display: block; }
.dropdown a span { font-size: .78rem; color: var(--muted); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-family: var(--f-ui); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; }
.nav-phone svg { width: 16px; height: 16px; color: var(--brand); }

/* burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: var(--ink); color: var(--on-ink);
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  display: flex; flex-direction: column; padding: 90px var(--gutter) 40px; overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { font-family: var(--f-display); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--line-ink); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a:hover { color: var(--brand); }
.mobile-menu .mm-sub { font-family: var(--f-body); font-size: 1rem; opacity: .8; padding-left: 14px; }
.mobile-menu .mm-cta { margin-top: 28px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--canvas); padding: clamp(50px, 8vw, 90px) 0 clamp(60px, 9vw, 110px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: var(--z-base); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-family: var(--f-ui); font-size: .82rem; font-weight: 500; box-shadow: var(--sh-1); margin-bottom: 26px;
}
.hero-badge .stars { color: var(--gold); letter-spacing: 1px; }
.hero-badge b { color: var(--brand); }
.hero-badge .chip { background: var(--brand); color: #fff; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill); font-size: .74rem; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); margin-bottom: 22px; }
.hero p.lead { margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust .ht { }
.hero-trust .num { font-family: var(--f-display); font-size: 1.9rem; color: var(--brand); line-height: 1; }
.hero-trust .lbl { font-family: var(--f-ui); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* hero visual — layered/3D */
.hero-visual { position: relative; perspective: 1400px; min-height: 440px; }
.hero-stage { position: relative; transform-style: preserve-3d; height: 100%; }
.hero-card {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3); background: var(--ink-2); border: 1px solid rgba(255,255,255,.14);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hc-main { inset: 0 6% 8% 14%; z-index: 3; }
.hc-top { top: -4%; right: 0; width: 42%; aspect-ratio: 3/4; z-index: 4; }
.hc-bottom { bottom: -6%; left: 2%; width: 40%; aspect-ratio: 4/3; z-index: 4; }
.hero-tag {
  position: absolute; z-index: 6; background: var(--paper); border-radius: 14px;
  box-shadow: var(--sh-3); padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  font-family: var(--f-ui);
}
.hero-tag .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.hero-tag .ic svg { width: 20px; height: 20px; }
.hero-tag b { font-size: .92rem; display: block; }
.hero-tag span { font-size: .74rem; color: var(--muted); }
.ht-1 { top: 12%; left: -4%; }
.ht-2 { bottom: 14%; right: -3%; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--on-ink); padding: 20px 0; overflow: hidden; border-block: 1px solid var(--line-ink); }
.marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--f-display); font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-style: italic; display: inline-flex; align-items: center; gap: 54px; white-space: nowrap; color: var(--on-ink-dim); }
.marquee-item::after { content: "✦"; color: var(--brand); font-style: normal; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
  box-shadow: var(--sh-1);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: transparent; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--brand), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover::after { opacity: 1; }

/* service card */
.service-card { display: flex; flex-direction: column; gap: 16px; }
.service-ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ink); color: var(--brand); box-shadow: var(--sh-2);
  transition: transform .45s var(--ease-out), background-color .4s;
}
.service-card:hover .service-ic { transform: rotate(-6deg) translateY(-3px); background: var(--brand); color: #fff; }
.service-ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.5rem; }
.service-card p { color: var(--text-dim); font-size: .96rem; }
.service-card .learn { font-family: var(--f-ui); font-weight: 600; font-size: .88rem; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; }
.service-card .learn svg { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.service-card:hover .learn svg { transform: translateX(5px); }
.service-num { position: absolute; top: 20px; right: 24px; font-family: var(--f-display); font-size: 3.2rem; color: var(--line); line-height: 1; z-index: 0; transition: color .4s; }
.service-card:hover .service-num { color: var(--brand-soft); }

/* feature / step */
.step { text-align: left; position: relative; }
.step-num { font-family: var(--f-display); font-size: 1rem; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: grid; place-items: center; font-weight: 600; margin-bottom: 20px; position: relative; z-index: 1; background: var(--canvas); }
.ink-section .step-num { background: var(--ink); }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: .95rem; }
.ink-section .step p { color: var(--on-ink-dim); }
.steps-row { position: relative; }
.steps-row::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.ink-section .steps-row::before { background: repeating-linear-gradient(90deg, var(--line-ink) 0 8px, transparent 8px 16px); }

/* product tiles */
.product-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-2); display: block; }
.product-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.product-tile:hover img { transform: scale(1.08); }
.product-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(14,14,16,.85)); }
.product-tile .pt-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; color: #fff; }
.product-tile .pt-body h3 { font-size: 1.4rem; }
.product-tile .pt-body span { font-family: var(--f-ui); font-size: .8rem; letter-spacing: .05em; color: var(--on-ink-dim); }
.product-tile .pt-arrow { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; transition: all .35s var(--ease-out); }
.product-tile:hover .pt-arrow { background: var(--brand); border-color: var(--brand); transform: rotate(-45deg); }
.product-tile .pt-arrow svg { width: 18px; height: 18px; }

/* ---------- Reviews ---------- */
.reviews-cat { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.rev-tab {
  font-family: var(--f-ui); font-weight: 500; font-size: .9rem; padding: 10px 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--paper); transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.rev-tab:hover { border-color: var(--brand); color: var(--brand); }
.rev-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.rev-tab.active .cnt { color: var(--gold); }
.rev-tab .cnt { font-size: .78rem; color: var(--muted); }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 16px; height: 100%;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.review-card .rc-top { display: flex; align-items: center; justify-content: space-between; }
.review-card .g-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: .74rem; color: var(--muted); }
.review-card .g-badge svg { width: 16px; height: 16px; }
.stars-row { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.review-card p { font-size: 1.02rem; line-height: 1.6; color: var(--text); }
.review-card .rc-cat { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.review-card .rc-user { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-ui); font-weight: 700; color: #fff; background: var(--brand); flex: 0 0 46px; }
.review-card .rc-user b { font-family: var(--f-ui); font-size: .95rem; display: block; }
.review-card .rc-user span { font-size: .8rem; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews-grid > * { display: none; }
.reviews-grid > .show { display: flex; animation: fadeUp .5s var(--ease-out) both; }

.gsummary { display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.gsummary .big { font-family: var(--f-display); font-size: 3rem; color: var(--brand); line-height: 1; }
.gsummary .gs-mid { text-align: left; }
.gsummary .gs-mid .stars-row { font-size: 1.2rem; }
.gsummary .gs-mid span { font-size: .85rem; color: var(--muted); }

/* ---------- Split / feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ci { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-top: 2px; }
.check-list .ci svg { width: 15px; height: 15px; }
.check-list b { font-family: var(--f-ui); }
.check-list span { color: var(--text-dim); font-size: .95rem; display: block; }
.ink-section .check-list span { color: var(--on-ink-dim); }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .n { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--brand); line-height: 1; }
.stat .l { font-family: var(--f-ui); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-dim); margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: clamp(44px, 7vw, 84px) clamp(28px, 6vw, 76px); box-shadow: var(--sh-brand); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-top: 14px; }
.cta-band .cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-band .btn-primary:hover { box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.cta-band .cta-orb { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(20px); }
.cta-band .co1 { top: -120px; right: -60px; }
.cta-band .co2 { bottom: -160px; left: -80px; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--sh-3); }
.field { margin-bottom: 18px; }
.field label { font-family: var(--f-ui); font-weight: 600; font-size: .82rem; letter-spacing: .04em; display: block; margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--canvas); transition: border-color .25s, box-shadow .25s, background .25s; font-size: .96rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--paper); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--brand); }
.field .msg { font-size: .78rem; color: var(--brand); margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 0; }
.form-success.show { display: block; animation: fadeUp .5s var(--ease-out) both; }
.form-success .fs-ic { width: 74px; height: 74px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-ic svg { width: 38px; height: 38px; }

.form-aside .contact-line { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; }
.form-aside .cl-ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--brand); display: grid; place-items: center; }
.form-aside .cl-ic svg { width: 22px; height: 22px; }
.form-aside .cl-body b { font-family: var(--f-ui); display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-aside .cl-body a, .form-aside .cl-body p { font-size: 1.08rem; font-family: var(--f-display); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: 18px; }
.page-hero p { color: var(--on-ink-dim); max-width: 60ch; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--f-ui); font-size: .82rem; color: var(--on-ink-dim); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--brand); }

/* prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.9rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.35rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-dim); margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 18px; }
.prose ul li { padding-left: 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--sh-2); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--f-ui); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fq-ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: transform .3s; }
.faq-item[open] summary .fq-ic { transform: rotate(45deg); }
.faq-item .fq-body { padding: 0 26px 24px; color: var(--text-dim); }

/* portfolio */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; box-shadow: var(--sh-2); cursor: pointer; }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.pf-item:hover img { transform: scale(1.08); }
.pf-item .pf-ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(14,14,16,.82)); opacity: 0; transition: opacity .4s; display: flex; align-items: flex-end; padding: 22px; }
.pf-item:hover .pf-ov { opacity: 1; }
.pf-item .pf-ov b { color: #fff; font-family: var(--f-ui); }
.pf-item .pf-ov span { color: var(--on-ink-dim); font-size: .8rem; display: block; }
.pf-item.hide { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-dim); padding: clamp(56px, 8vw, 96px) 0 0; position: relative; overflow: hidden; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid var(--line-ink); position: relative; z-index: 1; }
.footer .f-brand .brand-badge { display: inline-grid; margin-bottom: 20px; }
.footer .f-about { font-size: .95rem; max-width: 34ch; margin-bottom: 22px; }
.footer .f-socials { display: flex; gap: 10px; }
.footer .f-socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-ink); display: grid; place-items: center; transition: all .3s var(--ease); }
.footer .f-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.footer .f-socials svg { width: 18px; height: 18px; }
.footer h4 { font-family: var(--f-ui); color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer .f-links { display: grid; gap: 11px; font-size: .95rem; }
.footer .f-contact li { display: flex; gap: 11px; margin-bottom: 15px; font-size: .95rem; align-items: flex-start; }
.footer .f-contact svg { width: 17px; height: 17px; color: var(--brand); flex: 0 0 17px; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0; font-size: .84rem; position: relative; z-index: 1; }
.footer-bottom .credit b { color: #fff; }
.footer-bottom .credit a { color: var(--brand); font-weight: 600; }
.footer-bottom .f-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Sticky mobile call/WhatsApp ---------- */
.sticky-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: none; grid-template-columns: 1fr 1fr; gap: 1px; box-shadow: 0 -6px 24px rgba(0,0,0,.16); }
.sticky-mobile a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; font-family: var(--f-ui); font-weight: 600; font-size: .96rem; color: #fff; }
.sticky-mobile .sm-call { background: var(--ink); }
.sticky-mobile .sm-wa { background: #25d366; }
.sticky-mobile svg { width: 20px; height: 20px; }
.sticky-mobile a .pulse { position: relative; }

/* floating desktop whatsapp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-sticky); width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Scroll animations ---------- */
[data-anim] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: transform, opacity; }
[data-anim="left"] { transform: translateX(-40px); }
[data-anim="right"] { transform: translateX(40px); }
[data-anim="scale"] { transform: scale(.92); }
[data-anim].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.floaty { animation: float-y 6s ease-in-out infinite; }
.floaty-slow { animation: float-y 8s ease-in-out infinite; }

/* progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); z-index: var(--z-modal); transition: width .1s linear; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; max-width: 520px; margin-inline: auto; width: 100%; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .form-wrap { grid-template-columns: 1fr; }
  .reviews-grid, .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone, .topbar-info .hide-sm { display: none; }
  .burger { display: grid; }
  .split, .split.rev .split-media { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .cta-band .cta-inner { flex-direction: column; align-items: flex-start; }
  .sticky-mobile { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: 54px; }
  .header { top: 0; }
}
@media (max-width: 560px) {
  .cols-4, .reviews-grid, .pf-grid, .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
  .topbar-info { gap: 14px; }
  .hero-tag { display: none; }
  .display, .hero h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
}

/* ---------- Mobile overflow hardening ---------- */
html { overflow-x: clip; }
body { max-width: 100%; }
/* allow flex/grid children to shrink below content size (prevents horizontal overflow) */
.grid > *, .split > *, .hero-inner > *, .form-wrap > *, .stat-band > *,
.steps-row > *, .reviews-grid > *, .footer-top > *, .nav > *, .nav-cta > *,
.topbar .container-wide > *, .footer-bottom > *, .cta-inner > * { min-width: 0; }
.hero-cta, .hero-trust, .reviews-cat, .filter-bar, .gsummary, .topbar-info { min-width: 0; }

@media (max-width: 860px) {
  .topbar-info .hide-sm { display: none !important; }
  .hero-inner { grid-template-columns: 1fr !important; }
  /* simplify the layered hero on small screens into a clean single frame */
  .hero-visual { min-height: 0; aspect-ratio: 4/3.4; }
  .hero-stage { transform: none !important; }
  .hero-card.hc-top, .hero-card.hc-bottom { display: none; }
  .hero-card.hc-main { inset: 0; }
  .brand-name small { display: none; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .nav-cta .btn { --pad-x: 1.2em; font-size: .88rem; }
  .topbar-info { font-size: .72rem; gap: 12px; }
}

/* utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }
.nowrap { white-space: nowrap; }
.rel { position: relative; z-index: 1; }
