/*
Theme Name: JICK 特定技能サポート
Theme URI: https://jick.co.jp/
Author: 日本情報コンサルティング株式会社
Author URI: https://jick.co.jp/
Description: 日本情報コンサルティング株式会社（JICK）の登録支援機関向けコーポレートテーマ。特定技能制度と登録支援機関のサービスを紹介する、ロイヤルブルー〜シアン基調のスタイリッシュでレスポンシブなWordPressテーマ。日本語・英語・ベトナム語の切替に対応。
Version: 1.7.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jick-tokutei
Tags: business, corporate, blue, responsive, translation-ready, custom-menu, custom-logo, one-column
*/

/* =========================================================
   JICK 特定技能サポート — Design System
   ========================================================= */

:root {
  /* Brand blues — sampled from the JICK logo (#0E6EB8) */
  --brand:      #0E6EB8;
  --brand-2:    #2AA6E4;
  --brand-deep: #0a3161;
  --brand-700:  #0b5c9c;
  --navy:       #08233f;
  --navy-soft:  #123454;

  --grad-brand: linear-gradient(120deg, #0E6EB8 0%, #1889cf 46%, #2AA6E4 100%);
  --grad-hero:  linear-gradient(135deg, #062a4d 0%, #0b4d8a 55%, #0E6EB8 100%);
  --grad-soft:  linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);

  --ink:      #10233b;
  --ink-2:    #43566e;
  --muted:    #6b7a90;
  --line:     #e2e9f2;
  --sky-50:   #eff6ff;
  --sky-100:  #dbeafe;
  --white:    #ffffff;
  --bg:       #ffffff;

  --shadow-sm: 0 2px 8px rgba(10,42,82,.06);
  --shadow:    0 12px 32px rgba(10,42,82,.10);
  --shadow-lg: 0 26px 60px rgba(10,42,82,.16);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --container: 1160px;
  --gutter: clamp(18px, 5vw, 40px);

  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 700; color: var(--ink); letter-spacing: .02em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--grad-soft); }
.section--navy { background: var(--grad-hero); color: #eaf3ff; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Section head ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  padding: .5em 1.1em; border-radius: 999px; margin-bottom: 1.1rem;
}
.section--navy .eyebrow { color: #bfe3ff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.sec-title { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
.sec-title .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-lead { color: var(--ink-2); font-size: 1.02rem; margin-top: .6rem; }
.section--navy .sec-lead { color: #cfe4fb; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: .98rem; letter-spacing: .03em;
  padding: .95em 1.8em; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  will-change: transform;
}
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 26px rgba(0,102,204,.34); }
.btn--primary:hover { color:#fff; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0,102,204,.42); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.btn--light { background:#fff; color: var(--brand-deep); }
.btn--light:hover { color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--lg { font-size: 1.05rem; padding: 1.05em 2.3em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding-block: 12px; }
.header-nav-row { border-top: 1px solid var(--line); background: rgba(255,255,255,.55); }
.header-nav-row .container { display: flex; justify-content: flex-start; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--brand-deep); font-size: 1.15rem; letter-spacing: .02em; }
.brand:hover { color: var(--brand-deep); }
.brand .logo-mark { flex: 0 0 auto; }
.brand small { display:block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.brand { min-width: 0; flex-shrink: 1; padding-block: 12px; }
.brand-logo { width:auto; display:block; max-width: 100%; }
.brand-logo--full { height: 48px; max-width: 100%; }
.brand-logo--mark { display:none; height: 40px; }
.header-actions { flex-shrink: 0; }

/* WordPress custom logo (Appearance → Customize → Site Identity).
   Sized here so an uploaded logo obeys the theme, not WordPress defaults.
   Sits inside the normal container, so it keeps the standard left margin. */
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; padding: 10px 0; margin: 0; min-width: 0; flex-shrink: 1; }
.custom-logo,
.custom-logo-link img {
  height: 48px !important;
  width: auto !important;
  max-width: 100%;
  display: block;
}

/* Switch to the compact mark whenever the mobile (hamburger) menu is active */
@media (max-width: 860px) {
  .brand-logo--full { display:none; }
  .brand-logo--mark { display:block; }
  .custom-logo,
  .custom-logo-link img { height: auto !important; max-height: 40px; max-width: 100%; }

  /* Two rows on mobile: row 1 = logo (full width, on top), row 2 = language flags + menu */
  .header-top-inner { flex-wrap: wrap; row-gap: 8px; padding-block: 10px; }
  .brand, .custom-logo-link { order: 1; flex: 1 0 100%; min-width: 0; }
  .header-actions { order: 2; flex: 1 1 auto; justify-content: flex-start; }
  .menu-btn { order: 3; flex: 0 0 auto; }
  .lang-switch { flex-shrink: 0; }
}

.nav { display: flex; align-items: center; justify-content: flex-start; gap: clamp(.6rem, 1.6vw, 1.6rem); min-height: 54px; width: 100%; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); }
.nav a.nav-link { white-space: nowrap; }
.nav-cta--mobile { display: none; }
.nav-menu li { margin: 0; }
.nav a.nav-link { color: var(--ink); font-weight: 600; font-size: .93rem; position: relative; padding: .4em 0; }
.nav a.nav-link::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--grad-brand); transition: width .25s ease; }
.nav a.nav-link:hover { color: var(--brand); }
.nav a.nav-link:hover::after { width:100%; }

