/* =========================================================
   CINA Travel Australia — styles
   Brand: Accountable Blue #3a4e93 · Responsive White #e1e4ee
          Bespoke Gold · Hopeful Gray #9badc9
   Fonts: Kantumruy Pro (Khmer, Google-Sans-like), Poppins (English body),
          DM Serif Display (English headings, in place of Lovelace)
   Sized generously for older readers.
   ========================================================= */

:root {
  --blue: #3a4e93;
  --blue-deep: #2a3a73;
  --blue-soft: #e1e4ee;
  --gold: #c9a24d;
  --gray: #9badc9;

  --bg: #ffffff;
  --bg-tint: #eef1f8;
  --surface: #ffffff;
  --surface-2: #e9ecf5;
  --text: #1b2340;
  --text-muted: #4a5576;
  --heading: #2a3a73;
  --accent: var(--blue);
  --accent-contrast: #ffffff;
  --gold-text: #8a6716;
  --border: #d9deec;
  --shadow: 0 12px 32px -14px rgba(42, 58, 115, 0.28);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%233a4e93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.11'%3E%3Cpath d='M10 236C70 190 128 250 250 136' stroke-dasharray='3 8'/%3E%3Cg transform='translate(24 28) scale(1.7)'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/g%3E%3Cg transform='translate(160 36) scale(1.6)'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/g%3E%3Cg transform='translate(66 128) scale(1.5)'%3E%3Cpath d='M12 21s-7-5.6-7-11a7 7 0 0 1 14 0c0 5.4-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3Cg transform='translate(176 168) scale(1.6)'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/g%3E%3Cpath d='M128 104l3 6 6 3-6 3-3 6-3-6-6-3 6-3z'/%3E%3C/g%3E%3C/svg%3E");

  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --font-en: "Poppins", "Kantumruy Pro", system-ui, sans-serif;
  --font-en-head: "DM Serif Display", Georgia, serif;
  --font-km: "Kantumruy Pro", "Poppins", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1430;
    --bg-tint: #131a3b;
    --surface: #18204a;
    --surface-2: #202a5a;
    --text: #eceff8;
    --text-muted: #b6bfdb;
    --heading: #f3f5fc;
    --accent: #9aaeee;
    --accent-contrast: #0e1430;
    --gold-text: #e6c77e;
    --border: #2b3668;
    --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.65);
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23c9d3f5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.07'%3E%3Cpath d='M10 236C70 190 128 250 250 136' stroke-dasharray='3 8'/%3E%3Cg transform='translate(24 28) scale(1.7)'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/g%3E%3Cg transform='translate(160 36) scale(1.6)'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/g%3E%3Cg transform='translate(66 128) scale(1.5)'%3E%3Cpath d='M12 21s-7-5.6-7-11a7 7 0 0 1 14 0c0 5.4-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3Cg transform='translate(176 168) scale(1.6)'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/g%3E%3Cpath d='M128 104l3 6 6 3-6 3-3 6-3-6-6-3 6-3z'/%3E%3C/g%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1430;
  --bg-tint: #131a3b;
  --surface: #18204a;
  --surface-2: #202a5a;
  --text: #eceff8;
  --text-muted: #b6bfdb;
  --heading: #f3f5fc;
  --accent: #9aaeee;
  --accent-contrast: #0e1430;
  --gold-text: #e6c77e;
  --border: #2b3668;
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.65);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23c9d3f5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.07'%3E%3Cpath d='M10 236C70 190 128 250 250 136' stroke-dasharray='3 8'/%3E%3Cg transform='translate(24 28) scale(1.7)'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/g%3E%3Cg transform='translate(160 36) scale(1.6)'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/g%3E%3Cg transform='translate(66 128) scale(1.5)'%3E%3Cpath d='M12 21s-7-5.6-7-11a7 7 0 0 1 14 0c0 5.4-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3Cg transform='translate(176 168) scale(1.6)'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/g%3E%3Cpath d='M128 104l3 6 6 3-6 3-3 6-3-6-6-3 6-3z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- Language switching ---------- */
html[data-lang="km"] body [lang="en"],
html[data-lang="en"] body [lang="km"] { display: none !important; }

