:root {
  --bg: #fffdfb;
  --surface: #faf5f1;
  --text: #141210;
  --muted: #66615c;
  --line: #ece4dd;
  --red: #d6191f;
  --red-d: #a90f15;
  --red-soft: #fceaea;
  --gold: #b08d57;
  --w1: #e8c79b;
  --w2: #c8935a;
  --w3: #8a5528;
  --radius: 28px;
  --shadow: 0 30px 70px -28px rgba(20, 18, 16, 0.3);
  --head: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 78px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0d0c;
    --surface: #171514;
    --text: #f5f1ee;
    --muted: #a9a39e;
    --line: #2a2725;
    --red-soft: #2a1213;
    --shadow: 0 30px 70px -28px #000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0d0c;
  --surface: #171514;
  --text: #f5f1ee;
  --muted: #a9a39e;
  --line: #2a2725;
  --red-soft: #2a1213;
  --shadow: 0 30px 70px -28px #000;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(90px + env(safe-area-inset-top, 0px));
  /* FIX: overflow is set on <html> (not <body>) so position:sticky keeps working
     on mobile/tablet browsers. */
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  /* FIX: removed overflow-x:hidden from body – it turns body into a scroll
     container and breaks the sticky navbar on mobile/tablet. */
  overflow-x: visible;
  max-width: 100%;
}
body.nav-lock {
  overflow: hidden;
}
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--head);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 300;
}
.skip:focus {
  left: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}
section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.pt0 {
  padding-top: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.lt {
  color: #e0bd85;
}
h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.3rem);
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.sec-head h2 {
  max-width: 26ch;
}
.sec-head.ctr {
  justify-content: center;
  text-align: center;
}
.sec-head.ctr h2 {
  max-width: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font: 600 0.98rem var(--body);
  transition: 0.35s;
  position: relative;
}
.btn:hover {
  background: var(--red-d);
  border-color: var(--red-d);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -10px rgba(214, 25, 31, 0.55);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn.ghost:hover {
  background: var(--text);
  color: var(--bg);
  box-shadow: none;
}
.btn.ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn.ghost.light:hover {
  background: #fff;
  color: #141210;
  border-color: #fff;
}
.wood {
  background-image: repeating-linear-gradient(
    95deg,
    rgba(0, 0, 0, 0.035) 0 2px,
    transparent 2px 10px
  );
}

/* ===== Header / Navbar ===== */
.ann {
  background: #141210;
  color: #e9e3dc;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  letter-spacing: 0.02em;
}
.ann b {
  color: #e0bd85;
  font-weight: 600;
}
header {
  position: -webkit-sticky;
  position: sticky;
  /* FIX: sits below the notch / status bar on phones */
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 0.75rem;
}
.logo {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 0;
}
.logo img {
  height: 119px;
  width: auto;
  max-width: min(190px, 100%);
  object-fit: contain;
  display: block;
}
.menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu a {
  font-weight: 500;
  font-size: 0.93rem;
  position: relative;
  padding: 0.4rem 0;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width 0.3s;
}
.menu a:hover::after {
  width: 100%;
}
.menu-cta {
  display: none;
}
.acts {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}
.nav-cta {
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.ibtn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s;
  flex: none;
}
.ibtn:hover {
  border-color: var(--red);
  color: var(--red);
}
.ibtn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.burger {
  display: none;
}

/* ===== Mega menu ===== */
.menu li {
  position: static;
}
.mt {
  font: 500 0.93rem var(--body);
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
}
.mt svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform 0.3s;
}
.mg.open .mt {
  color: var(--red);
}
.mg.open .mt svg {
  transform: rotate(180deg);
}
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.3s,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.3s;
  padding: 2.2rem 0 2.6rem;
}
.mg.open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mgrid {
  display: grid;
  grid-template-columns: 1.1fr 1.7fr 1fr;
  gap: 2.2rem;
}
.mega h4 {
  font: 600 0.75rem var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.mega a::after {
  display: none;
}
.mfeat {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #141210, #2b1112);
  color: #fff;
  padding: 1.8rem;
  display: flex !important;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 300px;
  padding-block: 1.8rem !important;
}
.mfeat h3 {
  font-size: 1.45rem;
}
.mfeat p {
  color: #cfc8c1;
  font-size: 0.9rem;
  max-width: 26ch;
}
.mfeat svg {
  position: absolute;
  right: -8%;
  bottom: 14%;
  width: 72%;
  opacity: 0.95;
  transition: transform 0.6s;
}
.mfeat:hover svg {
  transform: scale(1.1) rotate(-3deg);
}
.mfeat b {
  margin-top: auto;
  position: relative;
  color: #e0bd85;
  font-size: 0.9rem;
}
.mlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
  align-content: start;
}
.mlinks h4 {
  grid-column: 1/-1;
}
.mlinks a,
.mside > a:not(.btn) {
  display: flex !important;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem !important;
  border-radius: 18px;
  border: 0 !important;
  font-size: 1rem !important;
  transition:
    background 0.25s,
    transform 0.25s;
}
.mlinks a:hover {
  background: var(--surface);
  transform: translateX(6px);
}

