/* ==========================================================================
   興承開發 — Unified Stylesheet
   --------------------------------------------------------------------------
   Built on Tobeyo Design System (colors_and_type.css)
   Includes:
     1. Token re-mapping (my legacy --color-* → Tobeyo tokens)
     2. All multi-page class library (.btn, .card, .section, .hero, etc)
     3. Tobeyo-style .xc-* component library (homepage hero, services, why, etc)
   ========================================================================== */

@import url("colors_and_type.css");

/* =========================================================================
   1. LEGACY VAR MAPPING — bridges my old multi-page CSS to Tobeyo palette
   ========================================================================= */
:root {
  --color-primary:        var(--tobeyo-teal-700);
  --color-primary-dark:   var(--tobeyo-teal-900);
  --color-primary-light:  var(--tobeyo-teal-600);
  --color-accent:         var(--tobeyo-terra-600);
  --color-accent-dark:    var(--tobeyo-terra-800);
  --color-accent-light:   var(--tobeyo-terra-500);
  --color-cream:          var(--tobeyo-sand-050);
  --color-stone:          var(--tobeyo-sand-100);
  --color-text:           var(--tobeyo-ink-400);
  --color-text-soft:      var(--tobeyo-ink-200);
  --color-text-muted:     var(--tobeyo-ink-100);
  --color-border:         var(--tobeyo-sand-200);
  --color-white:          #ffffff;
  --color-black:          var(--tobeyo-ink-500);

  --font-serif: var(--font-display);
  --max-width: 1240px;
  --max-width-narrow: 880px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(45, 42, 38, 0.06), 0 1px 1px rgba(45, 42, 38, 0.04);
  --shadow-md: 0 2px 8px rgba(45, 42, 38, 0.08), 0 1px 2px rgba(45, 42, 38, 0.04);
  --shadow-lg: 0 8px 24px rgba(45, 42, 38, 0.10), 0 2px 6px rgba(45, 42, 38, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg-link); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--fg-link-hover); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tobeyo-ink-500);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--tobeyo-teal-700); font-weight: 700; }

p { margin: 0 0 1em; color: var(--fg-1); }

.container        { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 32px; }

/* =========================================================================
   TOPBAR + HEADER + NAV
   ========================================================================= */
.topbar {
  background: var(--tobeyo-ink-500);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--tobeyo-terra-500); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span::before { content: "›"; margin-right: 6px; color: var(--tobeyo-terra-500); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-1);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 62px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.brand-text { display: none; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); color: var(--tobeyo-ink-500); font-size: 20px; letter-spacing: .04em; font-weight: 700; }
.brand-text small { color: var(--tobeyo-ink-100); font-size: 9px; letter-spacing: .22em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 12px 14px;
  color: var(--fg-1); font-weight: 500; font-size: 14px;
}
.nav-item > a:hover, .nav-item.active > a { color: var(--tobeyo-teal-700); }

.nav-submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px; background: var(--bg-surface);
  border-top: 2px solid var(--tobeyo-teal-700);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease-out);
  list-style: none; margin: 0; padding: 10px 0;
}
.nav-item:hover .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-submenu li a { display: block; padding: 9px 20px; font-size: 14px; color: var(--fg-2); }
.nav-submenu li a:hover { background: var(--tobeyo-teal-050); color: var(--tobeyo-teal-700); }

.nav-cta {
  margin-left: 16px; padding: 10px 18px;
  background: var(--tobeyo-teal-700); color: #fff !important;
  border-radius: var(--radius-sm); font-weight: 500; font-size: 14px;
  transition: all 180ms var(--ease-out);
}
.nav-cta:hover { background: var(--tobeyo-teal-800); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--tobeyo-ink-400); margin: 5px 0; transition: .25s; }

/* =========================================================================
   PAGE HERO (inner pages — smaller)
   ========================================================================= */
.page-hero {
  position: relative;
  padding: 120px 0 100px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(74, 163, 150, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(217, 118, 86, 0.30) 0%, transparent 60%),
    linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.018) 18px 19px);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; letter-spacing: -.025em; }
.page-hero .breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: .14em;
  margin-bottom: 28px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:hover { color: var(--tobeyo-terra-500); }
