/* ==========================================
   かけはし プロダクトサイト
   ========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0b3a68;
  --teal: #19b89f;
  --teal-light: #e8f7f5;
  --navy-light: #eef3fa;
  --gray-50: #f7f9fc;
  --gray-100: #edf2f7;
  --gray-300: #c8d8e8;
  --gray-400: #8fa5be;
  --gray-600: #4a6882;
  --gray-900: #1a2e3f;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 2px 16px rgba(11,58,104,.08);
  --shadow-lg: 0 8px 40px rgba(11,58,104,.14);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Noto Sans JP', 'Inter', sans-serif; font-size: 17px; line-height: 1.75; color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; display: block; margin-bottom: 10px; }
.accent-teal { color: var(--teal); }

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; line-height: 1.3; color: var(--navy); }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--navy); margin-bottom: 8px; }
.lead { font-size: 1.1rem; line-height: 1.85; color: var(--gray-600); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: .92rem; transition: all .18s; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #14a38c; transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy-light); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── Header ── */
.kk-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-100); box-shadow: 0 1px 8px rgba(0,0,0,.05); }
.kk-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.kk-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; color: var(--navy); flex-shrink: 0; }
.kk-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.kk-brand-sub { display: block; font-size: .68rem; font-weight: 700; color: var(--teal); letter-spacing: .1em; margin-top: 3px; }
.kk-brand-logo { height: 58px; width: auto; display: inline-block; padding: 0; }
.kk-nav { display: flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 700; }
.kk-nav a { padding: 8px 12px; border-radius: 999px; }
.kk-nav a { color: var(--gray-600); transition: color .15s; }
.kk-nav a:hover { color: var(--navy); }
.kk-nav-cta { background: var(--teal); color: var(--white) !important; padding: 8px 18px; border-radius: 6px; }
.kk-nav-cta:hover { background: #14a38c !important; }
.monitor-nav-link { color: var(--teal) !important; font-weight: 800; }
.kk-nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.kk-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.kk-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kk-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.kk-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.kk-hero { background: linear-gradient(135deg, #eef3fa 0%, #e8f7f5 100%); padding: 72px 0 64px; }
.kk-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kk-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--gray-50); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head h2 { margin-top: 6px; margin-bottom: 14px; }
.section-head > p { color: var(--gray-600); }
.section-head.center > p { max-width: 600px; margin: 0 auto; }

/* ── Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Card base ── */
.card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* ── Screenshot placeholders ── */
.screenshot-ph { background: var(--navy-light); border: 2px dashed var(--gray-300); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 28px 24px; text-align: center; gap: 8px; }
.ph-icon { font-size: 30px; opacity: .45; }
.ph-label { font-size: 12px; font-weight: 700; color: var(--gray-400); }
.ph-hint { font-size: 11px; color: var(--gray-300); max-width: 260px; line-height: 1.5; }
.screenshot-ph-dual { min-height: 260px; }

/* ── Pain list ── */
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.pain-list li { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 20px 24px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.pain-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(200,40,40,.1); color: #c03030; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; margin-top: 2px; }
.pain-list li strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.pain-list li p { font-size: .9rem; color: var(--gray-600); margin: 0; }

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature-card-img { background: var(--navy-light); padding: 20px 20px 0; border-bottom: 1px solid var(--gray-100); overflow: hidden; }
.feature-card-img img { width: 100%; height: 200px; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; box-shadow: 0 2px 18px rgba(11,58,104,.14); display: block; transition: transform .3s ease; cursor: zoom-in; }
.feature-card-img:hover img { transform: scale(1.04); }
.feature-card-body { padding: 22px 28px 28px; }
.feature-card-body p { font-size: .95rem; color: var(--gray-600); }
.feature-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .75rem; font-weight: 900; margin-bottom: 10px; }

/* ── Flow ── */
.flow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.flow-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.flow-badge { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: .78rem; font-weight: 800; background: var(--navy); color: var(--white); letter-spacing: .03em; }
.flow-badge-user { background: var(--teal); }
.flow-steps { display: flex; flex-direction: column; }
.flow-step { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--gray-100); }
.flow-step:last-child::before { display: none; }
.flow-step-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 900; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.flow-step-num-user { background: var(--teal); }
.flow-step-body { padding-top: 4px; }
.flow-step-body h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.flow-step-body p { font-size: .9rem; color: var(--gray-600); }

/* ── Dual screens ── */
.dual-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dual-screen-item { display: flex; flex-direction: column; gap: 12px; }
.dual-img-wrap { overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.dual-img-wrap img { width: 100%; height: 320px; object-fit: cover; object-position: top; display: block; transition: transform .3s ease; cursor: zoom-in; }
.dual-img-wrap:hover img { transform: scale(1.04); }

/* ── Role cards ── */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.role-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.role-card-head { padding: 20px; color: var(--white); }
.role-admin { background: #0b3a68; }
.role-staff { background: #1a5296; }
.role-user { background: #19b89f; }
.role-kiosk { background: #b8620a; }
.role-card-head h3 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.role-icon { font-size: 22px; margin-bottom: 8px; }
.role-desc { font-size: .76rem; opacity: .88; line-height: 1.5; }
.role-card-body { padding: 16px 18px 20px; }
.role-section-label { font-size: .68rem; font-weight: 800; letter-spacing: .08em; color: var(--gray-400); text-transform: uppercase; margin-top: 14px; margin-bottom: 6px; display: block; }
.role-section-label:first-child { margin-top: 0; }
.role-feature-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.role-feature-list li { display: flex; align-items: flex-start; gap: 7px; font-size: .875rem; line-height: 1.5; color: var(--gray-600); }
.role-feature-list li.yes::before { content: '○'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.role-feature-list li.no::before { content: '✕'; color: #c03030; font-weight: 700; flex-shrink: 0; }
.role-feature-list li.no { opacity: .65; }
.role-kiosk-note { font-size: .75rem; color: var(--gray-400); margin-top: 14px; line-height: 1.5; }

/* ── Platform cards ── */
.platform-card { text-align: center; }
.platform-icon { font-size: 34px; margin-bottom: 14px; }
.platform-card p { font-size: .875rem; color: var(--gray-600); }

/* ── Monitor band ── */
.monitor-band { background: linear-gradient(135deg, #0b3a68 0%, #1a5296 100%); color: var(--white); border-radius: 20px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.monitor-band h2 { color: var(--white); margin-top: 8px; }
.monitor-band p { color: rgba(255,255,255,.78); margin-top: 12px; font-size: .92rem; }
.monitor-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: .72rem; font-weight: 800; padding: 3px 12px; border-radius: 20px; letter-spacing: .05em; }
.monitor-band .btn-outline { border: 2px solid rgba(255,255,255,.35); color: var(--white); background: rgba(255,255,255,.08); white-space: nowrap; flex-shrink: 0; }
.monitor-band .btn-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }

/* ── CTA bottom ── */
.cta-bottom { text-align: center; padding: 80px 24px; background: var(--gray-50); }
.cta-bottom h2 { margin-bottom: 14px; }
.cta-bottom p:not(.eyebrow) { color: var(--gray-600); margin-bottom: 32px; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.kk-footer { background: var(--gray-50); border-top: 1px solid var(--gray-100); color: var(--gray-600); padding: 44px 0 0; }
.kk-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.kk-footer .kk-brand { color: var(--navy); }
.kk-footer .kk-brand-sub { color: var(--teal); }
.kk-footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; align-items: flex-start; }
.kk-footer-links a { color: var(--gray-600); }
.kk-footer-links a:hover { color: var(--navy); }
.kk-footer-studio-link { color: var(--teal); text-decoration: underline; }
.kk-copyright { margin-top: 28px; font-size: .78rem; border-top: 1px solid var(--gray-100); padding: 18px 0; text-align: center; color: var(--gray-400); }

/* ── Monitor page: Hero ── */
.monitor-hero { background: linear-gradient(135deg, #0b3a68 0%, #1a5296 100%); color: var(--white); padding: 72px 0; }
.monitor-hero .eyebrow { color: rgba(255,255,255,.6); }
.monitor-hero h1 { color: var(--white); }
.monitor-hero .lead { color: rgba(255,255,255,.8); margin-top: 16px; }
.monitor-hero-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.monitor-hero-meta span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 700; padding: 6px 16px; border-radius: 20px; }

/* ── Monitor summary cards ── */
.monitor-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.summary-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--gray-100); }
.summary-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--teal-light); }
.summary-card-head h3 { font-size: 1rem; margin: 0; }
.summary-card-icon { font-size: 22px; }
.summary-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.summary-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; color: var(--gray-600); line-height: 1.65; }
.summary-list li::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 6px; }

/* ── Monitor terms grid ── */
.monitor-terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.terms-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.terms-card-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; background: var(--teal-light); }
.terms-card h3 { font-size: 1rem; margin-bottom: 10px; }
.terms-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.8; margin: 0; }
@media (max-width: 768px) {
  .monitor-terms-grid { grid-template-columns: 1fr; }
}

/* ── Selection notice ── */
.selection-notice { background: var(--navy-light); border-left: 3px solid var(--navy); border-radius: 0 10px 10px 0; padding: 20px 24px; font-size: .875rem; color: var(--gray-600); line-height: 1.75; }
.selection-notice strong { color: var(--navy); }

/* ── Form ── */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-section { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.form-section-title { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--gray-400); text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--gray-100); display: block; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: .875rem; font-weight: 700; color: var(--navy); }
.req { color: #d03030; margin-left: 3px; font-size: .78rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: 8px;
  font-size: 1rem; font-family: inherit; color: var(--gray-900); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,184,159,.12); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .8rem; color: var(--gray-400); margin-top: 3px; }