.mlinks svg {
  width: 62px;
  height: 50px;
  flex: none;
  border-radius: 12px;
  background: var(--red-soft);
  padding: 7px;
  display: block;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mlinks a:hover svg {
  transform: scale(1.08);
}

.mlinks b {
  display: block;
  font-size: 0.98rem;
}
.mlinks small {
  color: var(--muted);
  font-size: 0.8rem;
}
.mside {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}
.mside p {
  color: var(--muted);
  font-size: 0.9rem;
}
.mside > a:not(.btn) {
  padding: 0 !important;
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem !important;
}
.mside .btn {
  padding: 0.8rem 1.4rem;
  font-size: 0.9rem;
  color: #fff !important;
}
main {
  transition: filter 0.4s;
}
body.mopen main {
  filter: blur(3px) brightness(0.8);
}
.prog {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform: scaleX(var(--sp, 0));
  transform-origin: 0 50%;
}

/* Laptop / small desktop 961-1180px */
@media (min-width: 961px) and (max-width: 1180px) {
  .menu {
    gap: 1.4rem;
  }
  .nav-cta {
    padding: 0.7rem 1.1rem;
  }
  .mgrid {
    grid-template-columns: 1fr 1.5fr;
  }
  .mside {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.2rem 0 0;
    gap: 0.8rem 1.4rem;
  }
  .mside h4 {
    width: 100%;
    margin: 0;
  }
  .mside p {
    margin: 0;
  }
}

/* Tablet + mobile menu (up to 960px) */
@media (max-width: 960px) {
  .burger {
    display: grid;
  }
  .menu {
    position: absolute;
    inset: 100% 0 auto 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    padding: 0.25rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: 0.3s;
    max-height: calc(100vh - var(--nav-h) - 40px);
    max-height: calc(100dvh - var(--nav-h) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .menu a {
    display: block;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }
  .menu a.btn {
    display: inline-flex;
    font-size: 0.95rem;
    padding: 0.85rem 1.4rem;
    border-bottom: 1px solid var(--red);
  }
  .menu .menu-cta {
    display: block;
    padding-top: 1.1rem;
  }
  .menu .menu-cta a.btn {
    width: 100%;
    display: flex;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    border: 1px solid var(--red);
  }
  .mt {
    width: 100%;
    justify-content: space-between;
    padding: 1.05rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .mega {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 1rem 0;
  }
  .mg.open .mega {
    display: block;
  }
  .mgrid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    width: 100%;
  }
  .mfeat {
    min-height: 220px;
    padding-inline: 1.5rem !important;
    border-bottom: 0 !important;
  }
  .mlinks {
    grid-template-columns: 1fr;
  }
  .mside {
    border: 0;
    padding: 0;
  }
  .mside .btn {
    width: 100%;
  }
  body.mopen main {
    filter: none;
  }
}
@media (max-width: 960px) and (max-height: 480px) {
  .menu {
    max-height: calc(100dvh - var(--nav-h) - 8px);
  }
}
/* Phones */
@media (max-width: 640px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  .logo img {
    height: 108px;
  }
  .ibtn {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 400px) {
  .nav-cta {
    display: none;
  }
  .logo img {
    height: 40px;
    max-width: 140px;
  }
}
@media (max-width: 340px) {
  .logo img {
    max-width: 110px;
  }
  .ibtn {
    width: 38px;
    height: 38px;
  }
}

/* ===== Hero ===== */
.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 760px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-soft), transparent 68%);
  right: -240px;
  top: -220px;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.3rem;
  max-width: 22ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 54ch;
  margin-bottom: 2.2rem;
}
.lead.l1 {
  margin-bottom: 1rem;
}
.cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

/* ===== Hero stage (3D perspective) ===== */
.stage {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.stage > svg.room {
  width: 100%;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.22));
}

