/*
Theme Name: CMS119 Rescue
Theme URI: https://119cms.com/
Author: Sophiro Inc.
Description: CMS・ECサイトの緊急復旧サービス「CMS119」専用テーマ。
Version: 3.9.0
Text Domain: cms119
*/

:root {
  --ink: #342f2d;
  --navy: #3d3937;
  --navy-2: #504a47;
  --muted: #746d69;
  --line: #e3dbd6;
  --paper: #f8f5f2;
  --white: #fff;
  --accent: #e5005c;
  --accent-dark: #ba004a;
  --warning: #ffe98f;
  --radius: 10px;
  --shadow: 0 14px 36px rgba(63, 50, 44, .10);
  --content: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.8; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.site-main { overflow: hidden; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(223,230,236,.9); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-logo { display: block; width: 74px; height: 66px; object-fit: contain; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--accent); font: 900 11px/1 sans-serif; letter-spacing: -.02em; transform: rotate(-2deg); }
.brand-mark strong { font-size: 19px; color: #fff; }
.brand-copy { line-height: 1.15; }
.brand-copy strong { display: block; font-size: 21px; letter-spacing: .01em; }
.brand-copy small { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.global-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.global-nav a { text-decoration: none; font-size: 13px; font-weight: 700; }
.global-nav a:hover { color: var(--accent-dark); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 800; font-size: 13px; }
.header-cta::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(185,239,63,.15); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--navy); padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; padding: 92px 0 78px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .24; background-image: radial-gradient(circle at 70% 25%, rgba(185,239,63,.36), transparent 24%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 44px 44px, 44px 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(38px, 5vw, 66px); line-height: 1.2; letter-spacing: -.045em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 690px; margin: 24px 0 0; color: #cdd7e3; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 25px; border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: var(--navy); text-decoration: none; font-weight: 900; transition: .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: #c9ff4f; }
.button-secondary { border-color: rgba(255,255,255,.28); background: transparent; color: #fff; }
.button-secondary:hover { background: rgba(255,255,255,.08); }
.hero-panel { position: relative; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.hero-panel::before { content: "STATUS"; display: block; margin-bottom: 18px; color: #8392a5; font: 800 10px/1 sans-serif; letter-spacing: .18em; }
.status-row { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
.status-row:first-of-type { border-top: 0; }
.status-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(185,239,63,.12); color: var(--accent); font-weight: 900; }
.status-row strong { display: block; font-size: 14px; }
.status-row small { color: #9eacbb; }
.quick-note { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 22px; color: #cdd7e3; font-size: 12px; font-weight: 700; }
.quick-note span::before { content: "✓"; color: var(--accent); margin-right: 6px; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--paper); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 42px; }
.section-kicker { margin: 0 0 8px; color: var(--accent-dark); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.section-dark .section-kicker { color: var(--accent); }
.section-title { margin: 0; font-size: clamp(29px, 4vw, 44px); line-height: 1.35; letter-spacing: -.035em; }
.section-desc { max-width: 520px; margin: 0; color: var(--muted); }
.section-dark .section-desc { color: #aebac7; }

.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.symptom-card { position: relative; min-height: 230px; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: .2s ease; }
.symptom-card:hover { transform: translateY(-4px); border-color: var(--accent-dark); box-shadow: var(--shadow); }
.symptom-no { display: block; margin-bottom: 34px; color: #9aa7b4; font: 800 11px/1 sans-serif; letter-spacing: .1em; }
.symptom-card h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.5; }
.symptom-card p { margin: 0; color: var(--muted); font-size: 13px; }
.symptom-arrow { position: absolute; right: 24px; bottom: 22px; font-size: 24px; color: var(--accent-dark); }

.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: reason; }
.reason { counter-increment: reason; padding-top: 24px; border-top: 2px solid rgba(255,255,255,.14); }
.reason::before { content: "0" counter(reason); color: var(--accent); font-size: 13px; font-weight: 900; }
.reason h3 { margin: 17px 0 12px; font-size: 21px; }
.reason p { margin: 0; color: #aebac7; font-size: 14px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(16,29,46,.05); }
.case-card a { text-decoration: none; }
.case-visual { min-height: 150px; display: flex; align-items: end; padding: 20px; background: linear-gradient(135deg, var(--navy), #24435f); color: var(--accent); }
.case-visual span { display: block; font: 900 12px/1 sans-serif; letter-spacing: .14em; }
.case-body { padding: 23px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.case-meta span { padding: 4px 8px; border-radius: 999px; background: var(--paper); }
.case-card h3 { margin: 0; font-size: 17px; line-height: 1.6; }
.case-link { display: inline-block; margin-top: 16px; color: var(--accent-dark); font-size: 12px; font-weight: 900; }

.price-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: start; }
.price-lead h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 44px); line-height: 1.35; }
.price-lead p { color: var(--muted); }
.price-list { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.price-row strong { font-size: 16px; }
.price-row span { font-weight: 900; font-size: 19px; }
.price-note { margin-top: 16px; color: var(--muted); font-size: 12px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow-item { position: relative; padding: 25px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.flow-item b { color: var(--accent-dark); font-size: 12px; }
.flow-item h3 { margin: 9px 0 7px; font-size: 17px; }
.flow-item p { margin: 0; color: var(--muted); font-size: 12px; }

.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 24px 45px 24px 42px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-item summary::before { content: "Q"; position: absolute; left: 4px; color: var(--accent-dark); font-weight: 900; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; font-size: 23px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 42px 25px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Contact */
.contact-section { padding: 96px 0; background: var(--navy); color: #fff; }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy h2 { margin: 0 0 18px; font-size: clamp(31px, 4vw, 48px); line-height: 1.3; }
.contact-copy p { color: #b8c4d0; }
.contact-points { margin: 30px 0 0; padding: 0; list-style: none; }
.contact-points li { margin: 12px 0; font-size: 13px; }
.contact-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; border-radius: 50%; background: rgba(185,239,63,.13); color: var(--accent); font-weight: 900; }
.contact-card { padding: 34px; border-radius: 22px; background: #fff; color: var(--ink); }
.contact-card h3 { margin: 0 0 5px; font-size: 22px; }
.contact-card > p { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { margin-bottom: 17px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.required { margin-left: 5px; color: #b33; font-size: 10px; }
.form-field input, .form-field textarea, .form-field select,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select { width: 100%; min-height: 50px; border: 1px solid #ccd6df; border-radius: 9px; background: #fbfcfd; padding: 11px 13px; }
.form-field textarea, .wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7-list-item { margin: 0 14px 0 0; }
.wpcf7-submit { width: 100%; min-height: 58px; border: 0; border-radius: 10px; background: var(--accent); color: var(--navy); font-weight: 900; cursor: pointer; }
.wpcf7-spinner { position: absolute; }
.form-fallback { padding: 18px; border: 1px dashed #c3ced8; border-radius: 10px; background: var(--paper); font-size: 13px; }

/* Inner pages */
.page-hero { padding: 78px 0 64px; background: var(--navy); color: #fff; }
.breadcrumb { margin: 0 0 25px; color: #91a0b0; font-size: 11px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.3; letter-spacing: -.035em; }
.page-hero p { max-width: 720px; margin: 18px 0 0; color: #b8c4d0; }
.content-wrap { padding: 76px 0 100px; }
.entry-content { max-width: 820px; margin-inline: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 2.4em 0 .8em; padding-bottom: .5em; border-bottom: 2px solid var(--navy); font-size: 28px; line-height: 1.45; }
.entry-content h3 { margin: 2em 0 .6em; font-size: 21px; }
.entry-content p, .entry-content li { color: #3e4d5d; }
.entry-content ul { padding-left: 1.4em; }
.entry-content blockquote { margin: 30px 0; padding: 21px 24px; border-left: 4px solid var(--accent-dark); background: var(--paper); }
.entry-content .notice { margin: 28px 0; padding: 22px; border-radius: 12px; background: #fff9dd; border: 1px solid #f0dc86; }
.entry-content .check-list { padding: 22px 28px 22px 45px; border-radius: 14px; background: var(--paper); }
.post-navigation { max-width: 820px; margin: 40px auto 0; padding-top: 25px; border-top: 1px solid var(--line); }
.post-navigation a { font-weight: 800; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Footer */
.site-footer { background: #09131f; color: #aab6c2; padding: 58px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; padding-bottom: 42px; }
.site-footer .brand { color: #fff; }
.footer-company { margin-top: 18px; font-size: 12px; line-height: 1.8; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; }
.footer-nav a { color: #c5ced7; text-decoration: none; font-size: 12px; }
.copyright { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 10px; }

@media (max-width: 900px) {
  .global-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .global-nav.open { display: block; position: fixed; inset: 78px 0 0; padding: 30px 20px; background: var(--navy); color: #fff; }
  .global-nav.open ul { display: block; }
  .global-nav.open li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .global-nav.open a { display: block; padding: 18px 5px; }
  .hero-grid, .price-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; }
  .symptom-grid, .case-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { gap: 18px; }
  .contact-copy { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { display: none; }
  .global-nav.open { inset-top: 68px; }
  .hero { padding: 65px 0 55px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: 39px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .section, .contact-section { padding: 68px 0; }
  .section-head { display: block; }
  .section-desc { margin-top: 14px; }
  .symptom-grid, .case-grid, .reason-grid, .archive-grid { grid-template-columns: 1fr; }
  .symptom-card { min-height: 195px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .page-hero { padding: 55px 0 46px; }
  .content-wrap { padding: 55px 0 75px; }
  .entry-content h2 { font-size: 24px; }
}

/* v3.1 final responsive adjustments */
.eyebrow, .section-kicker { font-size: 20px; line-height: 1.5; letter-spacing: .03em; }
.eyebrow::before { width: 36px; }
.contact-layout > *, .form-grid > *, .contact-card, .wpcf7 { min-width: 0; }
.form-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0,1fr) !important; gap: 35px; }
  .contact-copy { position: static; }
  .contact-copy::after { max-width: 440px; }
  .contact-card { width: 100%; }
  .global-nav.open { position: fixed !important; top: calc(72px + var(--wp-admin--admin-bar--height, 0px)) !important; right: 0 !important; bottom: 0 !important; left: 0 !important; z-index: 99999 !important; display: block !important; padding: 22px 24px !important; overflow-y: auto; background: #fff !important; color: var(--ink) !important; box-shadow: 0 18px 40px rgba(52,47,45,.18); }
  .global-nav.open ul { display: block !important; margin: 0; padding: 0; background: #fff; }
  .global-nav.open li { border-bottom: 1px solid var(--line); }
  .global-nav.open a { display: block; padding: 16px 4px; color: var(--ink); font-size: 15px; }
}

@media (max-width: 620px) {
  .eyebrow, .section-kicker { font-size: 18px; }
  .form-grid { grid-template-columns: minmax(0,1fr) !important; gap: 0; }
  .form-field, .form-field.full { grid-column: 1 !important; width: 100%; }
  .contact-card { padding: 24px 18px; }
  .wpcf7 input:not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select { max-width: 100%; }
  .wpcf7 .wpcf7-checkbox { grid-template-columns: minmax(0,1fr); }
  .privacy-check .wpcf7-list-item label { align-items: flex-start !important; }
  .privacy-check .wpcf7-list-item-label { flex: 1; }
}

/* v3: connected story, compact form and richer detail */
.brand { gap: 15px; }
.brand-service { display: block; padding-left: 15px; border-left: 1px solid var(--line); line-height: 1.45; }
.brand-service strong, .brand-service small { display: block; }
.brand-service strong { font-size: 12px; }
.brand-service small { color: var(--muted); font-size: 10px; }

.hero-grid { grid-template-columns: 1.05fr .95fr; }
.hero h1 { font-size: clamp(40px, 3.7vw, 56px); }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero-lead { max-width: 620px; }

.section { padding: 78px 0; }
.section-head { margin-bottom: 34px; }
.support-list { position: relative; gap: 45px; }
.support-list::before { content: ""; position: absolute; top: 8%; bottom: 8%; left: 50%; width: 1px; background: #eaded9; }
.support-row { position: relative; gap: 64px; }
.support-copy { position: relative; padding: 25px 0; }
.support-copy > span { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--accent); border-radius: 50%; background: #fff; }

.case-visual span { color: #fff !important; }
.case-visual:not([style]) { background: linear-gradient(135deg,#574d49,#332e2c); }
.case-meta span { color: #665e5a; }

.price-section .price-lead::before { content: "事前相談・概算見積　無料"; display: inline-block; margin-bottom: 20px; padding: 10px 17px; border: 1px solid var(--accent); color: var(--accent); font-size: 18px; font-weight: 900; }

.flow { position: relative; gap: 0; padding-top: 34px; }
.flow::before { content: ""; position: absolute; top: 64px; left: 12%; right: 12%; height: 2px; background: var(--accent); }
.flow-item { position: relative; padding: 0 18px; background: transparent; box-shadow: none; text-align: center; }
.flow-item > i { position: relative; z-index: 2; width: 62px; height: 62px; display: inline-grid; place-items: center; margin: 0 auto 20px; border: 2px solid var(--accent); border-radius: 50%; background: #fffaf7; font-size: 22px; }
.flow-item b { display: block; }

  .contact-layout { grid-template-columns: .86fr 1.14fr; gap: 54px; }
.contact-copy h2 { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.5; }
.free-consult { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; padding-bottom: 17px; border-bottom: 1px solid #d8c8c0; }
.free-consult i { color: var(--accent); font-size: 22px; }
.free-consult span { font-size: 15px; font-weight: 800; }
.free-consult strong { color: var(--accent); font-size: 30px; line-height: 1; }
.contact-card { padding: 30px; }
.contact-card > p { margin-bottom: 18px; }
.wpcf7 .form-field { margin-bottom: 13px; }
.wpcf7 .form-field > p { margin: 0 !important; }
.wpcf7 .form-field label { margin-bottom: 5px; }
.wpcf7 .form-field input[type="checkbox"] { width: 18px !important; min-width: 18px !important; height: 18px !important; min-height: 18px !important; padding: 0 !important; margin: 0 7px 0 0 !important; accent-color: var(--accent); vertical-align: -3px; }
.wpcf7 .wpcf7-checkbox { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 7px; }
.wpcf7 .wpcf7-checkbox .wpcf7-list-item { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.wpcf7 .wpcf7-checkbox label { display: flex; align-items: center; margin: 0; font-size: 12px; }
.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label { line-height: 1.4; }
.wpcf7 textarea { height: 150px !important; min-height: 150px !important; }
.field-help { display: block; margin: -2px 0 6px; }
.privacy-check { padding: 14px 16px; }
.privacy-check .wpcf7-list-item label { display: flex !important; align-items: center !important; gap: 3px; margin: 0 !important; }
.privacy-check .wpcf7-list-item-label { line-height: 1.55; }
.wpcf7 input.wpcf7-submit { display: block !important; width: 100% !important; min-height: 58px !important; border: 0 !important; background: var(--accent) !important; color: #fff !important; font-weight: 900 !important; }
.wpcf7 input.wpcf7-submit:disabled { opacity: .55 !important; background: var(--accent) !important; color: #fff !important; cursor: not-allowed; }

.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; }
.content-shell .entry-content { width: 100%; max-width: none; }
.page-aside { position: sticky; top: 120px; padding: 28px; border-top: 4px solid var(--accent); background: var(--paper); }
.page-aside > i { color: var(--accent); font-size: 34px; }
.page-aside h2 { margin: 17px 0 12px; font-size: 18px; line-height: 1.6; }
.page-aside p { color: var(--muted); font-size: 12px; }
.page-aside .button { width: 100%; min-height: 48px; margin-top: 10px; font-size: 13px; }

.price-hero { padding: 72px 0; }
.price-hero-grid { display: grid; grid-template-columns: 1fr 330px; gap: 80px; align-items: center; }
.price-hero h1 { font-size: clamp(40px,5vw,68px); }
.free-badge { position: relative; width: 280px; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 50%; background: #fff; box-shadow: 15px 18px 0 #ead8d0; color: var(--accent); }
.free-badge::before { content: ""; position: absolute; inset: 12px; border: 1px dashed #ef8bb4; border-radius: 50%; }
.free-badge small { position: relative; font-weight: 800; }
.free-badge strong { position: relative; font-size: 68px; line-height: 1.1; }
.free-badge span { position: relative; font-weight: 800; }
.price-detail .container { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.price-intro > span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.price-intro h2 { font-size: 29px; line-height: 1.6; }
.price-intro p { color: var(--muted); }
.price-table { border-top: 1px solid var(--ink); }
.price-table > div { display: grid; grid-template-columns: 44px 1fr auto; gap: 15px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.price-table span { color: var(--accent); font-size: 11px; font-weight: 900; }
.price-table b { font-size: 18px; }
.price-caution { grid-column: 2; margin-top: -55px; color: var(--muted); font-size: 11px; }
.estimate-flow { padding: 82px 0; background: #f3e9e4; }
.estimate-line { position: relative; display: grid; grid-template-columns: repeat(4,1fr); }
.estimate-line::before { content: ""; position: absolute; top: 61px; left: 10%; right: 10%; height: 1px; background: #cfaaa0; }
.estimate-line > div { position: relative; text-align: center; }
.estimate-line span { display: block; color: var(--accent); font-size: 11px; font-weight: 900; }
.estimate-line i { position: relative; z-index: 2; width: 70px; height: 70px; display: inline-grid; place-items: center; margin: 12px 0; border-radius: 50%; background: #fff; color: var(--accent); font-size: 24px; }
.estimate-line h3 { margin: 6px 0; font-size: 16px; }
.estimate-line p { margin: 0; color: var(--accent); font-size: 12px; font-weight: 800; }

.footer-lead { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-lead p { color: #ef8bb4; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.footer-lead h2 { margin: 10px 0 0; color: #fff; font-size: clamp(28px,3vw,42px); line-height: 1.45; }
.footer-systems { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.footer-systems span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12px; }
.footer-systems i { margin-right: 5px; color: #ef8bb4; }
.company-data { display: grid; grid-template-columns: 70px 1fr; gap: 8px 15px; margin-top: 24px; font-size: 11px; }
.company-data dt { color: #9e928d; }
.company-data dd { margin: 0; color: #fff; }

@media (max-width: 900px) {
  .hero h1 span, .hero h1 em { white-space: normal; }
  .content-shell, .price-hero-grid, .price-detail .container { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .free-badge { width: 220px; height: 220px; }
  .price-caution { grid-column: 1; margin-top: 0; }
  .footer-lead { align-items: start; flex-direction: column; }
  .footer-systems { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .brand-service { display: none; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: 37px; }
  .support-list::before { display: none; }
  .wpcf7 .wpcf7-checkbox { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 25px; }
  .flow::before { top: 34px; bottom: 34px; left: 31px; right: auto; width: 2px; height: auto; }
  .flow-item { display: grid; grid-template-columns: 62px 1fr; gap: 0 18px; text-align: left; }
  .flow-item > i { grid-row: 1 / 4; }
  .flow-item b, .flow-item h3, .flow-item p { grid-column: 2; }
  .flow-item h3 { margin: 3px 0; }
  .price-hero h1 { font-size: 42px; }
  .estimate-line { grid-template-columns: 1fr 1fr; gap: 35px 10px; }
  .estimate-line::before { display: none; }
  .price-table > div { grid-template-columns: 32px 1fr; }
  .price-table b { grid-column: 2; }
}

/* v2: warmer, editorial CMS119 design */
.site-header { border-top: 4px solid var(--accent); box-shadow: 0 3px 18px rgba(61,57,55,.06); }
.header-inner { min-height: 86px; }
.global-nav a { font-size: 14px; }
.header-cta { background: var(--accent); border-radius: 6px; }
.header-cta::before { display: none; }
.header-cta:hover { background: var(--accent-dark); }

.hero { padding: 68px 0 76px; background: #fffaf7; color: var(--ink); }
.hero::before { opacity: .8; background: radial-gradient(circle at 8% 20%, rgba(229,0,92,.06), transparent 22%), linear-gradient(135deg, transparent 68%, #f4e9e3 68%); }
.hero-grid { grid-template-columns: .9fr 1.1fr; gap: 58px; }
.eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(39px, 4.7vw, 61px); letter-spacing: -.04em; }
.hero h1 em { color: var(--accent); }
.hero-lead { color: var(--muted); }
.hero .button-secondary { border-color: #b9aea8; color: var(--ink); }
.hero .button-secondary:hover { background: #fff; }
.button { gap: 9px; border-radius: 6px; background: var(--accent); color: #fff; }
.button:hover { background: var(--accent-dark); }
.quick-note { color: var(--muted); }
.quick-note span::before { color: var(--accent); }
.hero-photo { position: relative; min-height: 320px; overflow: visible; align-self: center; }
.hero-photo > img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 4px 34px 4px 4px; box-shadow: 18px 20px 0 #f0ded5; }
.hero-photo-label { position: absolute; left: -30px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 17px 20px; border-left: 4px solid var(--accent); background: #fff; box-shadow: var(--shadow); }
.hero-photo-label > i { color: var(--accent); font-size: 28px; }
.hero-photo-label strong, .hero-photo-label small { display: block; }
.hero-photo-label strong { font-size: 14px; }
.hero-photo-label small { color: var(--muted); font-size: 11px; }

.platforms { border-block: 1px solid var(--line); background: #fff; }
.platform-inner { min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 54px; }
.platform-inner p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.platform-inner span { font-size: 17px; font-weight: 800; }
.platform-inner i { margin-right: 8px; color: var(--accent); font-size: 23px; vertical-align: middle; }

.section-kicker { color: var(--accent); text-transform: none; letter-spacing: .08em; }
.symptom-card { min-height: 245px; padding: 25px; border-radius: 8px; border-top: 4px solid transparent; }
.symptom-card:hover { border-color: var(--accent); }
.symptom-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: #fbe9f0; color: var(--accent); font-size: 22px; }
.symptom-no { position: absolute; top: 30px; right: 24px; margin: 0; color: #a09590; }
.symptom-arrow { color: var(--accent); font-size: 14px; }

.support-section { background: #fff; }
.support-list { display: grid; gap: 70px; }
.support-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; }
.support-row.reverse .support-image { order: 2; }
.support-image { min-height: 330px; display: grid; place-items: center; padding: 30px; border-radius: 40px 4px 40px 4px; background: #f8f2ef; }
.support-image img { max-height: 285px; }
.support-copy > span { color: var(--accent); font-weight: 900; }
.support-copy h3 { margin: 12px 0 18px; font-size: 28px; }
.support-copy p { color: var(--muted); }

.cases-section { background: #f8f5f2; }
.case-card { border-radius: 7px; box-shadow: none; }
.case-card:hover { box-shadow: var(--shadow); }
.case-visual { position: relative; min-height: 128px; align-items: center; justify-content: center; background: #5b5350; background-size: cover; background-position: center; }
.case-visual i { color: #fff; font-size: 43px; opacity: .8; }
.case-visual span { position: absolute; left: 18px; bottom: 14px; padding: 5px 8px; background: var(--accent); color: #fff; font-family: inherit; letter-spacing: 0; }
.case-link { color: var(--accent); }
.center-button { margin: 34px 0 0; text-align: center; }
.button-outline { border-color: var(--accent); background: transparent; color: var(--accent); }
.button-outline:hover { color: #fff; }

.price-section { background: #fff; }
.flow-section { background: #f3e9e4; }
.flow-item { padding: 26px 20px; border-radius: 5px; border: 0; box-shadow: 0 8px 24px rgba(61,57,55,.06); }
.flow-item > i { display: block; margin-bottom: 16px; color: var(--accent); font-size: 25px; }
.flow-item b { color: var(--accent); }

.contact-section { background: #f3e9e4; color: var(--ink); }
.contact-section::before { content: ""; position: absolute; }
.contact-copy { position: sticky; }
.contact-copy p { color: var(--muted); }
.contact-copy::after { content: ""; display: block; width: 100%; height: 230px; margin-top: 24px; background: url('assets/images/support-01.webp') center/contain no-repeat; }
.contact-points li::before { background: #fff; color: var(--accent); }
.contact-card { border-radius: 8px; box-shadow: 0 18px 50px rgba(73,55,47,.10); }
.form-field label i { width: 20px; color: var(--accent); text-align: center; }
.field-help { margin: -3px 0 7px; color: var(--muted); font-size: 11px; }
.wpcf7 input[type="file"] { min-height: 58px !important; padding: 7px !important; background: #fff !important; }
.wpcf7 input[type="file"]::file-selector-button { height: 42px; margin-right: 12px; padding: 0 17px; border: 0; border-radius: 5px; background: #514b48; color: #fff; font-weight: 700; cursor: pointer; }
.wpcf7 input[type="file"]::file-selector-button:hover { background: var(--accent); }
.privacy-check { padding: 17px; border-radius: 5px; background: var(--paper); }
.privacy-check .wpcf7-list-item { display: block; }
.privacy-check input[type="checkbox"] { width: 20px; height: 20px; margin-right: 8px; accent-color: var(--accent); vertical-align: -4px; }
.privacy-check a { color: var(--accent); font-weight: 800; }
.wpcf7-submit { border-radius: 5px; background: var(--accent); color: #fff; }

.site-footer { background: #3d3937; color: #ddd5d1; }
.footer-brand { display: inline-flex; padding: 12px; background: #fff; border-radius: 5px; }
.footer-brand .brand-logo { width: 92px; height: 92px; }
.footer-company { color: #ddd5d1; }
.footer-nav a { color: #fff; }
.footer-privacy { margin-top: 22px; }
.footer-privacy a { color: #fff; font-size: 12px; }
.page-hero { padding: 56px 0 48px; background: #f3e9e4; color: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero p, .breadcrumb { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .support-row { grid-template-columns: 1fr; }
  .hero-photo { max-width: 700px; }
  .support-row.reverse .support-image { order: initial; }
  .platform-inner { gap: 26px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 72px; }
  .brand-logo { width: 58px; height: 58px; }
  .hero { padding: 48px 0 54px; }
  .hero-photo { min-height: 0; }
  .hero-photo > img { height: auto; box-shadow: 10px 12px 0 #f0ded5; }
  .hero-photo-label { left: 10px; right: -4px; bottom: 14px; }
  .platform-inner { min-height: 100px; flex-wrap: wrap; gap: 12px 24px; padding-block: 15px; }
  .platform-inner p { width: 100%; text-align: center; }
  .platform-inner span { font-size: 14px; }
  .support-list { gap: 45px; }
  .support-row { gap: 20px; }
  .support-image { min-height: 230px; }
  .support-copy h3 { font-size: 23px; }
  .contact-copy::after { height: 170px; }
}
.cms119-honeypot {
	position: absolute !important;
	left: -99999px !important;
	top: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}