/* ==========================================================
   CONTENT WRITING PAGE STYLES – loaded only on content-writing-services.php
   ========================================================== */

.cw-center-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.cw-center-head > p {
  font-size: 16px;
  color: var(--muted);
}
.cw-center-head h2,
.cw-who__content h2,
.cw-chal__intro h2,
.cw-faq__intro h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.cw-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 130px;
  color: #c9d4ee;
  background: var(--navy-900);
}
.cw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 400px at 8% 10%, rgba(30, 107, 255, 0.35), transparent 65%),
    radial-gradient(600px 420px at 92% 85%, rgba(79, 70, 229, 0.2), transparent 65%);
}
.cw-hero__bg::before {
  /* ruled-paper lines instead of a grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 36px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
}
.cw-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.cw-hero .crumbs {
  margin-bottom: 18px;
}
.cw-hero h1 {
  color: #fff;
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.cw-hero__content > p {
  max-width: 580px;
  margin: 18px 0 22px;
  font-size: 16px;
  line-height: 1.7;
}
.cw-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.cw-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cw-hero__points i {
  color: var(--cyan);
}
.cw-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.cw-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
}
.cw-hero__call span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    background 0.3s,
    color 0.3s;
}
.cw-hero__call:hover span {
  color: var(--navy-900);
  background: var(--cyan);
}

/* document editor card */
.cw-hero__visual {
  position: relative;
  padding: 30px 22px 34px;
}
.doc {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.doc__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--muted);
  background: #f3f6fb;
  border-bottom: 1px solid var(--line);
}
.doc__dots {
  display: flex;
  gap: 6px;
}
.doc__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.doc__dots i:nth-child(2) {
  background: #febc2e;
}
.doc__dots i:nth-child(3) {
  background: #28c840;
}
.doc__name {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
}
.doc__name i {
  margin-right: 4px;
  color: var(--blue-600);
}
.doc__saved {
  transition: color 0.3s;
}
.doc__saved.is-saving {
  color: var(--blue-600);
}
.doc__tools {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  border-bottom: 1px solid #eef2f8;
}
.doc__tools span {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  color: var(--text);
}
.doc__tools span:first-child {
  color: var(--blue-600);
  background: var(--blue-50);
}
.doc__page {
  padding: 18px 22px 8px;
}
.doc__title {
  min-height: 52px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}
