/* ============================================================
   ZAD FOOD STORE — "The last friendly face before the desert"
   Palette from logo: Zad Purple + Zad Orange · desert sand · palm
   Type: Poppins (display+body) · Caveat (script) · Cairo (Arabic)
   ============================================================ */

:root {
  --sand: #F7F0E4;
  --sand-deep: #EFE4D0;
  --night: #221733;
  --night-deep: #170F24;
  --purple: #7B2E8E;
  --purple-soft: #9C4DB0;
  --orange: #F7941D;
  --orange-soft: #FFB45A;
  --palm: #1F7A3D;
  --ink: #2B2333;
  --ink-soft: rgba(43, 35, 51, 0.72);
  --cream: #FFF9EE;
  --font-display: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-script: "Caveat", cursive;
  --font-arabic: "Cairo", sans-serif;
  --maxw: 1180px;
  --radius: 20px;
  --shadow: 0 22px 55px rgba(34, 23, 51, 0.16);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--orange); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--orange); color: #fff; }

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: var(--ink);
}

.title .grad {
  background: linear-gradient(100deg, var(--purple) 15%, var(--orange) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark .title { color: var(--cream); }

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  font-weight: 400;
  max-width: 700px;
}

.dark .lead { color: rgba(255, 249, 238, 0.78); }

.section { padding: clamp(76px, 10vw, 130px) 0; position: relative; }
.section-head { margin-bottom: clamp(38px, 5.5vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 16px auto 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 34px;
  border-radius: 60px;
  background: linear-gradient(120deg, var(--orange), #f8a93f);
  color: #2b1a05;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(247, 148, 29, 0.4);
  color: #1d1203;
}

.btn.purple { background: linear-gradient(120deg, var(--purple), var(--purple-soft)); color: #fff; }
.btn.purple:hover { box-shadow: 0 16px 38px rgba(123, 46, 142, 0.4); color: #fff; }

.btn.ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255, 249, 238, 0.6);
}

.btn.ghost:hover { border-color: var(--orange); color: var(--orange-soft); box-shadow: none; }

.btn.ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(43, 35, 51, 0.3);
}

.btn.ghost-dark:hover { border-color: var(--purple); color: var(--purple); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Glass layer lives on ::before — backdrop-filter on .nav itself would
   trap the fixed-position mobile menu inside the 70px navbar */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 240, 228, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 36px rgba(34, 23, 51, 0.12);
}

.nav.scrolled::before { opacity: 1; }

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-logo .logo-light { display: block; }
.nav.scrolled .logo-light { display: none; }
.nav-logo .logo-dark { display: none; }
.nav.scrolled .logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
  transition: color 0.25s ease;
}

.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--orange) !important; }

.nav-cta {
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 50px;
  background: var(--orange);
  color: #2b1a05 !important;
}

.nav-cta:hover { background: var(--orange-soft); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.nav-burger span {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--cream);
  margin: 5px auto;
  transition: 0.3s;
}

.nav.scrolled .nav-burger span { background: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
  animation: kenburns 24s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 15, 36, 0.5) 0%, rgba(23, 15, 36, 0.15) 40%, rgba(23, 15, 36, 0.93) 90%),
    radial-gradient(75% 55% at 18% 85%, rgba(123, 46, 142, 0.45), transparent 70%);
}

.hero-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px 24px clamp(64px, 9vh, 110px);
  width: 100%;
  color: var(--cream);
}

.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(247, 148, 29, 0.16);
  border: 1.5px solid var(--orange);
  color: var(--orange-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge-247 .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3ddc6a;
  box-shadow: 0 0 0 0 rgba(61, 220, 106, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 106, 0.55); }
  70% { box-shadow: 0 0 0 11px rgba(61, 220, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 106, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 950px;
  color: #fff;
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--orange) 20%, #ffd9a0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .ar {
  font-family: var(--font-arabic);
  font-weight: 700;
  color: var(--orange-soft);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  display: block;
  margin-bottom: 14px;
}

.hero .lead { margin: 24px 0 36px; max-width: 620px; color: rgba(255, 249, 238, 0.85); }

.hero-stats-mini { display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; }

.hero-stats-mini div { border-left: 3px solid var(--orange); padding-left: 16px; }