/* ===== 3D hero image card ===== */
.hero .room-img {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #2b1112, #141210);
  transform: rotateY(-10deg) rotateX(5deg);
  transform-style: preserve-3d;
  box-shadow:
    -22px 40px 70px -30px rgba(20, 18, 16, 0.5),
    0 25px 55px -18px rgba(214, 25, 31, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.7s ease;
  animation: heroFloat3d 6s ease-in-out infinite;
  will-change: transform, translate;
  aspect-ratio: 6 / 7;
}

.hero .room-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .room-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

.hero .room-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(20, 10, 10, 0.3) 0%,
    transparent 45%
  );
  pointer-events: none;
  z-index: 1;
}

.hero .room-img:hover {
  transform: rotateY(-3deg) rotateX(2deg) translateZ(24px);
  box-shadow:
    -12px 30px 60px -22px rgba(20, 18, 16, 0.55),
    0 20px 50px -15px rgba(214, 25, 31, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

@keyframes heroFloat3d {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

.stage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -22px;
  height: 32px;
  background: radial-gradient(
    ellipse at center,
    rgba(20, 18, 16, 0.4) 0%,
    transparent 70%
  );
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
  animation: heroShadowPulse 6s ease-in-out infinite;
}

@keyframes heroShadowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.55;
  }
}

@media (max-width: 600px) {
  .hero .room-img {
    transform: rotateY(-6deg) rotateX(3deg);
  }
  .hero .room-img:hover {
    transform: rotateY(-3deg) rotateX(2deg) translateZ(12px);
  }
}

