/* --------------------------------------------------------------------------
   Typography
   Self-hosted Inter (GDPR-safe, no Google Fonts request). Drop the .woff2
   files into /assets/fonts/ — see assets/fonts/README.md. If the files are
   absent the stack degrades cleanly to the system UI font.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter var';
  src: url('../fonts/inter-variable-latin-ext.woff2') format('woff2-variations'),
       url('../fonts/inter-variable-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2190, U+2212, U+2215;
}

:root {
  --font-sans: 'Inter var', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --ivory: #f4f8fc;
  --white: #ffffff;
  --blue: #009fe3;
  --blue-dark: #0079b8;
  --navy: #1e2638;
  --orange: #00b7d8;
  --soft-blue: #e7f7fd;
  --soft-orange: #e8f9fc;
  --muted: #5d687d;
  --line: #d9e5ee;
  --shadow: 0 14px 42px rgba(24, 48, 77, 0.1);
  --text-sm: 14px;
  --text-base: 16px;
  --text-lead: 18px;
  --heading-card: clamp(20px, 1.6vw, 24px);
  --heading-section: clamp(36px, 4vw, 56px);
  --heading-page: clamp(48px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--navy); font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.6; font-synthesis-weight: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
body.admin-bar .site-header { margin-top: 50px; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 50%; top: 0; z-index: 200; transform: translate(-50%, -140%); padding: 12px 22px; border-radius: 0 0 12px 12px; background: var(--navy); color: #fff; font-weight: 650; font-size: 15px; transition: transform .18s ease; }
.skip-link:focus { transform: translate(-50%, 0); }

.site-shell { min-height: 100vh; overflow-x: hidden; }
.section-wrap { width: min(1296px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; z-index: 40; width: min(1356px, calc(100% - 48px)); min-height: 84px; margin: 18px auto 0; padding: 0 18px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(17, 28, 53, .08); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: baseline; gap: 9px; font-size: 18px; font-weight: 760; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; padding: 7px 8px 6px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), #006ead); color: white; font-size: 16px; letter-spacing: .06em; }
.header-brand { align-self: stretch; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 104px; }
.header-logo { display: block; width: 104px; max-height: 62px; height: auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); margin-left: auto; font-size: 15px; font-weight: 560; }
.desktop-nav > a, .nav-dropdown > button { transition: color .2s ease; }
.desktop-nav > a:hover, .nav-dropdown > button:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; align-items: center; gap: 7px; padding: 28px 0; border: 0; background: none; cursor: pointer; }
.nav-chevron { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: var(--soft-blue); color: var(--blue-dark); transition: transform .22s ease, background .22s ease, color .22s ease; }
.nav-chevron svg { width: 13px; height: 13px; }
.nav-dropdown:hover .nav-chevron, .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); background: var(--blue); color: white; }
.mega-menu { position: absolute; top: 72px; left: 50%; width: 390px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 18px 50px rgba(17, 28, 53, .14); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s ease; }
.compact-menu { width: 330px; }
.nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu p { margin: 2px 8px 13px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mega-menu a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; transition: background .18s ease, color .18s ease; }
.mega-menu a:hover { background: var(--soft-blue); color: var(--blue); }
.mini-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--soft-blue); font-size: 10px; font-weight: 800; }
.thematic-icon { display: block; width: 22px; height: 22px; }
.mini-icon .thematic-icon { width: 18px; height: 18px; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.language { display: flex; align-items: center; gap: 5px; color: #98a0b1; font-size: 13px; font-weight: 650; }
.language button, .language a { padding: 3px; border: 0; background: none; cursor: pointer; }
.language button.active, .language a.active { color: var(--blue); }
.mobile-language { margin: 8px 0 2px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 11px; background: var(--soft-blue); color: #8190a4; font-size: 14px; font-weight: 700; }
.mobile-language a.active { color: var(--blue-dark); }
.button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1.5px solid transparent; border-radius: 12px; font-weight: 670; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--blue), #0085c8); color: white; box-shadow: 0 10px 26px rgba(0, 159, 227, .23); }
.button.primary:hover { background: var(--blue-dark); box-shadow: 0 13px 30px rgba(0, 121, 184, .28); }
.button.secondary { border-color: var(--blue); background: rgba(255,255,255,.72); color: var(--blue); }
.button.secondary:hover { background: var(--soft-blue); }
.service-button { min-height: 50px; padding-inline: 22px; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 10px; background: var(--soft-blue); cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }
.mobile-nav { position: relative; z-index: 35; width: calc(100% - 32px); margin: 10px auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.mobile-nav p { margin: 10px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.mobile-nav p + a, .mobile-nav p ~ a { padding-left: 12px; }

.hero { min-height: 630px; padding: 62px 0 42px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 42px; }
.hero-copy { position: relative; z-index: 2; padding-left: 8px; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 13px; font-weight: 760; letter-spacing: .075em; text-transform: uppercase; }
.hero h1 { max-width: 680px; margin: 0; font-size: var(--heading-page); line-height: .98; letter-spacing: -.055em; font-weight: 780; }
.hero-title-line { display: block; }
.hero-title-main { margin-bottom: .2em; white-space: nowrap; }
.hero-title-accent { color: var(--blue); }
.hero-intro { max-width: 600px; margin: 27px 0 0; color: #505b70; font-size: var(--text-lead); line-height: 1.65; }
.hero-actions { margin-top: 29px; display: flex; flex-wrap: wrap; gap: 15px; }
.hero-visual { position: relative; min-height: 520px; margin-right: -42px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px 22px 12%; z-index: -2; border-radius: 42px; background: linear-gradient(145deg, #dff6ff, #eef8ff 55%, #ffffff); }
.hero-visual::after { content: ""; position: absolute; right: -18px; bottom: 0; width: 48%; height: 18px; border-radius: 20px; background: var(--blue); opacity: .9; }
.hero-visual img { position: relative; z-index: 1; width: 100%; height: 510px; border-radius: 34px; object-fit: cover; object-position: center; box-shadow: 0 28px 60px rgba(24,48,77,.18); animation: fade-rise .7s ease both; }
.hero-orbit { position: absolute; z-index: -1; display: block; border: 1px solid rgba(36,87,230,.18); border-radius: 999px; }
.orbit-one { width: 78%; height: 58%; transform: rotate(-13deg); }
.orbit-two { width: 65%; height: 42%; transform: rotate(10deg); }

.directions { padding: 18px 0 70px; }
.directions h2 { margin: 0 0 24px 8px; font-size: clamp(32px, 3vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.direction-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 17px; }
.direction-card { position: relative; min-height: 148px; padding: 22px 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(17,28,53,.09); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(17,28,53,.07); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.direction-card::after { content: ""; position: absolute; right: -40px; bottom: -52px; width: 116px; height: 116px; border-radius: 50%; background: var(--soft-blue); }
.direction-card.accent { background: linear-gradient(145deg, #fff 40%, var(--soft-orange)); border-color: rgba(0,183,216,.24); }
.direction-card.accent::after { background: rgba(0,183,216,.13); }
.direction-card:hover { transform: translateY(-5px); border-color: rgba(36,87,230,.25); box-shadow: 0 16px 34px rgba(17,28,53,.12); }
.direction-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1.5px solid var(--blue); border-radius: 10px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.direction-icon .thematic-icon { width: 24px; height: 24px; }
.direction-card strong { position: relative; z-index: 1; font-size: var(--heading-card); letter-spacing: -.025em; }
.card-arrow { position: absolute; right: 19px; bottom: 20px; z-index: 2; color: var(--blue); font-size: 24px; transition: transform .2s ease; }
.direction-card:hover .card-arrow { transform: translateX(5px); }
.card-number { position: absolute; top: 23px; right: 20px; color: #aab1bf; font-size: 12px; font-weight: 700; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(17,28,53,.62); backdrop-filter: blur(7px); }
.service-modal { position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 38px; border-radius: 24px; background: white; box-shadow: 0 25px 90px rgba(0,0,0,.28); }
.service-modal h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.035em; }
.service-modal > p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.6; }
.modal-close { position: absolute; top: 17px; right: 19px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft-blue); font-size: 25px; cursor: pointer; }
.service-form { margin-top: 25px; display: grid; gap: 15px; }
.service-form label { display: grid; gap: 7px; color: #3b455b; font-size: 13px; font-weight: 650; }
.service-form input, .service-form textarea, .service-form select { width: 100%; padding: 12px 13px; border: 1px solid #c7d7e2; border-radius: 10px; background: #fbfdff; outline: 0; }
.service-form input:focus, .service-form textarea:focus, .service-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,159,227,.1); }
.file-field small { color: var(--muted); font-size: 12px; font-weight: 500; }
.file-field input[type="file"] { padding: 8px; background: white; }
.file-field input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 13px; border: 0; border-radius: 8px; background: var(--soft-blue); color: var(--blue-dark); font-weight: 750; cursor: pointer; }
.field-error { color: #bd2525; font-size: 12px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.service-form .check { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px; font-weight: 500; line-height: 1.45; }
.service-form .check input { width: 16px; margin-top: 2px; }
.form-success { padding: 35px 10px 15px; text-align: center; }
.form-success > span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: #e8f8ef; color: #17834b; font-size: 31px; }
.form-success p { margin: 10px auto 25px; color: var(--muted); }
.form-error { padding: 10px 12px; border-radius: 9px; background: #fff0f0; color: #b42318 !important; font-weight: 650; }
.wp-content { max-width: 850px; padding-top: 75px; padding-bottom: 100px; font-size: 18px; line-height: 1.75; }
.wp-content img { max-width: 100%; height: auto; border-radius: 18px; }
.blog-visual[style] { background-size: cover; background-position: center; }

.partner-band { padding: 34px 0 82px; overflow: hidden; }
.partner-inner { position: relative; isolation: isolate; display: grid; gap: 36px; padding: 54px 48px 42px; overflow: hidden; border: 1px solid rgba(0,159,227,.16); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,249,254,.96) 58%, rgba(222,245,252,.94)); box-shadow: 0 22px 56px rgba(24,48,77,.1); }
.partner-inner::before { content: ""; position: absolute; z-index: -1; top: -180px; right: -110px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(0,159,227,.14), rgba(0,159,227,0) 68%); }
.partner-heading { position: relative; z-index: 1; display: grid; gap: 15px; }
.partner-heading .eyebrow { margin: 0; }
.partner-heading h2 { max-width: 940px; margin: 0; font-size: clamp(32px, 3vw, 44px); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.logo-marquee { position: relative; z-index: 1; width: 100%; overflow: hidden; padding: 5px 0 12px; mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent); }
.logo-track { width: max-content; display: flex; align-items: center; gap: 18px; animation: logo-scroll 34s linear infinite; will-change: transform; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.partner-logo { width: 190px; height: 92px; flex: 0 0 auto; padding: 20px 25px; display: grid; place-items: center; border: 1px solid rgba(17,28,53,.09); border-radius: 16px; background: white; box-shadow: 0 7px 20px rgba(17,28,53,.045); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.partner-logo img { max-width: 138px; max-height: 47px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .22s ease, opacity .22s ease, transform .22s ease; }
.partner-logo:hover, .partner-logo:focus-visible { transform: translateY(-4px); border-color: rgba(36,87,230,.24); box-shadow: 0 14px 30px rgba(17,28,53,.1); }
.partner-logo:hover img, .partner-logo:focus-visible img { filter: grayscale(0); opacity: 1; transform: scale(1.035); }
.partner-logo.cenobots img, .partner-logo.cenobots:hover img, .partner-logo.cenobots:focus-visible img { filter: brightness(0); opacity: .78; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }

.home-services { padding: 110px 0 115px; }
.home-services-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 55px; }
.home-services-heading > div { max-width: 900px; }
.home-services-heading .eyebrow { margin-bottom: 13px; }
.home-services-heading h2 { margin: 0; font-size: var(--heading-section); line-height: 1.05; letter-spacing: -.052em; text-wrap: balance; }
.home-services-link { margin-bottom: 8px; color: var(--blue-dark); white-space: nowrap; }
.home-service-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-service-card { min-height: 218px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(17,28,53,.035); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-service-card:hover { transform: translateY(-4px); border-color: rgba(0,159,227,.3); box-shadow: 0 16px 34px rgba(24,48,77,.09); }
.home-service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #e6f7fd, #d5edf7); color: var(--blue-dark); }
.home-service-icon svg { width: 25px; height: 25px; }
.home-service-card h3 { margin: 20px 0 9px; font-size: var(--heading-card); line-height: 1.25; letter-spacing: -.025em; }
.home-service-card p { margin: 0; color: var(--muted); font-size: var(--text-base); line-height: 1.65; }

.value-section { padding: 110px 0; }
.section-heading { max-width: 770px; }
.section-heading.narrow { max-width: 650px; }
.section-heading h2, .experience-section h2, .cta-section h2, .about-story h2, .values-section h2, .services-section h2, .solution-proof h2 { margin: 0; font-size: var(--heading-section); line-height: 1.05; letter-spacing: -.052em; }
.section-heading > p:last-child { max-width: 690px; margin: 23px 0 0; color: var(--muted); font-size: var(--text-lead); line-height: 1.65; }
.process-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.process-card { min-height: 220px; padding: 29px; background: white; }
.process-card > span { color: var(--blue); font-size: 13px; font-weight: 760; }
.process-card h3 { margin: 70px 0 8px; font-size: var(--heading-card); letter-spacing: -.025em; }
.process-card p { margin: 0; color: var(--muted); font-size: var(--text-base); line-height: 1.6; }

.experience-section { padding: 95px 0; background: var(--navy); color: white; }
.experience-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 100px; }
.experience-section h2 { max-width: 620px; }
.experience-section p:not(.eyebrow) { max-width: 600px; margin: 24px 0; color: #bcc5d8; font-size: var(--text-lead); line-height: 1.65; }
.experience-cta.section-wrap { margin-top: 90px; margin-bottom: 28px; padding: clamp(58px, 5.4vw, 78px); border-radius: 28px; background: linear-gradient(135deg, #111c35 0%, #17284a 100%); color: #fff; box-shadow: 0 28px 70px rgba(17,28,53,.24); }
.experience-cta .eyebrow { color: #fff; font-size: 15px; }
.experience-cta h2 { max-width: 720px; margin: 0; color: #fff; font-size: var(--heading-section); font-weight: 540; line-height: 1.05; letter-spacing: -.052em; }
.experience-cta p:not(.eyebrow) { max-width: 670px; margin: 30px 0; color: #fff; font-size: var(--text-lead); line-height: 1.65; }
.experience-cta .text-link { color: #fff; font-size: var(--text-base); }
.experience-cta .stats-grid strong { color: #fff; font-size: clamp(54px, 4.5vw, 68px); }
.experience-cta .stats-grid span { color: #fff; font-size: var(--text-base); }
.experience-cta .stats-grid { border: 1px solid rgba(255,255,255,.16); }
.experience-cta .stats-grid div { background: rgba(31,50,88,.94); }
.experience-cta + .cta-section { margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #8eafff; font-weight: 700; }
.text-link span { font-size: 22px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.15); }
.stats-grid div { min-height: 170px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: #182744; }
.stats-grid strong { font-size: 48px; letter-spacing: -.055em; }
.stats-grid span { margin-top: 5px; color: #aebbd2; }

.cta-section { margin-top: 90px; margin-bottom: 90px; padding: 60px 65px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 6vw, 90px); border-radius: 26px; background: var(--blue); color: white; box-shadow: 0 24px 60px rgba(36,87,230,.24); }
.cta-section .eyebrow { color: #cbd8ff; }
.cta-section h2 { max-width: 820px; font-size: var(--heading-section); font-weight: 520; text-wrap: balance; }
.cta-section p:not(.eyebrow) { max-width: 700px; margin: 18px 0 0; color: #dce5ff; font-size: var(--text-lead); line-height: 1.65; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.button.light { min-width: 195px; background: white; color: var(--blue); }
.button.ghost { min-width: 195px; border-color: rgba(255,255,255,.45); background: transparent; color: white; }

.subpage-hero { margin-top: -102px; padding: 210px 0 105px; overflow: hidden; }
.subpage-hero h1 { max-width: 970px; margin: 0; font-size: var(--heading-page); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
.subpage-hero p:not(.eyebrow) { max-width: 750px; margin: 28px 0 0; color: var(--muted); font-size: var(--text-lead); line-height: 1.65; }
.about-hero { background: linear-gradient(135deg, #fff 0%, #e8f7fd 62%, #dff3fb 100%); }
.blog-hero { background: linear-gradient(120deg, #e8f7fd, #fff 60%, #e2f6fb); }
.contact-hero { background: linear-gradient(135deg, #fff, #e5f5fb); }
.team-hero { background: linear-gradient(135deg, #fff 0%, #e4f5fc 60%, #d7eff9 100%); }
.careers-hero { background: linear-gradient(135deg, #eef9fd 0%, #fff 58%, #e5f5fb 100%); }
.green-hero { background: linear-gradient(135deg, #ecfbf7 0%, #fff 52%, #e1f6fb 100%); }
.subpage-grid { display: grid; grid-template-columns: 1fr minmax(420px, 520px); align-items: center; gap: 55px; }
.solution-hero { position: relative; min-height: 700px; background: linear-gradient(140deg, #fff 0%, #edf8fc 63%, #dff2fa 100%); }
.solution-hero h1 { max-width: 800px; }
.solution-visual { position: relative; min-width: 0; }
.solution-visual::before { content: ""; position: absolute; inset: -18px 22px 28px -18px; border-radius: 32px; background: linear-gradient(145deg, rgba(0,159,227,.18), rgba(21,61,104,.08)); transform: rotate(-2deg); }
.solution-visual img { position: relative; z-index: 1; display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 28px; box-shadow: 0 28px 65px rgba(17,49,82,.2); }
.solution-visual > span { position: absolute; z-index: 2; left: -18px; bottom: 26px; display: grid; place-items: center; width: 64px; height: 64px; border: 6px solid white; border-radius: 18px; background: var(--blue); color: white; box-shadow: 0 13px 28px rgba(17,49,82,.22); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.solution-visual > span .thematic-icon { width: 31px; height: 31px; }

.services-section { padding: 100px 0; }
.service-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-grid article { min-height: 285px; padding: 27px; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 9px 25px rgba(17,28,53,.05); }
.service-grid article > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: var(--soft-blue); color: var(--blue); font-size: 12px; font-weight: 800; }
.service-grid h3 { margin: 75px 0 13px; font-size: var(--heading-card); line-height: 1.2; letter-spacing: -.025em; }
.service-grid p { margin: 0; color: var(--muted); font-size: var(--text-base); line-height: 1.65; }
.detailed-service-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.detailed-service-grid article { min-height: 0; padding: 32px; }
.detailed-service-grid h3 { margin: 30px 0 22px; font-size: var(--heading-card); }
.service-points { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.service-points li { position: relative; padding-left: 24px; color: var(--muted); font-size: var(--text-base); line-height: 1.55; }
.service-points li::before { content: ""; position: absolute; top: .62em; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--soft-blue); }
.solution-proof { padding: 92px 0; background: var(--navy); color: white; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.check-list { display: grid; gap: 13px; }
.check-list p { margin: 0; padding: 16px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.045); color: #d4dcec; font-size: var(--text-base); }
.check-list span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--blue); color: white; font-size: 12px; }
.partner-detail { padding: 45px 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.partner-detail > p { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.partner-detail > div:not(.solution-logo-marquee) { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.partner-detail span { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 700; }
.partner-detail-carousel { padding: 58px 0 64px; display: grid; align-items: initial; justify-content: initial; gap: 24px; overflow: hidden; }
.partner-detail-carousel > p { margin: 0; color: var(--blue); }
.solution-logo-marquee { width: 100%; overflow: hidden; padding: 4px 0 10px; mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent); }
.solution-logo-track { width: max-content; display: flex; align-items: center; gap: 16px; animation: solution-logo-scroll 25s linear infinite; will-change: transform; }
.solution-logo-marquee:hover .solution-logo-track, .solution-logo-marquee:focus-within .solution-logo-track { animation-play-state: paused; }
.solution-partner-logo { width: 190px; height: 96px; flex: 0 0 auto; padding: 20px 25px; display: grid; place-items: center; border: 1px solid rgba(17,28,53,.09); border-radius: 16px; background: white; box-shadow: 0 7px 20px rgba(17,28,53,.045); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.solution-partner-logo img { width: auto; height: auto; max-width: 140px; max-height: 50px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .22s ease, opacity .22s ease, transform .22s ease; }
.solution-partner-logo:hover, .solution-partner-logo:focus-visible { transform: translateY(-4px); border-color: rgba(36,87,230,.24); box-shadow: 0 14px 30px rgba(17,28,53,.1); }
.solution-partner-logo:hover img, .solution-partner-logo:focus-visible img { filter: grayscale(0); opacity: 1; transform: scale(1.035); }
@keyframes solution-logo-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }

.history-story { padding: 96px 0 104px; background: linear-gradient(145deg, #e8f7fd 0%, #f3f9fc 62%, #e5f4fa 100%); }
.history-story-surface { position: relative; padding: clamp(48px, 5.5vw, 72px); overflow: hidden; border: 1px solid rgba(0,159,227,.16); border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(24,48,77,.1); }
.history-story-surface::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: linear-gradient(180deg, var(--blue), var(--orange)); }
.about-story { padding: 105px 0; display: grid; grid-template-columns: .9fr 1fr; gap: 100px; }
.history-story .about-story { padding: 0; align-items: start; gap: clamp(55px, 7vw, 100px); }
.history-story .about-story h2 { max-width: 520px; }
.about-story p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); font-size: var(--text-lead); line-height: 1.7; }
.history-story .story-copy { padding: 26px 30px; border-top: 4px solid var(--blue); border-radius: 16px; background: var(--soft-blue); }
.history-story .story-copy p:last-child { margin-bottom: 0; }
.timeline { margin-bottom: 100px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.history-story .timeline { margin: 58px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.timeline div { min-height: 180px; padding: 35px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.timeline div:last-child { border: 0; }
.timeline strong { color: var(--blue); font-size: 44px; letter-spacing: -.05em; }
.timeline span { margin-top: 7px; color: var(--muted); }
.values-section { padding: 95px 0; background: white; }
.history-values { padding-top: 104px; padding-bottom: 112px; }
.values-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values-grid article { min-height: 255px; padding: 28px; border-radius: 20px; background: var(--ivory); }
.values-grid article > span { color: var(--blue); font-size: 13px; font-weight: 800; }
.values-grid h3 { margin: 85px 0 10px; font-size: var(--heading-card); }
.values-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.team-section { padding: 100px 0 115px; }
.team-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 32px rgba(24,48,77,.07); }
.team-photo { min-height: 270px; display: grid; place-items: center; background: linear-gradient(145deg, #dff5fd, #f7fbfd 55%, #c5ecf8); }
.team-photo img { width: 100%; height: 270px; object-fit: cover; }
.team-photo span { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #006fae); color: white; font-size: 30px; font-weight: 800; box-shadow: 0 18px 38px rgba(0,126,188,.22); }
.team-photo span .thematic-icon { width: 46px; height: 46px; }
.team-card-body { padding: 27px; display: flex; flex-direction: column; align-items: flex-start; }
.team-role { margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.team-card h3 { margin: 0; font-size: var(--heading-card); letter-spacing: -.03em; }
.team-card-body > p:not(.team-role) { min-height: 48px; margin: 13px 0 18px; color: var(--muted); line-height: 1.5; }
.team-card a { margin-top: 5px; font-size: 14px; font-weight: 650; }
.admin-note { margin: 28px 0 0; padding: 18px 21px; border: 1px solid rgba(0,159,227,.2); border-radius: 14px; background: var(--soft-blue); color: #3b5366; line-height: 1.55; }

.career-layout { padding: 100px 0 115px; display: grid; grid-template-columns: 1fr .92fr; align-items: start; gap: 70px; }
.vacancies-panel h2, .green-intro h2, .green-form-layout h2 { margin: 0; font-size: var(--heading-section); line-height: 1.06; letter-spacing: -.05em; }
.vacancy-list { margin-top: 38px; display: grid; gap: 16px; }
.vacancy-card, .empty-vacancy { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 34px rgba(24,48,77,.07); }
.vacancy-card h3, .empty-vacancy h3 { margin: 0 0 12px; font-size: var(--heading-card); letter-spacing: -.035em; }
.vacancy-card .vacancy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.vacancy-card .vacancy-meta span { padding: 7px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--blue-dark); font-size: 12px; font-weight: 700; }
.vacancy-card p, .empty-vacancy p { margin: 0; color: var(--muted); line-height: 1.65; }
.vacancy-card .text-link { margin-top: 20px; }

.green-intro { padding: 100px 0; display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 100px; }
.green-intro > div:first-child > p:last-child, .green-form-layout > div:first-child > p { margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.green-price { padding: 38px; border-radius: 24px; background: linear-gradient(145deg, #087c96, #009fe3); color: white; box-shadow: 0 22px 55px rgba(0,126,166,.22); }
.green-price span { color: #d8f6ff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.green-price strong { margin: 22px 0 2px; display: block; font-size: 64px; letter-spacing: -.06em; }
.green-price p { margin: 0; color: #ddf6ff; }
.green-steps { padding: 95px 0 105px; background: white; }
.green-steps .process-grid { grid-template-columns: repeat(3, 1fr); }
.green-form-layout { padding: 105px 0 120px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 85px; }
.green-form-layout > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.green-form-layout > div:first-child a { margin-top: 13px; color: var(--blue-dark); font-size: 20px; font-weight: 750; }

.blog-grid { padding: 90px 0 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 10px 28px rgba(17,28,53,.06); }
.blog-visual { min-height: 250px; padding: 25px; display: flex; align-items: flex-end; background: linear-gradient(145deg, var(--blue), #89a7ff); }
.blog-card-2 .blog-visual { background: linear-gradient(145deg, var(--orange), #ffc0a4); }
.blog-card-3 .blog-visual { background: linear-gradient(145deg, #172645, #516a9e); }
.blog-visual span { padding: 9px 12px; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 12px; font-weight: 780; }
.blog-body { padding: 27px; }
.blog-body > p { margin: 0 0 15px; color: var(--muted); font-size: 12px; font-weight: 650; }
.blog-body h2 { min-height: 105px; margin: 0 0 20px; font-size: var(--heading-card); line-height: 1.3; letter-spacing: -.028em; }
.blog-body a { display: inline-flex; gap: 10px; color: var(--blue); font-weight: 700; }

.contact-section { padding: 90px 0 70px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.office-list { display: grid; gap: 16px; }
.office-list article { padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: white; }
.office-list article > p { margin: 0 0 10px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.office-list h2 { margin: 0 0 11px; font-size: var(--heading-card); }
.office-list address { margin-bottom: 12px; color: var(--muted); font-style: normal; }
.office-list a { margin-top: 5px; font-weight: 650; }
.office-list .service-contact { background: var(--navy); color: white; }
.contact-form-card { align-self: start; padding: 40px; border-radius: 23px; background: white; box-shadow: var(--shadow); }
.contact-form-card h2 { margin: 0; font-size: clamp(32px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.map-wrap { height: 430px; margin-bottom: 100px; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; min-height: 52px; padding: 7px 16px 7px 7px; display: flex; align-items: center; gap: 9px; border-radius: 999px; background: #1fa855; color: white; box-shadow: 0 12px 28px rgba(22,128,67,.28); }
.whatsapp-float span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.19); font-size: 11px; font-weight: 850; }
.whatsapp-float b { font-size: 13px; }
.social-rail { position: fixed; top: 50%; right: 0; z-index: 32; display: grid; gap: 5px; transform: translateY(-50%); }
.social-rail a { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px 0 0 14px; color: white; box-shadow: 0 10px 26px rgba(17,28,53,.18); font-weight: 850; transition: width .2s ease, filter .2s ease; }
.social-rail a:hover, .social-rail a:focus-visible { width: 58px; filter: brightness(1.08); }
.social-rail .facebook { background: #1877f2; }
.social-rail .linkedin { background: #0a66c2; }
.social-rail a svg { width: 20px; height: 20px; flex: 0 0 auto; }

.site-footer { padding: 75px 0 20px; background: #0c162b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr .8fr 1fr; gap: 60px; }
.footer-brand > p { max-width: 340px; margin: 22px 0; color: #aeb9cc; line-height: 1.6; }
.site-footer h3 { margin: 0 0 20px; color: #8daeff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.site-footer .footer-grid > div:not(.footer-brand) a, .site-footer button { color: #c2cad9; }
.site-footer button { padding: 0; border: 0; background: none; cursor: pointer; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { padding: 8px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #c2cad9; font-size: 12px; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7f8da6; font-size: 12px; }

@keyframes fade-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .logo-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .logo-track { animation: none; }
  .logo-track .partner-logo:nth-child(n+11) { display: none; }
  .solution-logo-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .solution-logo-track { animation: none; }
  .solution-logo-track .solution-partner-logo:nth-child(n+7) { display: none; }
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-title-main { font-size: .82em; }
  .hero-visual { margin-right: -25px; }
  .direction-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-heading { gap: 14px; }
  .home-service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .subpage-grid { grid-template-columns: 1fr 360px; }
  .career-layout, .green-form-layout { grid-template-columns: 1fr; gap: 55px; }
  .green-intro { grid-template-columns: 1fr 300px; gap: 55px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  :root { --heading-page: clamp(42px, 11vw, 58px); --heading-section: clamp(34px, 9vw, 44px); --heading-card: 21px; }
  .section-wrap { width: min(100% - 34px, 620px); }
  .site-header { width: calc(100% - 24px); min-height: 70px; margin-top: 12px; padding: 0 11px 0 16px; border-radius: 15px; }
  .brand { font-size: 14px; gap: 6px; }
  .brand-mark { padding: 6px; font-size: 12px; }
  .header-brand { min-width: 82px; }
  .header-logo { width: 82px; max-height: 49px; }
  .language { display: none; }
  .service-button { display: none; }
  .hero { min-height: 0; padding: 60px 0 25px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(44px, 12vw, 58px); }
  .hero-title-main { font-size: .78em; }
  .hero-visual { min-height: 350px; margin: 10px -36px 0; }
  .hero-visual img { height: 370px; }
  .direction-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .direction-card { min-height: 136px; }
  .partner-band { padding: 24px 0 58px; }
  .partner-inner { gap: 28px; padding: 34px 20px 25px; border-radius: 24px; }
  .partner-logo { width: 160px; height: 80px; padding: 17px 20px; }
  .partner-logo img { max-width: 118px; max-height: 39px; }
  .home-services { padding: 75px 0 80px; }
  .home-services-heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .home-services-link { margin-bottom: 0; }
  .home-service-grid { grid-template-columns: 1fr; margin-top: 38px; gap: 14px; }
  .home-service-card { min-height: 0; }
  .value-section { padding: 75px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 160px; }
  .process-card h3 { margin-top: 35px; }
  .experience-grid, .proof-grid, .about-story, .contact-section { grid-template-columns: 1fr; gap: 55px; }
  .experience-cta.section-wrap { margin-top: 60px; margin-bottom: 20px; padding: 44px 25px; border-radius: 22px; }
  .experience-cta h2 { font-size: var(--heading-section); }
  .experience-cta + .cta-section { margin-top: 20px; }
  .history-story { padding: 68px 0 74px; }
  .history-story-surface { padding: 38px 24px; border-radius: 22px; }
  .history-story .about-story { gap: 34px; }
  .history-story .story-copy { padding: 22px; }
  .history-story .timeline { margin-top: 38px; }
  .stats-grid div { min-height: 140px; }
  .cta-section { margin-top: 60px; margin-bottom: 60px; padding: 42px 25px; grid-template-columns: 1fr; gap: 30px; border-radius: 22px; }
  .cta-section h2 { font-size: var(--heading-section); }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .subpage-hero { margin-top: -82px; padding: 165px 0 75px; }
  .subpage-grid { grid-template-columns: 1fr; }
  .solution-visual { margin-top: 14px; }
  .solution-visual::before { inset: -10px 12px 18px -10px; }
  .solution-visual img { height: 300px; }
  .solution-visual > span { left: -8px; bottom: 18px; }
  .service-grid, .values-grid, .blog-grid, .team-grid { grid-template-columns: 1fr; }
  .team-section, .career-layout, .green-intro, .green-form-layout { padding-top: 75px; padding-bottom: 80px; }
  .green-intro { grid-template-columns: 1fr; gap: 40px; }
  .green-steps .process-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline div { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-detail { align-items: flex-start; flex-direction: column; }
  .partner-detail > div:not(.solution-logo-marquee) { justify-content: flex-start; }
  .partner-detail-carousel { padding-block: 44px 50px; gap: 18px; }
  .solution-partner-logo { width: 158px; height: 82px; padding: 17px 20px; }
  .solution-partner-logo img { max-width: 118px; max-height: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .contact-form-card { padding: 28px 20px; }
  .service-modal { padding: 30px 20px; border-radius: 19px; }
  .form-row { grid-template-columns: 1fr; }
  .social-rail a { width: 44px; height: 44px; border-radius: 12px 0 0 12px; }
  .social-rail a:hover, .social-rail a:focus-visible { width: 50px; }
}

@media (max-width: 440px) {
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 116px; }
  .hero-actions .button { width: 100%; }
  .service-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .button { width: 100%; }
  .whatsapp-float b { display: none; }
  .whatsapp-float { padding-right: 7px; }
  .footer-bottom { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Additions: JS-driven dropdown state, pagination, post meta, 404, form UX
   -------------------------------------------------------------------------- */
