/* ==================================================================
   くらしプロ！ - Main CSS
   Brand: #1E88E5 (Primary Blue) / #2EBD85 (安心) / #FFB547 (CTA)
================================================================== */
:root {
  --kp-blue: #1E88E5;
  --kp-blue-dark: #1565C0;
  --kp-blue-light: #5EC8F8;
  --kp-blue-bg: #F0F8FF;
  --kp-trust: #2EBD85;
  --kp-cta: #FFB547;
  --kp-cta-dark: #F59E0B;
  --kp-heading: #18324A;
  --kp-text: #2F3A4A;
  --kp-muted: #6C7A8A;
  --kp-border: #E0E6ED;
  --kp-soft: #F6FAFE;
  --kp-error: #DC2626;
  --kp-warning: #EAB308;
  --kp-success: #16A34A;
  --kp-white: #FFFFFF;
  --kp-bg: #FAFBFC;
  --shadow-sm: 0 1px 2px rgba(24,50,74,0.06);
  --shadow-md: 0 4px 12px rgba(24,50,74,0.08);
  --shadow-lg: 0 8px 24px rgba(24,50,74,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

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

html { -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic UI', 'Meiryo', sans-serif;
  color: var(--kp-text);
  background: var(--kp-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--kp-blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--kp-blue-dark); text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { color: var(--kp-heading); font-weight: 700; line-height: 1.35; margin: 0 0 .75em; }
h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }
h2 { font-size: clamp(1.35rem, 1.5vw + .75rem, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small { font-size: 0.85em; color: var(--kp-muted); }
hr { border: none; border-top: 1px solid var(--kp-border); margin: 2rem 0; }

/* ==== Layout ==== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

/* ==== Header ==== */
.site-header { background: var(--kp-white); border-bottom: 1px solid var(--kp-border); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; padding: .75rem 1rem; }
.site-logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--kp-heading); font-size: 1.1rem; text-decoration: none; }
.site-logo:hover { text-decoration: none; color: var(--kp-blue); }
.site-logo .logo-mark {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--kp-blue), var(--kp-blue-light));
  color: #fff; border-radius: 8px; font-weight: 900; font-size: 14px;
}
.nav-main { display: flex; gap: 1.25rem; margin-left: auto; flex-wrap: wrap; }
.nav-main a { color: var(--kp-text); font-size: .95rem; font-weight: 500; }
.nav-main a:hover { color: var(--kp-blue); }
.header-cta { display: flex; gap: .5rem; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--kp-heading); }
@media (max-width: 860px) {
  .mobile-toggle { display: block; margin-left: auto; }
  .nav-main { display: none; width: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--kp-border); margin-top: .75rem; padding-top: .5rem; }
  .nav-main.is-open { display: flex; }
  .nav-main a { padding: .75rem 0; border-bottom: 1px solid var(--kp-soft); }
  .header-cta { display: none; }
  .site-header .container { flex-wrap: wrap; }
}

/* ==== Buttons ==== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .7rem 1.4rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: all .2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--kp-cta); color: var(--kp-heading); }
.btn-primary:hover { background: var(--kp-cta-dark); color: #fff; }
.btn-secondary { background: var(--kp-blue); color: #fff; }
.btn-secondary:hover { background: var(--kp-blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--kp-blue); border-color: var(--kp-blue); }
.btn-ghost:hover { background: var(--kp-blue); color: #fff; }
.btn-danger { background: var(--kp-error); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==== Forms ==== */
.form-row { margin-bottom: 1.25rem; }
.form-row label, .form-label { display: block; font-weight: 600; color: var(--kp-heading); margin-bottom: .35rem; font-size: .95rem; }
.form-row label.required::after { content: ' *'; color: var(--kp-error); }
.form-input, .form-select, .form-textarea, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="search"], select, textarea {
  width: 100%; padding: .65rem .85rem; font-size: 1rem; font-family: inherit;
  background: #fff; border: 1px solid var(--kp-border); border-radius: var(--radius-md);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 120px; }
.form-input:focus, .form-select:focus, .form-textarea:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--kp-blue); outline: none; box-shadow: 0 0 0 3px rgba(30,136,229,.15);
}
.form-help { font-size: .85rem; color: var(--kp-muted); margin-top: .25rem; }
.form-error { font-size: .85rem; color: var(--kp-error); margin-top: .25rem; }
.form-inline { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-checkbox, .form-radio { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1rem; cursor: pointer; }
.form-checkbox input, .form-radio input { width: auto; margin: 0; }

/* ==== Cards ==== */
.card { background: #fff; border: 1px solid var(--kp-border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 1rem; }
.card-title { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--kp-soft); }
.card-muted { background: var(--kp-soft); border: none; }

/* ==== Hero ==== */
.hero {
  background: linear-gradient(135deg, var(--kp-blue) 0%, var(--kp-blue-light) 100%);
  color: #fff; padding: 3rem 1rem 4rem; position: relative; overflow: hidden;
}
.hero h1 { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.1); }
.hero p { color: rgba(255,255,255,.95); font-size: 1.05rem; max-width: 600px; }
.hero-search {
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-lg); margin-top: 2rem; max-width: 720px;
}
.hero-search-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .75rem; align-items: end; }
@media (max-width: 720px) { .hero-search-grid { grid-template-columns: 1fr; } }