.hero-stats-mini b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.hero-stats-mini span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 249, 238, 0.7);
}

/* ---------- Marquee ---------- */

.marquee {
  background: linear-gradient(90deg, var(--purple), #93389f 50%, var(--purple));
  overflow: hidden;
  padding: 13px 0;
}

.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 38s linear infinite; }

.marquee span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: #ffe9cd;
  padding: 0 26px;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */

.stats { background: var(--sand); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 24px;
  text-align: center;
}

.stat b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--purple), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.stat small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--ink-soft);
}

/* ---------- Offer cards ---------- */

.offer { background: var(--sand-deep); }

.offer-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.ocard {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(34, 23, 51, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.ocard:hover { transform: translateY(-9px); box-shadow: var(--shadow); }

.ocard-img { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }

.ocard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.ocard:hover .ocard-img img { transform: scale(1.09); }

.ocard-img .chip {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--orange);
  color: #2b1a05;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
}

.ocard-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }

.ocard-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.ocard-body p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 14px; }

.ocard-body ul { list-style: none; margin-top: auto; }

.ocard-body li {
  display: inline-block;
  background: var(--sand);
  border: 1px solid rgba(123, 46, 142, 0.18);
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 30px;
  padding: 5px 13px;
  margin: 0 6px 8px 0;
}

/* ---------- Track band (dark) ---------- */

.track {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 65%;
  isolation: isolate;
  color: var(--cream);
}

.track::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(23, 15, 36, 0.88) 20%, rgba(23, 15, 36, 0.42) 60%, rgba(23, 15, 36, 0.15));
}

.track .title { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); max-width: 620px; }
.track .lead { margin: 22px 0 34px; color: rgba(255, 249, 238, 0.85); }

.track-times { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 40px; }

.ttime {
  background: rgba(255, 249, 238, 0.08);
  border: 1px solid rgba(255, 249, 238, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 18px 24px;
  max-width: 250px;
}

.ttime b {
  font-family: var(--font-display);
  color: var(--orange-soft);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.ttime span { font-size: 0.86rem; color: rgba(255, 249, 238, 0.8); }

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.story-emblem { text-align: center; }

.story-emblem img { max-width: 380px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(34, 23, 51, 0.18)); }

.story-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.story-copy p b { color: var(--ink); font-weight: 600; }

.creed {
  background: linear-gradient(120deg, var(--purple), #93389f);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 34px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}

.creed .q {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
}

.creed .who {
  margin-top: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 233, 205, 0.85);
}

/* ---------- Serve strip ---------- */

.serve { background: var(--sand-deep); }

.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.scard {
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 8px 26px rgba(34, 23, 51, 0.08);
  transition: transform 0.35s ease;
}

.scard:hover { transform: translateY(-6px); }

.scard .ico { font-size: 2rem; display: block; margin-bottom: 14px; }

.scard h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }

.scard p { color: var(--ink-soft); font-size: 0.87rem; }

.scard .when {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.gallery .g { border-radius: 16px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 10px 26px rgba(34, 23, 51, 0.1); }

.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gallery .g:hover img { transform: scale(1.08); }

/* ---------- Visit band ---------- */

.visit {
  background:
    radial-gradient(90% 130% at 85% -10%, rgba(123, 46, 142, 0.5), transparent 60%),
    linear-gradient(160deg, var(--night), var(--night-deep));
  color: var(--cream);
}

.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.visit h2 { color: #fff; }

.visit-list { list-style: none; margin: 28px 0 36px; }

.visit-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 249, 238, 0.12);
  font-size: 0.98rem;
  color: rgba(255, 249, 238, 0.88);
}

.visit-list li .ic { font-size: 1.25rem; line-height: 1.4; }
.visit-list li b { color: #fff; }

.visit-card {
  background: rgba(255, 249, 238, 0.06);
  border: 1px solid rgba(255, 249, 238, 0.16);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.visit-card .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(120deg, var(--orange), #ffd9a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visit-card p { color: rgba(255, 249, 238, 0.75); font-size: 0.9rem; margin: 8px 0 24px; }

/* ---------- Footer ---------- */

footer { background: var(--night-deep); padding: 70px 0 0; color: rgba(255, 249, 238, 0.75); }

.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 44px; padding-bottom: 56px; }

.foot-grid img.foot-logo { height: 52px; width: auto; margin-bottom: 18px; }

.foot-grid p { font-size: 0.9rem; }

.foot-grid h5 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--orange-soft);
  margin-bottom: 18px;
}

.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid li a, .foot-grid li span { color: rgba(255, 249, 238, 0.75); font-size: 0.92rem; }
.foot-grid li a:hover { color: var(--orange-soft); }

.foot-social { display: flex; gap: 12px; margin-top: 20px; }

.foot-social a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(255, 249, 238, 0.25);
  padding: 8px 16px;
  border-radius: 40px;
  color: rgba(255, 249, 238, 0.85);
}