.doc__caret {
  display: inline-block;
  width: 2px;
  height: 20px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--blue-600);
  animation: cwBlink 1s steps(1) infinite;
}
@keyframes cwBlink {
  50% {
    opacity: 0;
  }
}
.doc__lines {
  display: grid;
  gap: 9px;
}
.doc__lines span {
  /* faint placeholder until the line is "written" */
  width: var(--w);
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e3e9f5 50%, #f4f6fb 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.7s ease;
}
.doc__lines span.doc__h {
  height: 11px;
  margin-top: 6px;
  background-image: linear-gradient(90deg, #c9d6ee 50%, #f4f6fb 50%);
}
.doc__lines span.is-in {
  background-position: 0 0;
}
.doc__panel {
  display: grid;
  gap: 12px;
  margin: 12px 16px 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.doc__score {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}
.doc__score i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e9f5;
}
.doc__score b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
  transition:
    width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.4s;
}
.doc__score b.is-good {
  background: linear-gradient(90deg, #2fe07a, #16a34a);
}
.doc__score strong {
  min-width: 26px;
  text-align: right;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}
.doc__meta {
  display: flex;
  gap: 22px;
}
.doc__meta small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.doc__meta b {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink);
}
.doc__kws {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.doc__kws em {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #c3cde3;
  transition:
    color 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.doc__kws em.is-used {
  color: #15803d;
  background: #e9fbf0;
  border: 1px solid #b7ebc9;
}
.doc__kws em.is-used::before {
  content: "✓ ";
}
.cchip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
}
.cchip small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.cchip strong {
  font-family: var(--font-head);
  font-size: 15px;
}
.cchip__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, var(--blue-600));
}
.cchip__icon--green {
  background: linear-gradient(135deg, #2fe07a, #16a34a);
}
.cchip--orig {
  top: 0;
  right: 0;
}
.cchip--voice {
  left: 0;
  bottom: 0;
  animation-delay: -3s;
}

/* ---------- Content types strip ---------- */
.cw-types {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: -60px;
  padding: 20px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.cw-types__label {
  flex: none;
  padding-right: 26px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  border-right: 1px solid var(--line);
}
.cw-types ul {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: space-between;
  gap: 12px 14px;
}
.cw-types li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.cw-types li i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.cw-types li:hover i {
  color: #fff;
  background: var(--blue-600);
  transform: translateY(-3px);
}

/* ---------- Who we are ---------- */
.cw-who {
  padding-top: 100px;
}
.cw-who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cw-who__media {
  position: relative;
  padding: 0 0 40px 0;
}
.cw-who__media figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.cw-who__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.cw-who__media:hover img {
  transform: scale(1.04);
}
.cw-who__quote {
  position: absolute;
  right: -18px;
  bottom: 0;
  max-width: 270px;
  padding: 18px 20px;
  border-radius: 20px;
  color: #c9d4ee;
  background: linear-gradient(150deg, #0f2766, var(--navy-900));
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.cw-who__quote > i {
  font-size: 20px;
  color: var(--cyan);
}
.cw-who__quote p {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.4;
}
.cw-who__quote strong {
  color: #fff;
}
.cw-who__content > p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.cw-who__tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 28px;
}
.cw-who__tags li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.cw-who__tags li:hover {
  transform: translateY(-3px);
  border-color: #c9d9ff;
}
.cw-who__tags i {
  color: var(--blue-600);
}

/* ---------- Challenges ---------- */
.cw-chal {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.cw-chal__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.cw-chal__intro {
  position: sticky;
  top: calc(var(--header-h, 80px) + 30px);
}
.cw-chal__intro > p {
  font-size: 16px;
  color: var(--muted);
}
.cw-chal__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--blue-600);
}
.cw-chal__link i {
  transition: transform 0.3s;
}
.cw-chal__link:hover i {
  transform: translateX(4px);
}
.chl {
  display: grid;
  gap: 14px;
}
.chl__item {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 22px;
  padding: 24px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.chl__item::before {
  /* accent bar grows on hover */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-primary);
  transform: scaleY(0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chl__item:hover {
  transform: translateX(6px);
  border-color: #c9d9ff;
  box-shadow: 0 20px 44px rgba(13, 38, 96, 0.1);
}
.chl__item:hover::before {
  transform: scaleY(1);
}
.chl__no {
  flex: none;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #c9d6ee;
  transition:
    color 0.4s,
    -webkit-text-stroke-color 0.4s;
}
.chl__item:hover .chl__no {
  color: var(--blue-600);
  -webkit-text-stroke-color: var(--blue-600);
}
.chl__item h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.chl__item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.chl__item p i {
  margin-right: 4px;
  color: var(--green);
}

/* ---------- Services ---------- */
.cw-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wcard {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}
.wcard:hover {
  transform: translateY(-6px);
  border-color: #c9d9ff;
  box-shadow: 0 24px 50px rgba(13, 38, 96, 0.12);
}
.wcard__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.wcard__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.wcard:hover .wcard__icon {
  color: #fff;
  background: var(--grad-primary);
  transform: rotate(-8deg);
}
.wcard__no {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #d6def0;
}
.wcard h3 {
  margin-bottom: 8px;
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.3;
}
.wcard > p {
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.wcard__sample {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px dashed #c9d6ee;
  transition:
    background 0.4s,
    border-color 0.4s;
}
.wcard__sample span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s;
}
.wcard__sample q {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  quotes: "“" "”";
  transition: color 0.4s;
}
.wcard:hover .wcard__sample {
  background: linear-gradient(150deg, #0f2766, var(--navy-900));
  border: 1px solid transparent;
}
.wcard:hover .wcard__sample span {
  color: var(--cyan);
}
.wcard:hover .wcard__sample q {
  color: #fff;
}

/* ---------- Before / after ---------- */
.cw-ba {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
}
.ba {
  max-width: 920px;
  margin: 0 auto;
}
.ba__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ba__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.ba__tab:hover {
  color: var(--blue-600);
  border-color: #c9d9ff;
}
.ba__tab.is-active {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.ba__stage {
  position: relative;
  padding: 30px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(13, 38, 96, 0.1);
}
.ba__switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 240px;
  margin: 0 auto 26px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.ba__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--green);
  transform: translateX(100%);
  transition:
    transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1),
    background 0.4s;
}
.ba[data-view="before"] .ba__pill {
  transform: translateX(0);
  background: #dc2626;
}
.ba__sw {
  position: relative;
  z-index: 1;
  padding: 9px 0;
  border: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  transition: color 0.35s;
}
.ba__sw.is-active {
  color: #fff;
}
.ba__card[hidden] {
  display: none;
}
.ba__copy {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 26px 30px;
  border-radius: 20px;
  text-align: center;
  background: #f1fbf4;
  border: 1.5px solid #b7ebc9;
  transition:
    background 0.4s,
    border-color 0.4s;
}
.ba__copy p {
  grid-area: 1 / 1;
  max-width: 640px;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  transition:
    opacity 0.4s ease,
    translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.4s ease;
}
.ba__before {
  color: #6b7280;
  opacity: 0;
  translate: 0 10px;
  filter: blur(4px);
}
.ba__after {
  color: var(--ink);
}
.ba[data-view="before"] .ba__copy {
  background: #fef2f2;
  border-color: #fecaca;
}
.ba[data-view="before"] .ba__before {
  opacity: 1;
  translate: 0 0;
  filter: none;
}
.ba[data-view="before"] .ba__after {
  opacity: 0;
  translate: 0 -10px;
  filter: blur(4px);
}
.ba__card--cta .ba__copy p {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 18px;
}
.ba__card--cta .ba__before {
  color: #374151;
  background: #e5e7eb;
}
.ba__card--cta .ba__after {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 14px 30px rgba(21, 84, 232, 0.35);
}
.ba__notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  transition: opacity 0.4s;
}
.ba__notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #15803d;
  background: #e9fbf0;
}
.ba__notes i {
  font-size: 11px;
}
.ba[data-view="before"] .ba__notes {
  opacity: 0.35;
}

/* ---------- Process zig-zag ---------- */
.zig {
  position: relative;
  display: grid;
  gap: 40px;
}
.zig::before {
  /* centre line */
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 30px;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(var(--blue-400), #e3e9f5);
}
.zig__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
}
.zig__media {
  position: relative;
  grid-column: 1;
  margin: 0;
}
.zig__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.zig__badge {
  position: absolute;
  right: 18px;
  bottom: -18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 14px 30px rgba(21, 84, 232, 0.35);
}
.zig__dot {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-600);
  background: #fff;
  border: 2px solid #c9d9ff;
  box-shadow: 0 0 0 8px #fff;
  transition:
    color 0.4s,
    background 0.4s,
    border-color 0.4s;
}
.zig__row:hover .zig__dot {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
}
.zig__text {
  grid-column: 3;
}
.zig__row--flip .zig__media {
  grid-column: 3;
  grid-row: 1;
}
.zig__row--flip .zig__text {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}
.zig__row--flip .zig__tags {
  justify-content: flex-end;
}
.zig__row--flip .zig__badge {
  right: auto;
  left: 18px;
}
.zig__step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.zig__text h3 {
  margin: 6px 0 10px;
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 800;
  line-height: 1.25;
}
.zig__text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.zig__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.zig__tags li {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
}

