/* ร้านรุ่งมะลิสด */
:root {
  color-scheme: light;
  --primary: #174572;
  --primary-dark: #112d4a;
  --primary-light: #e9f1f8;
  --accent-gold: #896024;
  --accent-gold-light: #f8eedc;
  --accent-green: #245d49;
  --success-surface: #eaf4ed;
  --page: #faf9f5;
  --white: #fff;
  --off-white: #f3f6f8;
  --text-dark: #172c40;
  --text-body: #344658;
  --text-muted: #526375;
  --border: #dbe3e9;
  --action: #174572;
  --action-hover: #0e3156;
  --action-text: #fff;
  --focus: #176aae;
  --shadow-sm: 0 3px 12px rgba(17, 45, 74, 0.06);
  --shadow-md: 0 12px 32px rgba(17, 45, 74, 0.11);
  --shadow-lg: 0 18px 48px rgba(17, 45, 74, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --transition: 180ms ease;
  --font-th: 'Sarabun', 'Leelawadee UI', Tahoma, sans-serif;
  --font-heading: 'Noto Serif Thai', 'Thonburi', 'Sarabun', serif;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root:lang(en) { --font-heading: var(--font-en); }
:root:lang(zh) { --font-heading: var(--font-zh); }

[data-theme="dark"] {
  color-scheme: dark;
  --primary: #a3cffb;
  --primary-dark: #e1effd;
  --primary-light: #213950;
  --accent-gold: #efd4a4;
  --accent-gold-light: #3a3024;
  --accent-green: #b0dfc5;
  --success-surface: #213c35;
  --page: #101d2c;
  --white: #192a3c;
  --off-white: #132234;
  --text-dark: #f3f7fb;
  --text-body: #d9e4ee;
  --text-muted: #bacbdc;
  --border: #34495d;
  --action: #b3d8fb;
  --action-hover: #cde6ff;
  --action-text: #102942;
  --focus: #a3cffb;
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.27);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset, 7.75rem); }
body {
  font-family: var(--font-th);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--page);
}
body:lang(en) { font-family: var(--font-en); }
body:lang(zh) { font-family: var(--font-zh); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 78rem; margin-inline: auto; padding-inline: clamp(1rem, 3.5vw, 2.25rem); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
[hidden], .hidden { display: none !important; }
:where(a, button):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: fixed;
  inset: 0.5rem auto auto 0.5rem;
  z-index: 1200;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transform: translateY(calc(-100% - 1rem));
}
.skip-link:focus { transform: translateY(0); }
#main-content:focus, main section[tabindex="-1"]:focus { outline: none; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.top-bar { background: #112d4a; color: #fff; font-size: 0.875rem; }
.top-bar-inner, .top-bar-details, .top-bar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.top-bar-inner { min-height: 3.15rem; justify-content: space-between; }
.top-bar-details { gap: 0.9rem; }
.top-bar-details a { white-space: nowrap; color: #d9e8f6; }
.top-bar-details a:first-of-type { border-inline-start: 1px solid #7892aa; padding-inline-start: 0.9rem; }
.top-bar-details a:hover { text-decoration: underline; }
.top-bar :focus-visible { outline-color: #f7d9a7; outline-offset: 2px; }
.lang-switcher { display: flex; gap: 0.2rem; }
.theme-toggle-btn, .lang-btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  padding: 0.2rem 0.55rem;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.theme-toggle-btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.theme-toggle-btn:hover, .lang-btn:hover { background: #274965; }
.lang-btn.active { background: #f0f6fc; color: #133757; }
.navbar {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; padding-block: 0.4rem; }
.logo-img { width: 3rem; height: 3rem; object-fit: contain; flex-shrink: 0; }
.logo-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}
.logo-sub { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--primary-light); color: var(--primary); }
.nav-link.nav-cta { margin-inline-start: 0.35rem; background: var(--action); color: var(--action-text); padding-inline: 1rem; }
.nav-link.nav-cta:hover { background: var(--action-hover); }
.hamburger {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  background: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hamburger.active { background: var(--primary-light); border-color: var(--primary); }
.hamburger-icon { display: grid; gap: 4px; }
.hamburger-icon span { width: 17px; height: 2px; background: currentColor; border-radius: 2px; }

/* === HERO === */
.hero {
  background: var(--page);
  padding-block: clamp(2.3rem, 5.6vw, 5.4rem);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4.25rem);
}
.hero-content { min-width: 0; }
.hero-title {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.24;
  margin-bottom: 1.15rem;
}
.hero-title-main, .hero-title-accent { display: block; }
.hero-title-accent {
  color: var(--primary);
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.42;
}
.hero-desc { max-width: 35rem; font-size: 1.0625rem; line-height: 1.72; margin-bottom: 1.3rem; }
.hero-desc strong { color: var(--text-dark); }
.hero-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.3rem; }
.hero-feat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--success-surface);
  color: var(--accent-green);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}