/* ==== Category cards ==== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.category-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--kp-border);
  border-radius: var(--radius-lg); transition: all .2s; color: inherit;
}
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--kp-blue); }
.category-icon { font-size: 2rem; margin-bottom: .5rem; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--kp-blue-bg); border-radius: 50%; color: var(--kp-blue); }
.category-card strong { color: var(--kp-heading); display: block; margin-top: .25rem; }

/* ==== Listing card (search results / provider page) ==== */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.listing-card {
  background: #fff; border: 1px solid var(--kp-border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s;
}
.listing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--kp-blue-light); }
.listing-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.listing-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.listing-card h3 a { color: var(--kp-heading); }
.listing-card h3 a:hover { color: var(--kp-blue); text-decoration: none; }
.listing-card-meta { color: var(--kp-muted); font-size: .85rem; margin-bottom: .5rem; }
.listing-card-price { font-weight: 800; color: var(--kp-heading); font-size: 1.25rem; margin-top: auto; padding-top: .5rem; }
.listing-card-price small { font-size: .7rem; font-weight: 500; color: var(--kp-muted); }

/* ==== Badges ==== */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .6rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; line-height: 1.4; }
.badge-verified { background: #E6F7EE; color: var(--kp-trust); }
.badge-top-rated { background: #FFF8DD; color: #A16207; }
.badge-new { background: var(--kp-blue-bg); color: var(--kp-blue); }
.badge-muted { background: var(--kp-soft); color: var(--kp-muted); }
.badge-success { background: #E6F7EE; color: var(--kp-success); }
.badge-warn { background: #FEF3C7; color: #A16207; }
.badge-error { background: #FEE2E2; color: var(--kp-error); }
.badge-info { background: var(--kp-blue-bg); color: var(--kp-blue); }

/* ==== Star rating ==== */
.stars { display: inline-flex; gap: 2px; color: #E5B611; font-weight: 600; }
.stars .star-empty { color: #D1D5DB; }
.rating { display: inline-flex; align-items: center; gap: .35rem; color: var(--kp-text); }
.rating-value { font-weight: 700; }
.rating-count { color: var(--kp-muted); font-size: .85rem; }

/* ==== Section ==== */
.section { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title small { display: block; color: var(--kp-blue); font-weight: 700; margin-bottom: .5rem; letter-spacing: .05em; }

/* ==== KPI ==== */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.kpi {
  background: #fff; border: 1px solid var(--kp-border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.kpi-label { font-size: .8rem; color: var(--kp-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.kpi-value { font-size: 2rem; font-weight: 800; color: var(--kp-heading); line-height: 1.1; margin: .25rem 0; }
.kpi-sub { font-size: .85rem; color: var(--kp-muted); }

/* ==== Trust bar (3 pillars) ==== */
.trust-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.trust-item { background: #fff; border-radius: var(--radius-lg); padding: 1.25rem; text-align: center; }
.trust-item-icon { font-size: 2rem; margin-bottom: .5rem; }
.trust-item strong { display: block; color: var(--kp-heading); font-size: 1.05rem; margin-bottom: .25rem; }
.trust-item small { color: var(--kp-muted); font-size: .85rem; }
@media (max-width: 640px) { .trust-bar { grid-template-columns: 1fr; } }

/* ==== Flash messages ==== */
.flash { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; }
.flash-success { background: #ECFDF5; color: #065F46; border-left: 4px solid var(--kp-success); }
.flash-error   { background: #FEF2F2; color: #7F1D1D; border-left: 4px solid var(--kp-error); }
.flash-info    { background: var(--kp-blue-bg); color: var(--kp-blue-dark); border-left: 4px solid var(--kp-blue); }
.flash-warn    { background: #FEFCE8; color: #713F12; border-left: 4px solid var(--kp-warning); }

/* ==== Table ==== */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--kp-border); vertical-align: middle; }
.table th { background: var(--kp-soft); color: var(--kp-heading); font-weight: 700; font-size: .9rem; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--kp-soft); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table .actions { display: flex; gap: .25rem; flex-wrap: wrap; }

/* ==== Breadcrumb ==== */
.breadcrumb { padding: 1rem 0; font-size: .9rem; color: var(--kp-muted); }
.breadcrumb a { color: var(--kp-muted); }
.breadcrumb a:hover { color: var(--kp-blue); }
.breadcrumb .sep { margin: 0 .5rem; opacity: .5; }

/* ==== Pagination ==== */
.pagination { display: inline-flex; gap: .25rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: var(--radius-md); border: 1px solid var(--kp-border); background: #fff; color: var(--kp-text); font-weight: 600; }
.pagination a:hover { border-color: var(--kp-blue); background: var(--kp-blue-bg); text-decoration: none; }
.pagination .current { background: var(--kp-blue); color: #fff; border-color: var(--kp-blue); }

/* ==== Admin layout ==== */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 80px); }
@media (max-width: 960px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-sidebar { background: var(--kp-heading); color: #fff; padding: 1.5rem 1rem; min-height: 100%; }
.admin-sidebar h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 1.5rem; opacity: .7; }
.admin-sidebar h3:first-child { margin-top: 0; }
.admin-sidebar a { display: flex; gap: .5rem; padding: .55rem .75rem; border-radius: var(--radius-md); color: #D5E6F4; font-size: .95rem; align-items: center; }
.admin-sidebar a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.admin-sidebar a.active { background: var(--kp-blue); color: #fff; }
.admin-main { padding: 2rem; background: var(--kp-bg); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-header h1 { margin: 0; }

/* ==== Footer ==== */
.site-footer { background: var(--kp-heading); color: #D5E6F4; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.site-footer a { color: #D5E6F4; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin-bottom: .75rem; letter-spacing: .05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: .25rem 0; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; text-align: center; font-size: .85rem; color: #A0B4C7; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ==== Misc ==== */
.muted { color: var(--kp-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.flex { display: flex; gap: .5rem; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* ==== Status pill (booking, kyc, etc) ==== */
.pill { display: inline-block; padding: .2rem .7rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; }
.pill-requested { background: #FEF3C7; color: #92400E; }
.pill-confirmed { background: #DBEAFE; color: #1E40AF; }
.pill-in_work { background: #F3E8FF; color: #6D28D9; }
.pill-completed { background: #D1FAE5; color: #065F46; }
.pill-cancelled { background: #FEE2E2; color: #991B1B; }
.pill-rejected  { background: #FEE2E2; color: #991B1B; }
.pill-draft { background: #E5E7EB; color: #374151; }
.pill-submitted { background: #FEF3C7; color: #92400E; }
.pill-reviewing { background: #DBEAFE; color: #1E40AF; }
.pill-approved { background: #D1FAE5; color: #065F46; }
.pill-suspended { background: #FEE2E2; color: #991B1B; }

/* ==== Accessibility focus ==== */
:focus-visible { outline: 3px solid var(--kp-blue); outline-offset: 2px; border-radius: 4px; }

/* ==== Print ==== */
@media print { .site-header, .site-footer, .admin-sidebar { display: none; } .admin-main { padding: 0; } }

/* ======================================================
   LP-specific (Kurashi Pro homepage)
====================================================== */
.lp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #F0F8FF 0%, #E0F2FE 50%, #FEF3C7 100%);
  padding: 4rem 1rem 5rem;
}
.lp-hero::before, .lp-hero::after {
  content: ''; position: absolute; border-radius: 50%; opacity: .3;
}
.lp-hero::before { width: 260px; height: 260px; background: #5EC8F8; top: -80px; right: -60px; }
.lp-hero::after  { width: 180px; height: 180px; background: #FFB547; bottom: -40px; left: 5%; }
.lp-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; position: relative;
}
@media (max-width: 900px) { .lp-hero-inner { grid-template-columns: 1fr; } .lp-hero-illust { order: -1; } }
.lp-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.25;
  color: var(--kp-heading); margin-bottom: 1rem;
}
.lp-hero h1 em { font-style: normal; background: linear-gradient(to bottom, transparent 60%, #FEF3C7 60%); padding: 0 .15em; }
.lp-hero-sub { font-size: 1.1rem; color: var(--kp-text); margin-bottom: 1.5rem; }
.lp-hero-illust svg { width: 100%; height: auto; max-width: 480px; margin-left: auto; display: block; }

/* trust indicators bar under hero */
.lp-trust-strip {
  background: #FFFFFF; border-top: 1px solid var(--kp-border); border-bottom: 1px solid var(--kp-border);
  padding: 1.25rem 0;
}
.lp-trust-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.lp-trust-item { display: flex; align-items: center; gap: .5rem; color: var(--kp-heading); font-weight: 600; font-size: .95rem; }
.lp-trust-item svg { width: 24px; height: 24px; color: var(--kp-trust); flex-shrink: 0; }

/* KPI strip (big numbers) */
.lp-kpi-strip {
  background: var(--kp-heading); color: #fff; padding: 3rem 1rem;
}
.lp-kpi-strip .kpi-grid-lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; text-align: center; }
.lp-kpi-strip .big { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--kp-cta); line-height: 1; }
.lp-kpi-strip small { display: block; margin-top: .4rem; color: rgba(255,255,255,.85); font-size: .9rem; }

/* Search card on hero */
.lp-search {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-lg); margin-bottom: 1rem;
}
.lp-search h3 { margin: 0 0 .75rem; font-size: .95rem; color: var(--kp-muted); font-weight: 600; }
.lp-search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
@media (max-width:640px) { .lp-search-grid { grid-template-columns: 1fr; } }

/* Category showcase cards with hover */
.lp-categories .category-card {
  padding: 2rem 1rem 1.5rem; gap: .5rem; position: relative;
}
.lp-categories .category-card .cat-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--kp-blue-bg); color: var(--kp-blue);
  margin-bottom: .5rem; transition: all .2s;
}
.lp-categories .category-card .cat-icon svg { width: 36px; height: 36px; }
.lp-categories .category-card:hover .cat-icon { transform: scale(1.08); background: var(--kp-blue); color: #fff; }
.lp-categories .category-card small { color: var(--kp-muted); font-size: .8rem; }

/* 5-step flow row */
.lp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; align-items: start; }
@media (max-width: 900px) { .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { text-align: center; padding: 1rem .5rem; }
.lp-step img { width: 100px; height: 100px; margin: 0 auto .5rem; }
.lp-step h4 { margin: .25rem 0; color: var(--kp-heading); }
.lp-step p { font-size: .9rem; color: var(--kp-muted); margin: 0; }

/* Testimonial cards */
.lp-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.testimonial {
  background: #fff; border: 1px solid var(--kp-border); border-radius: var(--radius-lg);
  padding: 1.5rem; position: relative; display: flex; flex-direction: column;
}
.testimonial::before {
  content: '“'; position: absolute; top: .5rem; left: 1rem;
  font-size: 4rem; color: var(--kp-blue); opacity: .3; line-height: 1; font-family: Georgia, serif;
}
.testimonial .stars { margin-bottom: .5rem; }
.testimonial h4 { color: var(--kp-heading); margin: .5rem 0; font-size: 1rem; }
.testimonial p { flex: 1; color: var(--kp-text); font-size: .92rem; }
.testimonial-meta { font-size: .82rem; color: var(--kp-muted); margin-top: 1rem; padding-top: .5rem; border-top: 1px solid var(--kp-border); }

/* Compare table (vs competitors) */
.lp-compare { overflow-x: auto; margin-top: 2rem; }
.lp-compare table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.lp-compare th, .lp-compare td { padding: .85rem; text-align: center; border-bottom: 1px solid var(--kp-border); }
.lp-compare th { background: var(--kp-heading); color: #fff; font-weight: 600; }
.lp-compare thead th:first-child { background: var(--kp-blue-bg); color: var(--kp-heading); }
.lp-compare tbody td:first-child { text-align: left; font-weight: 600; color: var(--kp-heading); background: var(--kp-soft); }
.lp-compare .highlight { background: #FFFBE6; color: var(--kp-heading); font-weight: 600; }
.lp-compare .ok { color: var(--kp-trust); font-weight: 700; }
.lp-compare .ng { color: #DC2626; font-weight: 700; }

/* CTA section */
.lp-cta {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #fff; padding: 4rem 1rem; text-align: center; position: relative; overflow: hidden;
}
.lp-cta::before, .lp-cta::after { content: ''; position: absolute; border-radius: 50%; }
.lp-cta::before { width: 200px; height: 200px; background: rgba(255,255,255,.08); top: -50px; right: 10%; }
.lp-cta::after  { width: 160px; height: 160px; background: rgba(255,255,255,.08); bottom: -40px; left: 5%; }
.lp-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); position: relative; }
.lp-cta p { max-width: 680px; margin: 0 auto 1.5rem; color: rgba(255,255,255,.95); position: relative; }
.lp-cta .btn { position: relative; z-index: 1; }

/* Area chip row */
.area-chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.area-chip { padding: .3rem .8rem; background: var(--kp-soft); border: 1px solid var(--kp-border); border-radius: var(--radius-pill); color: var(--kp-heading); font-size: .85rem; text-decoration: none; }
.area-chip:hover { background: var(--kp-blue); color: #fff; border-color: var(--kp-blue); text-decoration: none; }

/* SEO long content */
.seo-content { max-width: 780px; margin: 0 auto; padding: 0 1rem; }
.seo-content h2 { margin-top: 2.5rem; padding-left: 1rem; border-left: 5px solid var(--kp-blue); }
.seo-content h3 { margin-top: 1.75rem; color: var(--kp-heading); }
.seo-content ul, .seo-content ol { padding-left: 1.5rem; }
.seo-content li { margin-bottom: .35rem; }
.seo-content .muted { color: var(--kp-muted); font-size: .9rem; }

/* FAQ accordion */
.faq-item {
  background: #fff; border: 1px solid var(--kp-border); border-radius: var(--radius-md);
  margin-bottom: .5rem; overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; color: var(--kp-heading);
  position: relative; list-style: none; outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: 'Q'; display: inline-block; width: 28px; height: 28px; background: var(--kp-blue); color: #fff;
  border-radius: 50%; text-align: center; line-height: 28px; margin-right: .6rem; font-weight: 700; font-size: .9rem;
}
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--kp-blue); font-size: 1.5rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 1.25rem 1rem 4rem; color: var(--kp-text); line-height: 1.8;
  border-top: 1px solid var(--kp-soft);
}
.faq-item .faq-answer::before {
  content: 'A'; position: absolute; left: 1.25rem; margin-top: -.5rem;
  display: inline-block; width: 28px; height: 28px; background: var(--kp-cta); color: var(--kp-heading);
  border-radius: 50%; text-align: center; line-height: 28px; font-weight: 700; font-size: .9rem;
}
.faq-item .faq-answer { position: relative; padding-top: 1rem; }

/* Floating CTAs for mobile */
.floating-cta { display: none; }
@media (max-width: 640px) {
  .floating-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--kp-border);
    padding: .5rem; gap: .5rem; z-index: 50;
    box-shadow: 0 -4px 12px rgba(0,0,0,.08);
  }
  .floating-cta .btn { flex: 1; padding: .8rem; }
  body { padding-bottom: 72px; }
}
