/* Unity Corporate Service, Inc. — shared styles */
:root {
  --navy: #606E74;
  --navy-deep: #3A4448;
  --gold: #B98A3E;
  --gold-soft: #E2C58F;
  --ink: #1F2629;
  --muted: #4F5A5F;
  --paper: #FFFFFF;
  --mist: #F2F4F5;
  --line: #DEE3E4;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand-text span { display: block; font-family: var(--body); font-weight: 400; font-size: 0.8rem; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 10px 14px; border-radius: 8px; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav a.btn, .nav a.btn[aria-current="page"] { color: #fff; border-radius: 999px; box-shadow: none; }
.nav a.btn:hover { background: var(--navy-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 48px; height: 48px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #F1F4F5; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-top: 104px; padding-bottom: 112px; }
.hero h1 { color: #fff; max-width: 13em; }
.hero .lede { font-size: 1.2rem; max-width: 34em; margin: 24px 0 36px; color: #F1F4F5; }
.hero-art { justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 1; }
.rings { position: absolute; pointer-events: none; }
.page-hero { position: relative; overflow: hidden; background: var(--navy); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 16em; }
.page-hero p { color: #F1F4F5; font-size: 1.15rem; max-width: 36em; margin: 18px 0 0; }
.page-hero .rings { right: -180px; top: 50%; transform: translateY(-50%); width: 620px; height: 620px; opacity: 0.9; }
.crumb { color: var(--gold-soft); font-weight: 600; margin-bottom: 16px; display: inline-block; text-decoration: none; }
.crumb:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--mist); }
.section-head { max-width: 42em; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 18px 0 0; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.split-head .section-head { margin-bottom: 0; }

/* Services grid (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.svc:hover { border-color: var(--navy); }
.svc p { color: var(--muted); margin: 0; }
.svc .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--navy); }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #F6EEDF; display: grid; place-items: center; flex: none; }
.icon svg { width: 24px; height: 24px; stroke: #8A6224; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--navy); }
.steps li::before { counter-increment: step; content: "Step " counter(step); display: block; font-weight: 600; color: #8A6224; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 10px 0 0; }

/* Feature split */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.checks svg { width: 24px; height: 24px; stroke: var(--gold); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.checks strong { display: block; color: var(--navy); font-family: var(--display); font-weight: 600; }
.checks span { color: var(--muted); }
.panel { background: var(--navy); color: #fff; border-radius: 22px; padding: 48px; position: relative; overflow: hidden; }
.panel h3 { color: #fff; font-size: 1.6rem; }
.panel p { color: #F1F4F5; }
.panel .rings { right: -140px; bottom: -140px; width: 380px; height: 380px; }
.panel > :not(.rings) { position: relative; z-index: 1; }

/* CTA band */
.cta { background: var(--navy); border-radius: 28px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta h2 { color: #fff; max-width: 14em; }
.cta p { color: #F1F4F5; margin: 12px 0 0; max-width: 34em; }
.cta .rings { left: -160px; top: -160px; width: 420px; height: 420px; }
.cta > :not(.rings) { position: relative; z-index: 1; }

/* Service detail page */
.svc-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.svc-index a { text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 10px 18px; border-radius: 999px; font-weight: 500; }
.svc-index a:hover { border-color: var(--gold-soft); }
.svc-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail .icon { margin-bottom: 20px; }
.svc-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc-detail .summary { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.svc-detail h3 { font-size: 1rem; margin-bottom: 14px; }
.svc-detail .checks { margin-top: 0; }

/* About */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--paper); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.value p { color: var(--muted); margin: 10px 0 0; }
.statement { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.35; color: var(--navy); font-weight: 500; letter-spacing: -0.02em; max-width: 30em; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.info-card { background: var(--mist); border-radius: var(--radius); padding: 32px; display: grid; gap: 24px; }
.info { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; font-style: normal; }
.info strong { display: block; font-family: var(--display); color: var(--navy); font-weight: 600; }
.info a { word-break: break-word; }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; color: var(--navy); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #AEB8BB; border-radius: 10px; padding: 12px 14px; min-height: 50px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(185,138,62,0.45); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.92rem; color: var(--muted); margin: 0; }
.form-error { color: #A12C2C; font-weight: 600; margin: 0; min-height: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #D5DBDD; padding: 72px 0 32px; font-size: 0.97rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text span { color: #D5DBDD; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #F1F4F5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .contact-grid, .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .values { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(40,48,52,0.14); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav .btn { margin: 10px 0 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 72px; }
  .hero-art { max-width: 200px; order: -1; justify-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section { padding: 80px 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .page-hero .rings { right: -320px; opacity: 0.5; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .svc-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .cta, .panel, .form { padding: 32px 24px; }
  .svc { padding: 26px; }
}