/* ---------- Base (large, readable type for older readers) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%;
  background-color: var(--bg);
  background-image: var(--pattern);
  background-size: 260px 260px;
}
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
html[data-lang="km"] body { font-family: var(--font-km); font-size: 1.06rem; line-height: 1.85; }
[lang="km-KH"] { font-family: var(--font-km); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3 { color: var(--heading); font-family: var(--font-en-head); font-weight: 400; margin: 0 0 .5em; line-height: 1.2; }
html[data-lang="km"] h1, html[data-lang="km"] h2, html[data-lang="km"] h3 { font-family: var(--font-km); font-weight: 700; line-height: 1.5; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 52px; padding: .75em 1.4em; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
:root[data-theme="dark"] .btn-primary { background: var(--accent); color: var(--accent-contrast); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { background: var(--accent); color: var(--accent-contrast); } }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-contrast); }
.btn-gold { background: var(--gold); color: #1b2340; }
.btn-gold:hover { background: #d8b360; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); margin-right: auto; min-width: 0; }
.brand-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; flex-shrink: 0; overflow: hidden; box-shadow: 0 0 0 1px var(--border); }
.brand-logo img { width: 48px; height: 48px; border-radius: 50%; }
.brand-logo-lg { width: 100px; height: 100px; }
.brand-logo-lg img { width: 92px; height: 92px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: .86rem; color: var(--gold-text); font-weight: 600; white-space: nowrap; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { background: var(--surface-2); color: var(--heading); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn, .lang-toggle {
  display: inline-grid; place-items: center; height: 44px; min-width: 44px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--heading); cursor: pointer; font: inherit;
}
.lang-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; font-size: .88rem; font-weight: 600; font-family: var(--font-km); }
.lang-sep { opacity: .4; }
.lang-opt { opacity: .5; }
html[data-lang="km"] .lang-opt[data-opt="km"], html[data-lang="en"] .lang-opt[data-opt="en"] { opacity: 1; color: var(--accent); }

.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}
.menu-btn { display: none; }

@media (max-width: 1140px) {
  .menu-btn { display: inline-grid; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .main-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .header-inner { gap: 8px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-logo img { width: 40px; height: 40px; }
  .brand { gap: 8px; }
  .brand-name { font-size: clamp(.7rem, 3.55vw, .95rem); line-height: 1.15; white-space: nowrap; letter-spacing: -.01em; }
  .header-tools { gap: 4px; }
  .brand-sub { font-size: .74rem; }
  .lang-toggle { padding: 0 9px; }
  .lang-toggle .lang-sep, html[data-lang="km"] .lang-opt[data-opt="km"], html[data-lang="en"] .lang-opt[data-opt="en"] { display: none; }
  .lang-toggle .lang-opt { opacity: 1; color: var(--accent); }
}
@media (max-width: 370px) {
  .brand-sub { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-logo img { width: 34px; height: 34px; }
  .brand-name { font-size: .66rem; }
}
/* Very narrow phones: let the name wrap rather than shrink to an unreadable size */
@media (max-width: 340px) { .brand-name { white-space: normal; } }

/* ---------- Upward slope edges (brand element) ---------- */
.slope { position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; z-index: 1; }
.slope-top { top: 0; background: linear-gradient(to bottom right, transparent calc(50% - 2px), var(--gold) calc(50% - 2px), var(--gold) calc(50% + 2px), transparent calc(50% + 2px)); }
.slope-bottom { bottom: 0; background: linear-gradient(to top left, transparent calc(50% - 2px), var(--gold) calc(50% - 2px), var(--gold) calc(50% + 2px), transparent calc(50% + 2px)); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 0 0 64px;
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--gray) 30%, transparent), transparent 60%),
    color-mix(in srgb, var(--bg-tint) 82%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
  margin-bottom: -64px;
}
.hero-grid { display: grid; }
.hero-copy { padding: 40px 0 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: .9rem; font-weight: 600; color: var(--gold-text);
  background: color-mix(in srgb, var(--gold) 18%, var(--bg)); padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow:hover { background: color-mix(in srgb, var(--gold) 30%, var(--bg)); }
.eyebrow svg { width: 1.1em; height: 1.1em; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); margin-bottom: .35em; }
html[data-lang="km"] .hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-muted); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Photo fills its side of the hero (full-bleed on phones) */
.hero-media { position: relative; margin: 28px -16px 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 52% 50%; }
.hero-badge {
  position: absolute; left: 16px; bottom: 80px; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: 14px; padding: 10px 16px; line-height: 1.35; font-size: .92rem;
  border-left: 4px solid var(--gold); color: var(--accent);
}
.hero-badge > span { display: flex; flex-direction: column; }
.hero-badge strong { color: var(--heading); }
.hero-badge span span { color: var(--text-muted); }
.hero-badge:hover strong { text-decoration: underline; }