.feat-icon { font-family: system-ui, sans-serif; }
.hero-price-badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.55rem; margin-bottom: 1.1rem; }
.price-label { color: var(--text-muted); font-size: 0.9375rem; }
.price-amount { color: var(--accent-gold); white-space: nowrap; }
.price-value { font: 700 2rem/1 var(--font-en); }
.price-unit { font-size: 0.975rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-trust-stars { color: var(--accent-gold); margin-top: 0.9rem; font-size: 0.875rem; font-weight: 600; }
.hero-photo {
  aspect-ratio: 1.14;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--accent-gold-light);
  box-shadow: var(--shadow-lg);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }

.social-icon-sm {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.social-icon-footer {
  width: 26px;
  height: 26px;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.footer-social a:hover .social-icon-footer {
  transform: scale(1.15);
}

.proxy-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-fb-proxy {
  background: #175aab;
  color: white;
  box-shadow: 0 4px 16px rgba(24,119,242,0.3);
}
.btn-fb-proxy:hover {
  background: #1464cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,242,0.4);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn-primary { background: var(--action); color: var(--action-text); }
.btn-primary:hover { background: var(--action-hover); }
.btn-outline { background: var(--white); color: var(--primary); border-color: var(--border); }
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); }

/* === TRUST STRIP === */
.trust-strip { background: var(--white); border-block: 1px solid var(--border); }
.trust-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1.15rem 0.9rem; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--border); }
.trust-item > div { display: grid; gap: 0.15rem; }
.trust-item strong { color: var(--text-dark); font-size: 0.975rem; font-weight: 700; }
.trust-item div > span { color: var(--text-muted); font-size: 0.875rem; line-height: 1.45; }
.trust-icon { font-size: 1.35rem; flex-shrink: 0; }