/* ---------- CTA band ---------- */
.cw-boost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
  padding: 44px 50px;
  border-radius: 30px;
  color: #dbe5ff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(46, 230, 242, 0.3), transparent 65%),
    linear-gradient(120deg, #1e6bff 0%, #1554e8 40%, #0a2a8a 100%);
  box-shadow: 0 34px 70px rgba(10, 42, 138, 0.3);
}
.cw-boost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.cw-boost__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.cw-boost h2 {
  margin: 16px 0 24px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.cw-boost h2 span {
  color: var(--cyan);
}
.cw-boost__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.cw-boost__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition:
    background 0.3s,
    color 0.3s;
}
.cw-boost__ghost:hover {
  color: var(--navy-900);
  background: #fff;
}
/* stacked pages illustration */
.pages {
  position: relative;
  justify-self: center;
  width: 240px;
  height: 250px;
  animation: float 6s ease-in-out infinite;
}
.pages__sheet {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.pages__sheet--3 {
  transform: rotate(-12deg) translate(-20px, 6px);
  opacity: 0.45;
}
.pages__sheet--2 {
  transform: rotate(-5deg) translate(-8px, 2px);
  opacity: 0.75;
}
.pages__sheet--1 {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 24px 22px;
  transform: rotate(4deg);
}
.pages__sheet--1 b {
  width: 70%;
  height: 14px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: var(--navy-800);
}
.pages__sheet--1 > i {
  width: var(--w);
  height: 8px;
  border-radius: 6px;
  background: #e3e9f5;
}
.pages__sheet--1 em {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: #15803d;
  background: #e9fbf0;
}
.pages__pen {
  position: absolute;
  right: -22px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--navy-900);
  background: var(--cyan);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  transform: rotate(-8deg);
}

/* ---------- Why us (dark) ---------- */
.cw-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 20px 16px;
  padding: 90px 0 80px;
  border-radius: 36px;
  color: #a9b6d6;
  background: var(--navy-900);
}
.cw-why__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 380px at 0% 0%, rgba(30, 107, 255, 0.32), transparent 65%),
    radial-gradient(560px 360px at 100% 100%, rgba(79, 70, 229, 0.18), transparent 65%);
}
.cw-why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.cw-why .eyebrow {
  color: var(--cyan);
}
.cw-why .eyebrow--line::before {
  background: var(--cyan);
}
.cw-why__intro h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.cw-why__intro > p {
  font-size: 15.5px;
  line-height: 1.75;
}
.cw-why__img {
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cw-why__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.cw-why__img:hover img {
  transform: scale(1.04);
}
.cw-why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cwhy {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.45s ease,
    border-color 0.45s ease;
}
.cwhy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cwhy:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(46, 230, 242, 0.4);
}
.cwhy:hover::after {
  transform: scaleX(1);
}
.cwhy__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--cyan);
  background: rgba(46, 230, 242, 0.1);
  border: 1px solid rgba(46, 230, 242, 0.25);
  transition:
    background 0.45s,
    color 0.45s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.cwhy:hover .cwhy__icon {
  color: var(--navy-900);
  background: var(--cyan);
  transform: rotate(-8deg);
}
.cwhy h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.cwhy p {
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.cw-faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.cw-faq__intro > p {
  font-size: 16px;
  color: var(--muted);
}
.cw-faq__contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.cw-faq__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}
.cw-faq__contact span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.3s,
    color 0.3s;
}
.cw-faq__contact a:hover {
  color: var(--blue-600);
}
.cw-faq__contact a:hover span {
  color: #fff;
  background: var(--blue-600);
}