.page-hero .lead { max-width: 680px; margin: 18px auto 0; color: rgba(255,255,255,.86); line-height: 1.8; font-size: 17px; }
.page-hero .container { position: relative; z-index: 1; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 15px; letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  text-align: center;
}
.btn-primary { background: var(--tobeyo-teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--tobeyo-teal-800); box-shadow: var(--shadow-md); transform: translateY(-1px); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.30); backdrop-filter: blur(10px); }
.btn-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.55); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--tobeyo-teal-900); color: #fff; }
.btn-dark:hover { background: var(--tobeyo-ink-500); color: #fff; }

/* =========================================================================
   SECTION SCAFFOLDING
   ========================================================================= */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-alt  { background: var(--tobeyo-sand-100); }
.section-dark {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(20, 117, 107, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(168, 74, 48, 0.25) 0%, transparent 65%),
    linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark h2 em, .section-dark h3 em { color: var(--tobeyo-terra-500); }
.section-dark p { color: rgba(255,255,255,.85); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .18em;
  color: var(--tobeyo-teal-700); font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-dark .section-head .eyebrow { color: var(--tobeyo-terra-500); }
.section-head h2 { margin-bottom: 16px; }
.section-head .divider { width: 48px; height: 2px; background: var(--tobeyo-terra-600); margin: 18px auto 22px; }
.section-head p { font-size: 17px; line-height: 1.8; color: var(--fg-2); }

/* =========================================================================
   FEATURE ROW (image + text)
   ========================================================================= */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row .visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 120px;
  color: rgba(255,255,255,.18);
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(74, 163, 150, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 75%, rgba(217, 118, 86, 0.4) 0%, transparent 65%),
    linear-gradient(135deg, #0a4a44 0%, #14322f 100%);
  box-shadow: var(--shadow-lg);
}
.feature-row .visual::before {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(255,255,255,.12); border-radius: calc(var(--radius-xl) - 12px);
}
.feature-row .content .eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .18em;
  color: var(--tobeyo-teal-700); font-weight: 500; margin-bottom: 16px;
}

/* =========================================================================
   CARDS (generic)
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 280ms var(--ease-out);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tobeyo-teal-100); }
.card .card-num {
  font-family: var(--font-display); font-size: 14px;
  color: var(--tobeyo-teal-700); letter-spacing: .15em;
  margin-bottom: 14px; font-weight: 500;
}
.card h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.75; margin: 0 0 18px; color: var(--fg-2); flex: 1; }
.card .more { font-size: 14px; color: var(--tobeyo-teal-700); font-weight: 500; letter-spacing: .04em; }
.card .more::after { content: " →"; transition: .2s; }
.card:hover .more::after { margin-left: 4px; }

.card-bordered {
  background: var(--tobeyo-terra-050);
  border-color: var(--tobeyo-terra-100);
}

/* =========================================================================
   PROCESS STRIP (6 流程)
   ========================================================================= */
.process-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.process-item {
  text-align: center; padding: 32px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 240ms var(--ease-out);
}
.process-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.process-item .num {
  font-family: var(--font-display); font-size: 12px;
  color: var(--tobeyo-teal-700); letter-spacing: .2em;
  margin-bottom: 14px; font-weight: 700;
}
.process-item .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tobeyo-teal-050);
  color: var(--tobeyo-teal-700);
  border-radius: 50%;
  font-size: 24px;
}
.process-item h4 { color: var(--tobeyo-ink-500); font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; }
.process-item small { color: var(--fg-3); font-size: 11px; letter-spacing: .2em; }

/* =========================================================================
   STATS
   ========================================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--tobeyo-teal-900);
  border-radius: var(--radius-xl);
  padding: 8px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.stats .stat { padding: 40px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.10); }
.stats .stat:last-child { border-right: none; }
.stats .stat .num { font-family: var(--font-display); font-size: 48px; color: var(--tobeyo-terra-500); font-weight: 700; line-height: 1; }
.stats .stat .num small { font-size: 16px; margin-left: 4px; color: rgba(255,255,255,.7); font-weight: 500; }
.stats .stat .label { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.75); margin-top: 14px; }

/* =========================================================================
   KNOWLEDGE GRID (12 主題)
   ========================================================================= */
.knowledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.knowledge-grid .item {
  display: block;
  padding: 28px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 240ms var(--ease-out);
  box-shadow: var(--shadow-xs);
  color: inherit;
}
.knowledge-grid .item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--tobeyo-teal-100);
  background: var(--tobeyo-surface-2);
}
.knowledge-grid .item .num {
  font-family: var(--font-display); font-size: 22px;
  color: var(--tobeyo-teal-700); margin-bottom: 10px;
  font-weight: 700;
}
.knowledge-grid .item h4 {
  color: var(--tobeyo-ink-500); margin: 0 0 8px;
  font-size: 16px; font-family: var(--font-display); font-weight: 700;
}
.knowledge-grid .item p { font-size: 13px; color: var(--fg-3); margin: 0; line-height: 1.65; }

/* =========================================================================
   ARTICLE BODY (long-form content pages)
   ========================================================================= */
.article { padding: 80px 0 100px; background: var(--bg-surface); }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 56px 0 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--tobeyo-terra-600);
  color: var(--tobeyo-ink-500);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 36px 0 14px;
  color: var(--tobeyo-teal-700);
}
.article-body p {
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 1.2em;
  color: var(--fg-1);
}
.article-body ul, .article-body ol {
  padding-left: 1.4em;
  margin: 1em 0 1.4em;
  color: var(--fg-1);
  line-height: 1.85;
}
.article-body li { margin-bottom: .55em; }
.article-body ::marker { color: var(--tobeyo-terra-600); }
.article-body blockquote {
  border-left: 3px solid var(--tobeyo-terra-600);
  background: var(--tobeyo-terra-050);
  padding: 22px 28px;
  margin: 30px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--tobeyo-ink-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 14px;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-body th, .article-body td {
  padding: 14px 16px;
  border: 1px solid var(--border-2);
  text-align: left;
}
.article-body th { background: var(--tobeyo-teal-900); color: #fff; font-weight: 600; letter-spacing: .04em; }
.article-body tr:nth-child(even) td { background: var(--tobeyo-sand-050); }
.article-body .note {
  background: var(--tobeyo-warning-bg);
  border-left: 3px solid var(--tobeyo-warning);
  padding: 18px 22px; margin: 24px 0;
  font-size: 14px; line-height: 1.75;
  color: var(--tobeyo-ink-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body strong { color: var(--tobeyo-ink-500); }

/* =========================================================================
   TOC + PILLAR NAV
   ========================================================================= */
.toc {
  background: var(--tobeyo-teal-050);
  padding: 24px 28px;
  border-left: 3px solid var(--tobeyo-teal-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0 0 40px;
}
.toc strong {
  color: var(--tobeyo-teal-800); font-family: var(--font-display);
  display: block; margin-bottom: 12px; letter-spacing: .04em;
  font-size: 15px;
}
.toc ol { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.9; }
.toc ol li::marker { color: var(--tobeyo-teal-700); font-weight: 700; }
.toc ol li a { color: var(--fg-1); }
.toc ol li a:hover { color: var(--tobeyo-teal-700); }

.pillar-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border-2);
}
.pillar-nav a {
  display: block; padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 240ms var(--ease-out);
}
.pillar-nav a:hover { background: var(--tobeyo-teal-700); color: #fff; border-color: var(--tobeyo-teal-700); transform: translateY(-2px); }
.pillar-nav small {
  display: block; font-size: 11px; letter-spacing: .2em;
  color: var(--fg-3); margin-bottom: 6px;
}
.pillar-nav a:hover small { color: rgba(255,255,255,.7); }
.pillar-nav strong { font-family: var(--font-display); font-size: 16px; color: var(--tobeyo-ink-500); }
.pillar-nav a:hover strong { color: #fff; }
.pillar-nav .next { text-align: right; }

/* =========================================================================
   SERVICE CATEGORY (hub layout)
   ========================================================================= */
.service-cat {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 60px 0; border-bottom: 1px solid var(--border-2);
}
.service-cat:last-child { border-bottom: none; }
.service-cat .cat-title { position: sticky; top: 110px; align-self: start; }
.service-cat .cat-title .num {
  font-family: var(--font-display); font-size: 13px;
  color: var(--tobeyo-teal-700); letter-spacing: .18em; margin-bottom: 10px;
  font-weight: 500;
}
.service-cat .cat-title h2 { font-size: 32px; margin: 0 0 12px; }
.service-cat .cat-title p { font-size: 14px; color: var(--fg-2); }
.service-cat .cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-cat .cat-list .item {
  background: var(--tobeyo-sand-050);
  border-left: 3px solid var(--tobeyo-terra-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
}
.service-cat .cat-list .item h4 { margin: 0 0 8px; font-size: 16px; color: var(--tobeyo-ink-500); font-family: var(--font-display); }
.service-cat .cat-list .item p { font-size: 13px; line-height: 1.7; margin: 0; color: var(--fg-2); }

/* =========================================================================
   CASE GRID
   ========================================================================= */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-item {
  display: flex; flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 280ms var(--ease-out);
}
.case-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-item .case-img {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(74, 163, 150, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 75%, rgba(217, 118, 86, 0.35) 0%, transparent 65%),
    linear-gradient(135deg, #0a4a44 0%, #14322f 100%);
  color: rgba(255,255,255,.4);
  font-family: var(--font-display); font-size: 56px;
}
.case-item .case-body { padding: 24px 26px 26px; }
.case-item .case-tag {
  display: inline-block; padding: 5px 10px;
  background: var(--tobeyo-teal-050); color: var(--tobeyo-teal-700);
  font-size: 11px; letter-spacing: .14em;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}
.case-item h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; line-height: 1.35; color: var(--tobeyo-ink-500); }
.case-item .case-meta { font-size: 12px; color: var(--fg-3); line-height: 1.65; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info .info-item { padding: 22px 0; border-bottom: 1px dashed var(--border-2); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .label { font-size: 12px; letter-spacing: .14em; color: var(--tobeyo-teal-700); margin-bottom: 6px; font-weight: 500; }
.contact-info .value { font-size: 17px; color: var(--tobeyo-ink-500); font-weight: 700; font-family: var(--font-display); }
.contact-info .sub { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form .field { margin-bottom: 18px; }
.contact-form label {
  display: block; font-size: 13px;
  color: var(--tobeyo-ink-400); margin-bottom: 8px;
  font-weight: 500; letter-spacing: .04em;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border-2);
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px;
  transition: .2s;
  color: var(--fg-1);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--tobeyo-teal-700);
  box-shadow: 0 0 0 3px rgba(20, 117, 107, .12);
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* =========================================================================
   CTA BANNER + FOOTER
   ========================================================================= */
.cta-banner {
  position: relative;
  color: #fff;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(20, 117, 107, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 85% 80%, rgba(217, 118, 86, 0.55) 0%, transparent 65%),
    linear-gradient(120deg, #0e5f58 0%, #14322f 45%, #a84a30 100%);
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-banner h2 em { color: var(--tobeyo-terra-500); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 32px; font-size: 16px; line-height: 1.8; }

.site-footer { background: var(--tobeyo-ink-500); color: rgba(255,255,255,.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.site-footer h5 {
  color: #fff; font-size: 13px; letter-spacing: .14em;
  font-family: var(--font-sans);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; }
.site-footer ul a { color: rgba(255,255,255,.62); }
.site-footer ul a:hover { color: var(--tobeyo-terra-500); }
.site-footer .footer-brand img { height: 64px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 18px; background: rgba(255,255,255,.96); padding: 8px 12px; border-radius: var(--radius-sm); display: block; }
.site-footer .footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.85; }
.site-footer .footer-brand p strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 28px; font-size: 12px; color: rgba(255,255,255,.4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .lang { display: flex; gap: 14px; }


/* =========================================================================
   2. XC-* COMPONENT LIBRARY (Tobeyo design — used by homepage)
   ========================================================================= */
.xc-root { background: var(--bg-page); }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* HERO (homepage) */
.xc-hero {
  position: relative;
  min-height: 760px;
  display: flex; align-items: center;
  padding: 140px 32px 120px;
  color: #fff;
  overflow: hidden;
}
.xc-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xc-hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 1;
}
.xc-hero-paint {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 42, 40, 0.66) 0%, rgba(9, 42, 40, 0.30) 38%, rgba(9, 42, 40, 0.02) 100%),
    linear-gradient(180deg, rgba(6, 18, 18, 0.04) 0%, rgba(6, 18, 18, 0.22) 100%);
}
.xc-hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.xc-hero-steam { position: absolute; right: -6%; top: -10%; width: 70%; height: 110%; opacity: 0.45; mix-blend-mode: screen; }
.xc-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 110%, rgba(0,0,0,0.20) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.12) 100%);
}
.xc-hero-inner { position: relative; z-index: 1; max-width: 1160px; width: 100%; margin: 0 auto; }
.xc-hero-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.32em; color: var(--tobeyo-terra-500); margin-bottom: 28px; }
.xc-hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.12; letter-spacing: -0.035em;
  color: #fff; margin: 0 0 28px;
  text-wrap: balance; max-width: 14ch;
}
.xc-hero-h1 em { font-style: italic; color: var(--tobeyo-terra-500); }
.xc-hero-lead { font-size: 18px; line-height: 1.85; color: rgba(255,255,255,0.88); margin: 0 0 40px; max-width: 620px; }
.hide-sm { display: inline; }
.xc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.xc-hero-meta { display: flex; gap: 18px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.78); flex-wrap: wrap; }
.xc-hero-meta b { color: var(--tobeyo-terra-500); font-size: 22px; font-weight: 700; margin-right: 4px; }
.xc-hero-meta .dot { color: rgba(255,255,255,0.3); font-size: 6px; }

.xc-scroll {
  position: absolute; z-index: 2; bottom: 32px; right: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.4em; font-weight: 500;
}
.xc-scroll:hover { color: #fff; }
.xc-scroll-arrow { font-size: 22px; animation: xc-bob 2.4s ease-in-out infinite; }
@keyframes xc-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* xc helpers */
.xc-eyebrow { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; color: var(--tobeyo-teal-700); margin-bottom: var(--space-4); text-transform: uppercase; }
.xc-eyebrow-light { color: var(--tobeyo-terra-500); }
.xc-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2; letter-spacing: -0.025em;
  color: var(--tobeyo-ink-500);
  font-weight: 700; margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.xc-h2 em { font-style: italic; color: var(--tobeyo-teal-700); font-weight: 700; }
.xc-h2-light { color: #fff; }
.xc-h2-light em { color: var(--tobeyo-terra-500); }
.xc-center { text-align: center; margin-left: auto; margin-right: auto; }
.xc-lead { font-size: 19px; line-height: 1.75; color: var(--fg-2); margin: 0 0 var(--space-5); }
.xc-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
  color: var(--tobeyo-teal-700); letter-spacing: 0.02em;
  border-bottom: 1px solid var(--tobeyo-teal-100);
  padding-bottom: 4px;
  transition: all 200ms var(--ease-out);
}
.xc-link-arrow:hover { color: var(--tobeyo-teal-800); border-bottom-color: var(--tobeyo-teal-700); }

.xc-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 500; font-size: 15px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: all 180ms var(--ease-out); }
.xc-btn-lg { font-size: 16px; padding: 16px 28px; }
.xc-btn-primary { background: var(--tobeyo-teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.xc-btn-primary:hover { background: var(--tobeyo-teal-800); box-shadow: var(--shadow-md); transform: translateY(-1px); color: #fff; }
.xc-btn-ghost-light { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.30); backdrop-filter: blur(10px); }
.xc-btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); color: #fff; }
.xc-btn-outline { background: transparent; color: var(--tobeyo-teal-700); border-color: var(--tobeyo-teal-700); }
.xc-btn-outline:hover { background: var(--tobeyo-teal-700); color: #fff; }

/* Section scaffolding */
.xc-section { padding: 120px 32px; }
.xc-section-tint { padding: 120px 32px; background: var(--tobeyo-sand-100); }
.xc-section-inner { max-width: 1240px; margin: 0 auto; }
.xc-section-head { text-align: center; margin: 0 auto 64px; max-width: 760px; }
.xc-section-head-row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; margin-bottom: 56px; gap: 40px; flex-wrap: wrap; }
.xc-section-head-row .xc-h2 { margin-bottom: 0; }
.xc-section-sub { font-size: 16px; color: var(--fg-2); margin: 0; line-height: 1.7; }

/* About */
.xc-about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 96px; align-items: center; }
.xc-about-text .xc-h2 { font-size: clamp(36px, 4.5vw, 60px); }
.xc-about-aside { display: flex; flex-direction: column; gap: 32px; }
.xc-quote-card { position: relative; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: 48px 44px 40px; box-shadow: var(--shadow-md); }
.xc-quote-mark { position: absolute; top: 14px; left: 24px; font-family: var(--font-display); font-size: 96px; line-height: 1; color: var(--tobeyo-teal-100); font-weight: 700; }
.xc-quote-card p { position: relative; font-family: var(--font-display); font-size: 26px; line-height: 1.5; color: var(--tobeyo-ink-500); margin: 16px 0 24px; font-weight: 500; }
.xc-quote-card p em { font-style: italic; color: var(--tobeyo-teal-700); }
.xc-quote-by { font-size: 13px; color: var(--fg-3); letter-spacing: 0.06em; }
.xc-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tobeyo-teal-900); border-radius: var(--radius-xl); padding: 32px 16px; color: #fff; box-shadow: var(--shadow-lg); }
.xc-stat-strip > div { text-align: center; padding: 0 12px; border-right: 1px solid rgba(255,255,255,0.10); }
.xc-stat-strip > div:last-child { border-right: 0; }
.xc-stat-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--tobeyo-terra-500); }
.xc-stat-unit { font-size: 16px; margin-left: 2px; color: rgba(255,255,255,0.9); font-weight: 500; font-family: var(--font-sans); }
.xc-stat-lbl { font-size: 12px; margin-top: 8px; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; }