@media (hover: none) {
  .hero .room-img:hover {
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow:
      -22px 40px 70px -30px rgba(20, 18, 16, 0.5),
      0 25px 55px -18px rgba(214, 25, 31, 0.22),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

/* ---- spin + floating card unchanged ---- */
.spin {
  position: absolute;
  left: -14%;
  bottom: 8%;
  width: 132px;
  height: 132px;
  background: var(--bg);
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.spin svg {
  width: 100%;
  animation: rot 18s linear infinite;
  position: absolute;
}
.spin i {
  font-style: normal;
  color: var(--red);
  font-size: 1.7rem;
}
.fc {
  position: absolute;
  right: -6%;
  top: 12%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.85rem;
  animation: fl 6s ease-in-out infinite;
}
.fc b {
  display: block;
  font-size: 1rem;
}
.fc .d {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 700;
}
@keyframes rot {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fl {
  50% {
    transform: translateY(-12px);
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .spin {
    left: 0;
    width: 104px;
    height: 104px;
  }
  .fc {
    right: 0;
  }
}

/* ===== Marquee strip ===== */
.strip {
  background: var(--red);
  color: #fff;
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1deg) scale(1.03);
  contain: paint;
  direction: ltr;
}

.strip div {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  font: 500 1.3rem var(--head);
  font-style: italic;
  animation: strip-scroll-ltr 30s linear infinite normal;
}

.strip span {
  flex: none;
  margin: 0 1.8rem;
}

.strip span::after {
  content: "✦";
  margin-left: 3.6rem;
  font-style: normal;
  opacity: 0.7;
}

/* moves left → right */
@keyframes strip-scroll-ltr {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1100px) {
  .strip div {
    animation-direction: normal !important;
  }
}

@media (max-width: 640px) {
  .strip {
    padding: 0.9rem 0;
  }
  .strip div {
    font-size: 1.05rem;
    animation-duration: 22s;
    animation-direction: normal !important;
  }
  .strip span {
    margin: 0 1.2rem;
  }
  .strip span::after {
    margin-left: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip div {
    animation: none;
  }
}

/* ===== About ===== */
.craft {
  /* background: var(--surface); */
  border-block: 1px solid var(--line);
}
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-p {
  color: var(--muted);
  margin-top: 1.2rem;
  max-width: 54ch;
}
.layers {
  height: 380px;
  perspective: 1000px;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: visible;
}
.stack {
  position: relative;
  width: 240px;
  height: 240px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
  --g: 16px;
  transition: 0.6s;
}
.layers:hover .stack,
.layers:active .stack {
  --g: 46px;
}
.slab {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  transform: translateZ(calc(var(--i) * var(--g)));
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  transition: 0.6s;
  background: var(--w1)
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.08) 0 2px,
      transparent 2px 9px
    );
}
.slab:nth-child(even) {
  background: var(--w2)
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.1) 0 2px,
      transparent 2px 9px
    );
}
.slab:last-child {
  background: var(--red);
}
.hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: -1rem;
}
@media (max-width: 900px) {
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .layers {
    height: 320px;
  }
}

