/* Uhang GEO managed website design system v0.3 */
.uhgeo-managed-page .entry-header,
.uhgeo-managed-page .page-header,
.uhgeo-managed-page .entry-title {
  display: none;
}

.uhgeo-managed-page .entry-content,
.uhgeo-managed-page .site-main,
.uhgeo-managed-page article.page {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.uhgeo-site-page {
  --uhgeo-primary: #102a43;
  --uhgeo-accent: #0f766e;
  --uhgeo-surface: #f4f8fa;
  --uhgeo-text: #172b4d;
  --uhgeo-radius: 18px;
  --uhgeo-ink: #0b1f33;
  --uhgeo-muted: #5d7185;
  --uhgeo-line: rgba(16, 42, 67, 0.12);
  --uhgeo-width: 1240px;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  overflow: clip;
  color: var(--uhgeo-text);
  background: #fff;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.uhgeo-site-page *,
.uhgeo-site-page *::before,
.uhgeo-site-page *::after {
  box-sizing: border-box;
}

.uhgeo-site-page > .uhgeo-section {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(78px, 9vw, 132px) max(24px, calc((100vw - var(--uhgeo-width)) / 2));
}

.uhgeo-site-page > .uhgeo-section > * {
  width: 100%;
  max-width: var(--uhgeo-width);
  margin-right: auto;
  margin-left: auto;
}

.uhgeo-site-page h1,
.uhgeo-site-page h2,
.uhgeo-site-page h3 {
  color: var(--uhgeo-ink);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.uhgeo-site-page h2 {
  max-width: 800px;
  margin-top: 10px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.15;
}

.uhgeo-site-page h3 {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.32;
}

.uhgeo-site-page p {
  color: var(--uhgeo-muted);
}

.uhgeo-eyebrow,
.uhgeo-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--uhgeo-accent) !important;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.uhgeo-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.uhgeo-section-intro {
  max-width: 760px !important;
  margin-top: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.8;
}

/* Hero */
.uhgeo-site-page > .uhgeo-hero {
  min-height: min(820px, 88vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(45, 212, 191, 0.23), transparent 27%),
    radial-gradient(circle at 16% 110%, rgba(56, 189, 248, 0.16), transparent 35%),
    linear-gradient(135deg, #081828 0%, var(--uhgeo-primary) 48%, #123f4d 100%) !important;
}

.uhgeo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 62%, #000 100%);
}

.uhgeo-hero::after {
  content: "";
  position: absolute;
  right: -11vw;
  bottom: -36vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(255,255,255,.025), 0 0 0 17vw rgba(255,255,255,.018);
}

.uhgeo-hero-layout {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.uhgeo-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.uhgeo-hero .wp-block-heading,
.uhgeo-hero p {
  color: inherit;
}

.uhgeo-hero .uhgeo-eyebrow {
  color: #77e5d5 !important;
}

.uhgeo-display-title {
  max-width: 850px;
  margin: 22px 0 26px;
  color: #fff !important;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 850 !important;
  line-height: 1.06;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.uhgeo-lead {
  max-width: 720px;
  margin: 0;
  color: #c6d8e5 !important;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.78;
}

.uhgeo-hero .wp-block-buttons {
  gap: 13px;
  margin-top: 38px;
}

.uhgeo-hero-visual {
  position: relative;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  margin: auto;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, .32));
}

.uhgeo-visual-core {
  position: absolute;
  inset: 25%;
  z-index: 3;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  place-content: center;
  padding: 12%;
  text-align: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 34%;
  color: #071c26;
  background: linear-gradient(145deg, #ecfeff 0%, #5eead4 45%, #0f9f91 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 65px rgba(45,212,191,.3);
  transform: rotate(45deg);
}

.uhgeo-visual-core span,
.uhgeo-visual-core small {
  transform: rotate(-45deg);
}

.uhgeo-visual-core span {
  font-size: 50px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}

.uhgeo-visual-core .uhgeo-core-title-long { font-size: 38px; }
.uhgeo-visual-core .uhgeo-core-title-xlong { font-size: 30px; }

.uhgeo-visual-core small {
  display: none !important;
}

.uhgeo-orbit {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(153, 246, 228, .28);
  border-radius: 50%;
}

.uhgeo-orbit::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 17%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #99f6e4;
  box-shadow: 0 0 20px #5eead4;
}

.uhgeo-orbit-two {
  inset: 15% 2%;
  transform: rotate(62deg);
}

.uhgeo-visual-label {
  position: absolute;
  z-index: 4;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #dffbf7;
  background: rgba(7, 24, 40, .68);
  box-shadow: 0 12px 24px rgba(0,0,0,.15);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .04em;
}

.uhgeo-visual-label-1 { top: 3%; left: 34%; }
.uhgeo-visual-label-2 { top: 42%; right: -5%; }
.uhgeo-visual-label-3 { bottom: 5%; left: 35%; }
.uhgeo-visual-label-4 { top: 48%; left: -5%; }

/* Buttons */
.uhgeo-site-page .wp-block-button__link {
  border: 1px solid transparent;
  border-radius: 999px !important;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.uhgeo-site-page .wp-block-button__link:hover {
  transform: translateY(-3px);
}

.uhgeo-site-page .is-style-fill .wp-block-button__link {
  color: #06221f;
  background: #5eead4;
  box-shadow: 0 12px 28px rgba(45, 212, 191, .22);
}

.uhgeo-site-page .is-style-outline .wp-block-button__link {
  border-color: rgba(255,255,255,.4);
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Structured content */
.uhgeo-problem_grid,
.uhgeo-feature_grid,
.uhgeo-rich-text {
  background: #fff;
}

.uhgeo-solution_grid,
.uhgeo-process,
.uhgeo-faq {
  background:
    radial-gradient(circle at 85% 10%, rgba(15,118,110,.07), transparent 25%),
    var(--uhgeo-surface);
}

.uhgeo-card-grid,
.uhgeo-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}

.uhgeo-card {
  position: relative;
  min-height: 240px;
  padding: clamp(28px, 3vw, 38px) !important;
  overflow: hidden;
  border: 1px solid var(--uhgeo-line);
  border-radius: var(--uhgeo-radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 46px rgba(16, 42, 67, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.uhgeo-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(15,118,110,.055);
  border-radius: 50%;
  transition: transform .3s ease;
}

.uhgeo-card:hover {
  z-index: 2;
  border-color: rgba(15,118,110,.32);
  box-shadow: 0 28px 65px rgba(16, 42, 67, .13);
  transform: translateY(-8px);
}

.uhgeo-card:hover::after {
  transform: scale(1.18);
}

.uhgeo-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 13px;
}

.uhgeo-card p:last-child {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.uhgeo-card-kicker {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--uhgeo-accent) !important;
  background: rgba(15,118,110,.09);
  letter-spacing: 0;
}

.uhgeo-process .uhgeo-card-grid {
  counter-reset: uhgeo-step;
}

.uhgeo-process .uhgeo-card {
  min-height: 225px;
  border-top: 4px solid var(--uhgeo-accent);
}

.uhgeo-process .uhgeo-card::before {
  content: none;
  display: none;
}

.uhgeo-process .uhgeo-card-kicker {
  width: auto;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  color: rgba(15,118,110,.32) !important;
  background: transparent;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

/* Evidence */
.uhgeo-site-page > .uhgeo-evidence {
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(94,234,212,.16), transparent 28%),
    linear-gradient(130deg, #0a1d2e, #12374a 60%, #0b4f50) !important;
}

.uhgeo-evidence .wp-block-heading,
.uhgeo-evidence .uhgeo-section-intro {
  color: #fff;
}

.uhgeo-evidence .uhgeo-eyebrow {
  color: #77e5d5 !important;
}

.uhgeo-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uhgeo-stat {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px !important;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--uhgeo-radius);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.uhgeo-stat-value {
  margin: 0 0 12px;
  color: #7ce9d9 !important;
  font-size: clamp(38px, 4.5vw, 62px) !important;
  font-weight: 900 !important;
  line-height: 1;
}

.uhgeo-stat-label {
  margin: 0;
  color: #c8d8e4 !important;
  font-size: 14px;
}

/* FAQ */
.uhgeo-faq-item {
  max-width: 900px;
  margin: 14px 0;
  padding: 0 24px;
  border: 1px solid var(--uhgeo-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 42, 67, .045);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.uhgeo-faq-item[open] {
  border-color: rgba(15,118,110,.32);
  box-shadow: 0 18px 45px rgba(16, 42, 67, .09);
}

.uhgeo-faq-item summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  color: var(--uhgeo-ink);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  list-style: none;
}

.uhgeo-faq-item summary::-webkit-details-marker { display: none; }
.uhgeo-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--uhgeo-accent);
  background: rgba(15,118,110,.09);
  font-size: 20px;
  transform: translateY(-50%);
}
.uhgeo-faq-item[open] summary::after { content: "−"; }
.uhgeo-faq-item > p { padding: 0 0 23px; }

/* Rich text and CTA */
.uhgeo-rich-text > p {
  max-width: 820px !important;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(17px, 1.5vw, 20px);
}

.uhgeo-rich-text > h2 {
  margin-right: auto;
  margin-left: auto;
}

.uhgeo-site-page > .uhgeo-cta {
  width: calc(100% - 48px);
  max-width: var(--uhgeo-width);
  margin: clamp(58px, 7vw, 100px) auto;
  padding: clamp(54px, 7vw, 86px);
  overflow: hidden;
  border-radius: calc(var(--uhgeo-radius) * 1.5);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(94,234,212,.24), transparent 30%),
    linear-gradient(135deg, var(--uhgeo-primary), #164e63) !important;
  box-shadow: 0 30px 75px rgba(16,42,67,.2);
}

.uhgeo-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(255,255,255,.055);
  border-radius: 50%;
}

.uhgeo-cta .wp-block-heading,
.uhgeo-cta p {
  position: relative;
  z-index: 1;
  margin-right: auto;
  margin-left: auto;
  color: #fff;
}

.uhgeo-cta .wp-block-buttons {
  position: relative;
  z-index: 1;
  justify-content: center;
  margin-top: 30px;
}

@media (prefers-reduced-motion: no-preference) {
  .uhgeo-orbit-one { animation: uhgeo-spin 22s linear infinite; }
  .uhgeo-orbit-two { animation: uhgeo-spin-two 28s linear infinite reverse; }
  .uhgeo-visual-core { animation: uhgeo-float 5s ease-in-out infinite; }
  @keyframes uhgeo-spin { to { transform: rotate(360deg); } }
  @keyframes uhgeo-spin-two { to { transform: rotate(422deg); } }
  @keyframes uhgeo-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
}

@media (max-width: 960px) {
  .uhgeo-hero-layout { grid-template-columns: 1fr; }
  .uhgeo-hero-visual { width: min(68vw, 390px); }
  .uhgeo-visual-core span { font-size: 42px; }
  .uhgeo-visual-core .uhgeo-core-title-long { font-size: 34px; }
  .uhgeo-visual-core .uhgeo-core-title-xlong { font-size: 28px; }
  .uhgeo-visual-label { font-size: 13px; }
  .uhgeo-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uhgeo-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .uhgeo-site-page > .uhgeo-section {
    padding: 68px 20px;
  }
  .uhgeo-site-page > .uhgeo-hero {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 72px;
  }
  .uhgeo-display-title { font-size: clamp(40px, 12vw, 58px); }
  .uhgeo-hero-visual { width: min(84vw, 350px); }
  .uhgeo-visual-core span { font-size: 32px; }
  .uhgeo-visual-core .uhgeo-core-title-long { font-size: 28px; }
  .uhgeo-visual-core .uhgeo-core-title-xlong { font-size: 24px; }
  .uhgeo-visual-label {
    padding: 7px 11px;
    font-size: 12px;
  }
  .uhgeo-card-grid,
  .uhgeo-stat-grid { grid-template-columns: 1fr; }
  .uhgeo-card { min-height: auto; }
  .uhgeo-site-page > .uhgeo-cta {
    width: calc(100% - 28px);
    margin: 48px auto;
    padding: 52px 22px;
  }
  .uhgeo-site-page .wp-block-buttons { align-items: stretch; }
  .uhgeo-site-page .wp-block-button,
  .uhgeo-site-page .wp-block-button__link { width: 100%; text-align: center; }
}
.uhgeo-hero-image {
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: calc(var(--uhgeo-radius) * 1.4);
  box-shadow: 0 24px 64px rgba(16, 42, 67, .2);
}

.uhgeo-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
