/* Visual system and interaction states for the bilingual WordPress theme. */
:root {
  --ink: #142b40;
  --body: #43586a;
  --muted: #607589;
  --line: #dce6ed;
  --bg: #f5f8fa;
  --blue: #176f9e;
  --deep: #104f75;
  --soft: #e8f4fa;
}
body { color: var(--body); }
:focus-visible { outline: 3px solid #78bce1; outline-offset: 3px; }
.site-header { transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(17, 48, 72, .1); border-color: transparent; }
.menu a { font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.nav-cta, .btn { border-radius: 7px; }
.btn { min-height: 47px; padding-inline: 22px; }
.section { padding-block: clamp(68px, 6vw, 104px); }
.section.white { border-color: #e7edf1; }
.section-head { margin-bottom: 34px; }
.section-head h2, .home-inquiry h2, .split h2 {
  font-size: clamp(34px, 2.75vw, 46px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 750;
}
.section-head p:not(.eyebrow) { margin-top: 12px; font-size: clamp(15px, 1.08vw, 17px); line-height: 1.7; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .text-link { flex: 0 0 auto; }
.page-hero:not(.home-hero) { background-color: #f3f8fb; }
.page-hero h1 { font-size: clamp(37px, 3vw, 49px); }
.card, .feature, .feature-list article, .insight-card, .info-card, .form-card, .timeline article, .sidebar-card, .use-list li, .table-wrap {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(21, 63, 92, .035);
}
.card, .feature, .feature-list article, .insight-card, .timeline article {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover, .feature:hover, .feature-list article:hover, .insight-card:hover, .timeline article:hover {
  transform: translateY(-4px);
  border-color: #bad7e6;
  box-shadow: 0 18px 42px rgba(21, 63, 92, .1);
}
.product-card { border-radius: 14px; }
.product-card .pill { border-radius: 5px; }
.notice { border-radius: 0 8px 8px 0; }
.field input, .field select, .field textarea { border-radius: 7px; transition: border-color .2s ease, box-shadow .2s ease; }

/* Homepage: banner, products, applications, service, partners, inquiry. */
.home-hero {
  background: radial-gradient(circle at 77% 25%, rgba(189, 222, 238, .5), transparent 34%),
              linear-gradient(125deg, #f8fbfd 0%, #f2f8fb 55%, #e9f3f8 100%);
}
.home-hero-grid { gap: clamp(42px, 5vw, 90px); min-height: 610px; padding-block: 68px; }
.home-hero h1 { font-size: clamp(43px, 4.15vw, 66px); line-height: 1.11; letter-spacing: -.035em; }
.home-hero .lead { font-size: clamp(17px, 1.28vw, 20px); line-height: 1.75; color: #405a6e; }
.home-hero .caption { font-size: 13px; line-height: 1.6; }
.home-media { border-radius: 16px; padding: 14px 14px 0; overflow: visible; box-shadow: 0 28px 65px rgba(23, 73, 105, .14); }
.home-media:before { border-color: #66a9cc; border-radius: 0 0 0 8px; }
.home-media-toolbar { padding: 3px 5px 13px; }
.home-media-toolbar > span { color: #5b7183; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.home-media img { height: clamp(300px, 29vw, 440px); border-radius: 9px; transition: opacity .28s ease, transform .4s ease; }
.home-media img.is-switching { opacity: .25; transform: scale(.985); }
.home-media figcaption { padding: 15px 5px; }
.home-media figcaption strong { font-size: 15px; }
.hero-tabs { margin-top: 0; border-radius: 8px; padding: 3px; background: #edf4f8; gap: 2px; }
.hero-tabs button { border: 0; border-radius: 6px; background: transparent; color: #345f79; font-weight: 700; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.hero-tabs button.active { background: #fff; color: var(--deep); box-shadow: 0 2px 8px rgba(23, 73, 105, .13); }
#products { background: #fff; }
#products .product-card { border-color: #dce7ee; }
#products .product-card img { background: #edf4f8; }
#products .note { margin-top: 18px; font-size: 13px; }
.home-areas { gap: 16px; }
.home-areas article {
  min-height: 205px; padding: 28px 24px; border-radius: 13px;
  background: linear-gradient(155deg, #fff 55%, #f7fbfd);
  border-color: #dfe9ef; box-shadow: 0 9px 25px rgba(20, 65, 95, .04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.home-areas article:hover { transform: translateY(-5px); border-color: #a8d2e6; box-shadow: 0 18px 38px rgba(20, 65, 95, .11); }
.home-areas .icon { width: 36px; height: 36px; padding: 6px; border-radius: 9px; background: #e7f3fa; }
.home-areas h3 { margin-top: 23px; font-size: clamp(16px, 1.18vw, 19px); line-height: 1.5; }
.home-feature-grid { gap: 16px; }
.home-feature-grid article {
  position: relative; overflow: hidden; min-height: 292px; padding: 27px 24px;
  border-color: #e0e9ef; border-radius: 13px; box-shadow: 0 8px 26px rgba(20, 65, 95, .045);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.home-feature-grid article:after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.home-feature-grid article:hover { transform: translateY(-5px); border-color: #b8d7e7; box-shadow: 0 18px 40px rgba(20, 65, 95, .1); }
.home-feature-grid article:hover:after { transform: scaleX(1); }
.home-feature-grid .icon-box { width: 55px; height: 55px; border-radius: 12px; background: #e8f5fb; margin-bottom: 21px; }
.home-feature-grid .icon-box .icon { width: 29px; height: 29px; }
.home-feature-grid .num { display: block; color: #3889b5; font-size: 12px; font-weight: 800; letter-spacing: .13em; margin-bottom: 6px; }
.home-feature-grid h3 { font-size: clamp(16px, 1.12vw, 18px); line-height: 1.45; }
.home-feature-grid p { font-size: 14px; line-height: 1.75; margin-top: 11px; }
.partner-section { background: linear-gradient(180deg, #f7fafc, #eef5f9) !important; }
.logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logo-grid div { height: 130px; border-color: #dfe8ee; border-radius: 12px; padding: 20px; box-shadow: 0 7px 25px rgba(20, 65, 95, .04); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.logo-grid div:hover { transform: translateY(-4px); border-color: #b7d4e4; box-shadow: 0 17px 34px rgba(20, 65, 95, .1); }
.logo-grid img { max-height: 86px; max-width: 100%; filter: none; opacity: 1; }
#inquiry { background: linear-gradient(125deg, #123650, #164763 58%, #19597b); border: 0; }
.home-inquiry { align-items: start; border: 0; border-radius: 18px; background: transparent; padding: 0; gap: clamp(36px, 5vw, 90px); box-shadow: none; }
.home-inquiry > div:first-child { padding-top: 20px; }
.home-inquiry .eyebrow { color: #9bd6f2; }
.home-inquiry h2 { color: #fff; max-width: 550px; }
.home-inquiry > div:first-child > p:not(.eyebrow) { color: #d4e3ec; font-size: 17px; line-height: 1.8; max-width: 560px; }
.home-inquiry .notice { background: rgba(255,255,255,.08); color: #d7e8f2; border-color: #88c9e7; max-width: 540px; }
.home-inquiry .form-card, .home-inquiry > form { background: #fff; border-radius: 15px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 25px 65px rgba(3, 24, 40, .2); }
.home-inquiry .field input, .home-inquiry .field textarea { background: #f9fbfc; }

/* Only animate when the browser supports it; content remains visible otherwise. */
html.has-js .reveal-ready { opacity: 0; transform: translateY(22px); }
html.has-js .reveal-ready.is-visible { opacity: 1; transform: translateY(0); transition: opacity .65s ease, transform .65s ease; }
@media (max-width: 1100px) {
  .home-feature-grid, .home-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .section { padding-block: 60px; }
  .section-head { display: block; }
  .section-head h2, .home-inquiry h2 { font-size: clamp(30px, 7vw, 38px); }
  .section-head .text-link { display: inline-flex; margin-top: 12px; }
  .home-hero-grid { min-height: 0; padding-block: 55px 65px; }
  .home-hero h1 { font-size: clamp(38px, 8.7vw, 53px); }
  .home-media img { height: clamp(260px, 62vw, 380px); }
  .home-feature-grid, .home-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-feature-grid article { min-height: 250px; }
  .home-areas article { min-height: 175px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-inquiry > div:first-child { padding-top: 0; }
}
@media (max-width: 520px) {
  .home-hero .actions .btn { flex: 1 1 170px; }
  .home-feature-grid, .home-areas { grid-template-columns: 1fr; }
  .home-feature-grid article { min-height: 0; }
  .home-areas article { min-height: 0; display: flex; align-items: center; gap: 19px; }
  .home-areas h3 { margin: 0; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .logo-grid div { height: 105px; padding: 14px; }
  .logo-grid img { max-height: 70px; }
  .home-media-toolbar { align-items: flex-start; flex-direction: column; }
  .home-inquiry .form-card, .home-inquiry > form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal-ready, html.has-js .reveal-ready.is-visible { opacity: 1; transform: none; transition: none; }
  .home-media img, .home-feature-grid article, .home-areas article, .logo-grid div, .card, .feature, .feature-list article, .insight-card, .timeline article { transition: none; }
}
