/* Leong Common Seal — Institutional / Heritage UI
   Aesthetic: quiet, typeset, document-like, with refined card structure
   No animations. Minimal JS. cPanel-friendly.
*/

:root{
  --bg: #fbfaf7;          /* paper */
  --surface: #ffffff;
  --text: #171717;        /* near-black */
  --muted: #4b4b4b;
  --line: #d7d4cd;        /* warm grey line */
  --line-2:#e6e3dd;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --pad: 24px;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.05);
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit; text-decoration:underline; text-underline-offset: 4px;}
a:hover{opacity:.92;}

img{max-width:100%; height:auto; display:block;}

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

header.site-header{
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, white 8%);
  border-bottom: 1px solid var(--line-2);
  z-index: 10;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 240px;
}
.brand img{
  width: 120px;
  height: auto;
}

.nav{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:flex-end;
}

.nav a{
  text-decoration:none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}
.nav a:hover{
  border-color: var(--line);
  background: white;
}
.nav a[aria-current="page"]{
  border-color: var(--line);
  background: white;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

main{
  padding: 56px 0 84px;
}

.kicker{
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

h1,h2,h3{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  margin: 0;
  letter-spacing: -0.01em;
}
h1{ font-size: 56px; line-height: 1.06; }
h2{ font-size: 34px; line-height: 1.15; }
h3{ font-size: 22px; line-height: 1.2; }

p, li{
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
}
p{margin: 16px 0;}
.muted{ color: var(--muted); }

/* Layout blocks */
.hero{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 34px;
  align-items:start;
}
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  h1{ font-size: 44px; }
}

.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  text-decoration:none;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}
.btn:hover{ box-shadow: 0 1px 0 rgba(0,0,0,.04); }

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: 0 0 0 rgba(0,0,0,0); /* keep quiet */
}

.card.soft{
  background: color-mix(in srgb, white 94%, var(--bg) 6%);
}

.card .card-title{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hr{
  height:1px;
  background: var(--line-2);
  margin: 18px 0;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid-3{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

.section{
  margin-top: 40px;
}
.section-title{
  margin: 0 0 10px;
}
.section-lede{
  margin-top: 10px;
  color: var(--muted);
}

.list{
  margin: 14px 0 0;
  padding-left: 18px;
}
.list li{ margin: 8px 0; }

/* Simple table-like hours */
.hours{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  margin-top: 12px;
}
.hours div{
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.hours .day{ color: var(--muted); }

footer.site-footer{
  border-top: 1px solid var(--line-2);
  padding: 26px 0 34px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.small{
  font-size: 14px;
  color: var(--muted);
}
.footer-title{
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.footer-links a{ display:block; margin: 6px 0; text-decoration: none; }
.footer-links a:hover{ text-decoration: underline; }

/* FAQ */
details{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
}
details + details{ margin-top: 14px; }
summary{
  cursor:pointer;
  list-style:none;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.25;
}
summary::-webkit-details-marker{ display:none; }
details[open] summary{ margin-bottom: 10px; }

/* ============================================================
   Product imagery — added for v2 (photo integration)
   Quiet, institutional. Soft warm backdrop, rounded corners,
   thin warm-grey border. Aspect-ratio framed so the grid stays
   tidy even if source photos vary in shape.
   ============================================================ */

.hero-image{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
}
.hero-image img{
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 980px){
  .hero-image{ min-height: 280px; padding: 18px; }
  .hero-image img{ max-height: 320px; }
}

.product-img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 12px;
}

/* Tighter image for the smaller package-component cards */
.pkg-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px){
  .pkg-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .pkg-grid{ grid-template-columns: 1fr; }
}

.pkg-item{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.pkg-item .pkg-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
}
.pkg-item .pkg-num{
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.pkg-item .pkg-name{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 6px;
}
.pkg-item .pkg-qty{
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Package hero — bigger banner image, lays alongside lay-flat photo */
.pkg-hero{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}
@media (max-width: 980px){
  .pkg-hero{ grid-template-columns: 1fr; }
}
.pkg-hero .pkg-banner{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.pkg-hero .pkg-banner img{
  width: 100%;
  border-radius: var(--radius-sm);
}
.pkg-hero .pkg-layout{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.pkg-hero .pkg-layout img{
  width: 100%;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Floating WhatsApp button (FAB) — persistent CTA
   Bottom-right on every page. Standard SEA service-business pattern.
   Includes hover label that slides out on desktop.
   ============================================================ */
.fab-wa{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.10);
  overflow: hidden;
  transition: padding-right .25s ease, box-shadow .2s ease;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.fab-wa-icon{
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fab-wa-icon svg{
  width: 28px;
  height: 28px;
  fill: #ffffff;
}
.fab-wa-label{
  max-width: 0;
  white-space: nowrap;
  opacity: 0;
  transition: max-width .25s ease, opacity .2s ease, padding-right .25s ease;
  overflow: hidden;
  line-height: 1;
}
.fab-wa:hover{
  box-shadow: 0 8px 28px rgba(0,0,0,.22), 0 3px 8px rgba(0,0,0,.12);
  padding-right: 20px;
}
.fab-wa:hover .fab-wa-label{
  max-width: 280px;
  opacity: 1;
  padding-right: 4px;
}
@media (max-width: 640px){
  .fab-wa{ right: 16px; bottom: 16px; height: 56px; }
  .fab-wa-icon{ width: 56px; height: 56px; }
  .fab-wa-icon svg{ width: 26px; height: 26px; }
  .fab-wa:hover{ padding-right: 0; }
  .fab-wa:hover .fab-wa-label{ max-width: 0; opacity: 0; }
}

/* Inline contact hint used at the end of product sections.
   Quiet line linking to WhatsApp and email. Not a button. */
.contact-hint{
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.contact-hint a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-hint a:hover{ opacity: .85; }
