/*
Theme Name: CompuAll Blocks
Theme URI: https://compuall.co.il
Author: CompuAll
Description: ערכת עיצוב בלוקים ייעודית לאתר CompuAll.
Version: 0.1.3
Text Domain: compuall-blocks
*/

:root {
  --wp--preset--color--surface: var(--wp--preset--color--soft);
  --wp--preset--color--surface-2: #ECEAF6;
  --wp--preset--color--border: var(--wp--preset--color--line);
  /* Not a brand color (CompuAll's palette has no red) -- used only for the
     single "error-like" urgency icon in .ca-home-leak-icon. */
  --ca-danger: #C73A32;
  --ca-danger-soft: #FDECEA;
}

/* READ BEFORE building any new custom grid/flex row from Group blocks.
   Core adds :where(.is-layout-flow) > * + * { margin-block-start: var(--wp--style--block-gap) }
   -- it skips only the DOM-literal first child, not each row's first
   column, so turning such a container into a grid/flex with `display`
   below leaves every item misaligned except the very first one. Add
   `margin-block-start: 0 !important;` to that row's item selector in the
   same rule you write `display: grid`/`flex` in. Existing examples:
   .ca-client-logo, .ca-home-process > *, .ca-footer-grid > .wp-block-column. */

@font-face {
  font-family: "Noto Sans Hebrew";
  src: url("assets/fonts/NotoSansHebrew.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html { scroll-behavior: smooth; }
body { margin: 0; }

/* Anchor targets need this whenever the sticky header (.ca-site-header,
   94px) would otherwise cover the top of the section after a jump-link. */
#liran-ben-porat { scroll-margin-top: 120px; }

.ca-site-header {
  position: fixed;
  top: 0;
  width:100%;
  z-index: 1000;
  height: 94px;
  border-bottom: 1px solid var(--wp--preset--color--line);
  background: #fff;
  transition: box-shadow .35s ease, background-color .35s ease, backdrop-filter .35s ease;
}

/* templates/page.html's <main> -- offsets content below the fixed header
   (94px desktop) so it doesn't render underneath it. Matches the header's
   own responsive height (see its @media rules above) at each breakpoint. */
.ca-page-main { padding-top: 94px; }
@media (max-width: 980px) { .ca-page-main { padding-top: 76px; } }
@media (max-width: 600px) { .ca-page-main { padding-top: 68px; } }

/* Added by JS (assets/js/site.js) once the user scrolls past the top --
   this is the "elevated" sticky look (shadow + blur), separate from the
   plain look the header has while still at the top of the page. */
.ca-site-header.is-scrolled {
  box-shadow: 0 -8px 27px rgba(0,0,0,0.08);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
}

.ca-header-inner { box-sizing: border-box; width: min(calc(100% - 40px),1180px); max-width: 1180px; height: 94px; gap: 30px; margin-inline: auto !important; justify-content: flex-start !important; }
.ca-header-logo { display: inline-flex; flex: 0 0 auto; }
.ca-header-logo img { display: block; width: 150px; height: 68px; object-fit: contain; }
.ca-main-nav { flex: 0 1 auto; color: #3b3b4a; font-size: 18px; font-weight: 650; }
.ca-main-nav .wp-block-navigation__container { gap: 24px; }
.ca-main-nav a { color: #3b3b4a; text-decoration: none; }
.ca-main-nav a:hover,.ca-main-nav a:focus { color: var(--wp--preset--color--blue); }
.ca-main-nav .wp-block-navigation-submenu { align-items: center; }
.ca-main-nav .wp-block-navigation-item__content { position: relative; padding: 10px 0; }
.ca-main-nav button.wp-block-navigation-item__content,
.ca-main-nav .wp-block-navigation-submenu__toggle { padding: 10px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--wp--preset--color--ink) !important; font: inherit; }
.ca-main-nav .wp-block-navigation__submenu-icon { display: inline-flex; align-items: center; justify-content: center; align-self: center; width: 12px; height: 12px; margin: 0 6px 0 0 !important; color: var(--wp--preset--color--orange); line-height: 1; }
.ca-main-nav .wp-block-navigation__submenu-icon svg { display: block; width: 10px; height: 10px; }
.ca-main-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; right: 0; bottom: 4px; width: 0; height: 2px; background: var(--wp--preset--color--orange); transition: width .2s ease; }
.ca-main-nav .wp-block-navigation-item__content:hover::after,
.ca-main-nav .wp-block-navigation-item__content:focus::after { width: 100%; }
.ca-main-nav .wp-block-navigation__submenu-container { min-width: 270px !important; padding: 8px !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 14px; background: #fff !important; box-shadow: 0 18px 45px rgba(35,31,76,.12); }
.ca-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { width: 100%; padding: 10px 12px; border-radius: 9px; }
.ca-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--soft); }
.ca-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.ca-header-actions { flex: 0 0 auto; gap: 12px; margin-right: auto !important; }
.ca-header-actions p { margin: 0; }
.ca-header-actions .wp-block-buttons { flex-wrap: nowrap; }
.ca-header-actions .wp-block-button__link { padding: 13px 22px; font-size: 16px; white-space: nowrap; box-shadow: 0 10px 24px rgba(244,119,33,.24); }

.ca-support-link a { color: var(--wp--preset--color--blue); font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ca-support-link a:hover,.ca-support-link a:focus { color: var(--wp--preset--color--purple); }

.ca-site-footer { position: relative; isolation: isolate; overflow: hidden; margin-block-start: 0 !important; padding: 60px 0 24px; color: #d8d7e6; background-color: #111a3d; background-image: linear-gradient(180deg,rgba(11,18,47,.82) 0%,rgba(10,15,39,.92) 100%),url("assets/images/footer-bg.webp"); background-position: center; background-size: cover; background-repeat: no-repeat; }
.ca-site-footer::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 22%,rgba(90,75,190,.2),transparent 35%),linear-gradient(110deg,rgba(255,255,255,.025),transparent 48%); }
.ca-footer-grid { gap: clamp(34px,5vw,72px); margin-bottom: 38px; }
.ca-footer-logo { display: inline-flex; margin-bottom: 18px; padding: 9px 13px; border-radius: 15px; background: #fff; }
.ca-footer-logo img { display: block; width: 150px; height: 76px; object-fit: contain; }
.ca-site-footer h3 { margin: 4px 0 20px; color: #fff; font-size: 19px; }
.ca-site-footer p { margin-top: 0; color: #aaa8bb; font-size: 16px; }
.ca-footer-brand p { max-width: 410px; }
.ca-site-footer a { color: #cbc9dc; text-decoration: none; }
.ca-site-footer a:hover,.ca-site-footer a:focus { color: #fff; }
.ca-footer-nav { font-size: 16px; font-weight: 650; }
.ca-footer-nav .wp-block-navigation__container { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 22px; width: 100%; }
.ca-footer-nav .wp-block-navigation-item { align-items: flex-start; }
.ca-footer-nav .wp-block-navigation-item__content { padding: 4px 0; }
.ca-footer-contact p { margin-bottom: 10px; }
.ca-footer-phone { direction: ltr; display: inline-flex; color: #fff !important; font-size: 22px; font-weight: 850; }
.ca-footer-support { margin-top: 20px !important; }
.ca-footer-support a { display: inline-flex; padding: 9px 14px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: #fff; font-weight: 750; }
.ca-footer-separator { border-color: rgba(255,255,255,.16) !important; }
.ca-footer-bottom { gap: 18px; padding-top: 20px; }
.ca-footer-bottom p { margin: 0; color: #8f8da2; }

@media (max-width: 980px) {
  .ca-site-header { height: auto; padding: 8px 0; background: #fff; box-shadow: 0 5px 18px rgba(35,31,76,.07); }
  /* space-between gives the 3 visible elements (logo, hamburger, CTA button)
     equal gaps instead of grouping logo+hamburger and shoving the button to
     the far edge -- that auto-margin push was clipping the button off the
     left edge on narrow phones. Side padding halved too, to free up room. */
  .ca-header-inner { height: auto; min-height: 60px; gap: 10px; justify-content: space-between !important; padding-right: 9px; padding-left: 9px; }
  .ca-header-logo img { width: 100px; height: 45px; }
  .ca-main-nav { flex: 0 0 auto; margin: 0; }
  /* Core's own Navigation block only auto-collapses the inline menu list
     below its own fixed ~600px breakpoint, regardless of our 980px one here --
     without this, 600-980px showed the regular horizontal menu AND our
     forced-visible hamburger button at the same time. :not(.is-menu-open)
     keeps the open overlay's own list (styled separately below) untouched. */
  .ca-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { display: none !important; }
  .ca-main-nav .wp-block-navigation__responsive-container-open,
  .ca-main-nav .wp-block-navigation__responsive-container-close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; padding: 10px !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 13px !important; background: var(--wp--preset--color--soft) !important; box-shadow: none !important; color: var(--wp--preset--color--purple) !important; }
  .ca-main-nav .wp-block-navigation__responsive-container-open svg,
  .ca-main-nav .wp-block-navigation__responsive-container-close svg { width: 25px; height: 25px; }
  /* Visible "תפריט" label next to the icon. The open button's only DOM child
     is the SVG, so ::after (rendered after it) lands to its physical left in
     this RTL layout -- exactly "label left of the hamburger". Needs its own
     width:auto since the shared rule above fixes both buttons at 46x46 square. */
  .ca-main-nav .wp-block-navigation__responsive-container-open { width: auto; gap: 6px; padding: 0 14px !important; }
  .ca-main-nav .wp-block-navigation__responsive-container-open::after { content: "תפריט"; font-size: 15px; font-weight: 700; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open { direction: rtl; inset: 0; z-index: 9999; width: 100vw !important; height: 100vh !important; height: 100dvh !important; min-height: 100vh !important; min-height: 100dvh !important; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; padding: 20px 22px 28px; color: var(--wp--preset--color--ink); background: #fff; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { position: relative; inset: auto; width: min(100%,520px); min-height: calc(100dvh - 48px); margin: 0 auto; transform: none; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { position: absolute; top: 0; left: 0; right: auto; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { position: relative; align-items: stretch; padding-top: 82px; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before { content: ""; position: absolute; top: 0; right: 0; width: 125px; height: 58px; background: url("assets/images/compuall-logo.png") right center / contain no-repeat; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 0; width: 100%; border-top: 1px solid var(--wp--preset--color--line); }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: stretch; width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { width: 100%; padding: 14px 2px !important; color: var(--wp--preset--color--ink) !important; font-size: 18px; font-weight: 750; line-height: 1.4; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { width: 18px; height: 18px; margin-right: 8px !important; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { min-width: 0 !important; width: 100% !important; margin: 0 0 8px !important; padding: 4px 15px 4px 0 !important; border: 0 !important; border-right: 3px solid var(--wp--preset--color--orange) !important; border-radius: 0; background: var(--wp--preset--color--soft) !important; box-shadow: none; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
  .ca-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 12px !important; font-size: 17px; font-weight: 650; }
  /* Cancel the base rule's margin-right:auto (desktop's far-left push) --
     space-between on .ca-header-inner above now handles the button's
     position, and the auto margin would otherwise still claim all the
     spare width for itself and override the equal spacing. */
  .ca-header-actions { margin-right: 0 !important; }
  .ca-support-link { display: none; }
  .ca-header-actions .wp-block-button__link { padding: 10px 16px; font-size: 14px; box-shadow: none; }
  .ca-footer-grid { flex-wrap: wrap !important; }
  .ca-footer-grid > .wp-block-column { flex-basis: calc(50% - 24px) !important; }
  .ca-footer-grid > .ca-footer-brand { flex-basis: 100% !important; }
}

@media (max-width: 600px) {
  .ca-site-header { padding: 6px 0; }
  .ca-header-inner { min-height: 56px; gap: 6px; padding-right: 7px; padding-left: 7px; }
  .ca-header-actions .wp-block-button__link { padding: 7px 10px; font-size: 12px; }
  .ca-header-logo img { width: 88px; height: 40px; }
  .ca-main-nav .wp-block-navigation__responsive-container-open { width: auto; height: 44px; padding: 0 9px !important; }
  .ca-main-nav .wp-block-navigation__responsive-container-open::after { font-size: 14px; }
  .ca-site-footer { padding: 44px 0 22px; }
  .ca-footer-grid { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important; width: auto !important; margin: 0 20px 28px !important; }
  .ca-footer-grid > .wp-block-column { width: 100% !important; flex-basis: auto !important; margin-block-start: 0 !important; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .ca-footer-grid > .wp-block-column:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .ca-footer-brand { text-align: center; }
  .ca-footer-logo { margin-right: auto; margin-bottom: 16px; margin-left: auto; }
  .ca-footer-logo img { width: 138px; height: 68px; }
  .ca-footer-brand p { max-width: 330px; margin-right: auto; margin-bottom: 0; margin-left: auto; line-height: 1.75; }
  .ca-site-footer h3 { margin-bottom: 15px; font-size: 20px; }
  .ca-footer-nav { width: 100%; }
  .ca-footer-nav .wp-block-navigation__container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 18px; width: 100%; }
  .ca-footer-nav .wp-block-navigation-item { width: 100%; }
  .ca-footer-nav .wp-block-navigation-item__content { width: 100%; padding: 7px 0; line-height: 1.45; }
  .ca-footer-contact p { margin-bottom: 12px; }
  .ca-footer-phone { font-size: 24px; }
  .ca-footer-support { margin-top: 18px !important; }
  .ca-footer-support a { justify-content: center; min-height: 44px; padding: 9px 16px; }
  .ca-footer-separator { width: auto !important; margin-right: 20px !important; margin-left: 20px !important; }
  .ca-footer-bottom { width: auto !important; align-items: center !important; flex-direction: column; gap: 8px; margin-right: 20px !important; margin-left: 20px !important; padding-top: 18px; text-align: center; }
  .ca-footer-bottom p { width: 100%; line-height: 1.6; }
}

.ca-guide-page {
  overflow: hidden;
  color: var(--wp--preset--color--ink);
}

.ca-guide-page h1,
.ca-guide-page h2,
.ca-guide-page h3,
.ca-guide-page p { margin-top: 0; }

.ca-guide-topbar {
  min-height: 94px;
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.ca-guide-topbar .wp-block-image img {
  width: 158px;
  height: 74px;
  object-fit: contain;
}

.ca-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wp--preset--color--blue);
  font-size: 18px;
  font-weight: 800;
}

.ca-kicker::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 14px solid var(--wp--preset--color--orange);
}

.ca-guide-hero {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(56px, 6vw, 78px);
  background: radial-gradient(circle at 15% 25%, rgba(22,142,185,.09), transparent 28%), linear-gradient(145deg,#fff 0%,#f4f2fb 100%);
}

.ca-guide-hero h1 {
  margin-bottom: 22px;
  color: var(--wp--preset--color--purple);
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -1.4px;
}

.ca-guide-lead { font-size: 22px; color: #454452; }
.ca-benefits { font-size: 18px; color: #444452; }
.ca-benefits li { margin-bottom: 7px; }
.ca-benefits li::marker { color: var(--wp--preset--color--blue); }

.ca-guide-form-card {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(39,35,79,.1);
}

.ca-guide-form-card h2 { color: var(--wp--preset--color--purple); font-size: 27px; }
.ca-rav-form { min-height: 160px; }
.ca-local-form-note {
  min-height: 148px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed color-mix(in srgb, var(--wp--preset--color--blue) 48%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--wp--preset--color--blue) 6%, white);
  color: var(--wp--preset--color--purple);
  text-align: center;
}
.ca-local-site .ca-local-form-note { display: flex; }
.ca-rav-form:has(form) .ca-local-form-note { display: none; }
.ca-local-form-note span { color: var(--wp--preset--color--muted); font-size: 16px; }

.ca-guide-book { position: relative; transform: rotate(2deg); filter: drop-shadow(0 34px 30px rgba(39,35,79,.22)); }
.ca-guide-book img { width: min(410px,85%); margin-inline: auto; border-radius: 4px; }
.ca-guide-note {
  width: max-content;
  margin: -20px auto 0;
  padding: 12px 17px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(39,35,79,.14);
  color: var(--wp--preset--color--purple);
  font-size: 17px;
  font-weight: 800;
}

.ca-proof-strip { background: var(--wp--preset--color--purple); color: #fff; }
.ca-proof-item { padding: 24px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.15); }
.ca-proof-item:last-child { border-left: 0; }
.ca-proof-item small { display: block; color: #d6d3ed; font-size: 16px; }
.ca-proof-item strong { font-size: 19px; }

.ca-section { padding-top: clamp(64px, 7vw, 88px); padding-bottom: clamp(64px, 7vw, 88px); }
.ca-soft { background: var(--wp--preset--color--soft); }
.ca-section-heading { max-width: 770px; margin-inline: auto; text-align: center; }
.ca-section-heading .ca-kicker { justify-content: center; }
.ca-section-heading h2 { color: var(--wp--preset--color--purple); font-size: clamp(34px, 4vw, 42px); line-height: 1.18; }

.ca-checks-grid { display: grid !important; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 11px; }
.ca-check-card {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(49,43,103,.04);
  text-align: center;
}
.ca-check-card h3 { margin: 0; color: var(--wp--preset--color--purple); font-size: 18px; line-height: 1.35; }

.ca-info-card {
  height: 100%;
  padding: 36px;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 26px;
  background: #fff;
}
.ca-info-card h2 { color: var(--wp--preset--color--purple); font-size: 31px; }
.ca-info-card-primary { border-color: var(--wp--preset--color--purple); background: var(--wp--preset--color--purple); color: #fff; }
.ca-info-card-primary h2 { color: #fff; }

.ca-about-card {
  padding: 32px;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 28px;
  background: #fff;
}
.ca-about-card img { width: 190px; height: 190px; object-fit: cover; object-position: top center; border-radius: 23px; }
.ca-about-card h2 { color: var(--wp--preset--color--purple); }

.ca-guide-final {
  padding-top: 82px;
  padding-bottom: 82px;
  background: linear-gradient(120deg,var(--wp--preset--color--purple-dark),var(--wp--preset--color--purple) 62%,var(--wp--preset--color--blue));
  color: #fff;
}
.ca-guide-final h2 { color: #fff; font-size: clamp(35px,4vw,44px); line-height: 1.18; }
.ca-guide-final .ca-kicker { color: #ffd3b5; }
.ca-guide-final .wp-block-button__link { background: #fff; color: var(--wp--preset--color--purple); }

@media (max-width: 980px) {
  .ca-checks-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .ca-guide-topbar { min-height: 80px; }
  .ca-guide-topbar .wp-block-image img { width: 128px; height: 60px; }
  .ca-guide-lead { font-size: 19px; }
  .ca-checks-grid { grid-template-columns: 1fr; }
  .ca-proof-item { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .ca-guide-form-card,.ca-info-card,.ca-about-card { padding: 23px; }
}

/* Home page */
.ca-home { overflow: hidden; color: var(--wp--preset--color--ink); }
.ca-home a { text-decoration: none; }
.ca-home-hero { min-height: 760px; display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; color: white; background: #24213f; }
.ca-home-hero:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(23,20,48,.93) 0%,rgba(34,29,69,.82) 34%,rgba(31,27,58,.28) 67%,rgba(20,18,40,.08) 100%); }
.ca-home-hero-media { position: absolute; inset: 0; z-index: -2; margin: 0 !important; }
.ca-home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; animation: ca-home-focus 1.6s ease both; }
.ca-home-hero-content { width: min(calc(100% - 40px),1180px); margin-inline: auto !important; }
.ca-home-hero-copy { width: min(57%,670px); margin-right: auto !important; margin-left: 0 !important; color: white; text-shadow: 0 2px 20px rgba(10,8,28,.18); }
.ca-home-kicker { display: inline-flex; align-items: center; gap: 11px; color: var(--wp--preset--color--orange); font-size: clamp(19px,1.25vw,22px); font-weight: 900; line-height: 1.4; margin: 0 0 20px; }
.ca-home-kicker:before { content: ""; width: 19px; height: 17px; flex: 0 0 auto; background: url("assets/images/brand-triangle.svg") center/contain no-repeat; }
.ca-home-hero h1 { max-width: 650px; margin: 0 0 24px; color: white; font-size: clamp(44px,5vw,72px); line-height: 1.08; letter-spacing: -1.7px; }
.ca-home-hero-lead { max-width: 670px; margin: 0 0 30px; color: rgba(255,255,255,.92); font-size: 21px; line-height: 1.65; }
.ca-home-actions { gap: 12px; }
.ca-home-actions .wp-block-button:first-child .wp-block-button__link {
  box-shadow: 0 12px 30px rgba(244,119,33,.4), 0 0 0 7px rgba(244,119,33,.16);
}
.ca-home-actions .wp-block-button:first-child .wp-block-button__link:hover,
.ca-home-actions .wp-block-button:first-child .wp-block-button__link:focus-visible {
  box-shadow: 0 15px 34px rgba(244,119,33,.48), 0 0 0 9px rgba(244,119,33,.2);
}
.ca-home-actions .is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.72); color: white; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.ca-home-actions .is-style-outline .wp-block-button__link:hover { color: var(--wp--preset--color--purple); background: white; }
.ca-home-hero-proof { gap: 16px; margin-top: 34px; color: rgba(255,255,255,.76); font-size: 16px; }
.ca-home-hero-proof p { margin: 0; }
.ca-home-hero-proof strong { color: white; font-size: 16px; }
.ca-home-proof-divider { width: 1px; height: 35px; background: rgba(255,255,255,.28); }
.ca-home-hero-copy>* { opacity: 0; animation: ca-home-rise .7s ease forwards; }
.ca-home-hero-copy>*:nth-child(1){animation-delay:.18s}.ca-home-hero-copy>*:nth-child(2){animation-delay:.3s}.ca-home-hero-copy>*:nth-child(3){animation-delay:.42s}.ca-home-hero-copy>*:nth-child(4){animation-delay:.54s}.ca-home-hero-copy>*:nth-child(5){animation-delay:.66s}
@keyframes ca-home-focus { from { transform: scale(1.045); filter: saturate(.82); } to { transform: none; filter: none; } }
@keyframes ca-home-rise { from { opacity: 0; transform: translateY(22px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion:reduce) { .ca-home-hero-media img,.ca-home-hero-copy>* { animation: none; opacity: 1; } }
.ca-home-hero + .ca-home-problems,.ca-home-problems { position: relative; isolation: isolate; overflow: hidden; margin-block-start: 0 !important; padding: 30px 0; color: white; background-color: #45408c; background-image: radial-gradient(circle at 10% 20%,rgba(255,255,255,.14),transparent 30%),radial-gradient(circle at 88% 78%,rgba(35,157,200,.18),transparent 34%),linear-gradient(115deg,#383475 0%,#5750a6 48%,#373371 100%); box-shadow: inset 0 1px rgba(255,255,255,.22),inset 0 -1px rgba(21,19,61,.3); }
.ca-home-problems::before,.ca-home-problems::after { content: ""; position: absolute; z-index: -1; pointer-events: none; transform: rotate(-8deg); border: 1px solid rgba(255,255,255,.08); }
.ca-home-problems::before { width: 520px; height: 170px; inset-inline-start: -120px; top: -115px; background: linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,0)); }
.ca-home-problems::after { width: 420px; height: 190px; inset-inline-end: -100px; bottom: -145px; background: linear-gradient(135deg,rgba(48,166,204,.12),rgba(255,255,255,0)); }
.ca-home-problem-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ca-home-problem-grid > *,
.ca-home-services > *,
.ca-home-urgency-grid > *,
.ca-home-results > *,
.ca-home-process > * { margin-block-start: 0 !important; align-self: stretch; }
.ca-home-problem { display: grid; grid-template-columns: 62px minmax(0,1fr); align-items: center; gap: 16px; min-height: 104px; padding: 10px 24px; border-left: 1px solid rgba(255,255,255,.24); }
.ca-home-problem:last-child { border-left: 0; }.ca-home-problem p { margin: 0; }
.ca-home-problem figure.ca-home-problem-icon { box-sizing: border-box; width: 62px; height: 62px; margin: 0 !important; padding: 3px; border: 2px solid rgba(255,255,255,.72) !important; border-radius: 50%; background: rgba(255,255,255,.92) !important; box-shadow: 0 8px 20px rgba(10,8,45,.22); }
.ca-home-problem-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ca-home-problem-copy { margin-block-start: 0 !important; }
.ca-home-problem-label { margin-bottom: 5px !important; color: #e1dff7; font-size: 16px; font-weight: 700; }
.ca-home-problem-text { font-size: 18px; line-height: 1.45; }
.ca-home-section { padding: 100px 20px; }
.ca-home-soft { background: var(--wp--preset--color--surface); }
.ca-home-section-head { align-items: end !important; gap: 50px; margin-bottom: 48px; }
.ca-home-section-head h2,.ca-home-about-copy h2,.ca-home-contact-copy h2 { color: var(--wp--preset--color--purple); font-size: clamp(34px,4vw,52px); line-height: 1.15; }
.ca-home-section-head p,.ca-home-about-copy>p,.ca-home-contact-copy>p { color: var(--wp--preset--color--muted); font-size: 18px; }
.ca-no-wrap { white-space: nowrap; }
.ca-home-services { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.ca-home-service-card { grid-column: span 2; min-height: 300px; padding: 30px; position: relative; overflow: hidden; border: 1px solid var(--wp--preset--color--border); border-radius: 24px; background: white; transition: .25s; }
.ca-home-service-card:nth-child(n+4) { grid-column: span 3; }
.ca-home-service-card:before { content: ""; position: absolute; right: 0; top: 0; width: 7px; height: 100%; background: var(--wp--preset--color--blue); }
.ca-home-service-card:nth-child(2):before { background: var(--wp--preset--color--purple); }.ca-home-service-card:nth-child(3):before { background: var(--wp--preset--color--orange); }
.ca-home-service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 60px rgba(39,35,79,.12); }
.ca-home-service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 16px; color: var(--wp--preset--color--purple); background: var(--wp--preset--color--surface-2); font-size: 24px; font-weight: 900; }
.ca-home-service-card h3 { color: var(--wp--preset--color--purple); font-size: 23px; }
.ca-home-service-card p { color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-home-service-card a { color: var(--wp--preset--color--blue); font-size: 16px; font-weight: 800; }
.ca-home-products-section { position: relative; overflow: hidden; background: linear-gradient(140deg,#f5f3fc 0%,#fff 55%,#edf9f8 100%); }
.ca-home-products-section:before { content: ""; position: absolute; width: 340px; height: 340px; left: -140px; top: -150px; border: 52px solid rgba(34,157,151,.08); border-radius: 50%; }
.ca-home-product-card { position: relative; display: grid !important; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 56px; overflow: hidden; padding: 48px; border: 1px solid rgba(75,68,138,.14); border-radius: 34px; background: rgba(255,255,255,.88); box-shadow: 0 26px 70px rgba(39,35,79,.12); }
.ca-home-product-card > * { margin-block-start: 0 !important; }
.ca-home-product-card:after { content: ""; position: absolute; right: -75px; bottom: -105px; width: 250px; height: 250px; border: 2px solid rgba(244,119,33,.16); border-radius: 50%; pointer-events: none; }
.ca-home-product-copy { position: relative; z-index: 1; }
.ca-home-product-logo { width: 190px; margin: 0 0 18px !important; }
.ca-home-product-logo img { display: block; width: 100%; height: auto; }
.ca-home-product-copy h3 { margin: 0 0 14px; color: var(--wp--preset--color--purple); font-size: 36px; }
.ca-home-product-copy p { margin: 0 0 24px; color: var(--wp--preset--color--muted); font-size: 18px; line-height: 1.7; }
.ca-home-product-screen { position: relative; z-index: 1; aspect-ratio: 1.6; overflow: hidden; margin: 0 !important; border: 1px solid rgba(75,68,138,.14); border-radius: 24px; background: white; box-shadow: 0 18px 48px rgba(39,35,79,.16); }
.ca-home-product-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ca-home-urgency-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ca-home-urgency-card { padding: 28px; border: 1px solid var(--wp--preset--color--border); border-radius: 22px; background: white; box-shadow: 0 12px 35px rgba(39,35,79,.06); }
.ca-home-urgency-card:before { content: ""; display: block; width: 42px; height: 4px; margin-bottom: 20px; border-radius: 4px; background: var(--wp--preset--color--orange); }
.ca-home-urgency-card h3 { color: var(--wp--preset--color--purple); font-size: 22px; }
.ca-home-urgency-card p { margin: 0; color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-home-urgency-summary { max-width: 1180px; margin: 28px auto 0; padding: 24px 28px; border-radius: 20px; color: var(--wp--preset--color--purple); background: var(--wp--preset--color--surface-2); font-size: 19px; font-weight: 800; }
.ca-home-leak-list { display: flex; flex-direction: column; gap: 16px; margin: 0 0 32px; }
.ca-home-leak-row { position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 20px; padding: 26px 30px; overflow: hidden; border: 1px solid var(--wp--preset--color--border); border-radius: 20px; background: white; box-shadow: 0 8px 24px rgba(39,35,79,.05); transition: .25s; }
.ca-home-leak-row:before {content: "";position: absolute;right: 0;top: 0;width: 7px;height: 100%; background: var(--wp--preset--color--orange); }
.ca-home-leak-row:hover, .ca-home-leak-row:focus-within { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 48px rgba(228,67,58,.18); }
.ca-home-leak-badge { width: 48px; height: 48px; margin: 0; display: grid; place-items: center; border-radius: 50%; color: var(--ca-danger); background: var(--ca-danger-soft); font-size: 18px; font-weight: 900; }
.ca-home-leak-title { margin: 0; font-size: 22px; line-height: 1.4; }
.ca-home-leak-title a { position: static; color: var(--ca-danger); font-weight: 800; text-decoration: none; transition: color .2s; }
.ca-home-leak-title a:after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.ca-home-leak-title a:focus-visible { outline: 2px solid var(--ca-danger); outline-offset: 4px; }
.ca-home-leak-row:hover .ca-home-leak-title a { color: var(--wp--preset--color--purple-dark); }
.ca-home-leak-note { margin: 0 0 20px; color: var(--wp--preset--color--purple); font-size: 19px; font-weight: 800; }
.ca-home-case-layout { gap: 48px; align-items: stretch !important; }
.ca-home-case-story { padding: 44px; position: relative; overflow: hidden; border-radius: 32px; color: white; background: var(--wp--preset--color--purple); }
.ca-home-case-story:after { content: ""; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -110px; border: 2px solid rgba(255,255,255,.1); border-radius: 50%; }
.ca-home-case-story h2 { color: white; font-size: 43px; line-height: 1.2; }.ca-home-case-story p { color: #e7e5f5; }
.ca-home-case-label { display: inline-block; padding: 8px 14px; margin-bottom: 18px; border-radius: 999px; color: white !important; background: var(--wp--preset--color--orange); font-size: 16px; font-weight: 900; box-shadow: 0 8px 20px rgba(244,119,33,.26); }
.ca-home-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ca-home-result { padding: 28px; border: 1px solid var(--wp--preset--color--border); border-radius: 24px; background: white; }
.ca-home-result-label { color: #8a8a97; font-size: 16px; font-weight: 750; }
.ca-home-result strong { display: block; margin: 8px 0; color: var(--wp--preset--color--blue); font-size: 21px; }
.ca-home-result p { margin: 0; color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-home-clients-section { padding: 86px 20px; background: #fff; }
.ca-home-clients-inner { text-align: center; }
.ca-home-clients-inner .ca-home-kicker { justify-content: center; }
.ca-home-clients-inner h2 { margin: 0 0 38px; color: var(--wp--preset--color--purple); font-size: clamp(34px,4vw,50px); line-height: 1.16; }
.ca-client-logos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; gap: 18px; }
/* Overrides core's :where(.is-layout-flow) > * + * block-gap margin, which
   only skips the literal first grid item, not each row's first column. */
.ca-client-logo { height: 150px; margin-block-start: 0 !important; display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--wp--preset--color--line); border-radius: 20px; background: white; box-shadow: 0 10px 26px rgba(39,35,79,.05); }
.ca-client-logo img { display: block; max-width: 100%; max-height: 130px; width: auto; height: auto; filter: none; opacity: 1; transition: .22s ease; }
.ca-client-logo:hover img { filter: grayscale(1); opacity: .74; transform: scale(1.03); }
.ca-reviews-head { max-width: 800px; margin-bottom: 36px !important; }
.ca-reviews-head h2 { margin: 0 0 14px; color: var(--wp--preset--color--purple); font-size: clamp(34px,4vw,50px); line-height: 1.16; }
.ca-reviews-head p:last-child { color: var(--wp--preset--color--muted); font-size: 18px; }
.ca-trustindex-wrap { min-height: 220px; padding: 28px; border: 1px solid var(--wp--preset--color--line); border-radius: 28px; background: white; box-shadow: 0 20px 55px rgba(39,35,79,.08); }
.ca-trustindex-wrap > * { margin-block-start: 0 !important; }
.ca-home-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: ca-home-step; }
.ca-home-process-item { counter-increment: ca-home-step; padding: 24px 6px 0; border-top: 4px solid var(--wp--preset--color--purple); }
.ca-home-process-item:before { content: "0" counter(ca-home-step); display: block; margin-bottom: 14px; color: var(--wp--preset--color--orange); font-size: 16px; font-weight: 900; }
.ca-home-process-item h3 { color: var(--wp--preset--color--purple); font-size: 22px; }.ca-home-process-item p { color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-home-about { gap: 60px; }
.ca-home-about-photo { min-height: 530px; position: relative; overflow: hidden; border-radius: 32px; box-shadow: 0 24px 60px rgba(39,35,79,.12); }
.ca-home-about-photo img { width: 100%; height: 530px; object-fit: cover; object-position: 35% center; }
.ca-home-about-copy h2 { margin-bottom: 24px; }
.ca-home-values { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; }
.ca-home-values p { margin: 0 !important; padding: 9px 14px; border-radius: 999px; color: var(--wp--preset--color--purple); background: var(--wp--preset--color--surface-2); font-size: 16px; font-weight: 800; }
.ca-home-guide { padding: 54px; border-radius: 34px; color: white; background: linear-gradient(120deg,var(--wp--preset--color--purple),#6058a6 65%,var(--wp--preset--color--blue)); }
.ca-home-guide h2 { color: white; font-size: 42px; line-height: 1.2; }.ca-home-guide p { color: #e6e4f3; }
.ca-home-guide .ca-home-kicker { color: #ffd9bf; }.ca-home-guide .wp-block-button__link { color: var(--wp--preset--color--purple); background: white; }
.ca-home-contact { padding: 95px 20px; background: linear-gradient(145deg,#f7f6fc,#fff); }
.ca-home-contact .wp-block-columns { gap: 60px; }.ca-home-contact-copy h2 { margin-bottom: 18px; }
.ca-home-contact-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ca-home-phone { display: inline-flex; direction: ltr; align-items: center; gap: 10px; color: var(--wp--preset--color--purple); font-size: 25px; font-weight: 900; }
.ca-home-phone:before { content: "☎"; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--surface-2); font-size: 20px; }
.ca-home-whatsapp { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid #b9e8c8; border-radius: 999px; color: #167d3d; background: #f3fff7; font-size: 16px; font-weight: 850; }
.ca-home-whatsapp img { width: 25px; height: 25px; }
.ca-home-form-placeholder { min-height: 360px; padding: 34px; display: flex; flex-direction: column; justify-content: center; border: 1px dashed var(--wp--preset--color--blue); border-radius: 28px; background: white; box-shadow: 0 24px 60px rgba(39,35,79,.12); }
.ca-home-form-placeholder h3 { color: var(--wp--preset--color--purple); font-size: 25px; }.ca-home-form-placeholder p { color: var(--wp--preset--color--muted); }
.items-justified-right { justify-content: flex-start; }
@media (max-width: 900px) {
  .ca-home-hero { min-height: 680px !important; }.ca-home-hero:after { background: linear-gradient(90deg,rgba(23,20,48,.9),rgba(28,24,55,.64)); }.ca-home-hero-media img { object-position: 64% center; }.ca-home-hero-copy { width: 78%; max-width: 78%; }
  .ca-home-problem-grid,.ca-home-services,.ca-home-urgency-grid,.ca-home-process { grid-template-columns: 1fr 1fr; }.ca-home-service-card,.ca-home-service-card:nth-child(n+4) { grid-column: auto; }
  .ca-home-problem:nth-child(2) { border-left: 0; }
  .ca-home-problem:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .ca-home-section-head,.ca-home-case-layout,.ca-home-about,.ca-home-contact .wp-block-columns,.ca-home-guide { flex-direction: column; }.ca-home-about-photo img { height: 470px; }
  /* .ca-home-section-head sets align-items:end for desktop's row layout (bottom-align
     heading + lead paragraph). In RTL, "end" resolves to the physical left edge once
     flex-direction flips to column above -- it was pushing every section-head heading
     (services/products/urgency/process intros) to the left on tablet/mobile. */
  .ca-home-section-head { align-items: stretch !important; }
}
@media (max-width: 620px) {
  .ca-home-hero { min-height: 720px !important; }.ca-home-hero-copy { width: 100%; max-width: 100%; }.ca-home-hero h1 { font-size: 42px; }.ca-home-hero-lead { font-size: 18px; }.ca-home-proof-divider { display: none; }.ca-home-hero-proof { align-items: flex-start; flex-direction: column; }
  .ca-home-problem-grid,.ca-home-services,.ca-home-urgency-grid,.ca-home-results,.ca-home-process { grid-template-columns: 1fr; }.ca-home-problem,.ca-home-problem:nth-child(2) { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }.ca-home-problem:last-child { border-bottom: 0; }
  .ca-home-problems { padding: 18px 0; }
  .ca-home-leak-row { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; }
  .ca-home-leak-badge { width: 40px; height: 40px; font-size: 16px; }
  .ca-home-leak-title { font-size: 19px; }
  .ca-home-problem { grid-template-columns: 54px minmax(0,1fr); gap: 14px; min-height: 88px; padding: 12px 18px; }
  .ca-home-problem figure.ca-home-problem-icon { width: 54px; height: 54px; }
  .ca-home-section { padding: 68px 14px; }.ca-home-section-head { gap: 14px; }.ca-home-section-head h2,.ca-home-about-copy h2,.ca-home-contact-copy h2 { font-size: 34px; }.ca-no-wrap { white-space: normal; }
  .ca-home-case-story { padding: 30px; }.ca-home-case-story h2 { font-size: 34px; }.ca-home-guide { padding: 32px 24px; }.ca-home-guide h2 { font-size: 34px; }.ca-home-contact { padding: 68px 14px; }
}

/* Internal service and company pages */
.ca-page { overflow: hidden; }
.ca-page .alignwide { width: min(calc(100% - 40px),1180px); margin-inline: auto !important; }
.ca-page-breadcrumbs { display: flex; align-items: center; gap: 9px; margin: 0 auto; padding-top: 20px; color: var(--wp--preset--color--muted); font-size: 16px; line-height: 1.5; }
.ca-page-breadcrumbs a { color: var(--wp--preset--color--blue); font-weight: 750; text-decoration: none; }
.ca-page-breadcrumbs a:hover,.ca-page-breadcrumbs a:focus-visible { color: var(--wp--preset--color--orange); text-decoration: underline; }
.ca-page-hero { padding: 82px 0 74px; background: linear-gradient(145deg,#fff,#f5f4fb); }
.ca-page-hero-grid { display: grid !important; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 62px; }
.ca-page-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--wp--preset--color--orange); font-size: clamp(18px,1.1vw,20px); font-weight: 900; line-height: 1.45; }
.ca-page-kicker:before { content: ""; width: 19px; height: 17px; flex: 0 0 auto; background: url("assets/images/brand-triangle.svg") center/contain no-repeat; }
.ca-page h1 { margin: 0 0 23px; color: var(--wp--preset--color--purple); font-size: clamp(45px,5vw,68px); line-height: 1.08; letter-spacing: -1.3px; }
.ca-page-lead { margin: 0 0 28px; color: #494957; font-size: 21px; line-height: 1.65; }
.ca-page-actions { gap: 12px; }
.ca-page-actions .is-style-outline .wp-block-button__link { border-color: var(--wp--preset--color--purple); color: var(--wp--preset--color--purple); background: white; }
.ca-page-visual { min-height: 430px; padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border: 1px solid rgba(75,68,138,.12); border-radius: 34px; background: white; box-shadow: 0 24px 60px rgba(39,35,79,.12); }
.ca-page-visual-title { margin: 0 0 5px; color: var(--wp--preset--color--purple); font-weight: 900; }
.ca-page-visual-row { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; margin: 0 !important; padding: 15px; border: 1px solid var(--wp--preset--color--line); border-radius: 17px; }
.ca-page-visual-row strong { display: block; color: var(--wp--preset--color--purple); font-size: 18px; }
.ca-page-visual-row span { color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-page-visual-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--wp--preset--color--purple); background: var(--wp--preset--color--surface-2); font-weight: 900; }
.ca-page-visual-row.is-highlight { margin-left: -18px !important; color: white; border-color: var(--wp--preset--color--purple); background: var(--wp--preset--color--purple); }
.ca-page-visual-row.is-highlight strong,.ca-page-visual-row.is-highlight span { color: white; }
.ca-page-visual-row.is-highlight .ca-page-visual-num { color: white; background: rgba(255,255,255,.16); }
.ca-page-proof { padding: 27px 0; color: white; background: var(--wp--preset--color--purple); }
.ca-page-proof-grid { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 0 !important; }
.ca-page-proof-item { min-height: 72px; padding: 7px 28px; border-left: 1px solid rgba(255,255,255,.2); }
.ca-page-proof-item:last-child { border-left: 0; }
.ca-page-proof-item p { margin: 0; color: #cbc8e8; font-size: 16px; }
.ca-page-proof-item strong { display: block; color: white; font-size: 18px; }
.ca-page-section { padding-top: 90px; padding-bottom: 90px; }
.ca-page-soft { background: var(--wp--preset--color--soft); }
.ca-page-section-head { display: grid !important; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 52px; margin-bottom: 42px; }
.ca-page-section-head h2,.ca-page-single-head h2 { margin: 0; color: var(--wp--preset--color--purple); font-size: clamp(35px,4vw,50px); line-height: 1.16; }
.ca-page-section-head p,.ca-page-single-head p { margin: 0; color: var(--wp--preset--color--muted); font-size: 18px; }
.ca-page-single-head { margin-bottom: 40px; }
.ca-page-single-head h2 { margin-bottom: 16px; }
.ca-page-cards { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ca-page-card { position: relative; min-height: 220px; overflow: hidden; padding: 28px; border: 1px solid var(--wp--preset--color--line); border-radius: 24px; background: white; }
.ca-page-card:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--wp--preset--color--blue); }
.ca-page-card:nth-child(2n):before { background: var(--wp--preset--color--orange); }
.ca-page-card .ca-page-card-icon { margin: 0 0 17px; color: var(--wp--preset--color--orange); font-size: 22px; font-weight: 900; }
.ca-page-card h3 { margin: 0 0 10px; color: var(--wp--preset--color--purple); font-size: 22px; }
.ca-page-card p { margin: 0; color: var(--wp--preset--color--muted); font-size: 16px; }

/* Client story cards (patterns/client-story.php) -- a native core/details
   disclosure, not JS/ARIA: content is in the HTML at load either way, and
   <details>/<summary> gets keyboard + open/closed semantics for free. */
.ca-story-list { display: flex; flex-direction: column; gap: 20px; }
.ca-story { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--wp--preset--color--line); border-radius: 24px; background: white; }
.ca-story:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--wp--preset--color--blue); }
.ca-story:nth-child(2n):before { background: var(--wp--preset--color--orange); }
.ca-story-type { margin: 0 0 12px; color: var(--wp--preset--color--orange); font-size: 16px; font-weight: 800; }
.ca-story h2 { margin: 0 0 14px; color: var(--wp--preset--color--purple); font-size: 24px; }
.ca-story-summary { margin: 0 0 14px; color: var(--wp--preset--color--muted); font-size: 17px; line-height: 1.65; }
.ca-story-result { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); font-size: 16px; }
.ca-story-result strong { color: var(--wp--preset--color--purple); }
.ca-story-details { margin: 0; border: 0; padding: 0; background: transparent; }
.ca-story-details summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--purple); font-weight: 800; font-size: 15px; }
.ca-story-details summary::-webkit-details-marker { display: none; }
.ca-story-details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.ca-story-details[open] summary::after { content: "\2212"; }
.ca-story-details[open] summary { background: var(--wp--preset--color--purple); color: white; border-color: var(--wp--preset--color--purple); }
.ca-story-details > *:not(summary) { margin-top: 18px; }
.ca-story-details p { color: var(--wp--preset--color--muted); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }
.ca-story-details p strong { color: var(--wp--preset--color--ink); }
.ca-story-details blockquote { margin: 18px 0 0; padding: 16px 20px; border-right: 3px solid var(--wp--preset--color--orange); border-left: 0; background: var(--wp--preset--color--soft); border-radius: 12px; font-style: italic; color: var(--wp--preset--color--ink); }

/* Blog archive (templates/home.html) and single post (templates/single.html).
   No dates anywhere by design -- intentionally no .wp-block-post-date use. */
.ca-blog-archive { padding-top: 56px; padding-bottom: 90px; }
.ca-blog-grid { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 10px; }
.ca-blog-card { padding: 24px; border: 1px solid var(--wp--preset--color--line); border-radius: 24px; background: white; }
.ca-blog-card-image { margin: 0 0 18px; border-radius: 14px; overflow: hidden; }
.ca-blog-card-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ca-blog-card-title { margin: 0 0 10px; color: var(--wp--preset--color--purple); font-size: 21px; }
.ca-blog-card-title a { color: inherit; text-decoration: none; }
.ca-blog-card-excerpt { margin: 0 0 14px; color: var(--wp--preset--color--muted); font-size: 16px; line-height: 1.65; }
.ca-blog-card-author { margin: 0 0 12px; color: var(--wp--preset--color--muted); font-size: 14px; font-weight: 700; }
.ca-blog-card-author a { color: inherit; }
.ca-blog-card-more a { color: var(--wp--preset--color--orange); font-weight: 800; font-size: 15px; text-decoration: none; }
.ca-blog-pagination { justify-content: center; gap: 10px; margin-top: 40px; }
.ca-blog-pagination a,.ca-blog-pagination span { padding: 8px 16px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--purple); text-decoration: none; }

.ca-blog-single { padding-bottom: 90px; }
.ca-blog-single-image { margin: 0 0 32px; border-radius: 24px; overflow: hidden; }
.ca-blog-single-image img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.ca-blog-single-body h1 { margin: 0 0 8px; color: var(--wp--preset--color--purple); }
.ca-blog-byline { margin: 0 0 32px; color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-blog-byline a { color: var(--wp--preset--color--blue); font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .ca-blog-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .ca-blog-grid { grid-template-columns: 1fr; }
}

.ca-page-split { gap: 42px; align-items: center !important; }
.ca-page-panel { padding: 36px; border: 1px solid var(--wp--preset--color--line); border-radius: 28px; background: white; }
.ca-page-panel.is-purple { color: white; border-color: var(--wp--preset--color--purple); background: var(--wp--preset--color--purple); }
.ca-page-panel h2 { margin-top: 0; color: var(--wp--preset--color--purple); font-size: clamp(32px,3.3vw,42px); line-height: 1.2; }
.ca-page-panel.is-purple h2,.ca-page-panel.is-purple h3 { color: white; }
.ca-page-panel.is-purple p { color: #e6e4f3; }
.ca-page-list { margin: 0; padding-right: 22px; }
.ca-page-list li { padding: 7px 4px; }
.ca-page-steps { display: grid !important; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: ca-page-step; }
.ca-page-step { counter-increment: ca-page-step; padding: 24px 5px 0; border-top: 4px solid var(--wp--preset--color--purple); }
.ca-page-step:before { content: "0" counter(ca-page-step); display: block; margin-bottom: 13px; color: var(--wp--preset--color--orange); font-size: 16px; font-weight: 900; }
.ca-page-step h3 { margin: 0 0 9px; color: var(--wp--preset--color--purple); font-size: 21px; }
.ca-page-step p { margin: 0; color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-page-case { padding: 42px; border-radius: 30px; color: white; background: linear-gradient(125deg,var(--wp--preset--color--purple),#655cab); }
.ca-page-case h2,.ca-page-case h3 { color: white; }
.ca-page-case p { color: #eceafa; }
.ca-page-faq { display: grid; gap: 12px; }
.ca-page-faq details { padding: 0 23px; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; background: white; }
.ca-page-faq summary { padding: 20px 0; color: var(--wp--preset--color--purple); font-weight: 850; cursor: pointer; }
.ca-page-faq details p { margin: 0; padding-bottom: 20px; color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-page-cta { padding-top: 78px; padding-bottom: 78px; background: linear-gradient(145deg,#f7f6fc,#fff); }
.ca-page-cta-box { gap: 48px; align-items: center !important; }
.ca-page-cta h2 { margin: 0 0 16px; color: var(--wp--preset--color--purple); font-size: clamp(36px,4vw,48px); line-height: 1.16; }
.ca-page-cta p { color: var(--wp--preset--color--muted); font-size: 18px; }
.ca-page-phone { direction: ltr; color: var(--wp--preset--color--purple); font-size: 24px; font-weight: 900; }
.ca-page-note { color: var(--wp--preset--color--muted); font-size: 16px; }
.ca-product-logo { width: 210px; margin: 0 0 18px !important; }
.ca-product-logo img { display: block; width: 100%; height: auto; }
.ca-product-hero-screen { overflow: hidden; margin: 0 !important; border: 1px solid rgba(75,68,138,.15); border-radius: 30px; background: white; box-shadow: 0 28px 70px rgba(39,35,79,.16); transform: rotate(-1.2deg); }
.ca-product-hero-screen img { display: block; width: 100%; height: auto; }
.ca-product-preview-section { position: relative; overflow: hidden; }
.ca-product-preview-section:before { content: ""; position: absolute; width: 360px; height: 360px; right: -180px; bottom: -190px; border: 55px solid rgba(34,157,151,.08); border-radius: 50%; }
.ca-product-gallery { position: relative; display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 24px; }
.ca-product-gallery > * { margin-block-start: 0 !important; }
.ca-product-shot { overflow: hidden; margin: 0 !important; border: 1px solid rgba(75,68,138,.14); border-radius: 25px; background: white; box-shadow: 0 20px 55px rgba(39,35,79,.12); }
.ca-product-shot:nth-child(1) { aspect-ratio: 1.6; }
.ca-product-shot:nth-child(2) { aspect-ratio: 1.3; }
.ca-product-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ca-product-shot-small { grid-column: 1 / -1; width: min(100%,520px); aspect-ratio: 512 / 920; margin-inline: auto !important; }
.ca-success-clients-section .ca-page-single-head { text-align: center; margin-right: auto !important; margin-left: auto !important; }
.ca-success-clients-section .ca-page-kicker { justify-content: center; }

/* WordPress flow layouts add spacing above every child after the first.
   These components use their own grid/flex gaps, so keep every item aligned. */
.ca-page :is(
  .ca-page-hero-grid,
  .ca-page-actions,
  .ca-page-proof-grid,
  .ca-page-section-head,
  .ca-page-cards,
  .ca-page-split,
  .ca-page-steps,
  .ca-page-faq,
  .ca-page-cta-box
) > *,
.ca-guide-page .ca-checks-grid > * {
  margin-block-start: 0 !important;
}

@media (max-width: 900px) {
  .ca-home-product-card { grid-template-columns: 1fr; gap: 34px; padding: 36px; }
  .ca-client-logos { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ca-page-hero-grid,.ca-page-section-head { grid-template-columns: 1fr; }
  .ca-page-hero-grid { gap: 42px; }
  .ca-page-cards { grid-template-columns: repeat(2,1fr); }
  .ca-page-steps { grid-template-columns: repeat(2,1fr); }
  .ca-page-split,.ca-page-cta-box { flex-direction: column; }
}
@media (max-width: 620px) {
  .ca-home-product-card { padding: 25px; border-radius: 25px; }
  .ca-home-product-logo { width: 155px; }
  .ca-home-product-copy h3 { font-size: 31px; }
  .ca-home-clients-section { padding: 64px 14px; }
  .ca-client-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ca-client-logo { height: 100px; padding: 8px; border-radius: 15px; }
  .ca-client-logo img { max-height: 84px; }
  .ca-trustindex-wrap { padding: 16px; border-radius: 20px; }
  .ca-product-logo { width: 170px; }
  .ca-product-hero-screen { border-radius: 22px; transform: none; }
  .ca-product-gallery { grid-template-columns: 1fr; gap: 16px; }
  .ca-product-shot-small { grid-column: auto; width: min(100%,420px); }
  .ca-page .alignwide { width: min(calc(100% - 28px),1180px); }
  .ca-page-hero { padding: 58px 0; }
  .ca-page h1 { font-size: 41px; }
  .ca-page-lead { font-size: 18px; }
  .ca-page-visual { min-height: 0; padding: 20px; }
  .ca-story { padding: 22px; }
  .ca-page-visual-row.is-highlight { margin-left: 0 !important; }
  .ca-page-proof-grid,.ca-page-cards,.ca-page-steps { grid-template-columns: 1fr; }
  .ca-page-proof-item { min-height: 0; padding: 13px 8px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .ca-page-proof-item:last-child { border-bottom: 0; }
  .ca-page-section { padding-top: 66px; padding-bottom: 66px; }
  .ca-page-section-head { gap: 14px; }
  .ca-page-section-head h2,.ca-page-single-head h2 { font-size: 34px; }
  .ca-page-panel,.ca-page-case { padding: 27px; }
  .ca-page-cta { padding-top: 64px; padding-bottom: 64px; }
}

/* Keep full-width page designs wide inside the desktop block editor. */
.editor-styles-wrapper .is-root-container > .wp-block-group.ca-home,
.editor-styles-wrapper .is-root-container > [data-align="full"]:has(.ca-home) {
  width: 100% !important;
  max-width: none !important;
}
.editor-styles-wrapper .ca-home .alignwide { width: min(100%,1180px) !important; max-width: 1180px !important; }
.editor-styles-wrapper .ca-home .alignfull { width: 100% !important; max-width: none !important; }
.editor-styles-wrapper .is-root-container > .wp-block-group.ca-page,
.editor-styles-wrapper .is-root-container > [data-align="full"]:has(.ca-page) { width: 100% !important; max-width: none !important; }
.editor-styles-wrapper .ca-page .alignwide { width: min(100%,1180px) !important; max-width: 1180px !important; }
.ti-widget.ti-goog .ti-review-content {font-family: var(--wp--preset--font-family--body) !important; font-size: 16px !important; color: var(--wp--preset--color--muted); }