/* NIRAN home refresh: warmer editorial palette, stronger hierarchy and clearer booking CTAs. */
:root {
  --home-accent: #d6f17c;
  --home-accent-ink: #1d2613;
  --home-night: #0d0e0c;
  --home-line: rgba(255, 255, 255, .18);
}

.site-header {
  background: linear-gradient(180deg, rgba(8, 9, 7, .56), transparent);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 10px 32px rgba(20, 18, 13, .08);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled .nav > a:not(.btn):hover { color: var(--gold); }
.hero {
  min-height: min(900px, 94svh);
  isolation: isolate;
  overflow: hidden;
  background: var(--home-night);
}
.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle at 76% 24%, rgba(214, 241, 124, .22), transparent 24%), linear-gradient(90deg, rgba(7, 8, 6, .86) 0%, rgba(7, 8, 6, .42) 48%, rgba(7, 8, 6, .16) 100%);
  content: "";
  pointer-events: none;
}
.hero::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(4, 5, 4, .76) 92%);
}
.hero-media { filter: saturate(.82) contrast(1.06); transform: scale(1.02); }
.hero-content { padding-top: 145px; }
.hero h1 { max-width: 820px; font-size: clamp(3.35rem, 6.4vw, 6rem); letter-spacing: -.062em; }
.hero h1 span { color: var(--home-accent); }
.hero .eyebrow { color: var(--home-accent); }
.hero .lead { max-width: 620px; font-size: clamp(1.04rem, 1.6vw, 1.28rem); }
.hero-actions { margin-top: 36px; }
.hero-actions .btn-light { color: var(--home-accent-ink); border-color: var(--home-accent); background: var(--home-accent); }
.hero-actions .btn-outline-light { border-color: rgba(255, 255, 255, .68); }
.hero-note { color: rgba(255, 255, 255, .72); }
.hero-glance {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: clamp(58px, 10vw, 128px);
  width: min(320px, calc(100% - 48px));
  padding: 24px;
  color: #fff;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: rgba(12, 14, 10, .48);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
}
.glance-top { display: flex; align-items: center; gap: 8px; color: var(--home-accent); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.glance-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--home-accent); box-shadow: 0 0 0 5px rgba(214, 241, 124, .14); }
.glance-year { margin-left: auto; color: rgba(255,255,255,.46); }
.glance-title { margin: 30px 0 24px; font-family: Georgia, serif; font-size: 2rem; line-height: 1.08; letter-spacing: -.04em; }
.glance-title em { color: var(--home-accent); font-style: italic; }
.glance-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; color: rgba(255,255,255,.68); border-top: 1px solid var(--home-line); font-size: .82rem; }
.glance-row strong { color: #fff; font-weight: 700; }
.glance-link { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; color: var(--home-accent); border-top: 1px solid var(--home-line); font-size: .82rem; font-weight: 800; }
.glance-link span { font-size: 1.1rem; line-height: 1; }
.trust-strip { position: relative; z-index: 4; margin-top: -1px; background: var(--home-accent); border-bottom: 0; }
.trust-item { border-left-color: rgba(29, 38, 19, .18); }
.trust-item strong, .trust-item span { color: var(--home-accent-ink); }
.section-head h2 { letter-spacing: -.05em; }
.story-card { border-color: rgba(255,255,255,.9); }
.portfolio-card { border-radius: 28px; }
.portfolio-card::after { inset: 32% 0 0; }
.package-card { border-radius: 26px; }
.package-card.featured { box-shadow: 0 20px 60px rgba(23,23,20,.2); transform: translateY(-8px); }
.package-card.featured:hover { transform: translateY(-13px); }
.cta-panel { background: var(--home-accent); box-shadow: 0 28px 70px rgba(77, 92, 36, .16); }
.cta-panel .btn-dark { background: var(--home-night); }
.mobile-cta { border-color: rgba(29, 38, 19, .16); }

@media (min-width: 961px) {
  .hero h1 span { white-space: nowrap; font-size: .84em; }
}

@media (max-width: 960px) {
  .hero-glance { right: 20px; bottom: 52px; }
  .hero-content { padding-top: 125px; padding-bottom: 190px; }
}
@media (max-width: 720px) {
  .hero { min-height: 790px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,8,6,.24), rgba(7,8,6,.88) 78%); }
  .hero-content { padding-top: 128px; padding-bottom: 272px; }
  .hero-glance { right: 14px; bottom: 24px; width: calc(100% - 28px); padding: 18px; }
  .glance-title { margin: 18px 0 12px; font-size: 1.55rem; }
  .glance-row { padding: 7px 0; }
  .glance-link { margin-top: 10px; padding-top: 10px; }
  .trust-grid { background: var(--home-accent); }
  .package-card.featured { transform: none; }
  .package-card.featured:hover { transform: translateY(-5px); }
}