/* Services */
.xc-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xc-svc-card { position: relative; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 40px 32px 36px; transition: all 280ms var(--ease-out); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; color: inherit; }
.xc-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tobeyo-teal-100); }
.xc-svc-num { font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0.15em; color: var(--tobeyo-teal-700); margin-bottom: 18px; }
.xc-svc-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--tobeyo-ink-500); margin: 0 0 16px; line-height: 1.3; }
.xc-svc-desc { font-size: 15px; line-height: 1.75; color: var(--fg-2); margin: 0 0 24px; flex: 1; }
.xc-svc-list { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px dashed var(--border-2); display: flex; flex-direction: column; gap: 10px; }
.xc-svc-list li { font-size: 14px; color: var(--fg-1); display: flex; gap: 10px; align-items: center; }
.xc-tick { color: var(--tobeyo-terra-600); font-size: 12px; }
.xc-svc-feature { background: var(--tobeyo-teal-900); color: #fff; border-color: var(--tobeyo-teal-900); }
.xc-svc-feature .xc-svc-num { color: var(--tobeyo-terra-500); }
.xc-svc-feature .xc-svc-title { color: #fff; }
.xc-svc-feature .xc-svc-desc { color: rgba(255,255,255,0.82); }
.xc-svc-feature .xc-svc-list { border-top-color: rgba(255,255,255,0.15); }
.xc-svc-feature .xc-svc-list li { color: rgba(255,255,255,0.92); }
.xc-svc-feature .xc-tick { color: var(--tobeyo-terra-500); }
.xc-svc-feature:hover { border-color: var(--tobeyo-teal-900); }
.xc-svc-accent { background: var(--tobeyo-terra-050); border-color: var(--tobeyo-terra-100); }
.xc-svc-accent .xc-svc-num { color: var(--tobeyo-terra-700); }
.xc-svc-accent .xc-tick { color: var(--tobeyo-terra-700); }

/* Process */
.xc-process-section { padding-bottom: 100px; }
.xc-process { list-style: none; margin: 0 0 48px; padding: 0; display: flex; gap: 12px; align-items: stretch; justify-content: space-between; flex-wrap: nowrap; }
.xc-step { flex: 1; min-width: 200px; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; position: relative; box-shadow: var(--shadow-sm); transition: all 240ms var(--ease-out); }
.xc-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.xc-step-num { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; color: var(--tobeyo-teal-700); margin-bottom: 12px; }
.xc-step-icon { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--tobeyo-teal-700); background: var(--tobeyo-teal-050); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.xc-step-icon svg { width: 32px; height: 32px; }
.xc-step-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 8px; color: var(--tobeyo-ink-500); }
.xc-step-desc { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.xc-step-arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--tobeyo-teal-500); font-weight: 300; padding: 0 4px; }
.xc-process-note { margin: 0 auto; max-width: 760px; padding: 20px 28px; background: var(--tobeyo-teal-050); border-left: 3px solid var(--tobeyo-teal-700); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.75; color: var(--tobeyo-ink-300); text-align: center; }
.xc-process-note-icon { color: var(--tobeyo-teal-700); font-size: 14px; margin-right: 8px; }
.xc-process-note b { color: var(--tobeyo-teal-800); font-weight: 700; }