.header-actions { display: flex; align-items: center; gap: .8rem; }

/* Language switch — flag icons */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: 999px; padding: 4px; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; line-height: 0;
  padding: 3px; border-radius: 8px; opacity: .5; transition: opacity .2s ease, box-shadow .2s ease, background .2s ease;
}
.lang-switch button .flag { width: 26px; height: 18px; display: block; border-radius: 4px; box-shadow: 0 0 0 1px rgba(10,42,82,.12); }
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active { opacity: 1; background: #fff; box-shadow: 0 0 0 2px var(--brand), 0 3px 8px rgba(14,110,184,.25); }

.nav-toggle { display: none; }

/* Mobile nav */
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 10px;
}
.menu-btn span { position:absolute; left:11px; right:11px; height:2px; background: var(--brand-deep); border-radius:2px; transition: transform .3s ease, opacity .2s ease; }
.menu-btn span:nth-child(1){ top:15px; }
.menu-btn span:nth-child(2){ top:21px; }
.menu-btn span:nth-child(3){ top:27px; }
body.nav-open .menu-btn span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2){ opacity:0; }
body.nav-open .menu-btn span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; padding: clamp(84px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); }
.hero::before, .hero::after {
  content:""; position:absolute; border-radius: 50%; filter: blur(10px); opacity:.5; pointer-events:none;
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(0,160,233,.55), transparent 62%); }
.hero::after  { width: 420px; height: 420px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(0,102,204,.5), transparent 62%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5em; font-size:.8rem; font-weight:700; letter-spacing:.12em;
  background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#dceeff;
  padding:.5em 1.1em; border-radius:999px; margin-bottom: 1.4rem;
}
.hero h1 { color:#fff; font-size: clamp(2rem, 5.6vw, 3.5rem); line-height:1.24; letter-spacing:.01em; }
.hero h1 .grad { background: linear-gradient(100deg,#8fd4ff,#e8f6ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead { color:#d5e7fb; font-size: clamp(1rem,2.4vw,1.18rem); margin: 1.2rem 0 2rem; max-width: 34em; }
.hero-cta { display:flex; flex-wrap:wrap; gap:.9rem; }
.hero-trust { display:flex; flex-wrap:wrap; gap:1.6rem; margin-top:2.4rem; color:#bcd6f4; font-size:.86rem; }
.hero-trust b { color:#fff; font-size:1.5rem; display:block; line-height:1.1; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg); padding: clamp(22px,3vw,32px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color:#fff; font-size:1.05rem; margin-bottom:1rem; display:flex; align-items:center; gap:.5em; }
.hero-flow { display:grid; gap:.7rem; }
.hero-flow .step { display:flex; align-items:center; gap:.9rem; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); border-radius:14px; padding:.75rem .95rem; }
.hero-flow .num { flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:var(--grad-brand); display:grid; place-items:center; font-weight:800; font-size:.85rem; color:#fff; box-shadow:0 6px 14px rgba(0,160,233,.4); }
.hero-flow .step span.t { font-size:.9rem; font-weight:600; color:#eaf4ff; }

.hero-wave { position:absolute; left:0; right:0; bottom:-1px; z-index:1; line-height:0; }
.hero-wave svg { width:100%; height:auto; display:block; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2.5vw,28px); }
.stat { text-align:center; padding: 1.6rem 1rem; background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .n { font-size: clamp(2rem,5vw,2.9rem); font-weight:800; background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; }
.stat .n small { font-size:.9rem; -webkit-text-fill-color: var(--brand); }
.stat .l { margin-top:.5rem; font-size:.9rem; color:var(--ink-2); font-weight:600; }

/* ---------- Cards grid ---------- */
.grid { display:grid; gap: clamp(16px,2.4vw,26px); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px,2.6vw,30px); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-100); }
.card .ic {
  width:54px; height:54px; border-radius:15px; display:grid; place-items:center; margin-bottom:1.1rem;
  background: var(--sky-50); color: var(--brand); border:1px solid var(--sky-100);
}
.card .ic svg { width:26px; height:26px; }
.card h3 { font-size:1.12rem; margin-bottom:.5rem; }
.card p { color:var(--ink-2); font-size:.95rem; margin:0; }

/* Feature card with number */
.numcard { padding-left: clamp(22px,2.6vw,30px); }
.numcard .tag { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 .5em; border-radius:10px; background:var(--grad-brand); color:#fff; font-weight:800; font-size:.9rem; margin-bottom:.9rem; box-shadow:0 6px 14px rgba(0,102,204,.3); }

/* ---------- 1号 / 2号 compare ---------- */
.compare { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,2.4vw,24px); }
.plan { border-radius: var(--radius-lg); padding: clamp(24px,3vw,36px); border:1px solid var(--line); background:#fff; box-shadow: var(--shadow-sm); }
.plan.is-featured { background: var(--grad-hero); color:#eaf3ff; border-color:transparent; box-shadow: var(--shadow-lg); }
.plan.is-featured h3, .plan.is-featured .plan-price { color:#fff; }
.plan .plan-ey { font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brand); }
.plan.is-featured .plan-ey { color:#8fd4ff; }
.plan h3 { font-size:1.5rem; margin:.3rem 0 1rem; }
.plan ul { list-style:none; margin:1.2rem 0 0; padding:0; display:grid; gap:.7rem; }
.plan li { display:flex; gap:.6rem; align-items:flex-start; font-size:.95rem; color:var(--ink-2); }
.plan.is-featured li { color:#d6e8fb; }
.plan li .chk { flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:var(--sky-50); color:var(--brand); display:grid; place-items:center; margin-top:2px; }
.plan.is-featured li .chk { background: rgba(255,255,255,.16); color:#bfe6ff; }

/* ---------- Timeline (flow) ---------- */
.timeline { position:relative; display:grid; gap: clamp(14px,2vw,22px); max-width: 860px; margin-inline:auto; }
.tl-item { display:grid; grid-template-columns: 64px 1fr; gap: clamp(14px,2.5vw,24px); align-items:start; }
.tl-num { position:relative; width:64px; }
.tl-num .dot { width:56px; height:56px; border-radius:50%; background: var(--grad-brand); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.2rem; box-shadow:0 10px 22px rgba(0,102,204,.32); }
.tl-item:not(:last-child) .tl-num::after { content:""; position:absolute; left:27px; top:56px; bottom:-22px; width:2px; background: linear-gradient(var(--brand),transparent); }
.tl-body { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: clamp(18px,2.4vw,24px); box-shadow: var(--shadow-sm); }
.tl-body h3 { font-size:1.1rem; margin-bottom:.35rem; }
.tl-body p { margin:0; color:var(--ink-2); font-size:.94rem; }

/* ---------- Sectors (16 fields) ---------- */
.sectors { display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(10px,1.6vw,16px); }
.sector { display:flex; align-items:center; gap:.7rem; background:#fff; border:1px solid var(--line); border-radius:14px; padding:.9rem 1rem; box-shadow:var(--shadow-sm); transition: transform .2s ease, border-color .2s ease; }
.sector:hover { transform: translateY(-3px); border-color: var(--sky-100); }
.sector .si { flex:0 0 auto; width:38px; height:38px; border-radius:10px; background:var(--sky-50); color:var(--brand); display:grid; place-items:center; }
.sector .si svg { width:20px; height:20px; }
.sector b { font-size:.92rem; font-weight:700; color:var(--ink); }
.sector.is-new::after { content:"NEW"; margin-left:auto; font-size:.6rem; font-weight:800; letter-spacing:.06em; color:#fff; background: var(--brand-2); padding:.2em .5em; border-radius:6px; }

/* ---------- Why us ---------- */
.why { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,60px); align-items:center; }
.why-list { display:grid; gap:1rem; }
.why-item { display:flex; gap:1rem; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem 1.3rem; box-shadow:var(--shadow-sm); }
.why-item .wi { flex:0 0 auto; width:48px; height:48px; border-radius:13px; background:var(--grad-brand); color:#fff; display:grid; place-items:center; box-shadow:0 8px 18px rgba(0,102,204,.3); }
.why-item h3 { font-size:1.05rem; margin-bottom:.3rem; }
.why-item p { margin:0; color:var(--ink-2); font-size:.92rem; }
.why-visual { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); background: var(--grad-hero); min-height: 340px; position:relative; display:grid; place-items:center; padding:2rem; }
.why-visual .globe { color:#fff; text-align:center; }
.why-visual .globe .big { font-size: clamp(2.6rem,7vw,4rem); font-weight:800; background: linear-gradient(100deg,#8fd4ff,#fff); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; }
.why-visual .globe p { color:#cfe4fb; margin:.6rem 0 0; }
.langchips { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; margin-top:1.4rem; }
.langchips span { background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.24); color:#eaf4ff; padding:.4em .9em; border-radius:999px; font-size:.82rem; font-weight:600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline:auto; display:grid; gap:.9rem; }
.faq details { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.faq summary { list-style:none; cursor:pointer; padding: 1.15rem 1.4rem; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:.8rem; font-size:1rem; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .q { flex:0 0 auto; width:28px; height:28px; border-radius:8px; background:var(--sky-50); color:var(--brand); display:grid; place-items:center; font-weight:800; font-size:.85rem; }
.faq summary .arw { margin-left:auto; transition: transform .3s ease; color:var(--brand); }
.faq details[open] summary .arw { transform: rotate(180deg); }
.faq .a { padding: 0 1.4rem 1.3rem 4rem; color:var(--ink-2); font-size:.95rem; }

/* ---------- CTA band ---------- */
.cta-band { position:relative; background: var(--grad-hero); color:#fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); text-align:center; overflow:hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background: radial-gradient(circle, rgba(0,160,233,.45), transparent 60%); top:-120px; right:-80px; }
.cta-band h2 { color:#fff; font-size: clamp(1.6rem,4vw,2.4rem); position:relative; }
.cta-band p { color:#d3e6fb; position:relative; margin:.6rem auto 2rem; max-width:42em; }
.cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; position:relative; }

/* ---------- Contact ---------- */
.contact-wrap { display:grid; grid-template-columns: 0.72fr 1fr; gap: clamp(20px,3vw,40px); align-items: start; }
.contact-info { display:grid; gap:1.1rem; align-content:start; }
.contact-form-col { min-width: 0; display: flex; flex-direction: column; align-items: flex-end; }
.contact-form-col > .form-alert { width: 100%; max-width: 560px; }
.ci-item { display:flex; gap:1rem; align-items:flex-start; }
.ci-item .ci { flex:0 0 auto; width:46px; height:46px; border-radius:12px; background:var(--sky-50); border:1px solid var(--sky-100); color:var(--brand); display:grid; place-items:center; }
.ci-item h4 { margin:0 0 .15rem; font-size:.98rem; }
.ci-item p { margin:0; color:var(--ink-2); font-size:.94rem; }
.form { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding: clamp(24px,3vw,36px); box-shadow: var(--shadow); width: 100%; max-width: 560px; }
.form .row { display:grid; gap:.4rem; margin-bottom:1.1rem; }
.form label { font-size:.86rem; font-weight:700; color:var(--ink); }
.form input, .form textarea, .form select {
  font-family: var(--font); font-size:.98rem; color:var(--ink);
  width:100%; min-width:0; box-sizing:border-box;
  border:1.5px solid var(--line); border-radius:12px; padding:.85em 1em; background:#fbfdff; transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 4px rgba(0,102,204,.12); }
.form textarea { resize:vertical; min-height:130px; }
.form .two { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:1rem; }
.form .row { min-width: 0; }
.form-note { font-size:.8rem; color:var(--muted); margin-top:.4rem; }
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-alert { border-radius:12px; padding:.95rem 1.2rem; margin-bottom:1.2rem; font-size:.92rem; font-weight:600; line-height:1.6; }
.form-alert--ok { background:#e7f7ee; border:1px solid #b6e6ca; color:#0f7a43; }
.form-alert--err { background:#fdecec; border:1px solid #f5c2c2; color:#c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color:#c6d6ec; padding: clamp(56px,7vw,84px) 0 0; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px,4vw,40px); padding-bottom: 3rem; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color:#fff; }
.footer-brand .brand small { color:#8ba7c9; }
.footer-brand p { color:#9fb6d4; font-size:.9rem; margin-top:1rem; max-width:30em; }
.footer-col h4 { color:#fff; font-size:.95rem; margin-bottom:1rem; letter-spacing:.04em; }
.footer-col ul { list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.footer-col a { color:#a9c0dd; font-size:.9rem; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.8rem; padding: 1.6rem 0; font-size:.82rem; color:#8ba7c9; }
.footer-bottom a { color:#8ba7c9; }
.footer-badges { display:flex; gap:.6rem; flex-wrap:wrap; }
.footer-badges span { background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); padding:.35em .8em; border-radius:999px; font-size:.72rem; color:#bcd0ea; }

/* ---------- Page content (generic) ---------- */
.page-hero { background: var(--grad-hero); color:#fff; padding: clamp(70px,10vw,120px) 0 clamp(50px,7vw,80px); text-align:center; position:relative; overflow:hidden; }
.page-hero h1 { color:#fff; font-size: clamp(1.8rem,5vw,2.8rem); }
.page-hero .crumb { color:#bcd6f4; font-size:.85rem; margin-top:.6rem; }
.entry-content { max-width: 820px; margin-inline:auto; }
.entry-content h2 { font-size:1.5rem; margin-top:2.2rem; padding-left:.7rem; border-left:5px solid var(--brand); }
.entry-content h3 { font-size:1.2rem; margin-top:1.6rem; }
.entry-content p { color:var(--ink-2); }
.entry-content img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1.4rem 0; }
.entry-content a { text-decoration: underline; }
.entry-content ul, .entry-content ol { color:var(--ink-2); }
.entry-content blockquote { margin: 1.4rem 0; padding: 1rem 1.4rem; background: var(--sky-50); border-left:5px solid var(--brand); border-radius:0 12px 12px 0; }

/* Reveal on scroll */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }

/* Skip link / a11y */
.skip-link { position:absolute; left:-9999px; top:0; background:#fff; padding:.6em 1em; z-index:999; border-radius:0 0 8px 0; }
.skip-link:focus { left:0; }

/* WP core alignments */
.aligncenter { margin-inline:auto; }
.alignright { float:right; margin: 0 0 1rem 1.5rem; }
.alignleft { float:left; margin: 0 1.5rem 1rem 0; }
.wp-caption-text { font-size:.82rem; color:var(--muted); text-align:center; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .sectors { grid-template-columns: repeat(3,1fr); }
  .stats { grid-template-columns: repeat(4,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order:-1; max-width: 460px; }
  .why { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form-col { align-items: stretch; }
  .contact-form-col > .form,
  .contact-form-col > .form-alert { max-width: none; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }

  /* Mobile menu — nav row drops directly beneath the top bar (robust to logo height) */
  .menu-btn { display:block; }
  .header-nav-row {
    position: absolute; top: 100%; left: 0; right: 0; border-top: 0;
    background:#fff; border-bottom:1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease; z-index: 95;
    max-height: 80vh; overflow-y: auto;
  }
  body.nav-open .header-nav-row { opacity: 1; visibility: visible; transform: none; }
  .header-nav-row .container { display:block; }
  .nav {
    flex-direction: column; align-items: stretch; gap:0; min-height:auto; width:100%;
    padding: .4rem 0 1.2rem;
  }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav a.nav-link { padding: .95em .2em; border-bottom:1px solid var(--line); font-size:1.02rem; display:block; white-space: normal; }
  .nav a.nav-link::after { display:none; }
  .nav .btn { margin-top: 1.1rem; }
  .nav-cta--top { display: none; }
  .nav-cta--mobile { display: block; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.1rem; }
  .tl-item { grid-template-columns: 52px 1fr; }
  .tl-num { width:52px; }
  .tl-num .dot { width:48px; height:48px; font-size:1.05rem; }
  .tl-item:not(:last-child) .tl-num::after { left:23px; top:48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; }
  .reveal { opacity:1 !important; transform:none !important; transition:none; }
}
