/* JomSnap public site — "Warm Brown & Soft Minimal" (Stitch) */

:root {
  --bg: #fdfbf7;
  --bg-tint: #f7f2ea;
  --surface: #ffffff;
  --surface-soft: #faf5ee;
  --chip: #f4ebe1;
  --chip-hover: #ebdccf;
  --border: #ebdccf;
  --border-strong: #dfd1c3;

  --espresso: #3e2723;
  --mocha: #4a2e1b;
  --chestnut: #6d4c41;
  --caramel: #8d5b4c;
  --numeral: #d5bfad;

  --text: #231f1d;
  --text-muted: #5c534d;
  --text-faint: #7f7667;

  --shadow-sm: 0 2px 8px -2px rgba(62, 39, 35, 0.06), 0 1px 3px -1px rgba(62, 39, 35, 0.03);
  --shadow-md: 0 12px 32px -8px rgba(74, 46, 27, 0.10), 0 4px 12px -2px rgba(74, 46, 27, 0.04);
  --shadow-feature: 0 14px 36px -8px rgba(74, 46, 27, 0.18);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section[id] { scroll-margin-top: var(--header-h); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s, border-color .2s;
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn-dark { background: var(--espresso); color: #fff; box-shadow: 0 4px 12px -2px rgba(62, 39, 35, .25); }
.btn-dark:hover { background: var(--mocha); box-shadow: 0 8px 20px -4px rgba(62, 39, 35, .35); transform: translateY(-1px); }
.btn-light { background: var(--surface); color: var(--espresso); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #f3e9de; transform: translateY(-1px); }
.btn-soft { background: var(--chip); color: var(--espresso); border-color: var(--border); }
.btn-soft:hover { background: var(--chip-hover); }
.btn-sm { padding: 9px 18px; }
.btn-lg { padding: 14px 32px; }
.btn-xl { padding: 16px 40px; font-size: 15px; }
.btn-block { width: 100%; }
.accent { color: var(--caramel); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 223, 213, .6);
  box-shadow: 0 1px 8px rgba(62, 39, 35, .04);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-brand { display: flex; align-items: center; gap: 16px; }
.logo-image { height: 40px; width: auto; }
.footer-brand .logo-image { align-self: flex-start; height: 48px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--chestnut);
  padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--espresso); background: var(--surface-soft); border-color: rgba(141, 91, 76, .25); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-toggle {
  display: none; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--espresso);
  font-size: 16px; cursor: pointer;
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(to bottom, #fbf8f3, rgba(247, 240, 231, .6), var(--bg));
  padding: 72px 0 96px;
}
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.hero-glow-1 { top: -160px; left: 50%; transform: translateX(-50%); width: 680px; height: 480px; background: rgba(215, 186, 157, .3); filter: blur(110px); }
.hero-glow-2 { top: 33%; right: -96px; width: 340px; height: 340px; background: rgba(202, 165, 134, .25); filter: blur(90px); }
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 820px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(239, 229, 217, .8); border: 1px solid rgba(216, 195, 175, .6); box-shadow: var(--shadow-sm);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--espresso); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--espresso);
  font-size: 56px; line-height: 64px; letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--caramel); }
.sparkles { display: flex; align-items: center; gap: 10px; color: rgba(109, 76, 65, .8); user-select: none; }
.sparkles span { font-size: 12px; }
.sparkles span:nth-child(2) { font-size: 15px; }
.hero-description { font-size: 18px; line-height: 30px; color: var(--text-muted); max-width: 580px; }