.form-submit-area { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 8px; }
.form-disclaimer { font-size: .8rem; color: var(--gray-400); line-height: 1.7; background: var(--gray-50); padding: 14px 16px; border-radius: 8px; }

/* ── Thanks page ── */
.thanks-hero { padding: 80px 0 60px; text-align: center; background: var(--gray-50); }
.thanks-icon { margin-bottom: 28px; display: flex; justify-content: center; }
.thanks-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 20px; }
.thanks-hero .lead { max-width: 560px; margin: 0 auto; }
.thanks-next { max-width: 640px; margin: 0 auto; }
.thanks-next h2 { margin-bottom: 36px; }
.thanks-steps { display: flex; flex-direction: column; }
.thanks-step { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.thanks-step:last-child { padding-bottom: 0; }
.thanks-step::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--gray-100); }
.thanks-step:last-child::before { display: none; }
.thanks-step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .85rem; font-weight: 900; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.thanks-step-body { padding-top: 6px; }
.thanks-step-body h3 { font-size: 1rem; margin-bottom: 6px; }
.thanks-step-body p { font-size: .9rem; color: var(--gray-600); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: .82rem; color: var(--gray-400); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.55); text-decoration: underline; }
.breadcrumb a:hover { color: var(--white); }

/* ── Features detail page ── */
.features-hero { background: linear-gradient(135deg, #eef3fa 0%, #e8f7f5 100%); padding: 56px 0 48px; }
.features-hero .breadcrumb a { color: var(--gray-400); }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gray-100); margin-bottom: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tab-btn { padding: 16px 36px; font-size: 1.05rem; font-weight: 700; color: var(--gray-600); background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s; font-family: inherit; }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Feature detail blocks */
.feat-block { padding: 52px 0; border-bottom: 1px solid var(--gray-100); }
.feat-block:last-child { border-bottom: none; padding-bottom: 16px; }
.feat-tag { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--white); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; text-transform: uppercase; }
.feat-tag-user { background: var(--teal); }
.feat-tag-admin { background: var(--navy); }
.feat-tag-kiosk { background: #b8620a; }

/* Phone layout: text LEFT (1fr), image RIGHT (240px) */
.feat-block-phone { display: grid; grid-template-columns: 1fr 240px; gap: 48px; align-items: start; }
.feat-block-phone .feat-img { order: 2; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); }
.feat-block-phone .feat-body { order: 1; }
.feat-block-phone .feat-img img { width: 100%; height: auto; display: block; transition: transform .3s ease; cursor: zoom-in; }
.feat-img:hover img { transform: scale(1.04); }

