/* CKTems FSE front-end styles - Matching pcbasic.com full home structure */

.ckt-container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.ckt-topbar {
  background: #0b1928;
  color: #cbd5e1;
  font-size: 0.78rem;
}

.ckt-topbar-inner,
.ckt-header-inner,
.ckt-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ckt-topbar-inner { min-height: 2.25rem; }
.ckt-topbar a { color: inherit; text-decoration: none; }
.ckt-topbar a:hover { color: #1eba77; }
.ckt-contact-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.ckt-icon-text { display: inline-flex; align-items: center; gap: 0.35rem; }
.ckt-icon { width: 1rem; height: 1rem; flex: 0 0 auto; }

.ckt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 8px rgb(15 23 42 / 0.08);
}

.ckt-header-inner { min-height: 4.5rem; }
.ckt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.ckt-brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, #10b981, #0f766e);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}
.ckt-brand em { color: #059669; font-style: normal; }

.ckt-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ckt-nav a {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border-radius: 0.35rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.ckt-nav a:hover { color: #059669; background: #ecfdf5; }

/* Secondary navigation (二级导航) dropdowns — WordPress navigation block submenus */
.ckt-nav .wp-block-navigation-item.has-child { position: relative; }
.ckt-nav .wp-block-navigation__submenu-icon { color: #94a3b8; margin-left: 0.15rem; }
.ckt-nav .wp-block-navigation__submenu-container {
  min-width: 15rem;
  padding: 0.4rem 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.6rem;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  z-index: 60;
}
/* Submenu links: cover both the current (WP 6.1+) and legacy class names. */
.ckt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.ckt-nav .wp-block-navigation__submenu-container .wp-block-navigation-link__content {
  display: block;
  padding: 0.55rem 1rem !important;
  color: #475569 !important;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.ckt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.ckt-nav .wp-block-navigation__submenu-container .wp-block-navigation-link__content:hover {
  color: #047857 !important;
  background: #ecfdf5;
}
.ckt-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.ckt-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-link__content,
.ckt-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content,
.ckt-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-link__content { color: #059669; }

/* Current-page highlight also works with the Page List (page-list) fallback. */
.ckt-nav .wp-block-pages-list__item.current-menu-item > .wp-block-pages-list__item__link,
.ckt-nav .wp-block-pages-list__item__link:hover { color: #059669; }

/* Site title + tagline (sits flush right of the logo) */
.ckt-logo-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap; }
.ckt-logo-tagline {
  margin: 0;
  padding-left: 0.75rem;
  border-left: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 11.5rem;
}
@media (max-width: 720px) { .ckt-logo-tagline { display: none; } }

/* Header right cluster + Get a Quote CTA */
.ckt-header-right { gap: 0.75rem; }
/* Fallback paint even if theme.json / global styles fail to load on some WP versions. */
.ckt-header-cta { display: flex !important; }
.ckt-header-cta .wp-block-button__link.ckt-header-quote,
.ckt-header-cta .wp-element-button.ckt-header-quote,
.ckt-header-cta a.ckt-header-quote {
  background: #059669 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
}
.ckt-header-cta .wp-block-button__link.ckt-header-quote:hover,
.ckt-header-cta .wp-element-button.ckt-header-quote:hover,
.ckt-header-cta a.ckt-header-quote:hover { background: #047857 !important; }
@media (max-width: 960px) { .ckt-header-cta { display: none !important; } }

/* Hero */
.ckt-hero { position: relative; overflow: hidden; background: #0f172a; }
.ckt-hero .wp-block-cover__inner-container { position: relative; z-index: 1; }
.ckt-hero-copy { max-width: 680px; }
.ckt-kicker { color: #6ee7b7; font-weight: 700; }
.ckt-hero-copy h1 { margin: 0.75rem 0 1rem; }
.ckt-hero-copy p { color: #e2e8f0; font-size: 1.12rem; }

/* Quote card */
.ckt-quote-card {
  background: #fff;
  color: #0f172a;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.28);
}
.ckt-quote-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.ckt-quote-tab {
  flex: 1;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.65rem;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
  cursor: pointer;
}
.ckt-quote-tab.is-active { background: #059669; color: #fff; }
.ckt-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.ckt-field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; }
.ckt-field--wide { grid-column: 1 / -1; }
.ckt-field input,
.ckt-field select,
.ckt-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 400;
}
.ckt-field textarea { min-height: 7rem; resize: vertical; }
.ckt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.8rem 1.25rem;
  background: #f97316;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.ckt-button:hover { background: #ea580c; color: #fff; }
.ckt-button--green { background: #059669; }
.ckt-button--green:hover { background: #047857; }
.ckt-button--outline { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.ckt-button--outline:hover { background: #f8fafc; color: #0f172a; }
.ckt-quote-result {
  display: none;
  margin-top: 1rem;
  border-radius: 0.6rem;
  padding: 0.9rem;
  background: #ecfdf5;
  text-align: center;
}
.ckt-quote-result.is-visible { display: block; }
.ckt-quote-result strong { color: #047857; font-size: 1.35rem; }
.ckt-form-note { color: #64748b; font-size: 0.78rem; }

/* Sections */
.ckt-section { padding: clamp(3.5rem, 6vw, 5rem) 0; }
.ckt-section--alt { background: #f8fafc; }
.ckt-section-heading { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.ckt-section-heading h2 { margin-top: 0; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: #0f172a; }
.ckt-section-heading p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }
.ckt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ckt-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ckt-cards--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ckt-card {
  height: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 1.4rem;
  background: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.05);
  display: flex;
  flex-direction: column;
}

/* 1. Guarantees Bar (pcbasic.com #work_list) */
.ckt-guarantees-bar {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.5rem 0;
}
.ckt-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 1.5rem;
  align-items: center;
}
.ckt-guarantee-col {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  border-right: 1px solid #f1f5f9;
  padding-right: 1rem;
}
.ckt-guarantee-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: #ecfdf5;
  color: #059669;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ckt-guarantee-icon svg { width: 1.5rem; height: 1.5rem; }
.ckt-guarantee-col h4 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}
.ckt-guarantee-col ul {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
}
.ckt-guarantee-col li::before {
  content: "•";
  color: #10b981;
  font-weight: bold;
  margin-right: 0.35rem;
}
.ckt-guarantee-about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
}
.ckt-guarantee-about-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ckt-guarantee-about-desc {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.4;
}
.ckt-guarantee-about-desc a {
  color: #059669;
  font-weight: 800;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.ckt-guarantee-about-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #059669;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* 2. 360 Virtual Tour Card */
.ckt-virtual-tour-section {
  background: #0f172a;
  padding: 2.5rem 0;
}
.ckt-virtual-tour-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
  padding: 2rem;
  color: #fff;
}
.ckt-virtual-tour-copy h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 800;
}
.ckt-virtual-tour-copy p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.ckt-virtual-tour-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ckt-virtual-tour-visual {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 240px;
}
.ckt-virtual-tour-visual img { width: 100%; height: 100%; object-fit: cover; }
.ckt-virtual-tour-overlay-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.5);
  border: 0;
  cursor: pointer;
  color: #fff;
}
.ckt-virtual-tour-overlay-btn span {
  padding: 0.65rem 1.2rem;
  background: #059669;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

/* 3. Products & Order Flow */
.ckt-product-badge {
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.68rem;
  font-weight: 800;
}
.ckt-link-arrow {
  color: #059669;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.ckt-link-arrow:hover { text-decoration: underline; color: #047857; }

.ckt-order-flow-box {
  margin-top: 3rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}
.ckt-order-flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}
.ckt-order-flow-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ckt-order-flow-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #059669;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.ckt-order-flow-step strong { font-size: 0.8rem; color: #0f172a; margin-bottom: 0.2rem; }
.ckt-order-flow-step small { font-size: 0.68rem; color: #64748b; line-height: 1.3; }

/* Ticker Marquee (#marquee_order) */
.ckt-marquee-wrapper {
  margin-top: 1.5rem;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 0.75rem;
  padding: 0.85rem 0;
  overflow: hidden;
}
.ckt-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  animation: ckt-marquee 40s linear infinite;
}
.ckt-marquee-item { display: inline-flex; align-items: center; gap: 0.65rem; color: #cbd5e1; }
.ckt-marquee-cust { background: #1e293b; padding: 0.15rem 0.4rem; border-radius: 0.25rem; color: #e2e8f0; }

@keyframes ckt-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 4. Stats & Quality */
.ckt-dark { background: linear-gradient(135deg, #065f46, #064e3b); color: #fff; }
.ckt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ckt-stat { border-radius: 0.9rem; padding: 1.4rem; background: rgb(255 255 255 / 0.1); text-align: center; }
.ckt-stat strong { display: block; font-size: 2rem; line-height: 1; font-weight: 900; }
.ckt-stat span { color: #d1fae5; font-size: 0.88rem; }
.ckt-quality { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.ckt-quality-item {
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: rgba(6, 78, 59, 0.4);
}

/* 5. One-Stop Solution Grid */
.ckt-onestop-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.5rem;
  align-items: center;
}
.ckt-onestop-image-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 320px;
}
.ckt-onestop-image-card img { width: 100%; height: 100%; object-fit: cover; }
.ckt-onestop-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent 60%);
}
.ckt-onestop-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ckt-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #334155;
}
.ckt-check-dot {
  display: inline-grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 900;
  margin-right: 0.35rem;
}

/* 6. Scope Tabs */
.ckt-scope-widget { margin-top: 1rem; }
.ckt-scope-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.ckt-scope-tab {
  padding: 0.55rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}
.ckt-scope-tab.is-active {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.ckt-scope-panel {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.25rem;
}
.ckt-scope-panel.is-active { display: grid; }
.ckt-scope-image { border-radius: 0.75rem; overflow: hidden; height: 260px; }
.ckt-scope-image img { width: 100%; height: 100%; object-fit: cover; }

/* 7. 24-step process */
.ckt-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.ckt-process-step { border: 1px solid #e2e8f0; border-radius: 0.8rem; padding: 1rem; background: #fff; }
.ckt-process-step b { color: #059669; font-size: 0.85rem; }
.ckt-process-step p { margin-bottom: 0; margin-top: 0.35rem; color: #64748b; font-size: 0.78rem; line-height: 1.45; }

/* 8. Blog & FAQ */
.ckt-blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.ckt-blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ckt-blog-card { overflow: hidden; padding: 0; border-radius: 0.85rem; }
.ckt-blog-thumb { position: relative; height: 130px; }
.ckt-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ckt-blog-tag {
  position: absolute;
  bottom: 0.4rem;
  left: 0.4rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-weight: 700;
}
.ckt-blog-body { padding: 0.85rem; display: flex; flex-direction: column; flex: 1; }
.ckt-blog-date { font-size: 0.68rem; color: #94a3b8; }
.ckt-blog-title { margin: 0.25rem 0 0.4rem; font-size: 0.88rem; font-weight: 700; line-height: 1.35; }
.ckt-blog-title a { color: #0f172a; text-decoration: none; }
.ckt-blog-title a:hover { color: #059669; }
.ckt-blog-excerpt { font-size: 0.75rem; color: #64748b; line-height: 1.45; margin-bottom: 0.85rem; }

.ckt-blog-sidebar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  padding: 1.25rem;
}
.ckt-blog-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  divide-y: 1px solid #f1f5f9;
}
.ckt-blog-sidebar-list li { padding: 0.55rem 0; }
.ckt-blog-sidebar-list a {
  color: #334155;
  font-size: 0.78rem;
  text-decoration: none;
  line-height: 1.4;
  display: block;
}
.ckt-blog-sidebar-list a:hover { color: #059669; text-decoration: underline; }

.ckt-faq-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}
.ckt-faq { display: grid; gap: 0.65rem; }
.ckt-faq details { border: 1px solid #e2e8f0; border-radius: 0.7rem; background: #fff; padding: 1rem 1.1rem; }
.ckt-faq summary { cursor: pointer; font-weight: 700; font-size: 0.88rem; color: #0f172a; }
.ckt-faq p { color: #64748b; font-size: 0.82rem; line-height: 1.55; margin-top: 0.5rem; margin-bottom: 0; }

.ckt-knowledge-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.ckt-knowledge-card { padding: 1rem; }

/* 9. Global Partners */
.ckt-partners-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}
.ckt-partner-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 72px;
}
.ckt-partner-code { font-weight: 900; font-size: 0.88rem; color: #334155; }
.ckt-partner-name { font-size: 0.62rem; color: #64748b; margin-top: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* CTA */
.ckt-cta { background: #059669; color: #fff; text-align: center; }
.ckt-cta .ckt-button { background: #fff; color: #047857; }

/* Footer */
.ckt-footer { background: #0f172a; color: #94a3b8; }
.ckt-footer-main { align-items: flex-start; padding: 3.5rem 0; }
.ckt-footer-brand { max-width: 420px; }
.ckt-footer .ckt-brand { color: #fff; }
.ckt-footer h4 { color: #fff; margin-top: 0; }
.ckt-footer ul { margin: 0; padding: 0; list-style: none; }
.ckt-footer li { margin: 0.35rem 0; }
.ckt-footer a { color: inherit; text-decoration: none; }
.ckt-footer a:hover { color: #34d399; }
.ckt-payments { border-top: 1px solid #1e293b; padding: 2.25rem 0 3rem; }
.ckt-pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.ckt-pay-title { color: #fff; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ckt-pay-title::after { content: ""; display: block; width: 1.5rem; height: 2px; margin-top: 0.4rem; background: #10b981; }
.ckt-badge-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.ckt-badge {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.4rem;
  padding: 0.35rem 0.7rem;
  background: #fff;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
}
.ckt-dhl { background: #ffcc00; color: #d40511; font-size: 1.2rem; font-style: italic; letter-spacing: 0.12em; }
.ckt-socials { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.ckt-socials a {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #334155;
  border-radius: 999px;
  background: #1e293b;
  color: #fff;
}
.ckt-socials svg { width: 1rem; height: 1rem; }
.ckt-copyright { border-top: 1px solid #1e293b; padding: 1.2rem 0; text-align: center; font-size: 0.78rem; }

/* Floating contact bar */
.ckt-floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 999;
  width: 58px;
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 16px 35px rgb(15 23 42 / 0.22);
}
.ckt-floating-items { display: none; }
.ckt-floating.is-expanded .ckt-floating-items { display: block; }
.ckt-floating-item {
  display: flex;
  width: 100%;
  min-height: 4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}
.ckt-floating-item svg { width: 1.5rem; height: 1.5rem; }
.ckt-floating-item:hover, .ckt-floating-item.is-active { background: #ecfdf5; color: #059669; }
.ckt-floating-item--quote { background: linear-gradient(135deg, #10b981, #047857); color: #fff; }
.ckt-floating-item--quote:hover { color: #fff; background: linear-gradient(135deg, #059669, #065f46); }
.ckt-floating-toggle { border-bottom: 0; color: #059669; }
.ckt-floating.is-expanded .ckt-floating-toggle { border-top: 1px solid #f1f5f9; }

.ckt-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgb(15 23 42 / 0.58);
  backdrop-filter: blur(4px);
}
.ckt-dialog-backdrop.is-open { display: flex; }
.ckt-dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 1rem;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 24px 55px rgb(0 0 0 / 0.3);
}
.ckt-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
}
.ckt-dialog-number { color: #059669; font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 800; overflow-wrap: anywhere; }
.ckt-dialog-help { margin-top: 1rem; border: 1px solid #e2e8f0; border-radius: 0.6rem; padding: 1rem; background: #f8fafc; color: #475569; font-size: 0.9rem; }

/* Modal backdrop for quote */
.ckt-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1rem;
  background: rgb(2 6 23 / 0.64);
  backdrop-filter: blur(4px);
}
.ckt-modal-backdrop.is-open { display: flex; }
.ckt-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  border-radius: 1rem;
  padding: 1.6rem;
  background: #fff;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}
.ckt-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.ckt-form-status { display: none; margin-top: 1rem; border-radius: 0.6rem; padding: 0.9rem; }
.ckt-form-status.is-visible { display: block; }
.ckt-form-status--success { background: #ecfdf5; color: #065f46; }
.ckt-form-status--error { background: #fef2f2; color: #991b1b; }
.ckt-contact-form { width: 100%; max-width: 760px; margin: 1.5rem auto 0; }
.ckt-form-submit { width: 100%; margin-top: 1rem; }
.ckt-form-submit:disabled, .ckt-quote-card button:disabled { opacity: 0.65; cursor: wait; }

@media (max-width: 1024px) {
  .ckt-guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .ckt-order-flow-list { grid-template-columns: repeat(4, 1fr); }
  .ckt-cards--products { grid-template-columns: repeat(2, 1fr); }
  .ckt-onestop-grid { grid-template-columns: 1fr; }
  .ckt-scope-panel.is-active { grid-template-columns: 1fr; }
  .ckt-blog-grid { grid-template-columns: 1fr; }
  .ckt-faq-grid { grid-template-columns: 1fr; }
  .ckt-partners-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .ckt-guarantees-grid { grid-template-columns: 1fr; }
  .ckt-guarantee-col { border-right: 0; border-bottom: 1px solid #f1f5f9; padding: 0 0 1rem; }
  .ckt-virtual-tour-card { grid-template-columns: 1fr; padding: 1.25rem; }
  .ckt-virtual-tour-visual { height: 200px; }
  .ckt-cards, .ckt-cards--four, .ckt-cards--products, .ckt-onestop-lists, .ckt-knowledge-cards {
    grid-template-columns: 1fr;
  }
  .ckt-stats, .ckt-process-grid, .ckt-quality { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ckt-pay-grid { grid-template-columns: 1fr; }
  .ckt-blog-cards { grid-template-columns: 1fr; }
  .ckt-order-flow-list { grid-template-columns: repeat(2, 1fr); }
  .ckt-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .ckt-footer-main { flex-direction: column; }
  .ckt-scope-panel.is-active { padding: 1.25rem; }
  .ckt-scope-image { height: 200px; }
  .ckt-scope-tab { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
  .ckt-onestop-image-card { height: 220px; }
  /* Floating bar: icon-only on phones so labels never spill out of the pill */
  .ckt-floating { right: 0.65rem; bottom: 1rem; width: 48px; }
  .ckt-floating-item { min-height: 3rem; font-size: 0.6rem; }
  .ckt-floating-item span { display: none; }
  /* Dialogs & quote modal fit the visible viewport (dvh, not vh) */
  .ckt-dialog { max-height: calc(100dvh - 1.5rem); overflow-y: auto; padding: 1.25rem; }
  .ckt-modal { max-height: calc(100dvh - 1.5rem); padding: 1.15rem; }
  .ckt-virtual-tour-copy h2 { font-size: 1.35rem; }
  /* Navigation submenu never wider than the screen */
  .ckt-nav .wp-block-navigation__submenu-container { min-width: min(15rem, calc(100vw - 2rem)); }
  /* Long words / URLs / emails must not stretch the layout */
  .ckt-card, .ckt-process-step, .ckt-blog-body { overflow-wrap: anywhere; }
}

/*
 * Full-width, edge-aligned mobile navigation.
 * WordPress core has changed the responsive overlay's sizing/DOM across
 * releases; these rules deliberately cover the stable overlay class names
 * and prevent the menu from inheriting the desktop right-aligned flex layout.
 */
@media (max-width: 782px) {
  .ckt-header-inner {
    width: calc(100% - 1.25rem);
    max-width: none;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .ckt-logo-row {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .ckt-logo-row .wp-block-site-title {
    flex: 0 0 auto;
  }

  .ckt-header-right {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
    gap: 0;
  }

  .ckt-header-cta { display: none !important; }

  .ckt-nav { width: auto; min-width: 0; margin-left: auto; }
  .ckt-nav .wp-block-navigation__responsive-container-open {
    display: grid !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.7rem !important;
    background: #fff !important;
    color: #334155 !important;
  }

  .ckt-nav .wp-block-navigation__responsive-container.is-menu-open,
  .ckt-nav .wp-block-navigation__responsive-container.has-modal-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    overscroll-behavior: contain;
  }

  .ckt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  .ckt-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    width: min(100%, 38rem) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 3.5rem 0 1.5rem !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  .ckt-nav .wp-block-navigation__responsive-container-close {
    position: fixed !important;
    top: max(0.75rem, env(safe-area-inset-top)) !important;
    right: max(0.75rem, env(safe-area-inset-right)) !important;
    z-index: 100001 !important;
    display: grid !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    place-items: center;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    background: #f8fafc !important;
    color: #334155 !important;
  }

  .ckt-nav .wp-block-navigation__responsive-container-content > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .ckt-nav .wp-block-navigation__container,
  .ckt-nav .wp-block-page-list {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ckt-nav .wp-block-navigation-item,
  .ckt-nav .wp-block-page-list > li {
    position: relative;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-bottom: 1px solid #eef2f7;
    box-sizing: border-box;
  }

  .ckt-nav .wp-block-navigation-item__content,
  .ckt-nav .wp-block-navigation-link__content,
  .ckt-nav .wp-block-pages-list__item__link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0.9rem 2.75rem 0.9rem 0.25rem !important;
    color: #1e293b !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box;
  }

  .ckt-nav .wp-block-navigation__submenu-icon {
    position: absolute !important;
    top: 0.75rem;
    right: 0.25rem;
    display: grid !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.6rem !important;
    background: #f8fafc !important;
    color: #475569 !important;
  }

  .ckt-nav .wp-block-navigation__submenu-container {
    position: static !important;
    inset: auto !important;
    display: none;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0.25rem 0 0.75rem 0.75rem !important;
    transform: none !important;
    border: 0 !important;
    border-left: 2px solid #a7f3d0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  .ckt-nav .has-child.open-on-click > .wp-block-navigation__submenu-container,
  .ckt-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
  .ckt-nav .wp-block-navigation__submenu-container.is-open {
    display: flex !important;
    flex-direction: column !important;
  }

  .ckt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
  .ckt-nav .wp-block-navigation__submenu-container .wp-block-navigation-link__content {
    padding: 0.7rem 0.5rem !important;
    color: #475569 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 380px) {
  .ckt-header-inner { width: calc(100% - 1rem); }
  .ckt-brand { font-size: 1.2rem; gap: 0.4rem; }
  .ckt-brand-mark { width: 1.8rem; height: 1.8rem; }
  .ckt-nav .wp-block-navigation__responsive-container-open { width: 2.6rem !important; height: 2.6rem !important; }
  .ckt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  .ckt-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
    padding-top: 3rem !important;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .ckt-form-grid { grid-template-columns: 1fr; }
  .ckt-quote-card { padding: 1rem; }
  .ckt-header-inner { min-height: 3.6rem; }
  .ckt-brand { font-size: 1.3rem; }
  .ckt-brand-mark { width: 1.9rem; height: 1.9rem; }
  .ckt-cta .ckt-button { width: 100%; }
  .ckt-stat strong { font-size: 1.5rem; }
}