.foot-social a:hover { border-color: var(--orange); color: var(--orange-soft); }

.foot-bottom {
  border-top: 1px solid rgba(255, 249, 238, 0.12);
  padding: 24px 0;
  text-align: center;
  color: rgba(255, 249, 238, 0.45);
  font-size: 0.8rem;
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .offer-cards { grid-template-columns: 1fr 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0;
    height: 100dvh;
    z-index: 105;
    background: rgba(23, 15, 36, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links a, .nav.scrolled .nav-links a { font-size: 1.15rem; color: var(--cream); }
  .nav-burger { display: block; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--cream); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--cream); }
  .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .story-emblem img { max-width: 280px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .offer-cards, .serve-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-stats-mini { gap: 18px; }
}

/* ---------- Right-now strip ---------- */

.now-strip {
  background: linear-gradient(90deg, var(--night), #2c1f42);
  color: var(--cream);
  padding: 14px 0;
  border-bottom: 3px solid var(--orange);
}

.now-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.now-strip .open-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 220, 106, 0.14);
  border: 1.5px solid #3ddc6a;
  color: #7df0a3;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  border-radius: 40px;
  white-space: nowrap;
}

.now-strip .open-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc6a; animation: pulse 2s infinite; }

.now-strip #now-msg { font-size: 0.98rem; font-weight: 500; color: rgba(255, 249, 238, 0.92); }
.now-strip #now-msg b { color: var(--orange-soft); }

/* ---------- Action dock ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(120px);
  z-index: 90;
  display: flex;
  gap: 10px;
  background: rgba(23, 15, 36, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 249, 238, 0.18);
  border-radius: 60px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.dock.show { transform: translateX(-50%) translateY(0); }

.dock a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 50px;
  white-space: nowrap;
}

.dock a.d-dir { background: var(--orange); color: #2b1a05; }
.dock a.d-wa { background: #25D366; color: #06330f; }
.dock a.d-call { background: rgba(255, 249, 238, 0.12); color: var(--cream); border: 1px solid rgba(255, 249, 238, 0.3); }
.dock a:hover { filter: brightness(1.08); }

@media (max-width: 620px) {
  .dock { left: 12px; right: 12px; transform: translateY(120px); width: auto; justify-content: center; }
  .dock.show { transform: translateY(0); }
  .dock a { padding: 12px 14px; font-size: 0.82rem; flex: 1; justify-content: center; }
}

/* ---------- Quote / review band ---------- */

.quote-band { background: var(--sand); text-align: center; }

.quote-band blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.9vw, 2rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 860px;
  margin: 0 auto;
}

.quote-band blockquote::before { content: "\201C"; color: var(--orange); font-size: 1.6em; vertical-align: -0.25em; margin-right: 4px; }
.quote-band blockquote::after { content: "\201D"; color: var(--orange); font-size: 1.6em; vertical-align: -0.35em; margin-left: 4px; }

.quote-band .stars { color: var(--orange); font-size: 1.3rem; letter-spacing: 6px; margin-bottom: 18px; }

.quote-band .who {
  margin-top: 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* ---------- Pre-order band ---------- */

.preorder {
  background:
    radial-gradient(80% 120% at 15% -20%, rgba(247, 148, 29, 0.35), transparent 55%),
    linear-gradient(135deg, #25104a 0%, var(--night) 60%);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 70px) clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  position: relative;
}

.preorder h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
}

.preorder p { color: rgba(255, 249, 238, 0.82); margin-bottom: 26px; max-width: 520px; }

.preorder .steps-mini { display: grid; gap: 12px; }

.preorder .sm {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 249, 238, 0.07);
  border: 1px solid rgba(255, 249, 238, 0.14);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.92rem;
}

