:root {
  --cm-gold: #feac01;
  --cm-gold-deep: #e09500;
  --cm-ink: #0d0c0a;
  --cm-ink-soft: #2a241c;
  --cm-cream: #f7f1e6;
  --cm-sand: #ebe2d2;
  --cm-muted: #6b6258;
  --cm-white: #fffdf8;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow-soft: 0 18px 40px rgba(13, 12, 10, 0.18);
  --nav-h: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--cm-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(254, 172, 1, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(42, 36, 28, 0.06), transparent 50%),
    var(--cm-cream);
  line-height: 1.6;
}

h1, h2, h3, h4, .display-4, .brand-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

a {
  color: var(--cm-ink-soft);
}

.site-nav {
  background: rgba(13, 12, 10, 0.92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(254, 172, 1, 0.25);
  min-height: var(--nav-h);
}

.site-nav .navbar-brand {
  gap: 0.65rem;
}

.site-nav .brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cm-gold);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.site-nav .brand-wordmark span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.72);
}

.site-nav .nav-link {
  color: rgba(255, 253, 248, 0.86) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
  color: var(--cm-gold) !important;
}

.btn-gold {
  background: var(--cm-gold) !important;
  color: var(--cm-ink) !important;
  border: 0 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(254, 172, 1, 0.28);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--cm-gold-deep) !important;
  color: var(--cm-ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(254, 172, 1, 0.35);
}

.navbar-toggler {
  background: var(--cm-gold) !important;
  border: 0;
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 12, 10, 0.72) 0%, rgba(13, 12, 10, 0.45) 45%, rgba(13, 12, 10, 0.78) 100%),
    url("../img/ChiangmaiBGVid.gif") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--cm-cream));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  color: var(--cm-white);
}

.hero-logo {
  width: clamp(120px, 18vw, 168px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  animation: floatSoft 5.5s ease-in-out infinite;
}

.hero .brand-title {
  color: var(--cm-gold);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.35rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero .brand-tagline {
  color: rgba(230, 205, 155, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-style: italic;
  margin-bottom: 1rem;
}

.hero .brand-copy {
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 auto 1.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.page-hero {
  min-height: 42vh;
}

.section {
  padding: 4.5rem 0;
}

.section-gold {
  background:
    linear-gradient(135deg, rgba(254, 172, 1, 0.92), rgba(224, 149, 0, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 45%);
  color: var(--cm-ink);
}

.section-ink {
  background: linear-gradient(160deg, #14110e 0%, #241e17 100%);
  color: var(--cm-white);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--cm-muted);
  font-size: 1.1rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-gold .section-lead,
.section-ink .section-lead {
  color: inherit;
  opacity: 0.9;
}

.promo-panel {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(13, 12, 10, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.35);
  backdrop-filter: blur(4px);
}

.promo-panel strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.split-copy h2 {
  margin-bottom: 1rem;
}

.split-copy p,
.split-copy li {
  color: var(--cm-ink-soft);
}

.split-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

.service-card {
  height: 100%;
  border: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: var(--cm-white);
  box-shadow: 0 10px 28px rgba(13, 12, 10, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 12, 10, 0.16);
}

.service-card .card-img-top {
  height: 210px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.4rem 1.35rem 1.5rem;
}

.service-card .card-title {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.service-card .card-text {
  color: var(--cm-muted);
  margin-bottom: 1rem;
}

.contact-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(13, 12, 10, 0.08);
}

.contact-block li {
  margin-bottom: 0.45rem;
}

.map-frame {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  min-height: 360px;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background: var(--cm-ink) !important;
  border-top: 1px solid rgba(254, 172, 1, 0.2);
}

.site-footer h3 {
  color: var(--cm-gold) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.site-footer .link-light {
  text-decoration: none;
  opacity: 0.88;
}

.site-footer .link-light:hover {
  color: var(--cm-gold) !important;
  opacity: 1;
}

.privacy-wrap {
  background: var(--cm-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(13, 12, 10, 0.08);
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo { animation: none; }
  .btn-gold,
  .service-card { transition: none; }
}

@media (max-width: 767.98px) {
  .hero-inner { padding-top: 4.5rem; }
  .site-nav .brand-wordmark { font-size: 1.15rem; }
}
