/*
Theme Name: MedChina Calm Clinical
Theme URI: https://medchina.me/
Author: MedChina
Description: A performance-first Gutenberg block theme for an international medical travel platform.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: medchina
*/

:root {
  --mc-ink: #102a2e;
  --mc-blue: #075a78;
  --mc-blue-dark: #073d53;
  --mc-green: #2d6a4f;
  --mc-mint: #e7f1ec;
  --mc-sand: #f3efe7;
  --mc-line: #dbe5e2;
  --mc-white: #ffffff;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .2em; }
img { height: auto; }

.mc-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(16,42,46,.09);
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.94);
}
.admin-bar .mc-site-header { top: 32px; }
.mc-eyebrow { letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; font-weight: 700; }
.mc-hero { min-height: clamp(650px, 80vh, 850px); overflow: hidden; }
.mc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(176,219,202,.5), transparent 30%), linear-gradient(120deg, #edf5f2 0%, #f8faf8 45%, #dfece8 100%);
}
.mc-hero > .wp-block-cover__inner-container { position: relative; }
.mc-hero-art {
  min-height: 480px;
  border-radius: 240px 240px 32px 32px;
  background: linear-gradient(145deg, rgba(7,90,120,.94), rgba(45,106,79,.78));
  box-shadow: 0 32px 90px rgba(7,61,83,.18);
  position: relative;
  overflow: hidden;
}
.mc-hero-art::before { content: "+"; position: absolute; color: rgba(255,255,255,.13); font: 300 17rem/1 Georgia,serif; right: 10%; top: 9%; }
.mc-hero-art::after { content: "CHENGDU · CHINA"; position: absolute; left: 9%; bottom: 8%; color: white; letter-spacing: .2em; font-size: .72rem; }
.mc-stat { border-left: 1px solid var(--mc-line); padding-left: 1.25rem; }
.mc-card {
  height: 100%;
  border: 1px solid var(--mc-line);
  border-radius: 18px;
  background: var(--mc-white);
  box-shadow: 0 12px 40px rgba(16,42,46,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mc-card:hover { transform: translateY(-5px); box-shadow: 0 22px 60px rgba(16,42,46,.10); }
.mc-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-mint); color: var(--mc-green); font-weight: 800; }
.mc-number { font: 400 3rem/1 Georgia,serif; color: var(--mc-green); }
.mc-quote { position: relative; }
.mc-quote::before { content: "“"; position: absolute; top: 8px; right: 24px; font: 5rem/1 Georgia,serif; color: rgba(45,106,79,.12); }
.mc-logo { min-height: 90px; display: flex; align-items: center; justify-content: center; text-align: center; color: #516266; border: 1px solid var(--mc-line); border-radius: 12px; background: white; font-size: .8rem; letter-spacing: .05em; }
.mc-package-featured { border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, #0a5368, #174b45); color: white; }
.mc-package-featured a { color: white; }
.mc-footer a { color: #d9e7e3; text-decoration: none; }
.mc-footer a:hover { color: white; text-decoration: underline; }
.wp-block-navigation a { text-decoration: none; }
.wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(7,90,120,.18); }
.mc-section { scroll-margin-top: 100px; }

@media (max-width: 782px) {
  .admin-bar .mc-site-header { top: 46px; }
  .mc-hero { min-height: auto; }
  .mc-hero-art { min-height: 300px; border-radius: 150px 150px 24px 24px; }
  .mc-stat { border-left: 0; border-top: 1px solid var(--mc-line); padding: 1rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