/* Why */
.xc-why { position: relative; padding: 120px 32px; color: #fff; overflow: hidden; }
.xc-why-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xc-why-paint { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 12% 18%, rgba(20, 117, 107, 0.45) 0%, transparent 60%), radial-gradient(ellipse 80% 60% at 90% 95%, rgba(168, 74, 48, 0.28) 0%, transparent 65%), linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%); }
.xc-why-topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.xc-why-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,0.25) 100%); }
.xc-why-inner { position: relative; z-index: 1; }
.xc-why-inner .xc-h2 { text-align: center; margin: 0 auto 56px; max-width: 22ch; }
.xc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xc-why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 32px 28px; backdrop-filter: blur(8px); transition: all 240ms var(--ease-out); }
.xc-why-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.xc-why-num { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--tobeyo-terra-500); line-height: 1; margin-bottom: 16px; }
.xc-why-card h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 12px; color: #fff; line-height: 1.35; }
.xc-why-card p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.78); margin: 0; }

/* Knowledge */
.xc-know-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.xc-know-feature { display: flex; flex-direction: column; background: var(--bg-surface); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-1); transition: all 280ms var(--ease-out); color: inherit; }
.xc-know-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xc-know-img { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #0a4a44, #14322f); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-family: var(--font-display); font-size: 56px; }
.xc-know-img image-slot { width: 100%; height: 100%; display: block; }
.xc-know-body { padding: 36px 36px 32px; }
.xc-know-tag { display: inline-block; font-size: 11px; letter-spacing: 0.2em; color: var(--tobeyo-terra-700); background: var(--tobeyo-terra-050); padding: 6px 12px; border-radius: var(--radius-xs); margin-bottom: 18px; font-weight: 500; }
.xc-know-body h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: 0 0 14px; line-height: 1.3; color: var(--tobeyo-ink-500); }
.xc-know-body p { font-size: 15px; line-height: 1.75; color: var(--fg-2); margin: 0 0 20px; }
.xc-know-more { font-size: 14px; font-weight: 500; color: var(--tobeyo-teal-700); letter-spacing: 0.04em; }
.xc-know-list { display: flex; flex-direction: column; gap: 0; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.xc-know-row { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border-1); transition: background 200ms; color: inherit; }
.xc-know-row:last-child { border-bottom: 0; }
.xc-know-row:hover { background: var(--tobeyo-sand-050); }
.xc-know-row-no { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--tobeyo-teal-700); letter-spacing: 0.05em; }
.xc-know-row h4 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--tobeyo-ink-500); }
.xc-know-row p { font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.6; }
.xc-know-row-arrow { font-size: 20px; color: var(--tobeyo-teal-500); transition: transform 200ms; }
.xc-know-row:hover .xc-know-row-arrow { transform: translateX(4px); color: var(--tobeyo-teal-700); }

