/* Silk Road Health — design system.
   Restrained, hospital-grade. Logical properties keep it RTL-safe.
   China-safe system font stack (no external font requests). */

:root {
  --brand: #0e5a63;
  --brand-600: #0b4a52;
  --brand-700: #073037;
  --accent: #2f8f99;
  --accent-soft: #d7ecee;
  --gold: #a9854e;
  --gold-soft: #f3ebe0;
  --ink: #12242a;
  --body: #3b4a50;
  --muted: #6c7b81;
  --bg: #fbfcfc;
  --bg-alt: #eef5f5;
  --bg-soft: #f5faf9;
  --line: #dce7e8;
  --line-strong: #c5d5d6;
  --ok: #1f8f5f;
  --danger: #b23b3b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, .04), 0 4px 14px rgba(15, 23, 32, .04);
  --shadow-md: 0 8px 28px rgba(15, 23, 32, .08), 0 2px 8px rgba(15, 23, 32, .04);
  --shadow-lg: 0 20px 48px rgba(15, 23, 32, .12);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans Arabic", Arial, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 820px; }

.icon { width: 26px; height: 26px; }
.ico-sm { width: 18px; height: 18px; vertical-align: -4px; }
.ico-xs { width: 15px; height: 15px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .22s var(--ease-out), background .18s ease, box-shadow .22s ease, color .15s ease, border-color .18s ease;
  text-align: center; line-height: 1.2;
}
.btn .ico-sm { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: linear-gradient(165deg, var(--accent) 0%, var(--brand) 55%, var(--brand-600) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14, 90, 99, .22);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(14, 90, 99, .28); filter: brightness(1.03); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn-outline {
  background: rgba(255,255,255,.72); color: var(--brand); border-color: var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-600); background: rgba(255,255,255,.92); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 252, .78);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid rgba(220, 231, 232, .85);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--brand); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-tag { font-size: .72rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav { display: flex; gap: 18px; margin-inline-start: 14px; }
.nav a { color: var(--body); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav a:hover { color: var(--brand); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.header-actions .btn { white-space: nowrap; }

.lang-switch { display: flex; gap: 2px; flex-wrap: wrap; }
.header-lang { background: var(--bg-alt); border-radius: 999px; padding: 3px; flex-wrap: nowrap; }
.lang-link { font-size: .82rem; font-weight: 600; color: var(--muted); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.header-lang .lang-link { padding: 5px 9px; font-size: .8rem; }
.lang-link:hover { color: var(--brand); }
.lang-link.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-inline-start: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav .container { display: flex; flex-direction: column; gap: 2px; padding-block: 12px; }
.mobile-nav a { padding: 11px 6px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-lang { margin-top: 10px; }

/* ---- Sections ---- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-alt { background: var(--bg-alt); }
.section-brand { background: linear-gradient(160deg, var(--brand-700), var(--brand)); color: #e9f4f4; }
.section-brand h2, .section-brand h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head h2::after {
  content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
  opacity: .85;
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-brand .section-head p { color: #b9dadb; }
.section-brand .section-head h2::after { background: linear-gradient(90deg, #7fd6c4, #d4b483); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0 0 12px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Soft section wash */
.section-soft {
  background:
    radial-gradient(720px 280px at 8% 0%, rgba(47, 143, 153, .08), transparent 55%),
    var(--bg-soft);
}

/* ---- Hero ---- */
.hero {
  position: relative; color: #eaf5f5;
  background:
    radial-gradient(900px 420px at 18% 90%, rgba(169, 133, 78, .22), transparent 55%),
    radial-gradient(1100px 460px at 78% -8%, rgba(47,143,153,.55), transparent 60%),
    linear-gradient(155deg, var(--brand-700) 0%, var(--brand) 62%, var(--brand-600) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; padding-block: clamp(64px, 12vw, 128px); text-align: center; margin-inline: auto; }
.hero-inner > .eyebrow,
.hero-inner > .hero-title,
.hero-inner > .hero-sub,
.hero-inner > .hero-cta,
.hero-inner > .hero-trust {
  animation: hero-rise .7s var(--ease-out) both;
}
.hero-inner > .hero-title { animation-delay: .06s; }
.hero-inner > .hero-sub { animation-delay: .12s; }
.hero-inner > .hero-cta { animation-delay: .18s; }
.hero-inner > .hero-trust { animation-delay: .26s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero .eyebrow { color: #9fd3d5; }
.hero-title { color: #fff; font-size: clamp(2.05rem, 5vw, 3.35rem); letter-spacing: -0.02em; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #d4e9e9; max-width: 720px; margin-inline: auto; margin-bottom: 2em; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: #dcefef; }
.hero-trust .ico-sm { color: #7fd6c4; }

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 14px; }
.grid-adv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-systems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-culture { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-diets { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(220, 231, 232, .9);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 90, 99, .18);
  background: rgba(255, 255, 255, .94);
}
.card h3, .card h4 { margin: 0 0 .35em; font-size: 1.05rem; letter-spacing: -0.015em; }
.card p { color: var(--body); margin: 0; font-size: .92rem; line-height: 1.55; }
.card-body { min-width: 0; flex: 1; }
.card-body h3, .card-body h4 { margin-bottom: .3em; }

/* Apple-like: icon left, copy right */
.card-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  text-align: start;
}
.card-row .card-icon,
.card-row .system-icon {
  flex: none;
  margin: 0;
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(165deg, #e8f4f5, #f7fbfb);
  color: var(--brand);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
  transition: transform .28s var(--ease-out);
}
.card-row:hover .card-icon,
.card:hover .card-icon { transform: scale(1.05); }
.card-icon .icon { width: 22px; height: 22px; }

/* Pricing: ALWAYS 4 equal columns on desktop/tablet; swipe only on small phones */
.container-price { max-width: 1280px; }
.section-pricing {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(900px 420px at 12% 20%, rgba(47, 143, 153, .18), transparent 60%),
    radial-gradient(800px 380px at 88% 80%, rgba(169, 133, 78, .12), transparent 55%),
    linear-gradient(165deg, #eaf4f5 0%, #f6f9f9 50%, #f0f5f3 100%);
}
.section-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(14, 90, 99, .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.section-pricing > .container { position: relative; z-index: 1; }
.price-row-wrap { width: 100%; padding-block: 8px 4px; }
.price-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px;
  align-items: stretch;
  width: 100% !important;
  min-width: 0 !important;
}

/* ---- Medical systems (西医 / 中医 / 藏医) — highlighted ---- */
.section-systems { background: var(--bg-soft); }
.system-card {
  position: relative;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(220, 231, 232, .95);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .2s ease;
}
.system-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(14, 90, 99, .2); }
.system-card h3 { margin: 0 0 .3em; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.015em; }
.system-card p { color: var(--body); margin: 0; font-size: .92rem; line-height: 1.55; }
.system-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin: 0;
  background: linear-gradient(150deg, var(--brand), var(--accent)); color: #fff;
  box-shadow: 0 6px 14px rgba(14, 90, 99, .2);
}
.system-icon .icon { width: 22px; height: 22px; }
.culture-card .card-icon { background: #eef6f4; color: var(--brand-600); }
.diet-card .card-icon { background: #f3f1e8; color: #6b5d3e; }
.culture-subhead {
  font-size: 1.02rem; font-weight: 700; color: var(--ink);
  margin: 8px 0 14px; letter-spacing: .02em;
}
.culture-subhead + .grid { margin-bottom: 22px; }

/* ---- Gallery (dining + medical environments) ---- */
.section-gallery { background: var(--bg); }
.gallery-subhead {
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  margin: 28px 0 16px; letter-spacing: .02em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-medical { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e8eee9; }
.gallery-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.gallery-card:hover .gallery-media img { transform: scale(1.04); }
.gallery-card figcaption { padding: 16px 18px 18px; }
.gallery-card h3 { font-size: 1.05rem; margin: 0 0 .35em; color: var(--ink); }
.gallery-card p { margin: 0; font-size: .92rem; color: var(--body); }
.gallery-note {
  margin: 22px auto 0; max-width: 820px; text-align: center;
  font-size: .84rem; color: var(--muted); line-height: 1.55;
}
.grid-audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.audience-card {
  background: rgba(255,255,255,.86); border: 1px solid rgba(220,231,232,.95);
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--brand);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .2s ease;
}
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.audience-card h3 { margin: 0 0 .5em; font-size: 1.12rem; color: var(--ink); }
.audience-card p { margin: 0; color: var(--body); font-size: .96rem; }

@media (max-width: 900px) {
  .gallery-grid, .gallery-medical, .grid-audiences {
    grid-template-columns: 1fr;
  }
}

.service-group { margin-top: 8px; }
.service-group + .service-group { margin-top: 40px; }
.service-group-title { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ---- Problems ---- */
.problems { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.problem-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.problem-q, .problem-a { display: flex; align-items: flex-start; gap: 10px; }
.problem-q { color: var(--ink); font-weight: 600; }
.problem-a { color: var(--body); }
.dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.dot-x { background: #fbeaea; position: relative; }
.dot-x::before, .dot-x::after { content: ""; position: absolute; width: 11px; height: 2px; background: var(--danger); border-radius: 2px; }
.dot-x::before { transform: rotate(45deg); }
.dot-x::after { transform: rotate(-45deg); }
.dot-check { background: #e4f4ec; color: var(--ok); }

/* ---- Why / stats ---- */
.stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 28px 24px; }
.stat-card .card-icon { background: rgba(255,255,255,.12); color: #bfe6e2; }
.stat-num { font-size: 2.1rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat-label { font-weight: 700; color: #d8efef; margin-bottom: 8px; }
.stat-card p { color: #b6d8d9; margin: 0; font-size: .95rem; }

/* ---- Process ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.86); border: 1px solid rgba(220,231,232,.95);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .28s var(--ease-out), box-shadow .28s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.step h3 { font-size: 1.08rem; margin-bottom: .25em; }
.step p { margin: 0; font-size: .96rem; color: var(--body); }

/* ---- Pricing ---- */
.price-compare, .price-includes {
  max-width: 820px; margin: 0 auto 18px; text-align: center; color: var(--body); font-size: .98rem;
}
.price-compare { font-weight: 600; color: var(--brand-700); }
.price-includes { color: var(--muted); margin-bottom: 28px; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: 100%;
  flex: unset !important;
  padding: 18px 14px;
  border-radius: var(--radius);
  /* Frosted glass */
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .65) inset,
    0 10px 28px rgba(12, 40, 45, .08);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.45), transparent 42%, transparent 70%, rgba(14,90,99,.04));
  opacity: .9;
}
.price-card > * { position: relative; z-index: 1; }
.price-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .72);
  border-color: rgba(14, 90, 99, .35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .8) inset,
    0 18px 36px rgba(12, 40, 45, .14),
    0 0 0 1px rgba(14, 90, 99, .08);
  z-index: 3;
}
.price-card.featured {
  background: rgba(255, 255, 255, .68);
  border-color: rgba(14, 90, 99, .55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 16px 36px rgba(14, 90, 99, .16);
}
.price-card.featured:hover {
  border-color: rgba(14, 90, 99, .75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .85) inset,
    0 26px 52px rgba(14, 90, 99, .22),
    0 0 0 1px rgba(14, 90, 99, .12);
}
.price-card.profit-hero { border-width: 1.5px; }
.price-tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--brand); background: rgba(242, 247, 247, .85); align-self: flex-start;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; line-height: 1.3;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.price-card.featured .price-tag { background: var(--brand); color: #fff; }
.price-card h3 { font-size: .98rem; line-height: 1.35; }
.price-amount { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 8px 0 2px; letter-spacing: -0.02em; }
.price-note { font-size: .78rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; line-height: 1.35; }
.price-feats { display: grid; gap: 7px; margin-bottom: 16px; }
.price-feats li { display: flex; align-items: flex-start; gap: 7px; font-size: .8rem; }
.price-feats .ico-xs { color: var(--ok); flex: none; margin-top: 2px; }
.price-card .btn { margin-top: auto; min-height: 42px; font-size: .88rem; padding-inline: 12px; }
.price-deposit { max-width: 780px; margin: 22px auto 0; text-align: center; font-weight: 600; color: var(--ink); font-size: .95rem; }
.price-disclaimer { max-width: 780px; margin: 14px auto 0; text-align: center; color: var(--muted); font-size: .86rem; }
/* Medium screens: still 4 in one row, tighter type */
@media (max-width: 1100px) and (min-width: 721px) {
  .container-price { max-width: 100%; }
  .price-row { gap: 8px; }
  .price-card { padding: 14px 10px; }
  .price-card h3 { font-size: .88rem; }
  .price-amount { font-size: 1.05rem; }
  .price-note { font-size: .72rem; }
  .price-feats li { font-size: .74rem; gap: 5px; }
  .price-tag { font-size: .62rem; padding: 4px 8px; }
  .price-card .btn { min-height: 38px; font-size: .8rem; padding: 8px 10px; }
}

/* Phones only: swipeable single row of 4 */
@media (max-width: 720px) {
  .container-price { padding-inline: 0; max-width: none; }
  .container-price > .section-head,
  .container-price > .price-compare,
  .container-price > .price-includes,
  .container-price > .price-deposit,
  .container-price > .price-disclaimer {
    padding-inline: 20px;
  }
  .price-row-wrap {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding-inline: 20px;
    padding-block: 10px 18px;
    scrollbar-width: thin;
    mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 24px), transparent 100%);
  }
  .price-row {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    width: max-content !important;
    min-width: 100% !important;
    padding-inline-end: 12px;
  }
  .price-card {
    flex: 0 0 min(270px, 82vw) !important;
    width: min(270px, 82vw) !important;
    scroll-snap-align: start;
    padding: 20px 16px;
  }
  .price-card h3 { font-size: 1.05rem; }
  .price-amount { font-size: 1.28rem; }
  .price-feats li { font-size: .88rem; }
  .price-card .btn { min-height: 46px; font-size: .92rem; }
}

/* Culture emphasis */
.diet-featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.culture-note { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: .9rem; color: var(--muted); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(9,30,34,.08); backdrop-filter: blur(8px);
}
.sticky-cta .btn { flex: 1; min-height: 48px; justify-content: center; }
.btn-wa { background: #128c7e; color: #fff; }
.btn-wa:hover { background: #0e7368; color: #fff; }
body.has-sticky-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform .2s ease; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; color: var(--body); }
.faq-a p { margin: 0; }

/* ---- Testimonials ---- */
.quote-card {
  background: rgba(255,255,255,.86); border: 1px solid rgba(220,231,232,.95);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .28s var(--ease-out), box-shadow .28s ease;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.03rem; color: var(--ink); position: relative; }
.quote-card blockquote::before { content: "\201C"; color: var(--gold); font-size: 2.4rem; line-height: 0; position: relative; inset-block-start: 12px; margin-inline-end: 4px; }
.quote-name { display: block; font-weight: 700; color: var(--ink); }
.quote-meta { display: block; color: var(--muted); font-size: .88rem; }

/* ---- Contact ---- */
.section-contact {
  background:
    radial-gradient(700px 320px at 85% 15%, rgba(47, 143, 153, .12), transparent 60%),
    var(--bg-alt);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .section-head { text-align: start; margin: 0 0 24px; }
.channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--radius-sm); padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--shadow-sm);
  color: var(--ink); text-align: start; width: 100%; font: inherit; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s ease, transform .28s var(--ease-out), box-shadow .28s ease, background .2s ease;
}
.channel:hover {
  border-color: rgba(14, 90, 99, .35); transform: translateY(-3px); color: var(--ink);
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-md);
}
.channel-ic {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(160deg, var(--accent-soft), #fff); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .28s var(--ease-out);
}
.channel:hover .channel-ic { transform: scale(1.06); }
.channel b { display: block; font-size: 1rem; }
.channel small { color: var(--muted); }

.contact-form-wrap {
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.88);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset, var(--shadow-md);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.contact-form { display: grid; gap: 16px; position: relative; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,90,99,.14); background: #fff; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; opacity: 0; }
.form-consent { font-size: .8rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.form-status.ok { background: #e6f5ee; color: var(--ok); }
.form-status.err { background: #fbeaea; color: var(--danger); }

/* ---- Modal ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9,30,34,.55); backdrop-filter: blur(2px); }
.modal-card { position: relative; background: #fff; border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow-lg); max-width: 320px; width: 100%; }
.modal-card h3 { margin-bottom: 16px; }
.modal-x { position: absolute; inset-block-start: 10px; inset-inline-end: 14px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.wechat-qr { width: min(280px, 100%); height: auto; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.modal-card-wechat { max-width: 340px; }
.wechat-id { margin: 14px 0 0; color: var(--body); }
.wechat-inline {
  margin: 22px 0 0; padding: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; max-width: 320px;
}
.wechat-inline img { width: 100%; height: auto; border-radius: 8px; display: block; }
.wechat-inline figcaption { margin-top: 12px; font-size: .92rem; color: var(--body); }
.footer-wechat-btn {
  display: block; background: none; border: 0; padding: 5px 0; font: inherit; color: inherit;
  text-align: start; cursor: pointer; width: 100%;
}
.footer-wechat-btn:hover { color: #fff; }
.btn-wechat { background: #07c160; color: #fff; }
.btn-wechat:hover { background: #06ad56; color: #fff; }
.sticky-cta .btn-wechat { border: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--brand-700); color: #b9d3d4; padding-block: 56px 24px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { color: #7fbfc4; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: #d7ebec; font-weight: 600; margin-bottom: 10px; }
.footer-disclaimer { font-size: .84rem; color: #92b6b8; max-width: 44ch; }
.footer-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a, .footer-wechat { display: block; color: #b9d3d4; padding: 5px 0; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: .86rem; color: #8fb2b4; }
.footer-lang .lang-link { color: #9cc0c1; }
.footer-lang .lang-link.is-active { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }

/* ---- Legal ---- */
.legal { padding-block: clamp(48px, 7vw, 80px); }
.legal-block { margin-bottom: 40px; }
.legal-block h2 { font-size: 1.6rem; padding-bottom: 10px; border-bottom: 2px solid var(--brand); display: inline-block; }
.legal-block h3 { font-size: 1.1rem; margin-top: 24px; }
.notfound { text-align: center; padding-block: 120px; }
.notfound h1 { font-size: 4rem; color: var(--brand); margin: 0; }

/* ---- RTL tweaks ---- */
[dir="rtl"] .hero-trust li,
[dir="rtl"] .price-feats li { text-align: start; }
[dir="rtl"] .quote-card blockquote::before { content: "\201D"; }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .brand-tag { display: none; }
}
/* Collapse the desktop nav into the hamburger before longer languages can overflow. */
@media (max-width: 1180px) {
  .nav, .header-lang, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { min-height: 60px; }
}
@media (max-width: 900px) {
  .grid-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-systems,
  .grid-services,
  .grid-culture,
  .grid-diets,
  .grid-quotes { grid-template-columns: 1fr; }
  .grid-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .grid-adv,
  .grid-why { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .problem-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; min-height: 48px; }
  .channel { min-height: 56px; padding: 14px; }
  .nav-toggle { width: 44px; height: 44px; }
  .sticky-cta:not([hidden]) { display: flex; }
  .price-card:hover { transform: translateY(-3px); }
  .card-row { gap: 12px; padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