/* Marketplace-style home — inspired by service discovery patterns, tailored to Ss_gallery. */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.marketplace-home .site-header { color: var(--ink); background: rgba(255,253,248,.94); box-shadow: 0 1px 0 rgba(23,23,20,.1); backdrop-filter: blur(18px); }
.marketplace-home .site-header .nav .btn { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.marketplace-home .site-header .brand-mark { border-color: rgba(23,23,20,.12); }
.marketplace-hero { position: relative; overflow: hidden; padding: calc(var(--header) + 70px) 0 76px; background: radial-gradient(circle at 8% 12%, rgba(214,241,124,.36), transparent 28%), linear-gradient(135deg,#fbfcf6 0%,#f1f5e8 54%,#e8eddd 100%); }
.marketplace-hero::after { position: absolute; right: -120px; top: 40px; width: 420px; height: 420px; border: 1px solid rgba(23,23,20,.08); border-radius: 50%; content: ""; }
.marketplace-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.03fr) minmax(420px,.97fr); gap: clamp(42px,7vw,96px); align-items: center; }
.marketplace-hero-copy { max-width: 670px; }
.marketplace-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #526128; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.marketplace-kicker span { width: 9px; height: 9px; border-radius: 50%; background: var(--home-accent); box-shadow: 0 0 0 6px rgba(214,241,124,.32); }
.marketplace-hero h1 { max-width: 720px; margin-bottom: 22px; font-family: "Leelawadee UI","Noto Sans Thai",sans-serif; font-size: clamp(3rem,5.5vw,5.5rem); font-weight: 850; line-height: 1.03; letter-spacing: -.065em; }
.marketplace-hero h1 em { color: #637a22; font-family: Georgia,"Times New Roman",serif; font-weight: 500; }
.marketplace-hero .lead { max-width: 610px; color: #53584d; }
.marketplace-search { display: grid; grid-template-columns:auto minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 30px; padding: 8px 8px 8px 18px; border: 1px solid rgba(23,23,20,.14); border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(45,54,24,.12); }
.marketplace-search > span { color: #78806e; font-size: 1.4rem; }
.marketplace-search input { min-width: 0; padding: 12px 0; border: 0; outline: 0; background: transparent; }
.marketplace-search .btn { min-height: 48px; padding-inline: 24px; border-radius: 13px; }
.marketplace-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.marketplace-chips button { padding: 7px 13px; color: #5f6658; border: 1px solid rgba(23,23,20,.13); border-radius: 999px; background: rgba(255,255,255,.64); cursor: pointer; font-size: .76rem; font-weight: 700; }
.marketplace-chips button:hover,.marketplace-chips button.is-active { color: var(--ink); border-color: var(--home-accent); background: var(--home-accent); }
.marketplace-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: #71776c; font-size: .74rem; }
.marketplace-proof strong { color: var(--ink); }
.marketplace-collage { position: relative; min-height: 570px; }
.marketplace-collage figure { position: absolute; margin: 0; overflow: hidden; border: 7px solid rgba(255,255,255,.94); border-radius: 25px; background: #dfe3d8; box-shadow: 0 24px 70px rgba(32,42,16,.17); }
.marketplace-collage img { width: 100%; height: 100%; object-fit: cover; }
.marketplace-collage figcaption { position: absolute; inset: auto 16px 14px; display: grid; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.marketplace-collage figcaption span { color: var(--home-accent); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.marketplace-collage figcaption strong { font-family: Georgia,serif; font-size: 1.45rem; }
.collage-main { z-index: 2; left: 0; top: 42px; width: 76%; height: 390px; transform: rotate(-2deg); }
.collage-small { z-index: 1; right: 0; width: 42%; height: 260px; }
.collage-top { top: 0; transform: rotate(4deg); }
.collage-bottom { bottom: 20px; transform: rotate(2deg); }
.collage-badge { position: absolute; z-index: 4; left: 20px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid rgba(23,23,20,.12); border-radius: 18px; background: rgba(255,253,248,.94); box-shadow: 0 16px 44px rgba(23,23,20,.13); backdrop-filter: blur(14px); }
.collage-badge .brand-mark { width: 42px; height: 42px; border-color: rgba(23,23,20,.12); }
.collage-badge strong,.collage-badge small { display: block; }
.collage-badge strong { font-size: .8rem; }
.collage-badge small { color: #7c8177; font-size: .68rem; }
.marketplace-trust { background: var(--paper); border-block: 1px solid var(--line); }
.marketplace-trust .trust-item { padding-block: 24px; }
.marketplace-trust .trust-item strong { font-family: inherit; font-size: .9rem; font-weight: 850; }
.marketplace-trust .trust-item span { font-size: .75rem; }
.market-services { background: #f8f9f5; }
.market-section-head { margin-bottom: 38px; }
.market-section-head h2 { font-family: "Leelawadee UI","Noto Sans Thai",sans-serif; font-size: clamp(2rem,3.4vw,3.25rem); font-weight: 850; }
.service-explorer { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 28px; align-items: start; }
.service-sidebar { position: sticky; top: calc(var(--header) + 18px); padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.sidebar-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sidebar-title button { padding: 0; color: #687637; border: 0; background: transparent; cursor: pointer; font-size: .7rem; font-weight: 800; }
.sidebar-group { display: grid; gap: 6px; padding-top: 16px; }
.sidebar-group p { margin: 0 0 6px; color: #868c82; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-group button { padding: 9px 11px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: .78rem; text-align: left; }
.sidebar-group button:hover,.sidebar-group button.is-active { color: #3d4b1b; background: #eef4dc; font-weight: 800; }
.service-guarantee { display: flex; gap: 10px; margin-top: 18px; padding: 14px; color: #334014; border-radius: 14px; background: var(--home-accent); }
.service-guarantee > span { display: grid; flex: 0 0 26px; height: 26px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.66); font-weight: 900; }
.service-guarantee strong { font-size: .76rem; }
.service-guarantee p { margin: 2px 0 0; font-size: .67rem; line-height: 1.5; }
.service-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.service-results-head > div { display: grid; }
.service-results-head strong { font-size: .95rem; }
.service-results-head span,.service-results-head a { color: #7e847a; font-size: .72rem; }
.service-results-head a { color: #526128; font-weight: 800; }
.service-market-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.service-card { overflow: hidden; border: 1px solid rgba(23,23,20,.12); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(23,23,20,.045); transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.service-card:hover { border-color: rgba(82,97,40,.35); box-shadow: 0 20px 48px rgba(32,42,16,.11); transform: translateY(-4px); }
.service-card.is-hidden { display: none; }
.service-card-media { position: relative; height: 235px; overflow: hidden; background: #e4e5de; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-media img { transform: scale(1.035); }
.service-badge { position: absolute; left: 12px; top: 12px; padding: 6px 9px; color: #32400f; border-radius: 999px; background: var(--home-accent); font-size: .64rem; font-weight: 850; }
.service-badge.is-dark { color: #fff; background: rgba(16,17,14,.82); }
.service-card-media button,.service-card-media > span:last-child { position: absolute; right: 12px; top: 12px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; color: var(--ink); border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 1.18rem; }
.service-card-body { padding: 16px 17px 18px; }
.service-seller { display: flex; align-items: center; gap: 7px; color: #6f756b; font-size: .69rem; }
.service-seller > strong { margin-left: auto; color: #9a7a25; font-size: .68rem; }
.service-seller i { display: inline-grid; width: 14px; height: 14px; place-items: center; color: #fff; border-radius: 50%; background: #617a1f; font-size: .52rem; font-style: normal; }
.service-avatar { display: grid; width: 26px; height: 26px; place-items: center; overflow: hidden; color: transparent; border: 1px solid var(--line); border-radius: 50%; background: #fff url("../images/ss-gallery-mark-64.png") center/cover no-repeat; font-size: 0; }
.service-card h3 { min-height: 52px; margin: 12px 0 8px; font-family: inherit; font-size: .94rem; font-weight: 800; line-height: 1.45; }
.service-card-body > p { min-height: 36px; margin-bottom: 14px; color: #80867c; font-size: .69rem; line-height: 1.55; }
.service-card-foot { display: flex; align-items: end; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.service-card-foot span { color: #8a9086; font-size: .67rem; }
.service-card-foot strong { font-size: 1.1rem; }
.service-empty { padding: 54px 20px; color: #7e847a; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.service-empty strong { color: var(--ink); }

@media (max-width: 1050px) {
  .marketplace-hero-grid { grid-template-columns: 1fr; }
  .marketplace-hero-copy { max-width: 760px; }
  .marketplace-collage { min-height: 500px; width: min(720px,100%); }
  .service-explorer { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .sidebar-group { grid-template-columns: repeat(3,1fr); }
  .sidebar-group p { grid-column: 1/-1; }
  .service-guarantee { display: none; }
}
@media (max-width: 720px) {
  .marketplace-hero { padding-top: calc(var(--header) + 42px); padding-bottom: 52px; }
  .marketplace-hero h1 { font-size: clamp(2.65rem,12vw,4rem); }
  .marketplace-search { grid-template-columns: auto 1fr; padding: 8px 12px; }
  .marketplace-search .btn { grid-column: 1/-1; width: 100%; }
  .marketplace-proof { gap: 10px 18px; }
  .marketplace-collage { min-height: 390px; }
  .collage-main { width: 82%; height: 275px; }
  .collage-small { width: 40%; height: 180px; }
  .collage-badge { left: 8px; bottom: 6px; }
  .marketplace-trust .trust-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
  .marketplace-trust .trust-item { padding: 18px 12px; border-bottom: 1px solid var(--line); }
  .marketplace-trust .trust-item:nth-child(odd) { border-left: 0; }
  .market-section-head { display: block; }
  .sidebar-group { grid-template-columns: 1fr 1fr; }
  .service-market-grid { grid-template-columns: 1fr; }
  .service-card-media { height: 230px; }
  .service-results-head { align-items: flex-start; }
}