@media (prefers-reduced-motion: reduce) {
  .cchip,
  .cw-who__quote,
  .pages {
    animation: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .cw-types {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cw-types__label {
    padding: 0 0 14px;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cw-types__label br {
    display: none;
  }
  .cw-types ul {
    grid-template-columns: repeat(3, auto);
    justify-content: space-around;
    gap: 14px 26px;
  }
  .cw-why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cw-why__img {
    max-width: 560px;
  }
}
@media (max-width: 1024px) {
  .cw-hero__inner,
  .cw-who__grid,
  .cw-chal__grid,
  .cw-faq__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .cw-hero__visual,
  .cw-who__media {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  .cw-chal__intro {
    position: static;
  }
  .cw-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* zig-zag becomes a single column with the line on the left */
  .zig::before {
    left: 27px;
  }
  .zig__row,
  .zig__row--flip {
    grid-template-columns: 56px 1fr;
    column-gap: 22px;
    row-gap: 18px;
    align-items: start;
  }
  .zig__dot {
    grid-column: 1;
    grid-row: 1;
  }
  .zig__media,
  .zig__row--flip .zig__media {
    grid-column: 2;
    grid-row: 1;
    max-width: 520px;
  }
  .zig__text,
  .zig__row--flip .zig__text {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .zig__row--flip .zig__tags {
    justify-content: flex-start;
  }
  .zig__row--flip .zig__badge {
    left: auto;
    right: 18px;
  }
  .cw-boost {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .pages {
    margin: 10px 0 10px;
  }
}
@media (max-width: 720px) {
  .cw-hero {
    padding: 110px 0 100px;
  }
  .cw-hero__content > p {
    font-size: 15.5px;
  }
  .cw-hero__visual {
    padding: 34px 0 40px;
  }
  .doc__dots,
  .doc__tools span:nth-child(n + 5) {
    display: none;
  }
  .doc__page {
    padding: 16px 16px 6px;
  }
  .doc__title {
    font-size: 17px;
  }
  .doc__panel {
    margin: 10px 12px 12px;
  }
  .cchip {
    padding: 9px 12px 9px 9px;
  }
  .cchip__icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .cchip strong {
    font-size: 14px;
  }
  .cw-types {
    margin-top: -50px;
    padding: 18px 16px;
  }
  .cw-types ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cw-types li {
    font-size: 13.5px;
  }
  .cw-who {
    padding-top: 70px;
  }
  .cw-who__quote {
    right: 10px;
  }
  .cw-who__tags,
  .cw-services__grid,
  .cw-why__list {
    grid-template-columns: 1fr;
  }
  .chl__item {
    gap: 16px;
    padding: 20px 18px;
  }
  .chl__no {
    font-size: 32px;
  }
  .ba__stage {
    padding: 18px 14px;
    border-radius: 24px;
  }
  .ba__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ba__tabs::-webkit-scrollbar {
    display: none;
  }
  .ba__tab {
    flex: none;
    padding: 9px 15px;
    font-size: 13px;
  }
  .ba__copy {
    min-height: 170px;
    padding: 20px 16px;
  }
  .zig {
    gap: 34px;
  }
  .zig::before {
    left: 21px;
  }
  .zig__row,
  .zig__row--flip {
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
  }
  .zig__dot {
    width: 44px;
    height: 44px;
    font-size: 13px;
    box-shadow: 0 0 0 6px #fff;
  }
  .zig__badge {
    width: 46px;
    height: 46px;
    font-size: 17px;
    border-radius: 14px;
  }
  .cw-boost {
    padding: 32px 22px;
    border-radius: 24px;
  }
  .pages {
    width: 200px;
    height: 210px;
  }
  .cw-why {
    margin-left: 8px;
    margin-right: 8px;
    padding: 64px 0 44px;
    border-radius: 26px;
  }
}
@media (max-width: 420px) {
  .cw-types ul {
    grid-template-columns: 1fr;
  }
  .doc__meta {
    gap: 16px;
  }
}