.nav-dropdown.is-open .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); background: var(--blue); color: #fff; }

.pagination { margin: 56px auto 96px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--muted); font-weight: 620; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.pagination .page-numbers:hover { color: var(--blue); border-color: var(--blue); }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; background: none; }

.entry-meta { margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.entry-meta a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-nav { margin: 0 auto 96px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.post-nav a { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.post-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-nav span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-nav strong { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.post-nav .next { text-align: right; }

.error-404 { padding: 96px 0 120px; text-align: center; }
.error-404 .error-code { display: block; margin-bottom: 8px; color: var(--blue); font-size: clamp(64px, 12vw, 132px); font-weight: 780; letter-spacing: -.05em; line-height: 1; }
.error-404 p { max-width: 52ch; margin-inline: auto; color: var(--muted); }
.error-404 .hero-actions { justify-content: center; }
.error-404 .helpful-links { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.error-404 .helpful-links a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; transition: color .18s ease, border-color .18s ease; }
.error-404 .helpful-links a:hover { color: var(--blue); border-color: var(--blue); }

.search-form { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; }
.search-form input[type="search"] { flex: 1; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.search-form button { min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 650; cursor: pointer; }

/* Honeypot — hidden from people, reachable by bots. Never display:none. */
.crc-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.button[aria-busy="true"] { pointer-events: none; opacity: .72; }
.button[aria-busy="true"] span { animation: crc-spin .7s linear infinite; }
@keyframes crc-spin { to { transform: rotate(360deg); } }

.form-error, .form-success { scroll-margin-top: 120px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
