/* BNF Endüstriyel Otomasyon - light theme
   Brand colors from the original site/logo. --blue-600 is the AA-safe shade of the brand blue
   for white text on buttons and blue text on white. */

@font-face { font-family: 'Lexend'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/lexend-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/lexend-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(/fonts/source-sans-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(/fonts/source-sans-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* brand */
  --navy: #1B2E54;
  --blue: #3B8CED;
  --blue-600: #1F6FD6;
  --blue-700: #185CB4;
  --blue-50: #EEF5FE;
  --blue-100: #DCEAFC;
  --ink: #333333;
  --gray: #8B8D94;
  --surface: #F5F5F5;
  --yellow: #FFC000;

  /* semantic */
  --bg: #FFFFFF;
  --tint: #F5F8FC;
  --text: var(--ink);
  --muted: #5B6270;
  --heading: var(--navy);
  --line: #E4E8EF;
  --line-strong: #C9D0DB;
  --success-bg: #E9F7EF; --success-text: #1B6B3A;
  --error-bg: #FDEDED; --error-text: #B42318;

  --font-head: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --font: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r: 14px;
  --r-sm: 8px;
  --sh-sm: 0 1px 2px rgba(27, 46, 84, .06), 0 1px 3px rgba(27, 46, 84, .06);
  --sh-md: 0 10px 30px -12px rgba(27, 46, 84, .18), 0 2px 6px rgba(27, 46, 84, .05);
  --sh-lg: 0 30px 60px -20px rgba(27, 46, 84, .28), 0 8px 16px -8px rgba(27, 46, 84, .08);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { flex: none; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
a, button { touch-action: manipulation; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--yellow); color: var(--navy); font-weight: 700; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font: 600 16px/1 var(--font-head); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s var(--ease);
}
.btn svg { font-size: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 111, 214, .6); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { border-color: var(--line-strong); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-white, .btn-light { background: #fff; color: var(--navy); }
.btn-white:hover, .btn-light:hover { background: var(--blue-50); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 14px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ''; width: 24px; height: 3px; border-radius: 2px; background: var(--blue); }
.section-head.center .eyebrow::after { content: ''; width: 24px; height: 3px; border-radius: 2px; background: var(--blue); }

.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font: 600 12.5px/1.3 var(--font); letter-spacing: .01em; }

.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); font-size: 26px; flex: none; transition: background-color .25s, color .25s, border-color .25s; }
.icon-badge-white { background: rgba(255, 255, 255, .16); color: #fff; }

.card-title { display: block; font: 600 19px/1.3 var(--font-head); color: var(--heading); letter-spacing: -.015em; }
.card-text { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font: 600 15px/1 var(--font-head); color: var(--blue-600); }
.card-link svg { transition: transform .2s var(--ease); }
a:hover .card-link svg { transform: translateX(4px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font: 600 15.5px/1.2 var(--font-head); color: var(--blue-600); }
.link-arrow:hover { color: var(--blue-700); }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- topbar + header ---------- */
.topbar { background: var(--navy); color: #D6DEEB; font-size: 14.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.topbar-info li { display: flex; align-items: center; gap: 8px; }
.topbar-info svg { font-size: 16px; color: var(--blue); }
.topbar a:hover { color: #fff; }
.topbar-lang { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar-lang svg { font-size: 16px; color: var(--blue); }
@media (max-width: 767px) { .topbar-info .topbar-hide-sm, .topbar-lang { display: none; } .topbar-info { gap: 4px 18px; font-size: 14px; } }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
@supports (animation-timeline: scroll()) {
  .site-header { animation: lift linear both; animation-timeline: scroll(); animation-range: 0 140px; }
  @keyframes lift { to { box-shadow: 0 10px 30px -18px rgba(27, 46, 84, .35); } }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: var(--r-sm); font: 500 15.5px/1 var(--font-head); color: var(--navy); transition: color .2s, background-color .2s; }
.nav-list > li > a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-list > li > a[aria-current] { color: var(--blue-600); }
.nav-list > li > a[aria-current]::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: -17px; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); }
.caret { font-size: 13px; transition: transform .2s; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-lang-mobile { display: none; }

.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 16px); left: 50%; width: 580px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--navy); transition: background-color .2s; }
.sub a strong { font: 500 15px/1.3 var(--font-head); }
.sub a:hover { background: var(--blue-50); }
.sub-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); font-size: 21px; flex: none; transition: background-color .2s, color .2s; }
.sub a:hover .sub-icon { background: var(--blue-600); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; font-size: 28px; color: var(--navy); }
  .nav-toggle-close { display: none; }
  .site-header.is-open .nav-toggle-open { display: none; }
  .site-header.is-open .nav-toggle-close { display: block; }
  .site-nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 20px; padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { display: flex; padding: 16px 4px; font-size: 18px; border-radius: 0; }
  .nav-list > li > a:hover { background: none; }
  .nav-list > li > a[aria-current]::after { display: none; }
  .caret { display: none; }
  .sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; padding: 0 0 12px; border: 0; box-shadow: none; }
  .sub::before { display: none; }
  .sub ul { grid-template-columns: 1fr; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-lang-mobile { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; font-weight: 600; color: var(--navy); }
  .nav-lang-mobile svg { color: var(--blue-600); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 639px) { :root { --header-h: 70px; } .brand img { height: 50px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-tint, .section-alt { background: var(--tint); }
.section-top-sm { padding-top: clamp(40px, 5vw, 56px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split > div { max-width: 680px; }
.section-title { font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.6rem); line-height: 1.15; }
.section-title-sm { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); margin-bottom: 24px; }
.section-title-sm:not(:first-child) { margin-top: 56px; }
.section-lead { margin-top: 16px; font-size: 18.5px; color: var(--muted); max-width: 640px; }
@media (max-width: 767px) { .section-head.split { flex-direction: column; align-items: flex-start; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(59, 140, 237, .14), transparent 60%),
    linear-gradient(rgba(27, 46, 84, .045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(27, 46, 84, .045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(180deg, #F7FAFE 0%, #EEF4FC 100%);
  padding-block: clamp(48px, 6vw, 80px) clamp(104px, 10vw, 140px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); box-shadow: var(--sh-sm); font: 600 14px/1.2 var(--font-head); color: var(--navy); }
.hero-badge svg { font-size: 20px; color: var(--blue-600); }
.hero-title { margin-top: 22px; font-size: clamp(2.2rem, 1.5rem + 2vw, 2.95rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.hero-lead { margin-top: 20px; font-size: clamp(18px, 1rem + .35vw, 20px); color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.hero-stats > div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { font: 700 32px/1 var(--font-head); color: var(--navy); letter-spacing: -.02em; }
.hero-stats dt { margin-top: 8px; font-size: 15px; color: var(--muted); }

.hero-visual { position: relative; padding: 0 0 48px 48px; }
.hero-visual::before { content: ''; position: absolute; right: -24px; top: 32px; width: 70%; height: 80%; border-radius: 24px; background: var(--blue); opacity: .14; }
.hero-image { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); }
.hero-image img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: center 30%; }
.hero-image-sm { position: absolute; z-index: 2; left: 0; bottom: 0; width: 36%; border-radius: 16px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-lg); }
.hero-image-sm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-float { position: absolute; z-index: 3; right: -12px; bottom: 76px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 14px; background: #fff; box-shadow: var(--sh-lg); }
.hero-float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-size: 24px; }
.hero-float strong { display: block; font: 700 15px/1.2 var(--font-head); color: var(--navy); }
.hero-float small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; } .hero-copy > :nth-child(5) { animation-delay: .2s; }
  .hero-image { animation: rise .9s var(--ease) .1s both; }
  .hero-image-sm, .hero-float { animation: rise .9s var(--ease) .3s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
}
@media (max-width: 639px) {
  .hero-visual { padding: 0 0 32px 0; }
  .hero-visual::before { right: -12px; }
  .hero-float { right: 8px; bottom: 0; padding: 10px 14px 10px 10px; }
  .hero-float-icon { width: 36px; height: 36px; font-size: 20px; }
  .hero-image-sm { display: none; }
  .hero-stats { gap: 16px 28px; }
  .hero-stats dd { font-size: 26px; }
}

/* ---------- partners strip ---------- */
.partners-strip { position: relative; z-index: 2; margin-top: clamp(-72px, -6vw, -48px); }
.partners-strip-flat { margin-top: 0; padding-block: 0 clamp(64px, 8vw, 104px); background: var(--tint); }
.partners-card { display: flex; align-items: center; gap: 32px; padding: 26px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-md); }
.partners-label { flex: none; max-width: 130px; font: 600 14.5px/1.35 var(--font-head); color: var(--navy); letter-spacing: 0; padding-right: 28px; border-right: 1px solid var(--line); }
.partners-label a:hover { color: var(--blue-600); }
.logo-list { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 20px 28px; }
.logo-list li { display: flex; align-items: center; justify-content: center; min-width: 0; }
.logo-list img { width: auto; height: auto; max-width: 100%; max-height: 36px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-list li:hover img { filter: none; opacity: 1; }
@media (max-width: 1023px) {
  .partners-card { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
  .partners-label { max-width: none; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .logo-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) { .logo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .logo-list img { max-height: 28px; } }

/* ---------- service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; }
.service-card > a:not(.btn), .service-card-cta { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-card > a:not(.btn):hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-100); }
.service-card-media { display: block; overflow: hidden; background: var(--tint); }
.service-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.service-card > a:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; }
.service-card-body .icon-badge { position: relative; margin-top: -26px; margin-bottom: 16px; background: #fff; box-shadow: var(--sh-md); border: 1px solid var(--line); }
.service-card > a:hover .icon-badge { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.service-card-cta { justify-content: space-between; gap: 24px; padding: 28px 24px 24px; background: linear-gradient(150deg, var(--blue-600) 0%, var(--navy) 100%); border: 0; color: #fff; }
.service-card-cta .card-title { margin-top: 18px; color: #fff; font-size: 20px; }
.service-card-cta .card-text { color: #DCE6F5; }
.service-card-cta .btn { align-self: flex-start; }
@media (max-width: 1099px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-visual { position: relative; padding: 0 28px 28px 0; }
.why-visual::before { content: ''; position: absolute; right: 0; bottom: 0; width: 75%; height: 75%; border-radius: 20px; background: var(--blue); }
.why-image { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); }
.why-image img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; }
.why-badge { position: absolute; left: 24px; bottom: 52px; display: flex; flex-direction: column; padding: 18px 22px; border-radius: 14px; background: #fff; box-shadow: var(--sh-lg); }
.why-badge strong { font: 700 34px/1 var(--font-head); color: var(--blue-600); }
.why-badge span { margin-top: 6px; font: 500 14px/1.3 var(--font-head); color: var(--navy); max-width: 16ch; }
.why-copy > .btn { margin-top: 32px; }
.why-copy .prose { margin-top: 16px; color: var(--muted); }
.why-copy .hero-stats { border-top-color: var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 36px; }
.feature-grid li { display: flex; flex-direction: column; }
.feature-grid .icon-badge { width: 48px; height: 48px; font-size: 24px; }
.feature-grid h3 { margin-top: 16px; font-size: 18px; }
.feature-grid p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.feature-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; gap: 24px; }
.feature-grid-4 li { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
@media (max-width: 1023px) { .why-grid { grid-template-columns: 1fr; } .why-visual { max-width: 620px; } .feature-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; } .why-badge { left: 16px; bottom: 44px; padding: 14px 16px; } .why-badge strong { font-size: 28px; } }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process::before { content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 10px, transparent 10px 18px); }
.process li { position: relative; text-align: center; padding: 0 8px; }
.process-num { position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100); box-shadow: var(--sh-md); font: 700 20px/1 var(--font-head); color: var(--blue-600); transition: background-color .25s, color .25s, border-color .25s; }
.process li:hover .process-num { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.process h3 { margin-top: 20px; font-size: 19px; }
.process p { margin-top: 8px; font-size: 16px; color: var(--muted); max-width: 260px; margin-inline: auto; }
@media (max-width: 1023px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .process::before { display: none; } }
@media (max-width: 639px) { .process { grid-template-columns: 1fr; } }

/* ---------- project + generic cards ---------- */
.project-grid, .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card, .card { display: flex; }
.project-card > a, .card > a { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.project-card > a:hover, .card > a:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.project-card-media, .card-media { display: block; overflow: hidden; background: var(--tint); }
.project-card-media img, .card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.project-card > a:hover img, .card > a:hover img { transform: scale(1.05); }
.project-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.project-card-body .card-text { margin-top: 0; }
.project-card-body .card-link { padding-top: 8px; }
.card > a .card-title { padding: 20px 24px 0; }
.card > a .card-text { padding: 0 24px 24px; }
@media (max-width: 1023px) { .project-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .project-grid, .card-grid { grid-template-columns: 1fr; } }

/* ---------- industries + standards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.industry-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-md); }
.industry-card picture, .industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.industry-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 46, 84, 0) 30%, rgba(17, 30, 56, .9) 100%); }
.industry-card:hover img { transform: scale(1.05); }
.industry-body { padding: 28px; color: #fff; }
.industry-body h3 { color: #fff; font-size: 21px; }
.industry-body p { margin-top: 8px; font-size: 16px; color: #E1E8F3; }
@media (max-width: 1023px) { .industry-grid { grid-template-columns: 1fr; } .industry-card { min-height: 300px; } }

.standards-band { display: flex; align-items: center; gap: 28px; margin-top: 40px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.standards-label { flex: none; display: flex; align-items: center; gap: 10px; font-size: 16px; max-width: 170px; line-height: 1.3; }
.standards-label svg { font-size: 30px; color: var(--blue-600); }
.standards-badges { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.standards-badges li { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--tint); border-left: 3px solid var(--blue); }
.standards-badges strong { font: 600 14.5px/1.25 var(--font-head); color: var(--navy); }
.standards-badges span { font-size: 14px; line-height: 1.35; color: var(--muted); }
@media (max-width: 1099px) { .standards-band { flex-direction: column; align-items: stretch; } .standards-label { max-width: none; } .standards-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .standards-badges { grid-template-columns: 1fr; } }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card { display: flex; }
.news-card > a { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.news-card > a:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.news-card-media { display: block; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.news-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.news-card > a:hover img { transform: scale(1.05); }
.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.news-card .card-title { margin-top: 14px; font-size: 20px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; color: var(--muted); }
.news-meta time { display: inline-flex; align-items: center; gap: 6px; }
.news-meta svg { font-size: 16px; color: var(--blue-600); }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .news-grid, .news-grid-2 { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 88px); }
.section-tint + .cta-band, .section-alt + .cta-band { background: linear-gradient(var(--tint) 50%, var(--bg) 50%); }
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 56px; align-items: center; padding: clamp(36px, 5vw, 60px); border-radius: 22px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(120deg, var(--blue-600) 0%, #1A4E9C 55%, var(--navy) 100%); color: #E3ECF8; box-shadow: var(--sh-lg); }
.cta-panel::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); }
.cta-copy p { margin-top: 12px; font-size: 18.5px; max-width: 520px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-phone { display: flex; align-items: center; gap: 12px; color: #fff; font: 600 20px/1.2 var(--font-head); }
.cta-phone small { display: block; font: 500 13.5px/1.3 var(--font); color: #C9D8EE; }
.cta-phone-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); font-size: 22px; }
.cta-phone:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- footer (light) ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 48px; padding-block: 72px 56px; }
.footer-brand .brand img { height: 66px; }
.footer-brand p { margin-top: 20px; max-width: 38ch; }
.footer-title { font-size: 17px; margin-bottom: 18px; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--blue-600); }
.footer-contact li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.fc-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--blue-600); font-size: 18px; flex: none; }
.footer-bottom { border-top: 1px solid var(--line); background: #EEF0F3; font-size: 14.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 60px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; }
.footer-bottom a:hover { color: var(--blue-600); }
.footer-bottom svg { color: var(--blue-600); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; } }

/* ---------- page header ---------- */
.page-header {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(59, 140, 237, .16), transparent 60%),
    linear-gradient(rgba(27, 46, 84, .045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(27, 46, 84, .045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(180deg, #F7FAFE, #EEF4FC);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(36px, 4vw, 52px) clamp(48px, 5vw, 68px);
}
.page-header-split .page-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-header-media { border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); border: 6px solid #fff; }
.page-header-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 1023px) { .page-header-split .page-header-inner { grid-template-columns: 1fr; } .page-header-media { max-width: 560px; } }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 15px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--blue-600); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bc-sep { font-size: 13px; color: var(--gray); }
.page-title { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.2rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; max-width: 22ch; }
.page-lead { margin-top: 16px; font-size: clamp(18px, 1rem + .3vw, 20px); color: var(--muted); max-width: 680px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 18px; font-size: 15px; color: var(--muted); }
.page-meta > * + *::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 16px; border-radius: 50%; background: var(--gray); vertical-align: middle; }

/* ---------- prose + detail ---------- */
.prose { max-width: 72ch; font-size: 17.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.9em; font-size: clamp(22px, 1.2rem + .5vw, 27px); }
.prose h3 { margin-top: 1.6em; font-size: 20px; }
.prose ul:not(.app-grid) li { position: relative; padding-left: 32px; }
.prose ul:not(.app-grid) li + li { margin-top: .6em; }
.prose ul:not(.app-grid) li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%231F6FD6' d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

.figure { margin: 48px 0 0; }
.figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.figure figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

.detail-media { margin-top: clamp(32px, 4vw, 48px); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-md); }
.detail-media img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(40px, 6vw, 80px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.panel { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.panel-title { font-size: 19px; margin-bottom: 4px; }
.panel .check-list { margin-top: 16px; }
.panel-navy { display: grid; gap: 14px; background: linear-gradient(150deg, var(--blue-600), var(--navy)); border: 0; color: #DCE6F5; box-shadow: var(--sh-md); }
.panel-navy .panel-title { color: #fff; }
.cta-line { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 600 18px/1.2 var(--font-head); }
.cta-line svg { font-size: 20px; }
.check-list { display: grid; gap: 12px; }
.check-list li, .what-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.check-list svg { margin-top: 3px; font-size: 18px; color: var(--blue-600); }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 16px; line-height: 1.5; }
.app-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); }
.app-grid svg { margin-top: 1px; font-size: 20px; color: var(--blue-600); }
@media (max-width: 1023px) { .detail-grid { grid-template-columns: 1fr; } .detail-aside { position: static; } .detail-media img { aspect-ratio: 16 / 9; } }
@media (max-width: 639px) { .app-grid { grid-template-columns: 1fr; } }

.link-rows { display: grid; gap: 12px; }
.link-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.link-rows a:hover { border-color: var(--blue-100); box-shadow: var(--sh-md); }
.link-rows a > :not(.row-arrow) { grid-column: 1; }
.link-rows .news-title { font: 600 18px/1.35 var(--font-head); color: var(--navy); }
.link-rows .card-text { margin-top: 4px; }
.link-rows .news-meta { font-size: 14px; }
.row-arrow { grid-column: 2; grid-row: 1 / span 3; font-size: 22px; color: var(--blue-600); transition: transform .2s var(--ease); }
.link-rows a:hover .row-arrow, .related-service:hover .row-arrow { transform: translateX(4px); }

.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 15px/1 var(--font-head); color: var(--navy); transition: border-color .2s, color .2s, box-shadow .2s; }
.chip-nav a:hover { border-color: var(--blue-600); color: var(--blue-600); box-shadow: var(--sh-sm); }
.chip-nav svg { font-size: 20px; color: var(--blue-600); }

.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); font-size: 26px; flex: none; }

/* project detail */
.project-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.project-media { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); }
.project-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.related-service { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s; }
.related-service:hover { border-color: var(--blue-100); box-shadow: var(--sh-md); }
.related-service .card-title { margin-top: 2px; font-size: 18px; }
.related-label { display: block; font: 600 12.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--blue-600); }
.related-service .row-arrow { margin-left: auto; }
.project-detail + .container .figure { max-width: 900px; }
@media (max-width: 1023px) { .project-detail { grid-template-columns: 1fr; } .project-media { position: static; } }

/* article */
.article-wrap { max-width: 860px; }
.article-media { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-md); margin-bottom: 48px; }
.article-media img { width: 100%; max-height: 440px; object-fit: contain; }

/* about */
.about-what { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-what .btn { margin-top: 28px; }
.what-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.what-list li { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-sm); color: var(--ink); }
.check-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 15px; flex: none; }
@media (max-width: 1023px) { .about-what { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .what-list { grid-template-columns: 1fr; } }

/* partners page */
.partner-index { padding-block: 32px 0; }
.partner-index ul { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-index a { display: grid; place-items: center; height: 76px; padding: 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.partner-index a:hover { border-color: var(--blue-100); box-shadow: var(--sh-md); transform: translateY(-2px); }
.partner-index img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.partner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.partner-head { position: sticky; top: calc(var(--header-h) + 24px); }
.partner-role { display: inline-flex; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font: 600 13px/1.3 var(--font-head); }
.partner-head .link-arrow { margin-top: 20px; }
.partner-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.partner-group { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); border-top: 3px solid var(--blue); }
.partner-group h3 { font-size: 17.5px; margin-bottom: 10px; }
.partner-group p { font-size: 16px; color: var(--muted); }
.partner-groups:has(> :nth-child(3):last-child) > :last-child, .partner-groups:has(> :only-child) > :only-child { grid-column: 1 / -1; }
.logo-wall { padding-block: 40px; }
.logo-wall-bordered { border-top: 1px solid var(--line); }
.logo-wall-title { font-size: 17px; margin-bottom: 20px; }
.logo-list-small { display: flex; flex-wrap: wrap; gap: 16px; }
.logo-list-small li { padding: 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.logo-list-small img { filter: none; opacity: 1; }
@media (max-width: 1023px) { .partner-grid { grid-template-columns: 1fr; } .partner-head { position: static; } }
@media (max-width: 639px) { .partner-groups { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-details .panel-title { margin-bottom: 18px; font-size: 22px; }
.contact-list { display: grid; gap: 14px; }
.contact-list > div { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.contact-list dt { display: contents; font: 600 13px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.contact-list dt svg { grid-row: 1 / span 2; box-sizing: content-box; padding: 12px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); font-size: 24px; }
.contact-list dd { grid-column: 2; margin-top: 4px; font: 500 18px/1.45 var(--font-head); color: var(--navy); }
.contact-list dd a:not(.link-arrow):hover { color: var(--blue-600); }
.contact-list .link-arrow { margin-top: 8px; font-size: 15px; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-lg); }
.form-card .panel-title { margin-bottom: 22px; font-size: 22px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { font: 600 15px/1.3 var(--font-head); color: var(--navy); }
.req { font-weight: 500; color: var(--error-text); }
.opt { font-weight: 400; font-size: 13.5px; color: var(--muted); font-family: var(--font); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16.5px; color: var(--ink); background: #FAFBFD; border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: var(--gray); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(59, 140, 237, .2); }
.field-error { font-size: 14.5px; color: var(--error-text); }
.field-error:empty { display: none; }
.has-error input, .has-error textarea { border-color: var(--error-text); background: #FFFBFB; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.form-card .btn { width: 100%; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 16px; }
.alert svg { font-size: 20px; margin-top: 2px; }
.alert-success { background: var(--success-bg); color: var(--success-text); }
.alert-error { background: var(--error-bg); color: var(--error-text); }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .field-row { grid-template-columns: 1fr; } }

/* 404 */
.not-found .container { max-width: 760px; text-align: center; }
.nf-code { font: 800 clamp(80px, 12vw, 140px)/1 var(--font-head); color: var(--blue-100); letter-spacing: -.04em; }
.not-found .page-title { margin-inline: auto; }
.not-found .page-lead { margin: 16px auto 32px; }
.not-found .chip-nav { justify-content: center; margin-top: 40px; }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    @keyframes reveal { from { transform: translateY(28px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