/* Hero motion */
.hero-content > * { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(1) { animation-delay: .05s; }
.hero-content > :nth-child(2) { animation-delay: .18s; }
.hero-content > :nth-child(3) { animation-delay: .32s; }
.hero-content > :nth-child(4) { animation-delay: .44s; }
.hero-content > :nth-child(5) { animation-delay: .56s; }
.hero-content > :nth-child(6) { animation-delay: .68s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.hero h1 em {
  background: linear-gradient(100deg, var(--caramel) 20%, #c9a27a 40%, #e2c49b 50%, #c9a27a 60%, var(--caramel) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out 1.2s infinite;
  padding-right: .08em; /* keeps the italic tail inside the clipped text */
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

.hero .sparkles span { display: inline-block; animation: twinkle 2.4s ease-in-out infinite; }
.hero .sparkles span:nth-child(2) { animation-delay: .4s; }
.hero .sparkles span:nth-child(3) { animation-delay: .8s; }
@keyframes twinkle { 0%, 100% { opacity: .45; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }

.hero-glow-1 { animation: drift-1 16s ease-in-out infinite; }
.hero-glow-2 { animation: drift-2 13s ease-in-out infinite; }
@keyframes drift-1 { 0%, 100% { transform: translateX(-50%); } 50% { transform: translate(-42%, 40px) scale(1.08); } }
@keyframes drift-2 { 0%, 100% { transform: none; } 50% { transform: translate(-60px, -40px) scale(1.12); } }
/* Pointer parallax rides on `translate` so it doesn't fight the drift `transform` */
.hero-glow { translate: calc(var(--px, 0) * 40px) calc(var(--py, 0) * 30px); transition: translate .6s ease-out; }
.hero-glow-2 { translate: calc(var(--px, 0) * -60px) calc(var(--py, 0) * -40px); }

.hero-spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 196, 155, .28), transparent 70%);
}
.hero.is-pointing .hero-spotlight { opacity: 1; }

.hero-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-particles span {
  position: absolute; bottom: -20px; color: rgba(141, 91, 76, .35); font-size: 12px;
  animation: float-up 14s linear infinite; opacity: 0;
}
.hero-particles span:nth-child(1) { left: 8%;  animation-delay: 0s;   font-size: 10px; }
.hero-particles span:nth-child(2) { left: 22%; animation-delay: 4s;   font-size: 14px; }
.hero-particles span:nth-child(3) { left: 36%; animation-delay: 8s; }
.hero-particles span:nth-child(4) { left: 62%; animation-delay: 2s;   font-size: 16px; }
.hero-particles span:nth-child(5) { left: 76%; animation-delay: 6s;   font-size: 10px; }
.hero-particles span:nth-child(6) { left: 88%; animation-delay: 10s;  font-size: 13px; }
.hero-particles span:nth-child(7) { left: 50%; animation-delay: 12s;  font-size: 9px; }
@keyframes float-up {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: .8; }
  100% { transform: translateY(-640px) rotate(180deg); opacity: 0; }
}

.bounce-arrow { animation: nudge 1.8s ease-in-out 1.5s infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #f4ede6; border: 1px solid #e3d4c5; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--espresso);
}
.chip i { color: var(--caramel); }
.action-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 8px; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-tint { background: rgba(247, 242, 234, .7); }
.section-header { display: flex; flex-direction: column; gap: 6px; max-width: 640px; margin-bottom: 56px; }
.section-header.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel); }
.section-header h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 44px; letter-spacing: -0.015em; color: var(--espresso); }
.section-header p { font-size: 16px; line-height: 26px; color: var(--text-muted); }
.section-header.center p { font-size: 18px; line-height: 30px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s, background .25s;
}
.card:hover { box-shadow: var(--shadow-md); border-color: rgba(141, 91, 76, .4); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--espresso); }
.card p { font-size: 13px; line-height: 20px; color: var(--text-muted); }