/* Phones & tablets: photo leads the hero, framed in a leaf shape with a gold echo */
@media (max-width: 899px) {
  .hero-media { order: -1; margin: 22px 0 0 10px; isolation: isolate; }
  .hero-media::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    transform: translate(-10px, 10px);
    border: 2px solid var(--gold); border-radius: inherit;
  }
  .hero-media, .hero-media img { border-radius: 22px clamp(72px, 24vw, 160px) 22px clamp(72px, 24vw, 160px); }
  .hero-media img { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
  .hero-badge { left: auto; right: 14px; bottom: -22px; top: auto; }
  .hero-copy { padding-top: 46px; }
}
@media (min-width: 720px) and (max-width: 899px) { .hero-media img { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) {
  .hero .hero-grid { max-width: none; padding: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: min(78vh, 720px); }
  .hero-copy { align-self: center; padding: 64px 40px 120px max(28px, calc((100vw - var(--container)) / 2 + 28px)); }
  .hero-media { margin: 0; height: 100%; }
  .hero-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0 0 0 48px; }
  .hero-badge { left: 28px; bottom: 96px; }
}
/* ---------- Sections ---------- */
.section { position: relative; padding: 76px 0; }
@media (min-width: 900px) { .section { padding: 100px 0; } }
#services { padding-top: 120px; }
.section-tint {
  background: color-mix(in srgb, var(--bg-tint) 85%, transparent);
  padding-top: 120px;
  clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%);
}
.section-head { max-width: 760px; margin-bottom: 40px; }
.kicker { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6em; }
html[data-lang="km"] .kicker { letter-spacing: 0; font-size: 1rem; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
html[data-lang="km"] .section h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.section-lead { color: var(--text-muted); font-size: 1.08rem; }
.sub-head { font-size: 1.5rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px 26px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 55%, var(--border)); }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--text-muted); margin-bottom: 0; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--accent);
}
.service-icon svg { width: 28px; height: 28px; }
.tag {
  align-self: flex-start; margin-top: 14px; font-size: .85rem; font-weight: 600;
  padding: 3px 12px; border-radius: 999px; color: var(--gold-text);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}