.preorder .sm b { color: var(--orange-soft); font-family: var(--font-display); }

@media (max-width: 880px) { .preorder { grid-template-columns: 1fr; } }

/* ---------- Gallery v2 ---------- */

.gallery.v2 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; }
.gallery.v2 .g { aspect-ratio: auto; }
.gallery.v2 .g.w2 { grid-column: span 2; }
.gallery.v2 .g.h2 { grid-row: span 2; }

@media (max-width: 880px) {
  .gallery.v2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* ============================================================
   MISSION PAGES — page hero, product lists, checklist, guides
   ============================================================ */

/* ---------- Inner-page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: 150px 0 70px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: var(--cream);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23,15,36,0.78) 0%, rgba(23,15,36,0.5) 45%, rgba(23,15,36,0.9) 100%),
    radial-gradient(70% 60% at 15% 90%, rgba(123,46,142,0.5), transparent 70%);
}
.page-hero .badge-247 { margin-bottom: 18px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 900px;
}
.page-hero h1 .grad { background: linear-gradient(100deg, var(--orange) 20%, #ffd9a0 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { color: rgba(255,249,238,0.88); margin: 18px 0 30px; }
.page-hero .ar { font-family: var(--font-arabic); font-weight: 700; color: var(--orange-soft); display: block; margin-bottom: 12px; font-size: clamp(1rem,2vw,1.3rem); }

/* ---------- Mission cards become links (homepage) ---------- */
a.ocard { text-decoration: none; color: inherit; }
.ocard .go {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple);
  display: inline-flex; align-items: center; gap: 7px;
  transition: gap 0.3s ease;
}
a.ocard:hover .go { gap: 13px; color: var(--orange); }

/* ---------- Featured-product strip ---------- */
.feat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fc {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(34,23,51,0.1);
  display: flex; flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.fc:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.fc-img { aspect-ratio: 16/11; overflow: hidden; position: relative; background: var(--sand-deep); }
.fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.fc:hover .fc-img img { transform: scale(1.08); }
.fc-img .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--purple); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 30px;
}
.fc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.fc-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 4px; }
.fc-body p { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 14px; }
.fc-price {
  margin-top: auto;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.25rem; color: var(--orange);
}
.fc-price small { font-size: 0.7rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.06em; }

/* ---------- Product lists (category → rows) ---------- */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pcat {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow: 0 8px 26px rgba(34,23,51,0.07);
}
.pcat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pcat-head .ico { font-size: 1.5rem; }
.pcat-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.prow {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(43,35,51,0.14);
}
.prow:last-child { border-bottom: none; }
.prow .nm { font-weight: 500; color: var(--ink); font-size: 0.96rem; }
.prow .nm .b { display: inline-block; background: var(--sand); color: var(--purple); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; vertical-align: 1.5px; margin-left: 7px; }
.prow .dots { flex: 1; border-bottom: 1px dotted rgba(43,35,51,0.25); transform: translateY(-4px); }
.prow .pr { font-family: var(--font-display); font-weight: 700; color: var(--orange); white-space: nowrap; font-size: 0.96rem; }
.pnote { text-align: center; color: var(--ink-soft); font-size: 0.82rem; font-weight: 300; margin-top: 30px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cli {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(34,23,51,0.06);
  font-weight: 500; font-size: 0.94rem;
}
.cli .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #1F7A3D; color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}

/* ---------- Fact box ---------- */
.factbox {
  background: linear-gradient(120deg, var(--purple), #93389f);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  box-shadow: var(--shadow);
}
.factbox .big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.2;
}
.factbox p { color: rgba(255,233,205,0.92); margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Guide cards (lakes) ---------- */
.guidecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard {
  background: #fff; border-radius: 18px; padding: 28px 26px;
  box-shadow: 0 8px 26px rgba(34,23,51,0.07);
  border-top: 4px solid var(--orange);
}
.gcard h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.gcard p { color: var(--ink-soft); font-size: 0.9rem; }
.gcard .meta { margin-top: 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); }

/* ---------- Route stops (cyclist) ---------- */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rstop { background: rgba(255,249,238,0.06); border: 1px solid rgba(255,249,238,0.16); border-radius: 16px; padding: 24px; }
.rstop b { font-family: var(--font-display); color: var(--orange-soft); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.rstop span { color: rgba(255,249,238,0.82); font-size: 0.9rem; }

/* ---------- Cross-link band ---------- */
.crossband { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.xc {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius);
  padding: 40px 36px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background-size: cover; background-position: center;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.xc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(23,15,36,0.88), rgba(23,15,36,0.42)); transition: background 0.35s ease; }
.xc:hover::after { background: linear-gradient(120deg, rgba(123,46,142,0.9), rgba(23,15,36,0.5)); }
.xc .k { font-family: var(--font-script); color: var(--orange-soft); font-size: 1.3rem; font-weight: 700; }
.xc h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.xc .go { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--cream); display: inline-flex; gap: 7px; transition: gap 0.3s ease; }
.xc:hover .go { gap: 13px; }