/* Achievements */
.xc-ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xc-ach-card { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 280ms var(--ease-out); color: inherit; }
.xc-ach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xc-ach-img { aspect-ratio: 4/3; background: linear-gradient(135deg, #0a4a44, #14322f); position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-family: var(--font-display); font-size: 48px; }
.xc-ach-img image-slot { width: 100%; height: 100%; display: block; }
.xc-ach-meta { padding: 24px 28px 28px; }
.xc-ach-tag { display: inline-block; font-size: 11px; letter-spacing: 0.16em; color: var(--tobeyo-teal-700); background: var(--tobeyo-teal-050); padding: 5px 10px; border-radius: var(--radius-xs); margin-bottom: 12px; font-weight: 500; }
.xc-ach-meta h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0; color: var(--tobeyo-ink-500); line-height: 1.35; }
.xc-ach-cta { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 56px; flex-wrap: wrap; font-size: 16px; color: var(--fg-2); }

/* CTA / Contact (full) */
.xc-cta-section { position: relative; padding: 120px 32px; color: #fff; overflow: hidden; }
.xc-cta-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xc-cta-paint { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 20% 30%, rgba(20, 117, 107, 0.55) 0%, transparent 60%), radial-gradient(ellipse 80% 60% at 85% 80%, rgba(217, 118, 86, 0.55) 0%, transparent 65%), linear-gradient(120deg, #0e5f58 0%, #14322f 45%, #a84a30 100%); }
.xc-cta-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.xc-cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 100%); }
.xc-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.xc-cta-content .xc-h2 { max-width: 18ch; }
.xc-cta-lead { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.88); margin: 0 0 36px; max-width: 540px; }
.xc-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.xc-cta-card { background: rgba(255,255,255,0.97); color: var(--fg-1); border-radius: var(--radius-xl); padding: 40px 36px; box-shadow: var(--shadow-xl); backdrop-filter: blur(8px); }
.xc-cta-card h4 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0; color: var(--tobeyo-ink-500); }
.xc-cta-en { font-size: 12px; letter-spacing: 0.18em; color: var(--tobeyo-ink-100); margin: 4px 0 28px; }
.xc-info { margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.xc-info > div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--border-2); }
.xc-info > div:last-child { border-bottom: 0; padding-bottom: 0; }
.xc-info dt { font-size: 12px; letter-spacing: 0.12em; color: var(--fg-3); font-weight: 500; }
.xc-info dd { margin: 0; font-size: 15px; color: var(--fg-1); line-height: 1.55; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .xc-process { flex-wrap: wrap; justify-content: center; }
  .xc-step-arrow { display: none !important; }
  .xc-services-grid, .xc-ach-grid { grid-template-columns: repeat(2, 1fr); }
  .xc-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .process-strip { grid-template-columns: repeat(3, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-cat { grid-template-columns: 1fr; }
  .service-cat .cat-title { position: static; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .xc-about-grid { grid-template-columns: 1fr; gap: 56px; }
  .xc-cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .xc-section, .xc-section-tint, .xc-why, .xc-cta-section { padding: 90px 24px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg-page); flex-direction: column; align-items: stretch; padding: 20px; gap: 0; overflow-y: auto; transform: none; transition: .3s; }
  .nav.open { display: flex; transform: none; }
  .nav-item > a { padding: 14px 0; border-bottom: 1px solid var(--border-2); }
  .nav-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 10px 14px; min-width: 0; }
  .nav-toggle { display: block; }
  .nav-cta { margin: 16px 0 0; text-align: center; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .stats .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pillar-nav { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .service-cat .cat-list { grid-template-columns: 1fr; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .xc-hero { padding: 100px 20px 90px; min-height: 600px; }
  .xc-hero-photo { object-position: 91% center; }
  .xc-hero-h1 {
    max-width: 7.6ch;
    font-size: 40px;
    line-height: 1.14;
  }
  .xc-hero-lead {
    max-width: 305px;
  }
  .xc-hero-paint {
    background:
      linear-gradient(90deg, rgba(9, 42, 40, 0.70) 0%, rgba(9, 42, 40, 0.48) 54%, rgba(9, 42, 40, 0.14) 100%),
      linear-gradient(180deg, rgba(6, 18, 18, 0.04) 0%, rgba(6, 18, 18, 0.20) 100%);
  }
  .xc-services-grid, .xc-ach-grid { grid-template-columns: 1fr; }
  .xc-why-grid { grid-template-columns: 1fr; }
  .xc-know-grid { grid-template-columns: 1fr; }
  .xc-section, .xc-section-tint, .xc-why, .xc-cta-section { padding: 70px 20px; }
  .hide-sm { display: none; }
  .xc-scroll { display: none; }
}
