:root {
  --teal-900: #0b3b3c;
  --teal-700: #135c5c;
  --teal-600: #167373;
  --gold-500: #d3a24c;
  --gold-600: #b8852f;
  --cream: #faf6ee;
  --ink: #1c2624;
  --ink-soft: #4c5a57;
  --border: #e4ddcd;
  --radius: 14px;
  --max-width: 1120px;
  --shadow: 0 12px 30px rgba(11, 59, 60, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans Khmer', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Fraunces', 'Noto Serif Khmer', Georgia, serif;
  color: var(--teal-900);
  margin: 0;
}

/* Khmer-mode adjustments: Khmer script has no case and reads tighter without letter-spacing */
html.km .eyebrow,
html.km .logo span,
html.km .contact-list strong {
  letter-spacing: normal;
  text-transform: none;
}

html.km p,
html.km li {
  line-height: 1.85;
}

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.logo {
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.logo span {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav a:hover { color: var(--teal-700); }

.header-call {
  white-space: nowrap;
}

/* Language switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans Khmer', sans-serif;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover { color: var(--teal-700); }

.lang-btn.active {
  background: var(--teal-700);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: 0.5rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--teal-700);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--teal-900); transform: translateY(-1px); }

.btn-call {
  background: var(--gold-500);
  color: var(--teal-900);
}

.btn-call:hover { background: var(--gold-600); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--teal-700);
  color: var(--teal-700);
}

.btn-ghost:hover { background: rgba(19, 92, 92, 0.08); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  gap: 0.5rem;
}

.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); }

.btn-whatsapp svg { width: 20px; height: 20px; }

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 6.5rem 0 7rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(11,59,60,0.94), rgba(19,92,92,0.82) 60%, rgba(11,59,60,0.55)),
    linear-gradient(0deg, rgba(11,59,60,0.5), transparent 40%);
}

.hero-inner { max-width: 720px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.eyebrow.center { text-align: center; }

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 2rem;
}

.hero .btn-ghost {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.hero .btn-ghost:hover { background: rgba(255,255,255,0.12); }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.stars {
  color: var(--gold-500);
  letter-spacing: 2px;
}

/* Floating stats card */
.floating-stats {
  position: relative;
  z-index: 5;
  background: var(--gold-500);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(11, 59, 60, 0.22);
  margin-top: -3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.5rem;
  justify-content: center;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--teal-900);
}

.strip-item strong { font-size: 0.95rem; }
.strip-item span { font-size: 0.85rem; opacity: 0.85; }

.strip-item-stat strong {
  font-family: 'Fraunces', 'Noto Serif Khmer', serif;
  font-size: 1.6rem;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0.25rem 0 2.5rem;
}

.section-title.center { text-align: center; }

/* Services intro */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.services-intro-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.services-intro-text .section-title { margin-bottom: 0.75rem; }
.services-intro-text p:last-child { color: var(--ink-soft); margin-bottom: 0; }

/* Banner */
.banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
  text-align: center;
  color: #fff;
  isolation: isolate;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(11,59,60,0.82), rgba(11,59,60,0.55));
}

.banner-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 0.75rem;
}

.banner-cite {
  color: var(--gold-500);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-list {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.about-list li { margin-bottom: 0.6rem; }

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-stat {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  background: var(--teal-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(11, 59, 60, 0.3);
}

.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.75rem;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  max-width: 160px;
  display: inline-block;
}

/* Reviews */
.reviews-heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 2.5rem;
}

.reviews-heading strong { color: var(--teal-900); }
.reviews-heading span {
  font-family: 'Inter', 'Noto Sans Khmer', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0 2.5rem;
  animation: reviews-scroll 55s linear infinite;
}

.reviews-marquee:hover .reviews-track,
.reviews-track.paused {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  width: min(360px, 82vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.55;
}

.quote-open { margin-bottom: 0.25rem; }
.quote-close { align-self: flex-end; margin-top: 0.25rem; }

.review-card p {
  color: var(--ink);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 0;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.reviewer {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex-grow: 1;
  min-width: 0;
}

.reviewer strong {
  font-size: 0.9rem;
  color: var(--teal-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviewer em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.google-g {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
}

.google-g { color: #4285F4; }

.reviews-source {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.reviews-source a {
  color: var(--teal-700);
  font-weight: 600;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-list strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
}

.contact-list a { color: var(--teal-700); font-weight: 600; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-name {
  color: #fff;
  font-weight: 600;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.footer-inner a { color: var(--gold-500); }

.footer-right { text-align: right; }
.footer-copy { margin-bottom: 0.25rem; }
.footer-credit { font-size: 0.78rem; opacity: 0.6; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .about-inner, .contact-inner, .services-intro {
    grid-template-columns: 1fr;
  }
  .about-media { order: -1; margin-bottom: 2.5rem; }
  .banner { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .about-stat {
    left: 0.75rem;
    bottom: -1.25rem;
    padding: 1.1rem 1.25rem;
  }
  .stat-number { font-size: 2.1rem; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-call { display: none; }
  .lang-btn { padding: 0.35rem 0.65rem; font-size: 0.75rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .section { padding: 3.25rem 0; }
  .floating-stats { flex-direction: column; gap: 1rem; margin-top: -2rem; }
  .banner { padding: 3.5rem 0; }
  .contact-map { height: 280px; }
  .footer-right { text-align: left; }
}