@media (max-width: 1020px) {
  .feat-strip, .checklist, .guidecards, .routes { grid-template-columns: repeat(2, 1fr); }
  .plist { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feat-strip, .checklist, .guidecards, .routes, .crossband { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV FIT + FOOTER WRAP (added together with the "Outings" nav link)
   Nine nav items no longer fit on one line below ~1100px (labels wrapped
   to two lines; the original 8 items already wrapped below ~990px).
   Compact the desktop nav between 881px and 1180px. Burger menu (<=880px)
   is unchanged. Safe to delete if the nav is ever trimmed back.
   ============================================================ */
@media (min-width: 881px) and (max-width: 1180px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.84rem; white-space: nowrap; }
  .nav-cta { padding: 9px 16px; }
  .nav-logo img { height: 38px; }
}
@media (min-width: 881px) and (max-width: 980px) {
  .nav-links { gap: 11px; }
  .nav-links a { font-size: 0.8rem; }
  .nav-cta { padding: 8px 12px; }
  .nav-logo img { height: 34px; }
}
/* footer social pills must wrap on very narrow phones (320px) instead of pushing the page wider */
.foot-social { flex-wrap: wrap; }

/* Burger menu usable on landscape phones (9 nav items) — added 01/10/2026 */
@media (max-width: 880px) and (max-height: 540px) { .nav-links { justify-content: flex-start; overflow-y: auto; gap: 14px; padding: 76px 0 28px; } }


/* ---------- Guide pages (moved from per-page inline <style>) ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article .crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.article .crumbs a { font-weight: 600; }
.article h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); margin: 38px 0 14px; }
.article h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--purple); margin: 26px 0 10px; }
.article p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin: 0 0 16px; }
.article ul.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.article ul.checks li { position: relative; padding-left: 30px; color: var(--ink); line-height: 1.6; }
.article ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--palm); font-weight: 800; }
.article ul.checks li b { color: var(--ink); }
.article .callout { background: #fff; border-left: 4px solid var(--orange); border-radius: 12px; padding: 18px 22px; margin: 22px 0; box-shadow: 0 8px 26px rgba(34,23,51,.07); }
.article .callout p { margin: 0; }
.article .price { color: var(--purple); font-weight: 600; white-space: nowrap; }
.article a { font-weight: 600; }
.article .toc { background: var(--sand-deep); border-radius: 14px; padding: 20px 24px; margin: 24px 0 8px; }
.article .toc b { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: 8px; }
.article .toc a { display: block; padding: 3px 0; }
.article .faq-wrap { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 8px; }
.article .faq-item { background: #fff; border: 1px solid rgba(43,35,51,.10); border-radius: 16px; box-shadow: 0 8px 26px rgba(34,23,51,.06); overflow: hidden; }
.article .faq-item[open] { border-color: rgba(123,46,142,.35); }
.article .faq-q { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.article .faq-q::-webkit-details-marker { display: none; }
.article .faq-q::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--purple); transition: transform .25s ease; line-height: 1; flex: none; }
.article .faq-item[open] .faq-q::after { transform: rotate(45deg); }
.article .faq-a { padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.7; }
.article table.cal { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: .98rem; }
.article table.cal th, .article table.cal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(43,35,51,.12); vertical-align: top; color: var(--ink); }
.article table.cal th { font-family: var(--font-display); color: var(--purple); }
.article figure { margin: 24px 0; } .article figure img { width: 100%; border-radius: 14px; display: block; }
.article figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.article .stop { background: var(--sand-deep); border-radius: 18px; padding: 24px 26px; margin: 34px 0 10px; }
.article .stop h2 { margin-top: 0; }
.article ul.plain { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); line-height: 1.7; }
.article ul.plist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.article ul.plist li { position: relative; padding-left: 34px; color: var(--ink); line-height: 1.6; }
.article ul.plist li::before { content: "\2610"; position: absolute; left: 0; top: -2px; font-size: 1.3rem; color: var(--purple); }
.article .printbtn { display: inline-block; margin: 6px 0 14px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--purple); background: #fff; color: var(--purple); font-weight: 700; cursor: pointer; font-family: inherit; }
@media print { body:has(.printbtn) .nav, body:has(.printbtn) .dock, body:has(.printbtn) .page-hero, body:has(.printbtn) footer, body:has(.printbtn) .crossband, body:has(.printbtn) .toc, body:has(.printbtn) .printbtn, body:has(.printbtn) .stop { display: none !important; } body:has(.printbtn) .article ul.plist li { break-inside: avoid; } }

/* Footer clearance for the fixed action dock */
footer { padding-bottom: 96px; }

/* ============================================================
   KIT PAGES + ORDER FORM (kp-*) — added 01/11/2026
   Used by kits/*.html, ar/kits/*.html, order.html, ar/order.html
   ============================================================ */
.btn.kp-wa { background: #25D366; color: #06330f; }
.btn.kp-wa:hover { color: #06330f; box-shadow: 0 16px 38px rgba(37, 211, 102, 0.38); }
.kp-crumb { font-size: 0.85rem; margin-bottom: 14px; color: rgba(255, 249, 238, 0.82); }
.kp-crumb a { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.kp-crumb span[aria-hidden] { margin: 0 6px; }
.kp-herometa { margin-top: 22px; font-size: 0.9rem; color: rgba(255, 249, 238, 0.82); }
.kp-pricechip { display: inline-block; margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--orange-soft); }
.kp-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.kp-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 40px); }
.kp-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 14px; color: var(--ink); }
.kp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.kp-ico { flex: none; width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; font-size: 1.8rem; line-height: 1; background: linear-gradient(140deg, var(--cream), var(--sand-deep)); box-shadow: inset 0 0 0 1px rgba(123, 46, 142, 0.14); }
.kp-for { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--purple); }
.kp-incl { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; }
.kp-incl li { position: relative; padding-inline-start: 31px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.kp-incl li::before { content: "✓"; content: "✓" / ""; position: absolute; inset-inline-start: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 50%; background: var(--palm); color: #fff; font-size: 0.7rem; font-weight: 800; line-height: 1; display: grid; place-items: center; }
.kp-extra { background: var(--sand); border-radius: 10px; padding: 10px 14px; margin: 0 0 8px; font-size: 0.9rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
.kp-buy .kp-price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #B45309; line-height: 1.15; }
.kp-buy .kp-price small { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-soft); }
.kp-buy .btn { width: 100%; justify-content: center; margin-top: 18px; }
.kp-buy .kp-alt { display: block; text-align: center; margin-top: 14px; font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.kp-notes { margin-top: 16px; font-size: 0.85rem; line-height: 1.6; color: var(--ink-soft); }
.kp-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kp-other { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 8px 26px rgba(34, 23, 51, 0.07); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.kp-other:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(34, 23, 51, 0.13); }
.kp-other b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.kp-other span.kp-op { font-size: 0.85rem; font-weight: 700; color: #B45309; }
.kp-guides { list-style: none; display: grid; gap: 10px; max-width: 840px; margin: 0 auto; }
.kp-guides a { display: block; background: #fff; border-radius: 14px; padding: 14px 20px; font-weight: 600; box-shadow: 0 6px 18px rgba(34, 23, 51, 0.06); color: var(--ink); }
.kp-guides a::after { content: " →"; content: " →" / ""; color: var(--purple); }
[dir="rtl"] .kp-guides a::after { content: " ←"; content: " ←" / ""; }
.kp-faq-wrap { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.kp-faq-item { background: #fff; border: 1px solid rgba(43, 35, 51, 0.10); border-radius: 16px; box-shadow: 0 8px 26px rgba(34, 23, 51, 0.06); overflow: hidden; }
.kp-faq-item[open] { border-color: rgba(123, 46, 142, 0.35); box-shadow: 0 14px 38px rgba(34, 23, 51, 0.12); }
.kp-faq-q { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.kp-faq-q::-webkit-details-marker { display: none; }
.kp-faq-q::after { content: "+"; content: "+" / ""; font-size: 1.7rem; font-weight: 400; color: var(--purple); transition: transform 0.25s ease; line-height: 1; flex: none; }
.kp-faq-item[open] .kp-faq-q::after { transform: rotate(45deg); }
.kp-faq-q:hover { color: var(--purple); }
.kp-faq-q:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; border-radius: 16px; }
.kp-faq-a { padding: 0 26px 24px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.72; }
.kp-final { text-align: center; padding: clamp(64px, 8vw, 104px) 0; }
.kp-final .title { color: #fff; max-width: 780px; margin: 0 auto; }
.kp-final .title .grad { background-image: linear-gradient(100deg, var(--orange) 20%, #ffd9a0 80%); }
.kp-final .btn-row { justify-content: center; margin-top: 34px; }

/* order form */
.kp-order { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.kp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.kp-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kp-field.kp-w2 { grid-column: 1 / -1; }
.kp-field label, .kp-field legend { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.kp-field input, .kp-field select, .kp-field textarea { width: 100%; min-width: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.4; color: var(--ink); background: var(--cream); border: 1.5px solid rgba(43, 35, 51, 0.55); border-radius: 12px; padding: 13px 15px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.kp-field textarea { min-height: 96px; resize: vertical; }
.kp-field input:focus, .kp-field select:focus, .kp-field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(123, 46, 142, 0.2); }
.kp-field [aria-invalid="true"] { border-color: #B3261E; }
.kp-err { min-height: 0; font-size: 0.85rem; font-weight: 600; color: #B3261E; }
.kp-hint { font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); }
.kp-pay { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.kp-pay label { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; background: var(--cream); border: 1.5px solid rgba(43, 35, 51, 0.25); border-radius: 12px; padding: 12px 15px; }
.kp-pay input { width: auto; accent-color: var(--purple); }
.kp-pay label.kp-off { opacity: 0.55; }
.kp-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kp-sum { position: sticky; top: 96px; }
.kp-sum .kp-bigtotal { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: #B45309; line-height: 1.2; }
.kp-sum p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); margin-top: 10px; }
.kp-actions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.kp-status { font-size: 0.92rem; font-weight: 600; color: #B3261E; }
.kp-result { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); border-top: 6px solid var(--palm); }
.kp-result.kp-fail { border-top-color: var(--orange); }
.kp-result-title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-bottom: 10px; }
.kp-result-lead { color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.kp-summary { display: grid; gap: 0; margin: 0 0 24px; }
.kp-summary > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(43, 35, 51, 0.16); }
.kp-summary dt { font-weight: 600; font-size: 0.88rem; color: var(--ink-soft); }
.kp-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.kp-result-actions .btn { justify-content: center; }
.kp-result[hidden], .kp-formwrap[hidden] { display: none; }
@media (max-width: 1020px) { .kp-others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .kp-wrap, .kp-order { grid-template-columns: 1fr; }
  .kp-sum { position: static; order: -1; }
}
@media (max-width: 640px) {
  .kp-others { grid-template-columns: 1fr; }
  .kp-form { grid-template-columns: 1fr; }
  .kp-faq-q { padding: 18px 20px; font-size: 1.02rem; }
  .kp-faq-a { padding: 0 20px 20px; }
  .kp-final .btn-row .btn, .kp-result-actions .btn, .kp-actions .btn { width: 100%; justify-content: center; }
  .kp-summary > div { grid-template-columns: 1fr; gap: 2px; }
}