/* ===== Plywood feature ===== */
.cust {
  background: #141210;
  color: #fff;
  border-radius: 40px;
  padding: clamp(2rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cust::after {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 60px solid rgba(214, 25, 31, 0.26);
  left: -140px;
  bottom: -200px;
}
.cust h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cust p {
  color: #c6c0bb;
  margin: 0.9rem 0 0;
  max-width: 44ch;
}
.cust .chips span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.cust .note {
  background: rgba(255, 255, 255, 0.07);
  margin: 1.2rem 0 1.6rem;
}
.cust .btn {
  position: relative;
  z-index: 1;
}
.show {
  background: linear-gradient(160deg, #fff, #f1e6e0);
  border-radius: 30px;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.show svg {
  width: 100%;
}
.show .a {
  grid-column: 1/-1;
  padding: 0 12%;
}
@media (max-width: 900px) {
  .cust {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }
}

/* ===== Blogs ===== */
.rev {
  /* background: var(--surface); */
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.bgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.bcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}
.bcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.bimg {
  background: linear-gradient(165deg, var(--surface), var(--red-soft));
  padding: 1.5rem 1rem 0.5rem;
}
.bimg svg {
  height: 150px;
  width: 100%;
}
.bbody {
  padding: 1.3rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.bbody small {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.bbody h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}
.bbody p {
  color: var(--muted);
  font-size: 0.95rem;
}
.bbody a {
  margin-top: auto;
  color: var(--red);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ===== Contact / Visit ===== */
.visit {
  background: linear-gradient(180deg, var(--bg), var(--surface));
}
.vgrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}
.vcard {
  background: #141210;
  color: #fff;
  border-radius: 36px;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}
.vcard::after {
  content: "";
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 48px solid rgba(176, 141, 87, 0.16);
  right: -110px;
  bottom: -130px;
}
.vcard h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  position: relative;
  z-index: 1;
}
.vcard h3 {
  font-size: 1.5rem;
}
.vcard p {
  color: #cfc8c1;
  position: relative;
  z-index: 1;
}
.vcard address {
  font-style: normal;
  color: #cfc8c1;
  font-size: 1.05rem;
}
.vcard dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem;
  margin: 0;
}
.vcard dt {
  color: #e0bd85;
  font-weight: 600;
}
.vcard dd {
  margin: 0;
}
.perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}
.perks li {
  padding-left: 1.7rem;
  position: relative;
  color: #e6e0da;
}
.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e0bd85;
  font-weight: 700;
}
.vcard .btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.btns .btn {
  margin-top: 0;
}
.vform {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(1.8rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.vform h3 {
  font-size: 1.45rem;
}
.vform > p {
  color: var(--muted);
}
.vform label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.88rem;
}
.vform input,
.vform select {
  font: inherit;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
.vform input:focus,
.vform select:focus {
  outline: 2px solid var(--red);
  border-color: transparent;
}
@media (max-width: 900px) {
  .vgrid {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ ===== */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}
summary {
  cursor: pointer;
  font: 600 1.15rem var(--body);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.6rem;
  line-height: 1;
  transition: 0.3s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  color: var(--muted);
  margin-top: 0.8rem;
}

/* ===== Sticky WhatsApp + mobile bar ===== */
.wa-float {
  position: fixed;
  right: calc(1.2rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 14px 30px -8px rgba(37, 211, 102, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
}
.wa-float:hover {
  transform: scale(1.1);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  /* stroke-width: 1.8; */
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mbar {
  display: none;
}
@media (max-width: 700px) {
  .mbar {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .mbar .btn {
    padding: 0.85rem 1rem;
  }
  .wa-float {
    bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    width: 54px;
    height: 54px;
  }
  footer {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ===== Reveal + parallax ===== */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
[data-p],
.hero h1,
.hero .lead {
  will-change: translate;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
  [data-p] {
    translate: none !important;
  }
  .prog {
    display: none;
  }
}

/* ===== Content sections ===== */
.sec-p {
  color: var(--muted);
  max-width: 64ch;
  margin-top: 1rem;
}
.sec-head.ctr .sec-p {
  margin-inline: auto;
}
.center {
  text-align: center;
  margin-top: 2.4rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0;
}
.chips span {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
}
.note {
  border-left: 3px solid var(--gold);
  background: var(--red-soft);
  padding: 0.9rem 1.1rem;
  border-radius: 0 14px 14px 0;
  font-size: 0.92rem;
}
.scard {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: 0.35s;
}
.scard:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.scard svg {
  width: 84px;
  height: 66px;
  border-radius: 14px;
  background: var(--red-soft);
  padding: 6px;
  margin-bottom: 1rem;
}
.scard h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.scard p {
  color: var(--muted);
  font-size: 0.95rem;
}
.wgrid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.wcard {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg);
  transition: 0.3s;
}
.wcard:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.wcard i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}
.wcard b {
  display: block;
}
.wcard span {
  color: var(--muted);
  font-size: 0.93rem;
}
.ltext p {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 56ch;
}
.ltext h2 {
  max-width: 20ch;
}
.ltext .btn {
  margin-top: 1.6rem;
}

/* ===== Brand logo marquee ===== */
.brands {
  overflow: hidden;
}
.mq {
  overflow: hidden;
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.mq + .mq {
  margin-top: 0.4rem;
}
.mq-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: mqs 40s linear infinite;
  will-change: transform;
}
.mq.back .mq-track {
  animation-direction: reverse;
  animation-duration: 46s;
}
.mq:hover .mq-track {
  animation-play-state: paused;
}
.bchip {
  flex: none;
  width: 190px;
  height: 96px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px 22px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.bchip:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.bchip img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.bchip .bname {
  font: 700 1.05rem var(--head);
  color: #141210;
  text-align: center;
  line-height: 1.2;
}
.bnote {
  text-align: center;
  color: var(--muted);
  margin-top: 1.6rem;
}
.bnote.sm {
  font-size: 0.88rem;
  margin-top: 0.6rem;
}
@keyframes mqs {
  to {
    transform: translateX(calc(-50% - 0.55rem));
  }
}
@media (prefers-reduced-motion: reduce) {
  .mq {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid .stage {
    order: -1;
    max-width: 360px;
    margin: 0 auto 0.5rem;
  }
  .hero-grid > .rv:first-child {
    order: 1;
  }
}

@media (max-width: 480px) {
  .hero-grid .stage {
    max-width: 280px;
  }
}

/* =====================================================
   SHOP SECTION – PRODUCT CATEGORIES (glass card design)
   ===================================================== */
#shop {
  --s-text: #3b1a1f;
  --s-muted: #6f6168;
  --s-red: #d6191f;
  --s-red-dark: #a90f15;
  --s-red-light: #ff5a5f;
  --s-border: rgba(214, 25, 31, 0.14);
  --s-eyebrow-bg: #fceaea;
  --s-eyebrow-text: #a90f15;
  --s-panel: rgba(255, 255, 255, 0.9);
  --s-panel-text: #2b1417;
  --s-panel-muted: #6a5d62;
  --s-panel-border: rgba(255, 255, 255, 0.7);
  --s-img-bg: #f3e6e3;
  --s-shadow: 0 18px 40px -16px rgba(90, 30, 40, 0.35);
  --s-shadow-hover: 0 30px 60px -18px rgba(214, 25, 31, 0.45);
  position: relative;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
:root[data-theme="dark"] #shop {
  --s-text: #f5f1ee;
  --s-muted: #b4aca7;
  --s-border: rgba(255, 90, 95, 0.25);
  --s-eyebrow-bg: rgba(214, 25, 31, 0.16);
  --s-eyebrow-text: #ff8f94;
  --s-panel: rgba(24, 20, 20, 0.86);
  --s-panel-text: #f5f1ee;
  --s-panel-muted: #b9b0ab;
  --s-panel-border: rgba(255, 255, 255, 0.08);
  --s-img-bg: #2a2423;
  --s-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  --s-shadow-hover: 0 30px 60px -18px rgba(214, 25, 31, 0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #shop {
    --s-text: #f5f1ee;
    --s-muted: #b4aca7;
    --s-border: rgba(255, 90, 95, 0.25);
    --s-eyebrow-bg: rgba(214, 25, 31, 0.16);
    --s-eyebrow-text: #ff8f94;
    --s-panel: rgba(24, 20, 20, 0.86);
    --s-panel-text: #f5f1ee;
    --s-panel-muted: #b9b0ab;
    --s-panel-border: rgba(255, 255, 255, 0.08);
    --s-img-bg: #2a2423;
    --s-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
    --s-shadow-hover: 0 30px 60px -18px rgba(214, 25, 31, 0.5);
  }
}
#shop .sec-head {
  justify-content: center;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
#shop .sec-head > div {
  max-width: 780px;
  margin-inline: auto;
}
#shop .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--s-eyebrow-text);
  padding: 8px 18px;
  border: 1px solid var(--s-border);
  border-radius: 50px;
  background: var(--s-eyebrow-bg);
  margin-bottom: 1.2rem;
}
#shop .eyebrow::before {
  display: none;
}
#shop .sec-head h2 {
  color: var(--s-text);
  max-width: none;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
}
#shop .sec-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--s-red);
}
#shop .gold-line {
  display: block;
  width: 80px;
  height: 3px;
  margin: 1.3rem auto;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--s-red), transparent);
}
#shop .sec-p {
  color: var(--s-muted);
  max-width: 64ch;
  margin: 0 auto;
}
#shop .cgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
#shop .ccard {
  position: relative;
  aspect-ratio: 3 / 4.5;
  min-height: 440px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  background: var(--s-img-bg);
  box-shadow: var(--s-shadow);
  transition:
    opacity 0.9s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
}
#shop .ccard.in:hover {
  transform: translateY(-10px);
  box-shadow: var(--s-shadow-hover);
}
#shop .ci {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#shop .ci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition:
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.6s ease;
}
#shop .ci::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 10, 10, 0.55) 0%,
    rgba(20, 10, 10, 0.1) 45%,
    transparent 70%
  );
  pointer-events: none;
}
#shop .ccard:hover .ci img {
  transform: scale(1.1);
  filter: saturate(1.12);
}
#shop .ctag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--s-red-light), var(--s-red-dark));
  padding: 7px 14px;
  border-radius: 50px;
  box-shadow: 0 8px 18px rgba(214, 25, 31, 0.45);
}
#shop .cb {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.2rem 1.1rem;
  border-radius: 20px;
  background: var(--s-panel);
  border: 1px solid var(--s-panel-border);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.4s ease;
}
#shop .cb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.2rem;
  width: 44px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--s-red);
  transition: width 0.5s ease;
}
#shop .ccard:hover .cb::before {
  width: 96px;
}
#shop .cb h3 {
  color: var(--s-panel-text);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.25;
  margin: 0.4rem 0 0.5rem;
}
#shop .cb p {
  color: var(--s-panel-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
#shop .clink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  border-radius: 50px;
  background: var(--s-red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}
#shop .carr {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--s-red-dark);
  font-style: normal;
  font-size: 1rem;
  transition: transform 0.35s ease;
}
#shop .clink:hover {
  background: var(--s-red-dark);
  box-shadow: 0 10px 22px -6px rgba(214, 25, 31, 0.6);
}
#shop .clink:hover .carr {
  transform: translateX(4px) rotate(-45deg);
}
#shop .btn-gold {
  padding: 1rem 2.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  border: 0;
  background: linear-gradient(90deg, var(--s-red-light), var(--s-red-dark));
  box-shadow: 0 10px 28px rgba(214, 25, 31, 0.35);
}
#shop .btn-gold:hover {
  background: linear-gradient(90deg, var(--s-red-light), var(--s-red-dark));
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(214, 25, 31, 0.5);
}
@media (max-width: 1100px) {
  #shop .cgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  #shop .ccard {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
}
@media (max-width: 600px) {
  #shop .cgrid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  #shop .ccard {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }
  #shop .btn-gold {
    width: 100%;
    max-width: 340px;
    padding: 0.95rem 1.2rem;
  }
}
@media (hover: none) {
  #shop .ccard.in:hover {
    transform: none;
  }
  #shop .ccard:hover .ci img {
    transform: none;
  }
}