.service-cta { background: var(--blue); border-color: var(--blue); color: #fff; justify-content: center; }
.service-cta h3 { color: #fff; }
.service-cta p { color: #dfe4f4; margin-bottom: 18px; }
.service-cta .btn { align-self: flex-start; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.why-photo { border-radius: var(--radius); margin-top: 24px; box-shadow: var(--shadow); width: 100%; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.value { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.value h3 { font-size: 1.2rem; margin-bottom: .3em; }
.value p { color: var(--text-muted); margin: 0; }
.value-num { font-family: "DM Serif Display", serif; font-size: 1.8rem; color: var(--gold); line-height: 1; min-width: 2ch; }

/* ---------- Sister company ---------- */
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sister-pair { display: grid; gap: 0; justify-items: center; max-width: 980px; margin: 0 auto; }
.sister-card {
  width: 100%; max-width: 400px; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: var(--radius);
  padding: 30px 24px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center;
}
.sister-logo {
  display: grid; place-items: center; width: 128px; height: 128px; margin: 0 auto 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--border), 0 0 0 8px color-mix(in srgb, var(--gold) 22%, transparent);
}
.sister-logo img { width: 112px; height: 112px; border-radius: 50%; object-fit: contain; }
.sister-place { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .3em; }
html[data-lang="km"] .sister-place { letter-spacing: 0; font-size: 1rem; }
.sister-card h3 { font-size: 1.3rem; margin-bottom: .2em; }
.sister-meta { color: var(--text-muted); margin-bottom: .8em; }
.sister-address {
  display: inline-flex; align-items: flex-start; gap: 8px; margin: auto 0 0; text-align: left;
  font-size: .95rem; color: var(--text); background: var(--surface-2); border-radius: 12px; padding: 8px 14px;
}
a.sister-address { text-decoration: none; transition: background .2s, color .2s; }
a.sister-address:hover { background: color-mix(in srgb, var(--gold) 20%, var(--surface-2)); color: var(--heading); text-decoration: underline; }
.sister-address svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2; }
.sister-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 14px 0 0; font-size: .95rem; }
.sister-contact a { color: var(--accent); font-weight: 600; text-decoration: none; }
.sister-contact a:hover { text-decoration: underline; }
.sister-link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; color: var(--gold); }
.sister-line { width: 0; height: 26px; border-left: 2px dashed var(--gold); }
.sister-plane {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 30%, transparent);
}
.sister-plane svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transform: rotate(135deg); }
.sister-mission { max-width: 760px; margin: 44px auto 0; text-align: center; color: var(--text-muted); font-size: 1.05rem; }
.sister-mission h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-bottom: .7em; }
.sister-mission p { margin: 0 0 1em; }
.sister-promise {
  display: inline-block; margin: .4em 0 0 !important; padding: 10px 22px; border-radius: 999px;
  font-weight: 700; color: var(--heading); background: color-mix(in srgb, var(--gold) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
}
@media (min-width: 760px) {
  .sister-pair { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .sister-link { align-self: center; }
  .sister-link { flex-direction: row; padding: 0 10px; }
  .sister-line { width: 34px; height: 0; border-left: 0; border-top: 2px dashed var(--gold); }
  .sister-plane svg { transform: rotate(45deg); }
}

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person:hover .person-photo img { transform: scale(1.03); }
.person-body { padding: 22px 22px 26px; border-top: 4px solid var(--gold); flex: 1; display: flex; flex-direction: column; }
.person-role { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); margin-bottom: .25em; }
html[data-lang="km"] .person-role { letter-spacing: 0; font-size: 1rem; }
.person h3 { font-size: 1.5rem; }
.person p { color: var(--text-muted); }
.person-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.person-link:hover { text-decoration: underline; }

/* ---------- Photo gallery: two gently moving rows, scrollable by hand ---------- */
.carousel { position: relative; margin: 0 -16px; }
@media (min-width: 720px) { .carousel { margin: 0 -28px; } }
.c-row {
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px 16px 12px; margin-bottom: 6px;
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 45%, transparent) transparent;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.c-row::-webkit-scrollbar { height: 8px; }
.c-row::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 8px; }
.m-item {
  all: unset; box-sizing: border-box; flex: 0 0 auto; height: 240px; cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; position: relative;
  background: var(--surface-2); box-shadow: 0 6px 18px -10px rgba(0,0,0,.4);
}
@media (min-width: 720px) { .m-item { height: 300px; } }
@media (min-width: 1200px) { .m-item { height: 340px; } }
.m-item img { height: 100%; width: auto; max-width: none; transition: transform .45s ease; }
.m-item:hover img { transform: scale(1.05); }
.m-item:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.c-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 52px; height: 52px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--heading);
  font: inherit; font-weight: 600; cursor: pointer;
}
.c-btn:hover { border-color: var(--accent); color: var(--accent); }
.c-btn svg { width: 22px; height: 22px; }
.c-play .c-play-label { display: none; }
.c-play[aria-pressed="true"] .c-play-label { display: inline; }
.c-play[aria-pressed="true"] .c-pause-label { display: none; }
/* ---------- Testimonials ---------- */
.testimonials { margin-top: 56px; }
.t-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.t-card::before { content: "“"; position: absolute; top: -6px; right: 18px; font-family: "DM Serif Display", serif; font-size: 4.5rem; color: var(--gold); line-height: 1; }
.t-card blockquote { margin: 0 0 16px; }
.t-who { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.t-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.t-who strong { display: block; color: var(--heading); }
.t-who a, .t-who span { color: var(--text-muted); font-size: .86rem; }

/* ---------- Facebook ---------- */
.fb-block {
  margin-top: 56px; display: grid; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
@media (min-width: 900px) { .fb-block { grid-template-columns: 1fr 520px; padding: 36px; } }
.fb-copy p { color: var(--text-muted); }
.fb-embed { display: flex; justify-content: center; min-width: 0; }
.fb-embed iframe { border: 0; width: 100%; max-width: 500px; height: 620px; border-radius: var(--radius-sm); background: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 36px; align-items: stretch; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--heading); margin-bottom: 2px; }
.contact-list a, .hours-row { display: block; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a { padding: 2px 0; }
.contact-list a:hover { text-decoration: underline; }
.c-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 20%, var(--bg)); color: var(--gold-text); flex-shrink: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 360px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; background: var(--blue-deep); color: #dce1f2; padding: 110px 0 120px;
  clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 900px) { .site-footer { padding-bottom: 44px; } }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-name { margin: 0; font-weight: 700; font-size: 1.15rem; color: #fff; font-family: "Poppins", sans-serif; }
.footer-km { margin: 0; color: #fff; font-weight: 600; }
.footer-tag { margin: 0; color: var(--gold); font-size: .92rem; }
.footer-copy { font-size: .88rem; color: #b4bde0; margin: 0; }
.footer-copy a { color: #fff; font-weight: 600; text-decoration: none; }

/* ---------- Mobile quick bar ---------- */
.quick-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--blue); border-radius: 18px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
  padding: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
.quick-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; border-radius: 12px; }
.quick-bar a:active { background: rgba(255,255,255,.12); }
.quick-bar svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .quick-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 12, 30, .9); }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-size: 1.05rem; }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; display: grid; place-items: center; }
.lb-close { top: 8px; right: 8px; }
.lb-nav { top: calc(41vh - 24px); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Small screens ---------- */
@media (max-width: 899px) {
  .hero-grid > *, .why-grid > *, .contact-grid > *, .fb-block > * { min-width: 0; }
}
html[data-lang="km"] p, html[data-lang="km"] figcaption { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; translate: none; }
}