/* === SECTION COMMON === */
.section { padding-block: clamp(3.3rem, 6.5vw, 6rem); }
.section-header { text-align: center; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.section-badge {
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.section-title.left { text-align: left; }
.section-desc { max-width: 39rem; margin-inline: auto; color: var(--text-muted); }

/* === SERVICES / PACKAGES === */
.services-section { background: var(--page); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
  margin-bottom: 1.75rem;
}
.package-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.package-card.popular { border-color: var(--primary); }
.package-card.premium .package-header { background: var(--accent-gold-light); color: var(--accent-gold); }
.package-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 1.05rem 1.25rem;
  background: var(--primary-light);
  color: var(--primary);
}
.pkg-price { font: 700 clamp(1.45rem, 2.4vw, 2rem)/1.2 var(--font-en); }
.pkg-price span { font: 600 0.975rem/1.35 var(--font-heading); }
.pkg-icon { font-size: 1.45rem; }
.popular-tag {
  border: 1px solid currentColor;
  border-radius: 2rem;
  padding: 0.13rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}
.package-body { padding: 1.2rem 1.25rem; }
.pkg-name { font: 700 1.125rem/1.45 var(--font-heading); color: var(--text-dark); margin-bottom: 0.4rem; }
.pkg-desc { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.pkg-features { display: grid; gap: 0.2rem; }
.pkg-features li { font-size: 0.975rem; color: var(--accent-green); font-weight: 600; }
.service-cta { text-align: center; background: var(--primary-light); border-radius: var(--radius-md); padding: 1.25rem; }
.service-cta p { font-size: 1.0625rem; color: var(--text-dark); margin-bottom: 0.75rem; font-weight: 700; }
.cta-buttons { display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap; }

/* === HISTORY === */
.history-section {
  background: var(--off-white);
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.history-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.history-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}
.history-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.history-icon { font-size: 36px; margin-bottom: 10px; }
.history-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.history-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.history-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.temple-info-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}
.temple-info-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.info-icon { font-size: 24px; }
.temple-info-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
}
.temple-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.info-item {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
}
.info-label {
  display: block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.info-value { font-size: 14px; color: var(--text-dark); font-weight: 500; }

/* === PRAYER === */
.prayer-section { background: var(--white); }
.prayer-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
  flex-wrap: wrap;
}
.prayer-tab {
  min-height: 44px;
  padding: 12px 28px;
  border-radius: 30px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.prayer-tab.active, .prayer-tab:hover {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.prayer-steps { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.prayer-step {
  display: flex;
  gap: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.prayer-step:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--action);
  color: var(--action-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30,144,255,0.35);
}
.step-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.step-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.prayer-chant {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.9;
  font-style: normal;
}
.prayer-chant.highlight {
  background: var(--accent-gold-light);
  border-left: 4px solid var(--accent-gold);
}
.chant-thai {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  display: block;
}

/* === JASMINE SECTION === */
.jasmine-section {
  background: var(--off-white);
}
.jasmine-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}
.jasmine-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.jasmine-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.jasmine-img-wrap:hover .jasmine-img { transform: scale(1.04); }
.jasmine-img-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  width: max-content;
  max-width: calc(100% - 1rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.jasmine-content { display: flex; flex-direction: column; gap: 16px; }
.jasmine-reasons { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.reason-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.reason-icon { font-size: 28px; flex-shrink: 0; }
.reason-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.reason-item p { font-size: 1rem; color: var(--text-muted); line-height: 1.65; }

/* === GALLERY === */
.gallery-section { background: var(--white); }

/* New photo grid layout */
.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.gallery-photo-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-photo-item:hover img {
  transform: scale(1.07);
}
.gp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 37, 57, 0.91), transparent 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.gallery-photo-item:hover .gp-overlay, .gallery-photo-item:focus-visible .gp-overlay { opacity: 1; }
.gp-overlay span:first-child { font-size: 28px; }
@media (max-width: 600px) {
  .gallery-photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* LINE tag in contact */
.line-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 500;
  margin-top: 2px;
}

/* WeChat button */
.wechat-btn {
  background: var(--success-surface);
  color: var(--accent-green);
  justify-content: center;
}
.wechat-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* Chant transliteration note */
.chant-transliteration {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-wrapper iframe { position: absolute; top:0; left:0; width:100%; height:100%; }
.gallery-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gp-gold { background: linear-gradient(135deg, #d4a843, #a07830); }
.gp-blue { background: linear-gradient(135deg, #1e90ff, #0056b3); }
.gp-green { background: linear-gradient(135deg, #3a9e6e, #1d6b43); }
.gp-content { text-align: center; color: white; padding: 20px; }
.gp-icon { font-size: 48px; margin-bottom: 12px; }
.gp-content p { font-size: 14px; font-weight: 600; line-height: 1.6; }
.gallery-caption {
  background: var(--white);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  border-top: 1px solid var(--border);
}
.gallery-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.social-link.fb { background: #175aab; color: white; }
.social-link.line { background: #177246; color: white; }
.social-link:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* === CONTACT === */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 40px; margin-bottom: 14px; }
.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.contact-persons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.contact-person { display: flex; flex-direction: column; gap: 4px; }
.person-name { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.contact-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
  letter-spacing: 0.5px;
}
.contact-number:hover { color: var(--primary-dark); }
.contact-note { font-size: 12px; color: var(--text-muted); }
.contact-card p { font-size: 1rem; color: var(--text-body); line-height: 1.7; margin-bottom: 8px; }
.social-links-contact { display: grid; gap: 0.6rem; }
.social-btn {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.fb-btn { background: #175aab; color: white; }
.line-btn { background: #177246; color: white; }
.gmap-btn { background: var(--primary-light); color: var(--primary); }
.social-btn:hover { transform: translateY(-2px); opacity: 0.9; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.map-container { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { display: block; width: 100%; border: 0; }

/* === FLOATING CTA === */
.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  z-index: 500;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.floating-cta img { object-fit: contain; }

/* === FOOTER === */
.footer {
  background: #0d1f38;
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
/* Footer logo image */
.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}
.footer-logo-icon { font-size: 36px; }
.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: white;
}
.footer-logo-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  font-size: 24px;
  transition: var(--transition);
  opacity: 0.7;
}
.footer-social a:hover { opacity: 1; transform: scale(1.15); }
.footer-links h4, .footer-contact h4, .footer-hashtags h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links a:hover, .footer-contact-items a:hover { color: #c5e1fb; text-decoration: underline; }
.footer-contact-items { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-items div { font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-contact-items a { color: rgba(255,255,255,0.65); }
.hashtag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.hashtag-cloud span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  transition: var(--transition);
  cursor: default;
}
.hashtag-cloud span:hover {
  background: rgba(30,144,255,0.3);
  border-color: var(--primary);
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.875rem; color: #b4c5d7; }
.footer :focus-visible { outline-color: #a3cffb; }

/* === RESPONSIVE === */
@media (max-width: 68rem) {
  .top-bar-details a { display: none; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--white);
    max-height: min(65dvh, 32rem);
    overflow-y: auto;
    padding: 0.85rem clamp(1rem, 3.5vw, 2.25rem) 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: grid; gap: 0.2rem; }
  .nav-link { padding-inline: 0.85rem; }
  .nav-link.nav-cta { margin: 0.3rem 0 0; }
  .hamburger { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .jasmine-flex { gap: 2rem; }
}
@media (max-width: 49rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { aspect-ratio: 5 / 3; }
  .hero-title { font-size: clamp(1.95rem, 6vw, 3.15rem); }
  .hero-title-accent { font-size: clamp(1.2rem, 4vw, 1.58rem); }
  .trust-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(odd) { border-inline-start: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jasmine-flex { grid-template-columns: minmax(0, 1fr); }
  .jasmine-img-wrap { max-width: 28rem; margin-inline: auto; }
  .footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .floating-cta { inset-inline: 0.75rem; bottom: max(0.55rem, env(safe-area-inset-bottom)); }
  .floating-cta .btn { flex: 1; }
}
@media (max-width: 35rem) {
  .top-bar-details { display: none; }
  .top-bar-inner { justify-content: center; }
  .top-bar-controls { gap: 0.25rem; }
  .theme-toggle-btn, .lang-btn { padding-inline: 0.43rem; }
  .hero { padding-top: 1.9rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-photo { border-radius: var(--radius-md); }
  .trust-item { gap: 0.35rem; padding: 0.8rem 0.5rem; }
  .trust-icon { font-size: 1.1rem; }
  .packages-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .prayer-step { flex-direction: column; }
  .prayer-tab { flex: 1 1 auto; padding-inline: 0.6rem; }
  .service-cta .btn { width: 100%; }
}
@media (hover: none) {
  .gp-overlay { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
