/*
Theme Name: CallKind AI
Theme URI: https://callkind.co.uk/
Author: CallKind AI
Author URI: https://callkind.co.uk/
Description: A premium, conversion-focused block theme for an AI receptionist service. No page builder required.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: callkind-ai
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, featured-images, wide-blocks
*/

:root {
  --ck-ink: #081427;
  --ck-ink-soft: #10213d;
  --ck-blue: #2367f2;
  --ck-blue-dark: #174fc7;
  --ck-cyan: #63e4ff;
  --ck-mint: #89f1cf;
  --ck-paper: #f6f8fc;
  --ck-white: #ffffff;
  --ck-text: #18253a;
  --ck-muted: #61708a;
  --ck-line: #dce3ee;
  --ck-success: #1f9d72;
  --ck-shadow: 0 24px 70px rgba(8, 20, 39, .12);
  --ck-radius: 22px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { text-underline-offset: .18em; }
::selection { background: var(--ck-cyan); color: var(--ck-ink); }

.ck-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ck-section { padding-block: clamp(76px, 9vw, 124px); }
.ck-section-tight { padding-block: clamp(52px, 6vw, 80px); }
.ck-paper { background: var(--ck-paper); }
.ck-dark {
  background:
    radial-gradient(circle at 78% 10%, rgba(35, 103, 242, .24), transparent 35%),
    radial-gradient(circle at 12% 90%, rgba(99, 228, 255, .12), transparent 28%),
    var(--ck-ink);
  color: var(--ck-white);
}

.ck-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--ck-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ck-dark .ck-eyebrow { color: var(--ck-cyan); }
.ck-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 15%, transparent);
}

.ck-display {
  max-width: 900px;
  margin-top: 0;
  letter-spacing: -.055em;
  line-height: .98;
}
.ck-lede {
  max-width: 710px;
  color: var(--ck-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}
.ck-dark .ck-lede { color: #b7c5db; }

.ck-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 238, .74);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.admin-bar .ck-header { top: 32px; }
.ck-header-inner { min-height: 76px; }
.ck-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ck-ink);
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -.035em;
  text-decoration: none;
}
.ck-brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--ck-cyan), var(--ck-blue));
  color: var(--ck-ink);
  box-shadow: 0 10px 24px rgba(35, 103, 242, .2);
}
.ck-brand-mark svg { width: 21px; height: 21px; }
.ck-header .wp-block-navigation { font-size: .94rem; font-weight: 650; }
.ck-header .wp-block-navigation-item__content { text-decoration: none; }
.ck-header .wp-block-navigation-item__content:hover { color: var(--ck-blue); }

.ck-btn .wp-block-button__link,
.wp-block-button.ck-btn .wp-block-button__link {
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ck-blue);
  box-shadow: 0 12px 28px rgba(35, 103, 242, .22);
  color: #fff;
  font-weight: 750;
  padding: .9rem 1.35rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ck-btn .wp-block-button__link:hover,
.wp-block-button.ck-btn .wp-block-button__link:hover {
  background: var(--ck-blue-dark);
  box-shadow: 0 16px 34px rgba(35, 103, 242, .3);
  transform: translateY(-2px);
}
.ck-btn-light .wp-block-button__link {
  background: #fff;
  color: var(--ck-ink);
  box-shadow: none;
}
.ck-btn-ghost .wp-block-button__link {
  border-color: var(--ck-line);
  background: transparent;
  box-shadow: none;
  color: var(--ck-ink);
}
.ck-dark .ck-btn-ghost .wp-block-button__link {
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.ck-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 10vw, 142px);
}
.ck-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.ck-hero > .wp-block-group__inner-container,
.ck-hero .ck-shell { position: relative; z-index: 1; }
.ck-hero-copy { padding-right: clamp(0px, 4vw, 52px); }
.ck-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6.3vw, 6.1rem);
  letter-spacing: -.065em;
  line-height: .94;
}
.ck-gradient-word {
  background: linear-gradient(95deg, var(--ck-cyan), var(--ck-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ck-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #dce7f8;
  font-size: .85rem;
  font-weight: 650;
  padding: 9px 13px;
}
.ck-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ck-mint);
  box-shadow: 0 0 0 6px rgba(137,241,207,.12);
}
.ck-checkline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
  color: #b7c5db;
  font-size: .9rem;
}
.ck-checkline span::before {
  margin-right: 8px;
  color: var(--ck-mint);
  content: "✓";
  font-weight: 900;
}

