/*
Theme Name: AsaSimple
Theme URI: https://www.asasimple.jp/
Author: 株式会社アズアシンプル
Author URI: https://www.asasimple.jp/
Description: 株式会社アズアシンプルのコーポレートテーマ。新ロゴのネイビー〜シアンのグラデーションを基調に、余白とタイポグラフィで「シンプルで洗練された」印象をつくります。Elementor と併用可能。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: asasimple
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --c-navy-900: #061440;
  --c-navy: #0b2266;
  --c-blue-700: #0f3fa8;
  --c-blue: #1463d8;
  --c-sky: #1c9bef;
  --c-cyan: #22d3ee;
  --c-ink: #141c33;
  --c-text: #2a3350;
  --c-muted: #5d6886;
  --c-line: #e2e9f3;
  --c-soft: #f4f7fc;
  --c-soft-2: #eaf2fd;
  --c-white: #fff;

  --g-brand: linear-gradient(120deg, #0b2a8f 0%, #1463d8 48%, #22d3ee 100%);
  --g-brand-soft: linear-gradient(120deg, rgba(20, 99, 216, .10), rgba(34, 211, 238, .10));
  --g-deep: linear-gradient(150deg, #061440 0%, #0b2266 55%, #0f3fa8 100%);

  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --f-en: "Manrope", "Noto Sans JP", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 102, .06), 0 2px 8px rgba(11, 34, 102, .04);
  --shadow-md: 0 10px 30px -12px rgba(11, 34, 102, .18);
  --shadow-lg: 0 30px 60px -24px rgba(11, 34, 102, .28);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 140px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-navy); }
h1, h2, h3, h4, h5, h6 { color: var(--c-ink); line-height: 1.45; margin: 0 0 .6em; font-weight: 700; letter-spacing: .04em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(34, 211, 238, .3); }

.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-md);
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section--soft { background: var(--c-soft); }
.section--tight { padding: calc(var(--section) * .6) 0; }

/* ==========================================================================
   3. Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--g-brand); border-radius: 2px; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .06em; margin: 0; }
.section-lead { color: var(--c-muted); margin: 18px 0 0; max-width: 640px; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.text-grad { background: var(--g-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.en { font-family: var(--f-en); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  --bh: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.3;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--g-brand); background-size: 140% 100%; color: #fff; box-shadow: 0 12px 24px -12px rgba(20, 99, 216, .7); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 30px -14px rgba(20, 99, 216, .8); }
.btn--ghost { border-color: var(--c-line); color: var(--c-navy); background: #fff; }
.btn--ghost:hover { border-color: var(--c-blue); color: var(--c-blue); }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--white:hover { color: var(--c-blue); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-white { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--sm { --bh: 44px; padding: 0 22px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--c-navy); letter-spacing: .06em;
}
.link-arrow .ico {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--c-line); display: grid; place-items: center;
  transition: all .25s var(--ease);
}
.link-arrow .ico svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--c-blue); }
.link-arrow:hover .ico { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.topbar {
  background: var(--c-navy-900); color: rgba(255, 255, 255, .86); font-size: 13px; letter-spacing: .05em;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; text-align: center; }
.topbar a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--c-cyan); }
.topbar .tag { font-family: var(--f-en); font-size: 10px; font-weight: 800; letter-spacing: .14em; padding: 2px 8px; border-radius: 99px; background: var(--g-brand); color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(11, 34, 102, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-logo { display: block; flex: none; }
.site-logo img { height: 44px; width: auto; }
.custom-logo-link img { height: 44px; width: auto; }

.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.global-nav .menu > li { position: relative; }
.global-nav .menu > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--c-ink); letter-spacing: .06em; border-radius: 999px;
}
.global-nav .menu > li > a:hover, .global-nav .menu > li.current-menu-item > a { color: var(--c-blue); }
.global-nav .menu > li.menu-item-has-children > a::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.global-nav .sub-menu {
  position: absolute; top: 100%; left: 50%; min-width: 260px; list-style: none; padding: 10px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .25s var(--ease);
}
.global-nav .menu > li:hover > .sub-menu, .global-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.global-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--c-ink); line-height: 1.5; }
.global-nav .sub-menu a:hover { background: var(--c-soft); color: var(--c-blue); }
.header-cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: var(--c-soft); border-radius: 50%; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .site-logo img, .custom-logo-link img { height: 36px; }
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s var(--ease);
  }
  .nav-open .global-nav { opacity: 1; visibility: visible; transform: none; }
  .global-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav .menu > li { border-bottom: 1px solid var(--c-line); }
  .global-nav .menu > li > a { padding: 16px 4px; font-size: 16px; border-radius: 0; justify-content: space-between; }
  .global-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .global-nav .sub-menu a { font-size: 13px; padding: 8px 10px; background: var(--c-soft); }
  .header-cta { flex-direction: column; }
  .header-cta .btn--ghost { display: inline-flex; }
  .header-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 130px); background: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 65%); }
.hero__glow--2 { width: 460px; height: 460px; right: 22%; bottom: -260px; background: radial-gradient(circle, rgba(20, 99, 216, .4), transparent 65%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--c-muted); margin-bottom: 28px;
}
.hero__badge b { font-family: var(--f-en); font-size: 11px; letter-spacing: .12em; color: #fff; background: var(--c-navy); padding: 4px 10px; border-radius: 999px; }
.hero__title { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.32; letter-spacing: .05em; margin-bottom: 28px; font-weight: 700; }
.hero__title .line { display: block; }
.hero__lead { font-size: clamp(15px, 1.4vw, 17px); color: var(--c-muted); max-width: 540px; margin-bottom: 40px; line-height: 2.05; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; color: var(--c-sky); }

/* Hero visual: rising bars from the logo */
.hero-visual { position: relative; aspect-ratio: 1 / .92; }
.hero-visual__panel {
  position: absolute; inset: 6% 0 0 8%; border-radius: 32px; background: var(--g-deep); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-visual__panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-visual__bars { position: absolute; left: 14%; right: 14%; bottom: 22%; height: 56%; display: flex; align-items: flex-end; gap: 7%; }
.hero-visual__bars span {
  flex: 1; border-radius: 14px 14px 4px 4px; transform-origin: bottom;
  animation: barRise 1.4s var(--ease) both;
}
.hero-visual__bars span:nth-child(1) { height: 42%; background: linear-gradient(180deg, #1a4fd0, #0b2a8f); animation-delay: .1s; }
.hero-visual__bars span:nth-child(2) { height: 68%; background: linear-gradient(180deg, #1c9bef, #1463d8); animation-delay: .25s; }
.hero-visual__bars span:nth-child(3) { height: 100%; background: linear-gradient(180deg, #22d3ee, #1c9bef); animation-delay: .4s; }
.hero-visual__swoosh { position: absolute; left: -4%; right: 0; bottom: 6%; width: 108%; }
@keyframes barRise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.float-card {
  position: absolute; background: rgba(255, 255, 255, .96); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--c-ink);
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--c-muted); font-size: 11px; letter-spacing: .08em; }
.float-card b { font-weight: 700; }
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--g-brand-soft); color: var(--c-blue); flex: none; }
.float-card .fc-ico svg { width: 20px; height: 20px; }
.float-card--a { left: 0; top: 14%; }
.float-card--b { right: -4%; top: 38%; animation-delay: -2s; }
.float-card--c { left: 4%; bottom: 0; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 12px auto 0; }
}
@media (max-width: 560px) {
  .float-card--b { right: 0; }
  .float-card { padding: 10px 12px; font-size: 12px; }
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   7. Trust strip
   ========================================================================== */
.trust { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #fff; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--c-line); font-size: 14px; line-height: 1.55; color: var(--c-ink); font-weight: 500; }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item small { display: block; font-size: 11px; color: var(--c-muted); font-weight: 400; letter-spacing: .06em; }
.trust__item svg { width: 28px; height: 28px; color: var(--c-blue); flex: none; }
@media (max-width: 900px) {
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--c-line); }
  .trust__item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ==========================================================================
   8. Problems
   ========================================================================== */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem {
  display: flex; gap: 16px; align-items: flex-start; padding: 26px 26px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--c-line);
  font-size: 15px; line-height: 1.75; color: var(--c-ink); font-weight: 500;
}
.problem__check { width: 26px; height: 26px; border-radius: 50%; background: var(--c-soft-2); color: var(--c-blue); display: grid; place-items: center; flex: none; margin-top: 1px; }
.problem__check svg { width: 14px; height: 14px; }
.problems-answer { margin-top: 56px; text-align: center; }
.problems-answer__arrow { width: 2px; height: 56px; margin: 0 auto 24px; background: linear-gradient(var(--c-line), var(--c-blue)); }
.problems-answer p { font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; color: var(--c-ink); letter-spacing: .06em; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .problems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .problems { grid-template-columns: 1fr; } }

/* ==========================================================================
   9. Services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.service-card {
  grid-column: span 4; position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--c-line); color: var(--c-text); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--g-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--c-text); }
.service-card:hover::after { transform: scaleX(1); }
.service-card--wide { grid-column: span 6; }
.service-card__no { position: absolute; top: 26px; right: 28px; font-family: var(--f-en); font-weight: 800; font-size: 13px; color: var(--c-line); letter-spacing: .1em; }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--g-brand-soft); color: var(--c-blue); display: grid; place-items: center; margin-bottom: 24px; transition: all .35s var(--ease); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--g-brand); color: #fff; }
.service-card__en { font-family: var(--f-en); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-sky); font-weight: 700; margin-bottom: 4px; }
.service-card__title { font-size: 20px; margin-bottom: 12px; }
.service-card__text { font-size: 14px; color: var(--c-muted); line-height: 1.85; margin-bottom: 22px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; list-style: none; }
.service-card__tags li { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--c-soft); color: var(--c-muted); }
@media (max-width: 1024px) { .service-card, .service-card--wide { grid-column: span 6; } }
@media (max-width: 640px) { .service-card, .service-card--wide { grid-column: span 12; } }

/* ==========================================================================
   10. Reasons
   ========================================================================== */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: reason; }
.reason { position: relative; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); }
.reason::before {
  counter-increment: reason; content: "0" counter(reason);
  font-family: var(--f-en); font-weight: 800; font-size: 64px; line-height: 1; display: block; margin-bottom: 22px;
  background: linear-gradient(180deg, #22d3ee, rgba(34, 211, 238, .15)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reason::after { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--c-cyan); }
.reason h3 { color: #fff; font-size: 21px; margin-bottom: 14px; }
.reason p { color: rgba(255, 255, 255, .72); font-size: 14.5px; margin: 0; }
.section--deep { background: var(--g-deep); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section--deep .section-title { color: #fff; }
.section--deep .eyebrow { color: var(--c-cyan); }
.section--deep .section-lead { color: rgba(255, 255, 255, .7); }
.section--deep .deco-mark { position: absolute; right: -60px; bottom: -40px; width: 420px; opacity: .06; pointer-events: none; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. Programs (free diagnosis / consultation / AppSheet)
   ========================================================================== */
.programs { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.program {
  position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-text); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--c-text); }
.program--feature { grid-row: span 2; background: var(--g-brand); border: 0; color: #fff; }
.program--feature:hover { color: #fff; }
.program--feature::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .08);
}
.program__label { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 12px; border-radius: 99px; background: var(--c-soft-2); color: var(--c-blue); margin-bottom: 18px; }
.program--feature .program__label { background: rgba(255, 255, 255, .16); color: #fff; }
.program__title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.program--feature .program__title { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.program__text { font-size: 14.5px; color: var(--c-muted); margin: 0; }
.program--feature .program__text { color: rgba(255, 255, 255, .85); font-size: 15.5px; max-width: 440px; }
.program__points { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.program__points li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 500; }
.program__points svg { width: 18px; height: 18px; flex: none; }
.program--feature .link-arrow { color: #fff; }
.program--feature .link-arrow .ico { border-color: rgba(255, 255, 255, .4); }
.program--feature:hover .link-arrow .ico { background: #fff; color: var(--c-blue); border-color: #fff; }
.program:hover .link-arrow .ico { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } .program--feature { grid-row: auto; } }

/* ==========================================================================
   12. Flow
   ========================================================================== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; position: relative; }
.flow::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--c-line), var(--c-sky), var(--c-line)); }
.flow__step { position: relative; text-align: center; padding: 0 8px; }
.flow__num {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--c-line); position: relative; z-index: 1;
  display: grid; place-items: center; font-family: var(--f-en); font-weight: 800; color: var(--c-blue); font-size: 18px;
  box-shadow: 0 0 0 8px var(--c-soft);
}
.flow__step:last-child .flow__num { background: var(--g-brand); color: #fff; border: 0; }
.flow__step h3 { font-size: 17px; margin-bottom: 8px; }
.flow__step p { font-size: 13.5px; color: var(--c-muted); line-height: 1.8; margin: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--c-line), var(--c-sky)); }
  .flow__step { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding: 0 0 28px; }
  .flow__num { margin: 0; grid-row: span 2; }
  .flow__step h3 { margin: 16px 0 4px; }
}

/* ==========================================================================
   13. Posts (News / Column)
   ========================================================================== */
.posts-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.posts-col__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--c-ink); }
.posts-col__head h3 { margin: 0; font-size: 22px; }
.posts-col__head h3 span { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; color: var(--c-blue); margin-bottom: 4px; }
.post-list { list-style: none; }
.post-item { border-bottom: 1px solid var(--c-line); }
.post-item a { display: grid; grid-template-columns: auto 1fr 20px; gap: 6px 18px; align-items: center; padding: 22px 4px; color: var(--c-ink); transition: padding .3s var(--ease); }
.post-item a:hover { padding-left: 12px; color: var(--c-blue); }
.post-item time { font-family: var(--f-en); font-size: 13px; color: var(--c-muted); letter-spacing: .06em; font-weight: 600; }
.post-item .cat { justify-self: start; font-size: 11px; padding: 2px 10px; border-radius: 99px; background: var(--c-soft-2); color: var(--c-blue); font-weight: 700; letter-spacing: .06em; }
.post-item .title { grid-column: 1 / 3; font-size: 15px; line-height: 1.7; font-weight: 500; }
.post-item .arrow { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; color: var(--c-muted); }
.posts-empty { color: var(--c-muted); padding: 24px 0; }
@media (max-width: 860px) { .posts-wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   14. Message
   ========================================================================== */
.message { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.message__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--g-brand-soft); }
.message__photo img { width: 100%; height: 100%; object-fit: cover; }
.message__photo--placeholder { display: grid; place-items: center; }
.message__photo--placeholder img { width: 52%; height: auto; object-fit: contain; opacity: .9; }
.message__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--g-brand); }
.message__quote { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.6; color: var(--c-ink); letter-spacing: .05em; margin-bottom: 28px; }
.message__body p { color: var(--c-text); }
.message__sign { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.message__sign .role { font-size: 13px; color: var(--c-muted); }
.message__sign .name { font-size: 22px; font-weight: 700; color: var(--c-ink); letter-spacing: .12em; }
.message__sign .name small { font-family: var(--f-en); font-size: 12px; letter-spacing: .16em; color: var(--c-muted); margin-left: 12px; font-weight: 600; }
.message__creds { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.message__creds li { font-size: 12px; padding: 4px 12px; border: 1px solid var(--c-line); border-radius: 99px; color: var(--c-muted); }
@media (max-width: 860px) { .message { grid-template-columns: 1fr; } .message__photo { max-width: 420px; } }

/* ==========================================================================
   15. CTA
   ========================================================================== */
.cta { position: relative; padding: var(--section) 0; overflow: hidden; background: var(--g-deep); color: #fff; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 85% 20%, rgba(34, 211, 238, .35), transparent 60%), radial-gradient(ellipse 40% 60% at 10% 100%, rgba(20, 99, 216, .45), transparent 60%);
}
.cta__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cta .eyebrow { color: var(--c-cyan); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta__actions { display: grid; gap: 14px; }
.cta__card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: all .3s var(--ease);
}
.cta__card:hover { background: #fff; color: var(--c-navy); transform: translateX(4px); }
.cta__card b { display: block; font-size: 18px; letter-spacing: .06em; }
.cta__card small { font-size: 12.5px; opacity: .75; }
.cta__card svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer { background: var(--c-navy-900); color: rgba(255, 255, 255, .7); font-size: 14px; padding: 80px 0 32px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin: 0 0 6px; }
.footer-col h4 { color: #fff; font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col li a { font-size: 13.5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom ul { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-bottom .copy { font-family: var(--f-en); letter-spacing: .06em; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--c-navy); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); z-index: 90;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* ==========================================================================
   17. Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 72px); background: var(--c-soft); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); opacity: .7;
}
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--g-brand); }
.page-hero .container { position: relative; }
.page-hero__title { font-size: clamp(28px, 4vw, 46px); margin: 0; letter-spacing: .06em; }
.page-hero__meta { margin-top: 14px; color: var(--c-muted); font-size: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 12.5px; color: var(--c-muted); margin-bottom: 22px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-blue); }

.page-body { padding: clamp(56px, 7vw, 96px) 0 var(--section); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 2.6em; padding-bottom: .6em; border-bottom: 1px solid var(--c-line); position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--g-brand); }
.entry-content h3 { font-size: clamp(18px, 2vw, 22px); margin-top: 2em; padding-left: 16px; border-left: 4px solid var(--c-blue); }
.entry-content h4 { font-size: 17px; margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content ul li::marker { color: var(--c-sky); }
.entry-content blockquote { margin: 2em 0; padding: 24px 28px; background: var(--c-soft); border-radius: var(--r-md); border-left: 4px solid var(--c-sky); color: var(--c-ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 16px 18px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.entry-content th { width: 28%; background: var(--c-soft); color: var(--c-ink); font-weight: 700; }
.entry-content img { border-radius: var(--r-md); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 99, 216, .35); }
.entry-content .wp-block-button__link { background: var(--g-brand); border-radius: 999px; padding: 14px 30px; font-weight: 700; text-decoration: none; color: #fff; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid var(--c-blue); color: var(--c-blue); }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--c-line); font-size: 14px; }
.archive-list { list-style: none; border-top: 1px solid var(--c-ink); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--c-line); color: var(--c-ink); font-family: var(--f-en); font-weight: 700; font-size: 14px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

/* Elementor full-width template */
.page-template-template-fullwidth .site-main, .elementor-page .site-main--elementor { padding: 0; }
.site-main--elementor .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }

/* 404 */
.error-404 { text-align: center; padding: var(--section) 0; }
.error-404 .num { font-family: var(--f-en); font-weight: 800; font-size: clamp(96px, 16vw, 180px); line-height: 1; }

/* ==========================================================================
   18. Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   19. Small-screen refinements
   ========================================================================== */
@media (max-width: 600px) {
  .topbar { font-size: 12px; }
  .topbar .container { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
  .hero__badge { font-size: 11.5px; padding: 4px 12px 4px 4px; gap: 8px; letter-spacing: .01em; }
  .hero__badge b { white-space: nowrap; font-size: 10px; padding: 3px 8px; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item, .trust__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--c-line); padding: 18px 0; }
  .trust__item:last-child { border-bottom: 0; }
}