.icon-tile {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #f5ede5; color: var(--espresso); font-size: 20px; transition: background .25s, color .25s;
}
.icon-tile-dark { background: var(--espresso); color: #fff; }
.icon-round {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #ecdccf; color: var(--espresso); font-size: 20px;
}
.icon-round.sm { width: 36px; height: 36px; font-size: 15px; background: var(--chip); }
.icon-round.xs { width: 32px; height: 32px; font-size: 14px; background: var(--chip-hover); color: var(--caramel); }

/* What's Included */
.inclusions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inclusion { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.inclusion h3 { font-size: 18px; line-height: 26px; }
.inclusion:hover .icon-tile:not(.icon-tile-dark) { background: var(--mocha); color: #fff; }
.inclusion-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 16px; background: linear-gradient(to right, #fff, #fbf7f1); }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 2px 10px; border-radius: 999px; background: #eee2d6; color: var(--espresso);
}

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { padding: 40px; display: flex; flex-direction: column; gap: 10px; background: rgba(250, 245, 238, .8); }
.why-card:hover { background: var(--surface); }
.why-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.why-card:nth-child(even) .icon-round { background: #edd8cd; color: var(--caramel); }
.why-num { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 26px; color: var(--numeral); }
.why-card p { font-size: 15px; line-height: 24px; }

/* Packages */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package { position: relative; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.package-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tier { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.package h3 { font-size: 28px; line-height: 36px; font-weight: 600; }
.hours { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--chip); color: var(--espresso); white-space: nowrap; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.price-old { font-size: 15px; color: var(--text-faint); text-decoration: line-through; }
.price-now { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; color: var(--espresso); }
.per { font-size: 13px; color: var(--text-muted); }
.features { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: var(--text); }
.features i { color: var(--caramel); font-size: 16px; margin-top: 2px; width: 18px; text-align: center; flex-shrink: 0; }
.features .strong { font-weight: 600; color: var(--espresso); }
.features .perk { font-weight: 600; color: var(--espresso); background: #faf1ea; border: 1px solid #ecd9cd; border-radius: 12px; padding: 8px 10px; }
.features .perk strong { text-decoration: underline; text-decoration-color: var(--caramel); text-underline-offset: 2px; }
.package.featured { border: 2px solid var(--caramel); box-shadow: var(--shadow-feature); transform: translateY(-8px); }
.package.featured:hover { box-shadow: var(--shadow-feature); }
.package.featured .price-now { color: var(--caramel); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--espresso); color: #fff; border: 1px solid rgba(141, 91, 76, .4); box-shadow: var(--shadow-sm);
  padding: 5px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.ribbon i { color: #e9c176; }
.note {
  display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 48px auto 0;
  padding: 16px 20px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--border);
  font-size: 13px; line-height: 20px; color: var(--text-muted);
}
.note i { color: var(--caramel); font-size: 18px; flex-shrink: 0; }

/* Terms */
.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.term { padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.term p { font-size: 15px; line-height: 22px; color: var(--text); font-weight: 500; }

/* Contact CTA */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
  padding: 96px 48px; border-radius: 24px; border: 1px solid #e8dcd0;
  background: linear-gradient(135deg, #fff, #faf5ee 50%, #f4ece3);
  box-shadow: var(--shadow-md);
}
.cta-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(64px); z-index: -1; pointer-events: none; }
.cta-glow-1 { top: -96px; left: -96px; background: rgba(236, 216, 202, .5); }
.cta-glow-2 { bottom: -96px; right: -96px; background: rgba(229, 207, 190, .5); }
.cta-panel .sparkles { color: var(--caramel); }
.cta-panel h2 { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 52px; color: var(--espresso); }
.cta-panel > p { font-size: 18px; line-height: 30px; color: var(--text-muted); max-width: 560px; margin-bottom: 8px; }
.social-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--espresso); transition: background .2s;
}
.pill-link i { color: var(--caramel); }
.pill-link:hover { background: #ede1d5; }

/* Footer */
.site-footer { background: #f4eee6; border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand p { color: var(--text-muted); max-width: 360px; }
.footer-region { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--espresso); }
.footer-region i { color: var(--caramel); }
.site-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--espresso); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-muted); }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--espresso); }
.footer-connect a { display: inline-flex; align-items: center; gap: 12px; }
.footer-copy { padding-top: 24px; border-top: 1px solid rgba(235, 220, 207, .6); font-size: 12px; color: var(--chestnut); text-align: center; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .inclusions-grid { grid-template-columns: repeat(3, 1fr); }
  .inclusion-wide { grid-column: span 3; }
}
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .container { padding: 0 32px; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 16px;
    background: rgba(253, 251, 247, .97); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; }
  .inclusions-grid { grid-template-columns: repeat(2, 1fr); }
  .inclusion-wide { grid-column: span 2; }
  .packages-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 32px; }
  .package.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .header-brand .logo-image { height: 34px; }
  .hero { padding: 48px 0 72px; }
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero-description { font-size: 16px; line-height: 26px; }
  .chip { display: inline-block; text-align: center; line-height: 22px; }
  .chip i { margin-right: 4px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 36px; align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
  .section-header h2 { font-size: 30px; line-height: 38px; }
  .section-header p, .section-header.center p { font-size: 15px; line-height: 24px; }
  /* Mobile lists: icon beside text, like the Stitch mobile screen */
  .inclusions-grid, .why-grid, .terms-grid { grid-template-columns: 1fr; gap: 12px; }
  .inclusion, .inclusion-wide { grid-column: auto; flex-direction: row; align-items: center; padding: 16px 18px; gap: 16px; }
  .inclusion h3 { font-family: var(--sans); font-size: 15px; line-height: 22px; font-weight: 600; }
  .inclusion .tag { margin-left: 4px; }
  .why-card { padding: 24px; }
  .why-num { font-size: 22px; }
  .package { padding: 28px 24px; }
  .price-now { font-size: 40px; }
  .term { padding: 16px 18px; }
  .cta-panel { padding: 56px 20px; border-radius: 20px; }
  .cta-panel h2 { font-size: 32px; line-height: 40px; }
  .cta-panel > p { font-size: 16px; line-height: 26px; }
  .cta-panel .btn-xl { width: 100%; padding: 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .header-actions .btn-sm { width: 40px; height: 40px; padding: 0; }
  .hero h1 { font-size: 32px; line-height: 40px; }
  .action-buttons .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot, .hero-content > *, .hero h1 em, .hero .sparkles span, .hero-glow, .bounce-arrow { animation: none; }
  .hero-particles, .hero-spotlight { display: none; }
  .btn, .card { transition: none; }
}