.ck-call-card {
  position: relative;
  max-width: 490px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
  padding: clamp(22px, 4vw, 34px);
  backdrop-filter: blur(18px);
}
.ck-call-card::after {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--ck-blue);
  content: "";
  filter: blur(85px);
  opacity: .35;
}
.ck-call-top { display: flex; align-items: center; justify-content: space-between; }
.ck-caller { display: flex; align-items: center; gap: 12px; }
.ck-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--ck-cyan), var(--ck-blue));
  color: var(--ck-ink);
  font-weight: 900;
}
.ck-call-label { margin: 0; color: #fff; font-size: .95rem; font-weight: 750; }
.ck-call-meta { margin: 3px 0 0; color: #91a3be; font-size: .8rem; }
.ck-waves { display: flex; align-items: center; gap: 4px; height: 25px; }
.ck-waves i {
  display: block;
  width: 3px;
  border-radius: 4px;
  background: var(--ck-mint);
  animation: ck-wave 1.1s ease-in-out infinite;
}
.ck-waves i:nth-child(1), .ck-waves i:nth-child(5) { height: 8px; }
.ck-waves i:nth-child(2), .ck-waves i:nth-child(4) { height: 17px; animation-delay: .12s; }
.ck-waves i:nth-child(3) { height: 25px; animation-delay: .24s; }
@keyframes ck-wave { 50% { transform: scaleY(.45); opacity: .6; } }
.ck-transcript {
  margin-top: 25px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(3,12,27,.55);
  padding: 18px;
}
.ck-transcript p { margin: 0; color: #dce7f8; font-size: .92rem; line-height: 1.55; }
.ck-transcript p + p { margin-top: 12px; }
.ck-transcript strong { color: var(--ck-cyan); }
.ck-booked {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  border-radius: 16px;
  background: rgba(137,241,207,.12);
  color: #dffcf2;
  padding: 14px 16px;
  font-size: .88rem;
  font-weight: 700;
}
.ck-booked b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ck-mint);
  color: var(--ck-ink);
}

.ck-trust-strip {
  border-bottom: 1px solid var(--ck-line);
  background: #fff;
  padding-block: 24px;
}
.ck-trust-grid { gap: 20px; }
.ck-trust-item { display: flex; align-items: center; gap: 12px; }
.ck-trust-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #eaf1ff;
  color: var(--ck-blue);
  font-weight: 900;
}
.ck-trust-item p { margin: 0; color: var(--ck-text); font-size: .9rem; font-weight: 700; }

.ck-card-grid { gap: 22px; }
.ck-card {
  height: 100%;
  border: 1px solid var(--ck-line);
  border-radius: var(--ck-radius);
  background: #fff;
  box-shadow: 0 12px 40px rgba(8,20,39,.055);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ck-card:hover {
  border-color: #b8c9e5;
  box-shadow: var(--ck-shadow);
  transform: translateY(-5px);
}
.ck-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #e7f6ff, #e8edff);
  color: var(--ck-blue);
  font-size: 1.1rem;
  font-weight: 900;
}
.ck-card h3 { margin: 0 0 11px; color: var(--ck-ink); font-size: 1.18rem; }
.ck-card p { margin: 0; color: var(--ck-muted); line-height: 1.65; }

