/*
Theme Name: Archa Corporate
Theme URI: https://archa.co.id
Author: PT Archa Mitra Solusi
Description: Tema korporat khusus untuk layanan kearsipan, alih media, dan solusi teknologi Archa.
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: archa
*/

:root {
  --ink: #102038;
  --ink-2: #1d3656;
  --navy: #0b1f36;
  --blue: #1577a8;
  --sky: #dff3fb;
  --orange: #ee4204;
  --orange-dark: #c93400;
  --paper: #f7f8fa;
  --white: #fff;
  --muted: #66758a;
  --line: #dce3ea;
  --success: #12805c;
  --shadow: 0 24px 70px rgba(16, 32, 56, .12);
  --shadow-sm: 0 12px 34px rgba(16, 32, 56, .08);
  --radius: 22px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--orange); }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 6vw, 5.35rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1.25em; }
ul, ol { margin-top: 0; }
::selection { color: #fff; background: var(--orange); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 99999; top: 8px; left: 8px; width: auto; height: auto;
  padding: 12px 16px; clip: auto; color: var(--ink); background: #fff;
}
:focus-visible { outline: 3px solid rgba(238, 66, 4, .55); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 82px) 0; }
.section-paper { background: var(--paper); }
.section-dark { color: #dbe8f3; background: var(--navy); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: #ff7a4a; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--orange-dark); font-size: .78rem; font-weight: 780;
  letter-spacing: .14em; line-height: 1.2; text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.lead { max-width: 790px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.section-dark .lead, .section-dark .muted { color: #afc2d3; }
.muted { color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1.05fr .75fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.section-heading > :last-child { margin-bottom: 6px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px;
  color: #fff; background: var(--orange); font-size: .92rem; font-weight: 760;
  line-height: 1.2; text-decoration: none; transition: .2s ease;
}
.button:hover { color: #fff; background: var(--orange-dark); transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button-dark { background: var(--ink); }
.button-dark:hover { background: #000; }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { color: var(--orange); background: #fff; }
.button-outline { color: var(--ink); background: transparent; border-color: #b9c5d1; }
.button-outline:hover { color: var(--orange); background: #fff; border-color: var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 760; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header {
  position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(16,32,56,.08);
  background: rgba(255,255,255,.94); backdrop-filter: blur(16px); transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 10px 28px rgba(16,32,56,.07); }
.header-inner { display: flex; min-height: 82px; align-items: center; gap: 34px; }
.site-logo { display: block; flex: 0 0 auto; width: 180px; text-decoration: none; }
.site-logo img { width: 180px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: flex; align-items: center; padding: 11px 13px; color: var(--ink); font-size: .9rem; font-weight: 680; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--orange); }
.nav-parent { position: relative; }
.nav-parent > a::after { margin-left: 7px; content: "⌄"; color: var(--muted); font-size: .8em; }
.sub-menu {
  position: absolute; visibility: hidden; top: calc(100% + 12px); left: -12px;
  display: grid !important; width: 310px; gap: 2px !important; padding: 12px !important;
  border: 1px solid var(--line); border-radius: 16px; opacity: 0; background: #fff;
  box-shadow: var(--shadow-sm); transform: translateY(-6px); transition: .18s ease;
}
.sub-menu::before { position: absolute; top: -15px; right: 0; left: 0; height: 16px; content: ""; }
.nav-parent:hover .sub-menu, .nav-parent:focus-within .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.sub-menu a { padding: 11px 12px; border-radius: 10px; }
.sub-menu a:hover { background: var(--paper); }
.header-cta { margin-left: 4px; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: var(--ink); transition: .2s ease;
}
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: #071728;
}
.hero::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: radial-gradient(circle at 78% 18%, rgba(21,119,168,.34), transparent 30%),
              linear-gradient(118deg, rgba(7,23,40,.98) 0%, rgba(7,23,40,.95) 42%, rgba(7,23,40,.35) 74%, rgba(7,23,40,.12) 100%);
}
.hero::after {
  position: absolute; z-index: -1; right: -110px; bottom: -260px; width: 680px; height: 680px;
  border: 1px solid rgba(126,209,241,.15); border-radius: 50%; content: "";
  box-shadow: 0 0 0 80px rgba(126,209,241,.025), 0 0 0 160px rgba(126,209,241,.02);
}
.hero-inner { display: grid; min-height: 740px; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; padding: 96px 0 104px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 5.25vw, 4.95rem); letter-spacing: -.055em; }
.hero h1 em { color: #7ed1f1; font-style: normal; }
.hero .lead { max-width: 675px; color: #c6d7e5; font-size: clamp(1.05rem,1.6vw,1.22rem); }
.hero .button-row { margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 17px 25px; margin-top: 38px; color: #dce8f1; font-size: .82rem; font-weight: 680; }
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof span::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: #ff6b36; box-shadow: 0 0 0 5px rgba(255,107,54,.13); }
.hero-visual { position: relative; align-self: stretch; min-height: 560px; margin-right: calc((100vw - min(100vw - 40px, var(--container))) / -2); }
.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 67% center;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.75) 13%, #000 30%);
  animation: hero-breathe 8s ease-in-out infinite alternate;
}
.hero-scan-line {
  position: absolute; z-index: 2; top: 46%; right: 11%; width: 45%; height: 2px;
  opacity: .72; background: linear-gradient(90deg, transparent, #ff6b36 30%, #ffd2c1 55%, transparent);
  box-shadow: 0 0 20px rgba(238,66,4,.75); animation: hero-scan 4.8s ease-in-out infinite;
}
.hero-metric {
  position: absolute; z-index: 3; display: flex; border: 1px solid rgba(255,255,255,.2);
  color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 20px 55px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.hero-metric-primary { right: 8%; bottom: 6%; min-width: 196px; flex-direction: column; padding: 16px 18px; border-radius: 17px; transform: rotate(-2deg); }
.hero-metric-primary strong { color: var(--orange); font-size: 1.3rem; line-height: 1.1; }
.hero-metric-primary span { margin-top: 4px; color: var(--muted); font-size: .7rem; font-weight: 720; }
.hero-metric-secondary { top: 19%; left: 10%; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 999px; font-size: .69rem; font-weight: 780; }
.hero-metric-secondary i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(18,128,92,.14); }
@keyframes hero-breathe { from { transform: scale(1.01) translate3d(0,0,0); } to { transform: scale(1.035) translate3d(-5px,-3px,0); } }
@keyframes hero-scan { 0%,100% { transform: translateY(-72px); opacity: .2; } 50% { transform: translateY(82px); opacity: .9; } }

/* Client logo marquee */
.client-showcase { overflow: hidden; padding: 54px 0 48px; border-bottom: 1px solid var(--line); background: #fff; }
.client-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.client-kicker { flex: 0 0 auto; color: var(--orange-dark); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.client-heading h2 { max-width: 760px; margin: 0; font-size: clamp(1.35rem,2.6vw,2.2rem); }
.client-marquee { display: grid; gap: 12px; }
.client-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.client-track { display: flex; width: max-content; animation: logo-run 68s linear infinite; }
.client-row-reverse .client-track { animation-direction: reverse; animation-duration: 74s; }
.client-group { display: flex; gap: 12px; padding-right: 12px; }
.client-logo { display: grid; width: 180px; height: 82px; flex: 0 0 180px; place-items: center; padding: 12px 19px; border: 1px solid #e6ebef; border-radius: 14px; background: #fff; }
.client-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.client-row:hover .client-track { animation-play-state: paused; }
.client-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.client-grid .client-logo { width: 100%; height: 96px; }
@keyframes logo-run { to { transform: translateX(-50%); } }

/* Cards and grids */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: center; }
.trust-label, .trust-item { padding: 27px 28px; }
.trust-label { padding-left: 0; color: var(--muted); font-size: .83rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--ink); font-size: 1.25rem; }
.trust-item span { color: var(--muted); font-size: .8rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(16,32,56,.02); transition: .22s ease; }
.card:hover { border-color: #b9c8d5; box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.card-icon { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 28px; border-radius: 14px; color: var(--orange); background: #fff0ea; }
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); }
.card .text-link { margin-top: 6px; }
.card-featured { color: #dce9f4; background: var(--navy); border-color: var(--navy); }
.card-featured h3 { color: #fff; }
.card-featured p { color: #b9cad9; }
.card-featured .text-link { color: #75d0f2; }
.service-section { background: linear-gradient(180deg,#fff 0%,#fbfcfd 100%); }
.service-cards { align-items: stretch; }
.service-card { overflow: hidden; min-height: 390px; padding: 35px; }
.service-card::after { position: absolute; right: -55px; bottom: -70px; width: 190px; height: 190px; border: 1px solid rgba(21,119,168,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 36px rgba(21,119,168,.025); }
.service-card > * { position: relative; z-index: 1; }
.service-card .card-number { position: absolute; top: 28px; right: 30px; color: #a9b8c5; font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.service-card .card-icon { width: 64px; height: 64px; border-radius: 20px; }
.service-card .card-icon svg { width: 29px; height: 29px; }
.service-card h3 { margin-top: 38px; font-size: clamp(1.35rem,2.1vw,1.85rem); }
.service-card .text-link { margin-top: auto; }
.service-card { display: flex; flex-direction: column; }
.service-card.card-featured::after { border-color: rgba(126,209,241,.18); box-shadow: 0 0 0 36px rgba(126,209,241,.035); }
.service-card.card-featured .card-number { color: #70879a; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: steps; }
.step { position: relative; padding: 0 24px; counter-increment: steps; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step::before { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 24px; border: 1px solid #32516d; border-radius: 50%; color: #ff7a4a; content: "0" counter(steps); font-size: .75rem; font-weight: 800; }
.step:not(:last-child)::after { position: absolute; top: 22px; left: 69px; width: calc(100% - 45px); height: 1px; content: ""; background: #32516d; }
.step h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.step p { color: #aac0d2; font-size: .86rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.feature-list { display: grid; gap: 16px; margin: 30px 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 31px; }
.feature-list li::before { position: absolute; top: .48em; left: 0; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: #fff; content: "✓"; background: var(--success); font-size: 11px; font-weight: 900; }
.visual-panel { position: relative; overflow: hidden; min-height: 480px; border-radius: 30px; background: linear-gradient(145deg, #e4f4fa, #f9fbfc); box-shadow: inset 0 0 0 1px #dce8ee; }
.visual-panel::before, .visual-panel::after { position: absolute; border-radius: 50%; content: ""; }
.visual-panel::before { width: 320px; height: 320px; top: -120px; right: -100px; background: rgba(21,119,168,.18); }
.visual-panel::after { width: 230px; height: 230px; bottom: -90px; left: -80px; background: rgba(238,66,4,.13); }
.records-ui { position: absolute; z-index: 2; top: 50%; left: 50%; width: 82%; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); transform: translate(-50%,-50%); }
.records-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.records-top strong { font-size: .9rem; }
.records-top span { color: var(--muted); font-size: .7rem; }
.records-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #eef1f4; }
.records-file { display: grid; width: 34px; height: 38px; place-items: center; border-radius: 7px; color: var(--orange); background: #fff0ea; font-size: 10px; font-weight: 900; }
.records-row strong { display: block; font-size: .75rem; }
.records-row small { color: var(--muted); font-size: .65rem; }
.records-row > span { padding: 4px 7px; border-radius: 999px; color: var(--success); background: #e4f6ef; font-size: .6rem; font-weight: 800; }
.archive-story { background: linear-gradient(180deg,#fff,#f9fafb); }
.story-visual { position: relative; overflow: hidden; min-height: 610px; border-radius: 30px; box-shadow: var(--shadow); }
.story-visual::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 0 0 1px rgba(16,32,56,.08); border-radius: inherit; pointer-events: none; }
.story-visual img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; object-position: 46% center; transition: transform .7s ease; }
.story-visual:hover img { transform: scale(1.025); }
.story-caption { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.5); border-radius: 15px; color: #d9e6ef; background: rgba(7,23,40,.88); backdrop-filter: blur(13px); font-size: .75rem; }
.story-caption strong { display: block; margin-bottom: 3px; color: #fff; font-size: .84rem; }
.credentials-section { position: relative; overflow: hidden; }
.credentials-section::before { position: absolute; top: -220px; right: -150px; width: 520px; height: 520px; border-radius: 50%; content: ""; background: rgba(21,119,168,.055); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat { padding: 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--ink); font-size: clamp(1.65rem,3vw,2.45rem); line-height: 1.1; letter-spacing: -.045em; }
.stat span { color: var(--muted); font-size: .84rem; }

/* Cases and articles */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card { position: relative; isolation: isolate; display: grid; min-height: 320px; align-content: end; padding: 34px; overflow: hidden; border-radius: var(--radius); color: #dce7f0; background: linear-gradient(145deg, #102f4b, #0b1f36); text-decoration: none; }
.case-card::before { position: absolute; z-index: -1; top: -80px; right: -55px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); transition: transform .45s ease; }
.case-card::after { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(135deg,transparent 20%,#000 100%); }
.case-card:nth-child(2) { background: linear-gradient(145deg, #155b76, #0b293f); }
.case-card:nth-child(3) { background: linear-gradient(145deg, #344358, #172235); }
.case-card:nth-child(4) { background: linear-gradient(145deg, #86340f, #431b0b); }
.case-card:hover { color: #fff; transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.case-card:hover::before { transform: scale(1.12); }
.case-card span { color: #83d7f5; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-card h3 { max-width: 490px; margin: 8px 0 0; color: #fff; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.logo-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-chip { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); background: #fff; font-size: .74rem; font-weight: 760; letter-spacing: .02em; }
.credentials { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.credential { position: relative; display: flex; min-height: 155px; align-items: center; gap: 18px; padding: 23px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 9px 24px rgba(16,32,56,.045); }
.credential::after { position: absolute; right: -28px; bottom: -38px; width: 100px; height: 100px; border-radius: 50%; content: ""; background: rgba(21,119,168,.055); }
.credential img { width: 72px; height: 72px; flex: 0 0 auto; object-fit: contain; }
.credential strong { display: block; font-size: .94rem; line-height: 1.3; }
.credential span { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.credential-note { margin: 22px 0 0; color: var(--muted); font-size: .72rem; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(145deg, #d9eef6, #edf4f7); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(16,32,56,.28); }
.post-card-placeholder svg { width: 64px; height: 64px; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-meta { margin-bottom: 12px; color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.23rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange); }
.post-card p { color: var(--muted); font-size: .9rem; }
.post-card .text-link { margin-top: auto; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(86px,10vw,142px) 0; color: #d7e5ef; background: var(--navy); }
.page-hero::after { position: absolute; top: -160px; right: -130px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; color: #fff; font-size: clamp(2.75rem,5.4vw,4.8rem); }
.page-hero .lead { max-width: 820px; color: #b9cbd9; }
.breadcrumb { margin-bottom: 25px; color: #94aabd; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb a { color: #d6e5ef; text-decoration: none; }
.breadcrumb span { margin: 0 8px; }
.page-content { padding: 80px 0 110px; }
.prose { color: #334860; }
.prose h2, .prose h3 { margin-top: 1.5em; color: var(--ink); }
.prose h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
.prose a { font-weight: 700; }
.prose blockquote { margin: 36px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--orange); color: var(--ink); font-size: 1.15rem; font-weight: 650; }
.service-band { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.service-band .card { min-height: 260px; }
.process-list { display: grid; gap: 18px; counter-reset: proc; }
.process-item { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; counter-increment: proc; }
.process-item::before { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px; color: var(--orange); content: counter(proc, decimal-leading-zero); background: #fff0ea; font-size: .8rem; font-weight: 850; }
.process-item h3 { margin: 2px 0 7px; font-size: 1.15rem; }
.process-item p { margin: 0; color: var(--muted); font-size: .91rem; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { position: relative; padding: 20px 54px 20px 22px; cursor: pointer; color: var(--ink); font-weight: 740; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 18px; right: 20px; content: "+"; color: var(--orange); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 21px; margin: 0; color: var(--muted); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(35px,6vw,64px); border-radius: 28px; color: #c9d9e5; background: linear-gradient(130deg, var(--navy), #153e5b); box-shadow: var(--shadow); }
.cta-panel h2 { margin-bottom: 12px; color: #fff; font-size: clamp(1.8rem,3.5vw,3rem); }
.cta-panel p { max-width: 720px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.contact-details { display: grid; gap: 17px; }
.contact-item { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-item strong, .contact-item a { color: var(--ink); font-weight: 740; text-decoration: none; }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink-2); font-size: .78rem; font-weight: 780; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd5de; border-radius: 10px; color: var(--ink); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field-hp { position: absolute; left: -9999px; }
.form-note { color: var(--muted); font-size: .75rem; }
.notice { margin-bottom: 22px; padding: 14px 17px; border-radius: 10px; color: #0c6648; background: #e4f6ef; font-size: .88rem; font-weight: 700; }
.notice-error { color: #852b22; background: #ffebe8; }

/* Blog */
.blog-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 52px; }
.blog-list { display: grid; gap: 26px; }
.blog-list .post-card { display: grid; grid-template-columns: 260px 1fr; }
.blog-list .post-card-image { aspect-ratio: auto; min-height: 210px; }
.sidebar { position: sticky; top: 112px; align-self: start; }
.sidebar-box { margin-bottom: 18px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; }
.sidebar-box h3 { font-size: 1rem; }
.sidebar-box ul { margin: 0; padding: 0; list-style: none; }
.sidebar-box li { padding: 8px 0; border-bottom: 1px solid #edf0f3; }
.sidebar-box li:last-child { border-bottom: 0; }
.sidebar-box a { color: var(--ink-2); font-size: .85rem; font-weight: 650; text-decoration: none; }
.single-article { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.single-header { padding: 82px 0 48px; text-align: center; }
.single-header h1 { font-size: clamp(2.3rem,5vw,4rem); }
.single-header .post-meta { margin-top: 22px; }
.single-figure { overflow: hidden; margin-bottom: 56px; border-radius: 24px; }
.single-content { font-size: 1.05rem; }
.single-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.single-content > figure, .single-content > .wp-block-image { max-width: 980px; }
.single-content h2 { margin-top: 1.8em; font-size: clamp(1.65rem,3vw,2.35rem); }
.single-content h3 { margin-top: 1.5em; }
.single-content img { border-radius: 14px; }
.pagination { display: flex; gap: 9px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 50px; color: var(--ink); text-decoration: none; }
.pagination .current, .pagination a:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.empty-state { padding: 70px 0; text-align: center; }

/* Footer */
.site-footer { color: #aec0cf; background: #071523; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 48px; padding: 78px 0 58px; }
.footer-logo { width: 170px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-intro { max-width: 340px; color: #94aabc; font-size: .88rem; }
.site-footer h3 { margin-bottom: 17px; color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #aec0cf; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: .84rem; }
.footer-contact p { margin-bottom: 12px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); color: #7f94a6; font-size: .75rem; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #9db1c2; text-decoration: none; }
.wa-float { position: fixed; z-index: 900; right: 24px; bottom: 24px; display: flex; height: 54px; align-items: center; gap: 9px; padding: 0 18px; border-radius: 999px; color: #fff; background: #118b63; box-shadow: 0 14px 34px rgba(5,76,52,.28); font-size: .83rem; font-weight: 780; text-decoration: none; }
.wa-float:hover { color: #fff; background: #0b7150; transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .client-row { overflow: visible; mask-image: none; }
  .client-track { width: auto; }
  .client-group { flex-wrap: wrap; justify-content: center; }
  .client-group[aria-hidden="true"] { display: none; }
}

@media (max-width: 1040px) {
  .site-logo, .site-logo img { width: 156px; }
  .site-nav a { padding-inline: 9px; font-size: .82rem; }
  .header-cta { padding-inline: 16px; }
  .hero-inner { grid-template-columns: 1fr .82fr; gap: 26px; }
  .cards, .posts-grid { grid-template-columns: repeat(2,1fr); }
  .client-grid { grid-template-columns: repeat(4,1fr); }
  .cards .card:last-child { grid-column: 1 / -1; }
  .credentials { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); gap: 34px 0; }
  .step:nth-child(3)::after { display: none; }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-main > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; visibility: hidden; top: 72px; right: 0; bottom: 0; left: 0;
    padding: 22px 20px 50px; overflow-y: auto; opacity: 0; background: #fff; transition: .2s ease;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav ul { display: grid; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 14px 7px; border-bottom: 1px solid #edf0f3; font-size: 1rem; }
  .sub-menu { position: static; visibility: visible; width: auto; padding: 0 0 0 14px !important; border: 0; opacity: 1; box-shadow: none; transform: none; }
  .sub-menu a { font-size: .9rem; }
  .nav-parent > a::after { display: none; }
  .hero-inner { min-height: auto; grid-template-columns: minmax(0,1fr); padding: 75px 0 0; }
  .hero-copy { max-width: none; }
  .hero-visual { min-height: 470px; margin: 5px -20px 0; }
  .hero-art { object-position: 68% center; mask-image: linear-gradient(180deg,transparent 0,#000 18%,#000 100%); }
  .hero-metric-secondary { top: 19%; left: 7%; }
  .hero-metric-primary { right: 7%; bottom: 7%; }
  .client-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .client-heading h2 { max-width: 650px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-label { grid-column: 1 / -1; padding: 20px 0 9px; }
  .trust-item { padding: 21px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .section-heading, .split, .contact-grid, .blog-layout { grid-template-columns: 1fr; gap: 34px; }
  .section-heading { align-items: start; }
  .story-visual { min-height: 520px; }
  .story-visual img { min-height: 520px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(3,1fr); }
  .cta-panel { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child, .footer-main > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .container, .narrow, .single-article { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .hero h1 { max-width: 100%; font-size: clamp(2.1rem,9.5vw,3.1rem); overflow-wrap: normal; word-break: normal; }
  .hero .eyebrow { max-width: 100%; white-space: normal; }
  .hero .lead { max-width: 100%; overflow-wrap: anywhere; }
  .hero .button, .hero .button-row { width: 100%; }
  .hero-proof { display: grid; gap: 13px; }
  .hero-visual { min-height: 380px; margin-right: -14px; margin-left: -14px; }
  .hero-art { object-position: 69% center; }
  .hero-metric-secondary { top: 15%; left: 14px; }
  .hero-metric-primary { right: 14px; bottom: 4%; min-width: 180px; }
  .client-showcase { padding: 42px 0 38px; }
  .client-logo { width: 145px; height: 72px; flex-basis: 145px; padding: 10px 15px; }
  .client-logo img { max-height: 48px; }
  .client-grid { grid-template-columns: repeat(2,1fr); }
  .client-track { animation-duration: 52s; }
  .cards, .posts-grid, .service-band, .form-grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .cards .card:last-child, .field-full { grid-column: auto; }
  .service-card { min-height: 350px; padding: 28px; }
  .service-card h3 { margin-top: 25px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 50px 1fr; gap: 0 18px; padding: 0; }
  .step::before { grid-row: 1 / span 2; margin: 0; }
  .step::after { display: none !important; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .case-card { min-height: 250px; padding: 25px; }
  .story-visual, .story-visual img { min-height: 430px; }
  .visual-panel { min-height: 390px; }
  .records-ui { width: 91%; }
  .blog-list .post-card { grid-template-columns: 1fr; }
  .blog-list .post-card-image { min-height: auto; aspect-ratio: 16/9; }
  .form-card { padding: 23px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-main > * { grid-column: auto !important; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .wa-float { width: 52px; right: 14px; bottom: 14px; justify-content: center; padding: 0; }
  .wa-float span { display: none; }
}