/* Desktop layout: image TOP, text BELOW */
.feat-block-desktop { display: flex; flex-direction: column; gap: 28px; }
.feat-block-desktop .feat-img { overflow: hidden; border-radius: 12px; box-shadow: var(--shadow-lg); }
.feat-block-desktop .feat-img img { width: 100%; max-height: 400px; object-fit: cover; object-position: top; display: block; transition: transform .3s ease; cursor: zoom-in; }
.feat-block-desktop .feat-body { max-width: 760px; }

.feat-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.35; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .95rem; color: var(--gray-600); line-height: 1.75; }
.feat-list li::before { content: '✓'; color: var(--teal); font-weight: 900; flex-shrink: 0; margin-top: 2px; }
.feat-note { margin-top: 20px; padding: 14px 18px; background: var(--teal-light); border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; font-size: .88rem; color: var(--gray-600); line-height: 1.7; }
.feat-note strong { color: var(--navy); }
.kiosk-intro { max-width: 680px; font-size: .975rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 40px; }
.kiosk-placeholder { background: var(--gray-50); border: 2px dashed var(--gray-300); border-radius: 16px; padding: 48px 32px; text-align: center; color: var(--gray-400); margin-bottom: 48px; }
.kiosk-screenshot { overflow: hidden; border-radius: 12px; box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.kiosk-screenshot img { width: 100%; display: block; transition: transform .3s ease; cursor: zoom-in; }
.kiosk-screenshot:hover img { transform: scale(1.04); }
.kiosk-steps { display: flex; flex-direction: column; gap: 28px; }
.kiosk-step { display: flex; gap: 20px; align-items: flex-start; }
.kiosk-step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .88rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.kiosk-step h4 { font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.kiosk-step p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* ── Footer brand logo (smaller than header) ── */
.kk-footer .kk-brand-logo { height: 28px; padding: 0; }

/* ── Float CTA ── */
.kk-float-cta { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 210px; background: var(--white); border-radius: 14px; padding: 28px 18px 18px; box-shadow: 0 8px 40px rgba(11,58,104,.18), 0 2px 8px rgba(11,58,104,.08); animation: kk-float-pulse 3s ease-in-out infinite; }
.kk-float-cta-close { position: absolute; top: 8px; right: 10px; background: none; border: none; cursor: pointer; color: var(--gray-400); font-size: 1rem; line-height: 1; padding: 4px; font-family: inherit; }
.kk-float-cta-close:hover { color: var(--navy); }
.kk-float-cta-label { display: block; font-size: .78rem; font-weight: 700; color: var(--gray-600); line-height: 1.65; margin: 0 0 12px; }
.kk-float-cta-btn { display: block; text-align: center; background: #f56210; color: var(--white); border-radius: 8px; padding: 11px 0; font-weight: 800; font-size: .88rem; text-decoration: none; transition: background .15s; }
.kk-float-cta-btn:hover { background: #d94f0a; }
@keyframes kk-float-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 8px 40px rgba(11,58,104,.18), 0 2px 8px rgba(11,58,104,.08); }
  50% { opacity: .8; box-shadow: 0 4px 20px rgba(11,58,104,.09), 0 1px 4px rgba(11,58,104,.04); }
}
@media (max-width: 480px) {
  .kk-float-cta { bottom: 16px; right: 16px; width: 190px; }
}

/* ── Lightbox ── */
.kk-lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.88); align-items: center; justify-content: center; padding: 20px; }
.kk-lightbox.is-open { display: flex; }
.kk-lightbox-img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 16px 64px rgba(0,0,0,.5); }
.kk-lightbox-close { position: fixed; top: 20px; right: 24px; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 1.5rem; line-height: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.kk-lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .role-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .kk-hero-inner { grid-template-columns: 1fr; }
  .kk-hero-img { display: block; }
  .kk-hero-img img { height: 240px; width: 100%; object-fit: cover; object-position: top; }
  .feature-grid, .grid-3, .flow-cols, .dual-screens, .monitor-summary { grid-template-columns: 1fr; }
  .monitor-band { flex-direction: column; align-items: flex-start; padding: 28px 28px; }
  /* Role cards: horizontal scroll */
  .role-grid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 16px; gap: 16px; }
  .role-card { flex-shrink: 0; width: 280px; scroll-snap-align: start; }
  .kk-nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 16px 24px; gap: 16px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .kk-nav.is-open { display: flex; }
  .kk-nav-toggle { display: flex; }
  .kk-footer-inner { flex-direction: column; }
  .kk-footer-links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  /* Features detail page: stack vertically */
  .feat-block-phone { grid-template-columns: 1fr; }
  .feat-block-phone .feat-img { order: -1; max-width: 240px; margin: 0 auto; }
  .feat-block-phone .feat-body { order: 0; }
  .feat-block-desktop .feat-img img { max-height: 240px; }
  .tab-btn { padding: 12px 18px; font-size: .88rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-group { flex-direction: column; align-items: center; }
  .monitor-band { padding: 28px 20px; }
}