.ck-steps { counter-reset: steps; }
.ck-step {
  position: relative;
  border-left: 1px solid rgba(255,255,255,.18);
  padding: 8px 0 38px 34px;
}
.ck-step:last-child { padding-bottom: 0; }
.ck-step::before {
  position: absolute;
  left: -16px;
  top: 0;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 5px solid var(--ck-ink);
  border-radius: 50%;
  background: var(--ck-cyan);
  color: var(--ck-ink);
  content: counter(steps);
  counter-increment: steps;
  font-size: .72rem;
  font-weight: 900;
}
.ck-step h3 { margin: 0 0 8px; color: #fff; }
.ck-step p { margin: 0; color: #aebdd3; line-height: 1.65; }
.ck-stack-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  padding: 26px;
}
.ck-stack-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding: 15px 0;
}
.ck-stack-row:last-child { border: 0; }
.ck-stack-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,.1);
  color: var(--ck-cyan);
  font-weight: 900;
}
.ck-stack-row p { margin: 0; color: #fff; font-weight: 700; }
.ck-stack-row small { display: block; margin-top: 3px; color: #91a3be; }

.ck-industry {
  min-height: 210px;
  overflow: hidden;
  position: relative;
}
.ck-industry::after {
  position: absolute;
  right: -32px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(99,228,255,.28), rgba(35,103,242,.1));
  content: "";
}

.ck-price-card {
  position: relative;
  height: 100%;
  border: 1px solid var(--ck-line);
  border-radius: 25px;
  background: #fff;
  padding: clamp(26px, 3vw, 38px);
}
.ck-price-card.featured {
  border: 2px solid var(--ck-blue);
  box-shadow: 0 25px 70px rgba(35,103,242,.15);
  transform: translateY(-8px);
}
.ck-popular {
  position: absolute;
  right: 22px;
  top: -15px;
  border-radius: 999px;
  background: var(--ck-blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  padding: 8px 12px;
  text-transform: uppercase;
}
.ck-price-name { margin: 0 0 6px; color: var(--ck-ink); font-size: 1.15rem; }
.ck-price-note { min-height: 48px; margin: 0; color: var(--ck-muted); font-size: .9rem; }
.ck-price { margin: 25px 0 4px; color: var(--ck-ink); font-size: clamp(2.3rem, 4vw, 3.4rem); font-weight: 850; letter-spacing: -.055em; }
.ck-price span { color: var(--ck-muted); font-size: .88rem; font-weight: 650; letter-spacing: 0; }
.ck-price-list { margin: 25px 0 30px; padding: 0; list-style: none; }
.ck-price-list li { position: relative; margin: 12px 0; color: var(--ck-text); padding-left: 27px; }
.ck-price-list li::before {
  position: absolute;
  left: 0;
  top: .1em;
  color: var(--ck-success);
  content: "✓";
  font-weight: 900;
}
.ck-pricing-disclaimer { color: var(--ck-muted); font-size: .82rem; text-align: center; }

.ck-faq { max-width: 860px; margin-inline: auto; }
.ck-faq details {
  border-bottom: 1px solid var(--ck-line);
  padding: 20px 0;
}
.ck-faq summary { color: var(--ck-ink); cursor: pointer; font-size: 1.06rem; font-weight: 750; }
.ck-faq details p { color: var(--ck-muted); line-height: 1.7; }

.ck-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(125deg, #174fc7, #2367f2 58%, #397cf8);
  box-shadow: 0 32px 80px rgba(35,103,242,.23);
  color: #fff;
  padding: clamp(34px, 6vw, 68px);
}
.ck-cta::after {
  position: absolute;
  right: -80px;
  top: -120px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025);
  content: "";
}
.ck-cta > * { position: relative; z-index: 1; }
.ck-cta h2 { margin-top: 0; max-width: 680px; color: #fff; }
.ck-cta p { max-width: 620px; color: #dce8ff; }

.ck-form-wrap {
  border: 1px solid var(--ck-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ck-shadow);
  padding: clamp(24px, 4vw, 42px);
}
.ck-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ck-field-full { grid-column: 1 / -1; }
.ck-field label { display: block; margin-bottom: 7px; color: var(--ck-ink); font-size: .86rem; font-weight: 750; }
.ck-field input,
.ck-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #cfd8e7;
  border-radius: 13px;
  background: #fbfcfe;
  color: var(--ck-text);
  font: inherit;
  padding: 13px 14px;
  transition: border .2s, box-shadow .2s;
}
.ck-field textarea { min-height: 130px; resize: vertical; }
.ck-field input:focus,
.ck-field textarea:focus { border-color: var(--ck-blue); box-shadow: 0 0 0 4px rgba(35,103,242,.12); outline: 0; }
.ck-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--ck-muted); font-size: .8rem; line-height: 1.5; }
.ck-submit {
  border: 0;
  border-radius: 999px;
  background: var(--ck-blue);
  box-shadow: 0 12px 28px rgba(35,103,242,.22);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  padding: 14px 22px;
}
.ck-submit:hover { background: var(--ck-blue-dark); }
.ck-form-status { margin: 0 0 20px; border-radius: 12px; padding: 13px 15px; }
.ck-form-status.success { background: #e8f8f2; color: #176f52; }
.ck-form-status.error { background: #fff0f0; color: #a12a2a; }
.ck-hp { position: absolute !important; left: -9999px !important; }

.ck-contact-panel {
  height: 100%;
  border-radius: 26px;
  background: var(--ck-ink);
  color: #fff;
  padding: clamp(28px, 4vw, 44px);
}
.ck-contact-panel p { color: #afbdd2; }
.ck-contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.ck-contact-list li { margin: 15px 0; color: #eaf1fb; }
.ck-contact-list li::before { margin-right: 11px; color: var(--ck-cyan); content: "●"; font-size: .7em; }

.ck-page-hero { padding-block: clamp(72px, 9vw, 112px); }
.ck-page-hero h1 { margin-top: 0; color: #fff; }
.ck-prose { max-width: 800px; }
.ck-prose h2 { margin-top: 2.2em; }
.ck-prose p, .ck-prose li { color: var(--ck-muted); line-height: 1.75; }

.ck-footer { background: #06101f; color: #aab8cd; padding-block: 58px 28px; }
.ck-footer .ck-brand { color: #fff; }
.ck-footer h3 { color: #fff; font-size: .9rem; }
.ck-footer a { color: #b8c7da; text-decoration: none; }
.ck-footer a:hover { color: var(--ck-cyan); }
.ck-footer-bottom { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .8rem; }

@media (max-width: 900px) {
  .ck-hero .wp-block-columns { gap: 50px; }
  .ck-call-card { margin: 0; }
  .ck-price-card.featured { transform: none; }
}
@media (max-width: 782px) {
  .admin-bar .ck-header { top: 46px; }
  .ck-shell { width: min(100% - 28px, 1180px); }
  .ck-section { padding-block: 70px; }
  .ck-hero { padding-block: 70px 80px; }
  .ck-hero h1 { font-size: clamp(2.85rem, 13vw, 4.7rem); }
  .ck-form-grid { grid-template-columns: 1fr; }
  .ck-field-full { grid-column: auto; }
  .ck-footer .wp-block-columns { gap: 28px; }
}
@media (max-width: 560px) {
  .ck-header-inner { min-height: 66px; }
  .ck-header .wp-block-buttons { display: none; }
  .ck-call-card { border-radius: 22px; }
  .ck-checkline { display: grid; }
  .ck-cta { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