/* =====================================================
   MEGA MENU – featured tile (image kept)
   ===================================================== */
.mfeat {
  isolation: isolate;
}
.mfeat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mfeat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to top,
      rgba(20, 10, 10, 0.88) 0%,
      rgba(20, 10, 10, 0.55) 50%,
      rgba(20, 10, 10, 0.25) 100%
    ),
    linear-gradient(160deg, rgba(214, 25, 31, 0.28), transparent 60%);
}
.mfeat:hover .mfeat-bg {
  transform: scale(1.08);
}
.mfeat > * {
  position: relative;
}
.mfeat > .mfeat-bg {
  position: absolute;
}

/* =====================================================
   SERVICES – process design
   ===================================================== */
#services .sec-head {
  justify-content: center;
  text-align: center;
}
#services .sec-head > div {
  max-width: 760px;
  margin-inline: auto;
}
#services .sec-head h2 {
  max-width: none;
}
#services .sec-p {
  margin-inline: auto;
}
#services .eyebrow::before {
  display: none;
}
.pgrid {
  --ico: 104px;
  --pg: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pg);
  align-items: start;
}
.pstep {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
}
.pstep:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--ico) / 2);
  left: 50%;
  width: calc(100% + var(--pg));
  border-top: 2px dashed var(--red);
  opacity: 0.45;
  z-index: 0;
}
.pico {
  position: relative;
  z-index: 1;
  width: var(--ico);
  height: var(--ico);
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
  box-shadow:
    0 0 0 8px var(--red-soft),
    var(--shadow);
  display: grid;
  place-items: center;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.4s ease;
}
.pico svg {
  width: 66%;
  height: auto;
}
.pstep:hover .pico {
  transform: translateY(-6px) scale(1.05);
  background: var(--red-soft);
}
.pnum {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 0.95rem var(--head);
  box-shadow: 0 6px 14px rgba(214, 25, 31, 0.45);
  border: 3px solid var(--bg);
}
.ptext {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem 1.3rem 1.5rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.pstep:hover .ptext {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.ptext h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.ptext h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width 0.4s ease;
}
.pstep:hover .ptext h3::after {
  width: 70px;
}
.ptext p {
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 800px) {
  .pgrid {
    --ico: 76px;
    grid-template-columns: 1fr;
    gap: var(--pg);
  }
  .pstep {
    display: grid;
    grid-template-columns: var(--ico) 1fr;
    gap: 1rem;
    text-align: left;
    padding: 0;
    align-items: start;
  }
  .pico {
    margin: 0;
    box-shadow:
      0 0 0 5px var(--red-soft),
      var(--shadow);
  }
  .pnum {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .pstep:not(:last-child)::after {
    top: var(--ico);
    left: calc(var(--ico) / 2);
    width: 0;
    height: calc(100% - var(--ico) + var(--pg));
    border-top: 0;
    border-left: 2px dashed var(--red);
  }
  .ptext h3::after {
    left: 0;
    transform: none;
  }
}
@media (hover: none) {
  .pstep:hover .pico {
    transform: none;
  }
}

/* =====================================================
   NAVBAR FIX – stays pinned on mobile & tablet
   (added; nothing above this block was removed)
   ===================================================== */

/* Fills the notch / status-bar area behind the pinned header (iPhones etc.) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 99;
  pointer-events: none;
}

/* Make sure no ancestor of the header can break position: sticky */
html,
body {
  height: auto;
  min-height: 100%;
}

/* Header is always pinned and never clipped by the mobile menu panel */
header {
  width: 100%;
  overflow: visible;
}

/* Tablet + mobile: keep the logo inside the header bar so the sticky bar
   has a consistent height while scrolling */
@media (max-width: 960px) {
  .logo img {
    height: calc(var(--nav-h) - 6px);
    max-height: calc(var(--nav-h) - 6px);
  }
  /* menu panel scrolls inside itself, page behind does not jump */
  .menu {
    overscroll-behavior: contain;
  }
}
@media (max-width: 400px) {
  .logo img {
    height: 40px;
    max-height: 85px;
  }
}

/* Anchor targets land below the pinned header on every device */
:target {
  scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px);
}

/* =====================================================
   FIXES (END OF FILE)
   1) WhatsApp button stays at the very bottom corner
   2) Bigger logo on tablet + mobile
   3) Red scrollbar
   ===================================================== */

/* ---------- 1) WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  /* left: calc(16px + env(safe-area-inset-left, 0px));  <- use this line and
     delete the "right" line above if you want it on the LEFT side */
  z-index: 90;
}

/* Filled WhatsApp icon (old rule had fill:none) */
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 960px) {
  .wa-float {
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
}

/* Remove the extra empty space the old ".mbar" rule added under the footer */
@media (max-width: 700px) {
  footer.ppf {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* ---------- 2) Logo size on tablet + mobile ---------- */
@media (max-width: 960px) {
  :root {
    --nav-h: 90px;
  }
  .logo img {
    height: 80px;
    max-height: 80px;
    width: auto;
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 84px;
  }
  .logo img {
    height: 74px;
    max-height: 74px;
    max-width: 200px;
  }
}

@media (max-width: 400px) {
  :root {
    --nav-h: 80px;
  }
  .logo img {
    height: 66px;
    max-height: 66px;
    max-width: 170px;
  }
}

@media (max-width: 340px) {
  .logo img {
    height: 58px;
    max-height: 58px;
    max-width: 140px;
  }
}

/* ---------- 3) Red scrollbar ---------- */
html {
  scrollbar-width: thin; /* Firefox + new Chrome */
  scrollbar-color: var(--red) var(--surface); /* thumb  track */
}

::-webkit-scrollbar {
  /* Chrome, Edge, Safari */
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 999px;
  border: 2px solid var(--surface);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-d);
}
