:root {
  --amipro-navy: #08265d;
  --amipro-accent: #e64b2f;
  --amipro-accent-dark: #c93a22;
  --amipro-ink: #14213d;
  --amipro-muted: #5c667a;
  --amipro-surface: #fff;
  --amipro-bg: #f3f6fb;
  --amipro-border: #e1e7f0;
  --amipro-shadow: 0 18px 50px rgba(8, 38, 93, 0.12);
}

/* Unified company footer */
#footer,
#footer-section {
  display: none !important;
}

.amipro-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 12% 12%, rgba(25, 111, 212, 0.24), transparent 30%),
    linear-gradient(135deg, #07162d 0%, #0a2345 55%, #071a35 100%);
}

.amipro-footer::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.018), 0 0 0 110px rgba(255, 255, 255, 0.012);
  content: "";
  pointer-events: none;
}

.amipro-footer__accent {
  height: 5px;
  background: linear-gradient(90deg, #16a4e0 0%, #2d6fe8 48%, #f2b544 100%);
}

.amipro-footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(150px, 0.72fr));
  gap: clamp(32px, 4vw, 68px);
  padding-top: 72px;
  padding-bottom: 62px;
}

.amipro-footer__brand {
  max-width: 450px;
}

.amipro-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  color: #fff !important;
  text-decoration: none !important;
}

.amipro-footer__logo-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px 4px 15px 4px;
  color: #fff;
  background: linear-gradient(145deg, #1c91df, #2259cb);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 27px;
  font-weight: 800;
}

.amipro-footer__logo strong,
.amipro-footer__logo small {
  display: block;
  line-height: 1.15;
  letter-spacing: 0.045em;
}

.amipro-footer__logo strong {
  font-size: 19px;
}

.amipro-footer__logo small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.amipro-footer__brand h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(27px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.amipro-footer__brand > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.85;
}

.amipro-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 27px;
}

.amipro-footer__primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 8px;
  color: #071b36 !important;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.amipro-footer__primary:hover {
  color: #071b36 !important;
  background: #f4b947;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.amipro-footer__phone {
  position: relative;
  padding-left: 17px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.amipro-footer__phone::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #49d3a0;
  box-shadow: 0 0 0 5px rgba(73, 211, 160, 0.12);
  content: "";
  transform: translateY(-50%);
}

.amipro-footer__column {
  padding-top: 8px;
}

.amipro-footer__column h3 {
  position: relative;
  margin: 0 0 27px;
  padding-bottom: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.amipro-footer__column h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: #3ea7e8;
  content: "";
}

.amipro-footer__column > a {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none !important;
  transition: color 160ms ease, transform 160ms ease;
}

.amipro-footer__column > a:hover {
  color: #fff !important;
  transform: translateX(4px);
}

.amipro-footer__contact > a,
.amipro-footer__contact address {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-style: normal;
  line-height: 1.75;
}

.amipro-footer__contact span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.amipro-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 13, 29, 0.3);
}

.amipro-footer__bottom .amipro-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.amipro-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.6;
}

.amipro-footer__bottom p:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.amipro-footer__bottom span {
  padding: 0 5px;
  color: #3ea7e8;
}

@media (max-width: 1080px) {
  .amipro-footer__main {
    grid-template-columns: minmax(300px, 1.25fr) repeat(2, minmax(160px, 0.7fr));
  }

  .amipro-footer__contact {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 30px;
  }

  .amipro-footer__contact h3 {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }
}

@media (max-width: 760px) {
  .amipro-footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 26px;
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .amipro-footer__brand {
    grid-column: 1 / -1;
  }

  .amipro-footer__contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .amipro-footer__bottom .amipro-shell {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 22px;
  }
}

@media (max-width: 480px) {
  .amipro-footer__main {
    grid-template-columns: 1fr;
  }

  .amipro-footer__brand,
  .amipro-footer__contact {
    grid-column: auto;
  }

  .amipro-footer__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .amipro-footer__primary {
    width: 100%;
  }
}

html,
body.home {
  overflow-x: hidden;
}

body.home {
  background: var(--amipro-bg);
  color: var(--amipro-ink);
  font-family: "Prompt", "Mitr", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body.home *,
body.home *::before,
body.home *::after {
  box-sizing: border-box;
}

body.home :is(h1, h2, h3, h4, p, a, button) {
  font-family: "Prompt", "Mitr", Tahoma, sans-serif;
}

/* Navigation */
body.home .wp-block-kubio-navigation__outer {
  z-index: 100;
  background: var(--amipro-navy);
  box-shadow: 0 7px 24px rgba(5, 27, 67, 0.2);
}

body.home .wp-block-kubio-navigation-section__nav-section {
  min-height: 74px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

body.home :is(.wp-block-kubio-logo img, .custom-logo) {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

body.home .wp-block-kubio-menu-items a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-underline-offset: 5px;
}

body.home .wp-block-kubio-menu-items > ul > li > a {
  padding-inline: 18px;
}

/* Hero */
body.home .wp-block-kubio-hero__outer {
  min-height: 650px !important;
  padding-block: 72px !important;
  align-items: center !important;
}

body.home .wp-block-kubio-hero__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px !important;
}

body.home .wp-block-kubio-hero .wp-block-kubio-row__inner {
  width: 100% !important;
  max-width: 100%;
  margin-inline: 0 !important;
  align-items: center !important;
}

body.home .wp-block-kubio-hero .style-local-23-container {
  width: 52% !important;
  max-width: 590px;
  margin-left: auto;
}

body.home .wp-block-kubio-hero .style-local-23-inner {
  padding: clamp(34px, 4vw, 56px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  box-shadow: var(--amipro-shadow);
}

body.home .wp-block-kubio-hero .style-local-24-text {
  max-width: 100%;
  margin: 0;
  color: var(--amipro-ink);
  font-size: clamp(32px, 3.1vw, 46px) !important;
  font-weight: 700;
  line-height: 1.25 !important;
  letter-spacing: -0.025em;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.home .wp-block-kubio-hero .style-local-25-text {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--amipro-muted);
  font-size: clamp(16px, 1.4vw, 18px) !important;
  line-height: 1.8 !important;
}

body.home .wp-block-kubio-hero .style-local-26-outer {
  margin-top: 26px;
}

body.home .wp-block-kubio-button__link {
  min-width: 168px;
  padding: 13px 24px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--amipro-accent) !important;
  box-shadow: 0 9px 20px rgba(230, 75, 47, 0.25) !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.home .wp-block-kubio-button__link:is(:hover, :focus-visible) {
  background: var(--amipro-accent-dark) !important;
  box-shadow: 0 12px 26px rgba(201, 58, 34, 0.28) !important;
  transform: translateY(-2px);
}

/* Main content */
body.home .entry-content {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

body.home .entry-content > .wp-block-kubio-section__outer {
  padding-block: 84px !important;
  background: var(--amipro-bg) !important;
}

body.home .entry-content > .wp-block-kubio-section__outer > .background-wrapper .background-layer {
  background: var(--amipro-bg) !important;
}

body.home .entry-content .wp-block-kubio-section__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px !important;
}

body.home .entry-content .wp-block-kubio-row__inner {
  width: 100% !important;
  max-width: 100%;
  margin-inline: 0 !important;
}

body.home .entry-content .style-local-30-container {
  width: 100% !important;
  max-width: 980px;
  margin-inline: auto;
}

body.home .entry-content .style-local-30-inner {
  padding: clamp(28px, 4vw, 48px) !important;
  border: 1px solid var(--amipro-border);
  border-radius: 20px;
  background: var(--amipro-surface) !important;
  box-shadow: 0 14px 40px rgba(8, 38, 93, 0.08);
}

body.home .entry-content .style-local-31-text {
  margin: 0 0 16px;
  color: var(--amipro-ink);
  font-size: clamp(30px, 3.5vw, 44px) !important;
  font-weight: 700;
  line-height: 1.25 !important;
  text-align: center;
  letter-spacing: -0.02em;
}

body.home .entry-content .style-local-32-text {
  max-width: 850px;
  margin: 0 auto;
  color: var(--amipro-muted);
  font-size: 16px !important;
  line-height: 1.9 !important;
  text-align: left;
}

/* Portfolio grid */
body.home .entry-content .style-local-33-container {
  margin-top: 34px;
}

body.home .entry-content .style-local-33-inner {
  display: flex;
  gap: 28px;
  align-items: stretch !important;
  justify-content: center !important;
}

body.home .entry-content .style-aI9rUEyEgcR-container {
  width: calc((100% - 56px) / 3) !important;
  max-width: calc((100% - 56px) / 3) !important;
  padding: 0 !important;
  flex: 0 0 calc((100% - 56px) / 3) !important;
}

body.home .entry-content .style-aI9rUEyEgcR-inner {
  height: 100%;
  padding: 14px !important;
  overflow: hidden;
  border: 1px solid var(--amipro-border);
  border-radius: 18px;
  background: var(--amipro-surface) !important;
  box-shadow: 0 12px 34px rgba(8, 38, 93, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.home .entry-content .style-aI9rUEyEgcR-inner:hover {
  box-shadow: 0 18px 42px rgba(8, 38, 93, 0.14);
  transform: translateY(-4px);
}

body.home .entry-content :is(.wp-block-kubio-image__frameContainer, .wp-block-kubio-image__frameContainer img) {
  overflow: hidden;
  border-radius: 12px;
}

body.home .entry-content .wp-block-kubio-image__frameContainer img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.home .entry-content .wp-block-kubio-heading__text {
  color: var(--amipro-ink);
}

body.home .entry-content p {
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  body.home .wp-block-kubio-navigation-section__nav-section {
    padding-inline: 20px;
  }

  body.home .wp-block-kubio-hero__outer {
    min-height: 610px !important;
  }

  body.home .wp-block-kubio-hero .style-local-23-container {
    width: 58% !important;
  }

  body.home .entry-content .style-local-33-inner {
    gap: 22px;
  }

  body.home .entry-content .style-aI9rUEyEgcR-container {
    width: calc((100% - 22px) / 2) !important;
    max-width: calc((100% - 22px) / 2) !important;
    flex-basis: calc((100% - 22px) / 2) !important;
  }
}

@media (max-width: 767px) {
  body.home {
    font-size: 15px;
  }

  body.home .wp-block-kubio-navigation-section__nav-section {
    min-height: 68px;
    padding-inline: 16px;
  }

  body.home :is(.wp-block-kubio-navigation-items__outer, .wp-block-kubio-navigation-items__outer > .wp-block-kubio-row__inner) {
    width: 100% !important;
    max-width: 100%;
  }

  body.home .wp-block-kubio-navigation-items__outer .kubio-hide-on-mobile {
    display: flex !important;
    width: auto !important;
    margin-left: auto;
  }

  body.home .wp-block-kubio-dropdown-menu > .wp-block-kubio-menu-items__outer {
    display: none !important;
  }

  body.home :is(.wp-block-kubio-menu-offscreen__container, .wp-block-kubio-menu-offscreen__iconWrapper) {
    display: flex !important;
  }

  body.home .wp-block-kubio-menu-offscreen__iconWrapper {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  body.home .wp-block-kubio-hero__outer {
    min-height: 560px !important;
    padding-block: 54px !important;
  }

  body.home .wp-block-kubio-hero__inner {
    padding-inline: 16px !important;
  }

  body.home .wp-block-kubio-hero .style-local-22-container {
    display: none !important;
  }

  body.home .wp-block-kubio-hero .style-local-23-container {
    width: 100% !important;
    max-width: 100%;
    padding: 0 !important;
    flex: 0 0 100% !important;
  }

  body.home .wp-block-kubio-hero .style-local-23-inner {
    width: 100%;
    padding: 30px 24px !important;
    border-radius: 18px;
  }

  body.home .wp-block-kubio-hero .style-local-24-text {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  body.home .wp-block-kubio-hero .style-local-25-text {
    font-size: 15px !important;
  }

  body.home .entry-content > .wp-block-kubio-section__outer {
    padding-block: 56px !important;
  }

  body.home .entry-content .wp-block-kubio-section__inner {
    padding-inline: 16px !important;
  }

  body.home .entry-content .style-local-30-inner {
    padding: 28px 22px !important;
    border-radius: 16px;
  }

  body.home .entry-content .style-local-31-text {
    font-size: 32px !important;
  }

  body.home .entry-content .style-local-32-text {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  body.home .entry-content .style-local-33-inner {
    display: flex;
    gap: 20px;
  }

  body.home .entry-content .style-aI9rUEyEgcR-container {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Kubio emits ID-scoped widths; keep every mobile layout layer inside the viewport. */
  html#kubio body.home :is(.site, .wp-site-blocks, .entry-content) {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
  }

  html#kubio body.home .wp-block-kubio-navigation-section__nav-section,
  html#kubio body.home .wp-block-kubio-navigation-items__outer,
  html#kubio body.home .wp-block-kubio-navigation-items__outer > .wp-block-kubio-row__container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html#kubio body.home .wp-block-kubio-navigation-items__outer > .wp-block-kubio-row__inner {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  html#kubio body.home .wp-block-kubio-navigation-items__outer .style-local-5-container,
  html#kubio body.home .wp-block-kubio-navigation-items__outer .style-local-5-inner,
  html#kubio body.home .wp-block-kubio-navigation-items__outer .style-local-5-align {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    align-items: center !important;
  }

  html#kubio body.home :is(.wp-block-kubio-logo, .wp-block-kubio-logo__image, .custom-logo) {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html#kubio body.home .wp-block-kubio-logo__alternateImage {
    display: none !important;
  }

  html#kubio body.home .wp-block-kubio-navigation-items__outer .style-local-7-container,
  html#kubio body.home .wp-block-kubio-navigation-items__outer .kubio-hide-on-mobile {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  html#kubio body.home .wp-block-kubio-navigation-items__outer :is(.style-local-7-inner, .style-local-7-align) {
    display: flex !important;
    width: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html#kubio body.home .wp-block-kubio-dropdown-menu__outer,
  html#kubio body.home .wp-block-kubio-menu-offscreen__container,
  html#kubio body.home .wp-block-kubio-menu-offscreen__align,
  html#kubio body.home .wp-block-kubio-menu-offscreen__iconWrapper {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html#kubio body.home .wp-block-kubio-dropdown-menu__outer {
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
  }

  html#kubio body.home .wp-block-kubio-menu-offscreen__iconWrapper svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: #fff !important;
  }

  html#kubio body.home .wp-block-kubio-hero__inner,
  html#kubio body.home .wp-block-kubio-hero .wp-block-kubio-row__container,
  html#kubio body.home .wp-block-kubio-hero .wp-block-kubio-row__inner,
  html#kubio body.home .wp-block-kubio-hero .style-local-23-container,
  html#kubio body.home .wp-block-kubio-hero .style-local-23-inner,
  html#kubio body.home .wp-block-kubio-hero .style-local-23-align {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html#kubio body.home .wp-block-kubio-hero .wp-block-kubio-row__container,
  html#kubio body.home .wp-block-kubio-hero .wp-block-kubio-row__inner,
  html#kubio body.home .wp-block-kubio-hero .style-local-23-container {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  html#kubio body.home .wp-block-kubio-hero .style-local-23-container {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-inline: auto !important;
    flex: 0 0 calc(100vw - 32px) !important;
  }

  html#kubio body.home .wp-block-kubio-hero .style-local-23-inner {
    width: auto !important;
    max-width: 100% !important;
  }

  html#kubio body.home .wp-block-kubio-hero :is(.style-local-24-text, .style-local-25-text) {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html#kubio body.home .entry-content .wp-block-kubio-section__inner,
  html#kubio body.home .entry-content .style-local-29-container,
  html#kubio body.home .entry-content .style-local-29-inner,
  html#kubio body.home .entry-content .style-local-30-container,
  html#kubio body.home .entry-content .style-local-30-inner,
  html#kubio body.home .entry-content .style-local-30-align,
  html#kubio body.home .entry-content .style-local-33-container,
  html#kubio body.home .entry-content .style-local-33-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html#kubio body.home .entry-content :is(.style-local-29-container, .style-local-29-inner, .style-local-30-container, .style-local-33-container, .style-local-33-inner) {
    margin-inline: 0 !important;
  }

  html#kubio body.home .entry-content .style-local-30-container {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    flex: 0 0 calc(100vw - 32px) !important;
  }

  html#kubio body.home .entry-content .style-local-30-inner {
    width: auto !important;
    max-width: 100% !important;
  }

  html#kubio body.home .entry-content :is(.style-local-31-text, .style-local-32-text) {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* Curated installation case studies */
html#kubio body.single-post .wp-block-kubio-navigation-section__nav-section,
html#kubio body.single-post .wp-block-kubio-navigation-items__outer,
html#kubio body.single-post .wp-block-kubio-navigation-items__outer > .wp-block-kubio-row__container {
  background: linear-gradient(90deg, #041d4a, #082f67) !important;
}

body.single-post .wp-block-kubio-row__container:has(.wp-block-kubio-page-title),
body.single-post .wp-block-kubio-post-featured-image,
body.single-post #post-metadata {
  display: none !important;
}

body.single-post .wp-block-kubio-header > .style-local-23-container { display: none !important; }
body.single-post #blog-layout { padding-top: 30px !important; }

.amipro-project-hero {
  position: relative;
  display: grid;
  min-height: min(680px, 72vh);
  overflow: hidden;
  color: #fff;
  background: #071e46 var(--amipro-project-image) center / cover no-repeat;
  isolation: isolate;
}

.amipro-project-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 18, 48, .97) 0%, rgba(3, 29, 68, .85) 48%, rgba(3, 24, 55, .28) 100%),
    linear-gradient(0deg, rgba(3, 17, 42, .5), transparent 55%);
}

.amipro-project-hero__content {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 82px 0 90px;
}

.amipro-project-hero__content > a {
  display: inline-flex;
  margin-bottom: 60px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.amipro-project-hero__content > span { display: block; color: #67c3ff; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.amipro-project-hero h1 { max-width: 900px; margin: 15px 0 21px; color: #fff; font-size: clamp(42px, 5.3vw, 78px); line-height: 1.08; letter-spacing: -.025em; }
.amipro-project-hero p { max-width: 740px; margin: 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.8; }
.amipro-project-hero__content > div { display: flex; gap: 12px; align-items: center; margin-top: 32px; }
.amipro-project-hero__content strong,
.amipro-project-hero__content b { padding: 9px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: 12px; }
.amipro-project-hero__content b { color: #9edbff; }

.amipro-project-index {
  background:
    radial-gradient(circle at 90% 8%, rgba(25, 121, 205, .1), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.amipro-project-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.amipro-project-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(12, 42, 84, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.amipro-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(12, 42, 84, .16);
}

.amipro-project-card.is-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
}

.amipro-project-card__media {
  position: relative;
  display: block;
  min-height: 255px;
  overflow: hidden;
  background: #dfe8f3;
}

.amipro-project-card.is-featured .amipro-project-card__media { min-height: 100%; }
.amipro-project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.amipro-project-card:hover .amipro-project-card__media img { transform: scale(1.035); }
.amipro-project-card__media > span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 13px;
  color: #fff;
  background: rgba(5, 35, 79, .86);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.amipro-project-card__body { display: flex; flex-direction: column; padding: 26px 27px 28px; }
.amipro-project-card.is-featured .amipro-project-card__body { justify-content: center; padding: 42px; }
.amipro-project-card__meta { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.amipro-project-card__meta span { color: #62718a; font-size: 12px; font-weight: 700; line-height: 1.5; }
.amipro-project-card__meta strong { flex: 0 0 auto; color: #1269bd; font-size: 12px; font-weight: 900; }
.amipro-project-card h3 { margin: 0; color: #081f46; font-size: 21px; line-height: 1.35; }
.amipro-project-card.is-featured h3 { font-size: clamp(26px, 2.4vw, 35px); }
.amipro-project-card h3 a { color: inherit; text-decoration: none; }
.amipro-project-card p { margin: 13px 0 24px; color: #596981; font-size: 14px; line-height: 1.75; }
.amipro-project-card__link { margin-top: auto; color: #075eb3; font-size: 14px; font-weight: 900; text-decoration: none; }
.amipro-project-card__link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.amipro-project-card__link:hover span { transform: translateX(5px); }

body.single-post .entry-content,
body.single-post .wp-block-post-content { max-width: none; }

.amipro-project-story {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 90px;
  color: #182947;
}

.amipro-project-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 72px;
  background: #08285b;
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(7, 38, 86, .2);
}

.amipro-project-summary > div { min-width: 0; padding: 24px 25px; border-right: 1px solid rgba(255,255,255,.13); }
.amipro-project-summary > div:last-child { border-right: 0; }
.amipro-project-summary span { display: block; margin-bottom: 8px; color: #7ec6ff; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.amipro-project-summary strong { display: block; color: #fff; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }

.amipro-project-intro { max-width: 860px; margin: 0 auto 76px; text-align: center; }
.amipro-project-intro h2,
.amipro-project-scope h2,
.amipro-project-gallery h2 { margin: 10px 0 18px; color: #081f46; font-size: clamp(32px, 4vw, 50px); line-height: 1.15; }
.amipro-project-intro > p { margin: 0; color: #53647c; font-size: 18px; line-height: 1.9; }

.amipro-project-scope {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 32px;
  padding: 64px;
  background: #f2f6fb;
  border: 1px solid #dce6f2;
  border-radius: 28px;
}

.amipro-project-scope ol { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.amipro-project-scope li { min-width: 0; padding: 22px; background: #fff; border: 1px solid #dbe7f4; border-radius: 17px; }
.amipro-project-scope li span { display: block; margin-bottom: 16px; color: #0b71ce; font-size: 13px; font-weight: 900; }
.amipro-project-scope li p { margin: 0; color: #263b5a; font-size: 15px; line-height: 1.65; }

.amipro-project-result {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 45px;
  align-items: center;
  margin: 0 0 82px;
  padding: 30px 38px;
  color: #fff;
  background: linear-gradient(125deg, #0c3975, #076dbc);
  border-radius: 20px;
}
.amipro-project-result span { color: #8dd3ff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.amipro-project-result p { margin: 0; font-size: 18px; line-height: 1.75; }

.amipro-project-gallery { margin-bottom: 78px; }
.amipro-project-gallery__heading { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; margin-bottom: 30px; }
.amipro-project-gallery__heading > p { margin: 0 0 8px; color: #5c6d84; line-height: 1.75; }
.amipro-project-gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 17px; }
.amipro-project-gallery__item { grid-column: span 4; overflow: hidden; border-radius: 18px; background: #e8eef5; }
.amipro-project-gallery__item:first-child { grid-column: span 8; grid-row: span 2; }
.amipro-project-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.amipro-project-gallery__item:hover img { transform: scale(1.04); }

.amipro-project-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 52px 58px;
  color: #fff;
  background: #071e46;
  border-radius: 26px;
}
.amipro-project-contact span { color: #75c9ff; font-size: 12px; font-weight: 900; }
.amipro-project-contact h2 { max-width: 750px; margin: 8px 0 0; color: #fff; font-size: clamp(26px, 3vw, 39px); line-height: 1.25; }
.amipro-project-contact > a { padding: 16px 22px; color: #08285b; background: #fff; border-radius: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.amipro-project-contact > a span { margin-left: 7px; color: #0a68bd; }

@media (max-width: 991px) {
  .amipro-project-index__grid { grid-template-columns: 1fr 1fr; }
  .amipro-project-card.is-featured { grid-column: 1 / -1; }
  .amipro-project-summary { grid-template-columns: 1fr 1fr; }
  .amipro-project-summary > div:nth-child(2) { border-right: 0; }
  .amipro-project-summary > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .amipro-project-scope { grid-template-columns: 1fr; gap: 30px; padding: 45px; }
  .amipro-project-gallery__heading { grid-template-columns: 1fr; gap: 8px; }
  .amipro-project-gallery__item { grid-column: span 6; }
  .amipro-project-gallery__item:first-child { grid-column: span 12; }
}

@media (max-width: 767px) {
  .amipro-project-hero { min-height: 600px; background-position: 62% center; }
  .amipro-project-hero__overlay { background: linear-gradient(90deg, rgba(2,18,48,.96), rgba(3,29,68,.76)); }
  .amipro-project-hero__content { width: calc(100% - 32px); padding: 64px 0; }
  .amipro-project-hero__content > a { margin-bottom: 42px; }
  .amipro-project-hero h1 { font-size: clamp(38px, 11vw, 55px); }
  .amipro-project-hero p { font-size: 16px; }
  .amipro-project-hero__content > div { align-items: flex-start; flex-direction: column; }
  .amipro-project-index__grid { grid-template-columns: 1fr; gap: 20px; }
  .amipro-project-card.is-featured { display: block; }
  .amipro-project-card.is-featured .amipro-project-card__media { min-height: 255px; }
  .amipro-project-card.is-featured .amipro-project-card__body,
  .amipro-project-card__body { padding: 24px; }
  .amipro-project-story { width: min(100% - 28px, 1180px); margin-top: 22px; }
  .amipro-project-summary { grid-template-columns: 1fr; margin-bottom: 54px; border-radius: 17px; }
  .amipro-project-summary > div { padding: 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .amipro-project-summary > div:last-child { border-bottom: 0; }
  .amipro-project-intro { margin-bottom: 54px; text-align: left; }
  .amipro-project-intro > p { font-size: 16px; }
  .amipro-project-scope { padding: 28px 20px; border-radius: 20px; }
  .amipro-project-scope ol { grid-template-columns: 1fr; }
  .amipro-project-result { grid-template-columns: 1fr; gap: 10px; margin-bottom: 60px; padding: 26px 22px; }
  .amipro-project-result p { font-size: 16px; }
  .amipro-project-gallery__grid { display: flex; overflow-x: auto; grid-auto-rows: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .amipro-project-gallery__item,
  .amipro-project-gallery__item:first-child { flex: 0 0 86%; height: 280px; scroll-snap-align: start; }
  .amipro-project-contact { grid-template-columns: 1fr; padding: 34px 25px; }
  .amipro-project-contact > a { text-align: center; white-space: normal; }
}

/* Curated computer-rental page */
.amipro-rental-overview {
  padding-top: 88px;
}

.amipro-rental-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 72px;
  align-items: center;
}

.amipro-rental-intro__content h2,
.amipro-rental-process .amipro-section-heading h2 {
  margin: 0;
  color: var(--amipro-ink);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.amipro-rental-intro__content .amipro-lead {
  margin: 22px 0 26px;
  color: var(--amipro-muted);
  font-size: 17px;
  line-height: 1.9;
}

.amipro-rental-intro__content .amipro-checklist {
  margin: 0 0 30px;
}

.amipro-rental-intro__media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.amipro-rental-intro__media::before {
  position: absolute;
  z-index: 0;
  top: -24px;
  right: -24px;
  width: 56%;
  height: 62%;
  border-radius: 22px;
  background: linear-gradient(135deg, #dceaff, #eef5ff);
  content: "";
}

.amipro-rental-intro__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(7, 33, 79, 0.17);
  object-fit: cover;
}

.amipro-rental-intro__media figcaption {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 390px;
  margin: -52px 22px 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(223, 232, 245, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(7, 33, 79, 0.16);
}

.amipro-rental-intro__media figcaption strong {
  color: var(--amipro-ink);
  font-size: 17px;
}

.amipro-rental-intro__media figcaption span {
  margin-top: 4px;
  color: var(--amipro-muted);
  font-size: 14px;
}

.amipro-rental-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.amipro-rental-grid article {
  position: relative;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid #dfe8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(8, 38, 93, 0.07);
}

.amipro-rental-grid article::after {
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 26px solid rgba(35, 98, 182, 0.055);
  border-radius: 50%;
  content: "";
}

.amipro-rental-grid article > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #eaf2ff;
  color: #1b5bad;
  font-size: 13px;
  font-weight: 800;
}

.amipro-rental-grid h3 {
  margin: 22px 0 10px;
  color: var(--amipro-ink);
  font-size: 23px;
  line-height: 1.3;
}

.amipro-rental-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--amipro-muted);
  line-height: 1.8;
}

.amipro-rental-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.amipro-rental-usecase-grid article {
  min-width: 0;
  padding: 28px 24px;
  border-top: 3px solid #2c68bb;
  border-radius: 0 0 14px 14px;
  background: #f7faff;
}

.amipro-rental-usecase-grid strong {
  display: block;
  color: var(--amipro-ink);
  font-size: 20px;
  line-height: 1.35;
}

.amipro-rental-usecase-grid p {
  margin: 10px 0 0;
  color: var(--amipro-muted);
  line-height: 1.75;
}

.amipro-rental-process .amipro-section-heading h2,
.amipro-rental-process .amipro-section-heading > p {
  color: #fff;
}

.amipro-rental-process .amipro-section-heading > p {
  color: rgba(255, 255, 255, 0.76);
}

.amipro-rental-process .amipro-process li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.amipro-rental-process .amipro-process :is(h3, p) {
  color: #fff;
}

.amipro-rental-process .amipro-process p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
  .amipro-rental-intro {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .amipro-rental-grid,
  .amipro-rental-usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .amipro-rental-overview {
    padding-top: 64px;
  }

  .amipro-rental-intro {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .amipro-rental-intro__content h2,
  .amipro-rental-process .amipro-section-heading h2 {
    font-size: 34px;
  }

  .amipro-rental-intro__media::before {
    top: -14px;
    right: -10px;
  }

  .amipro-rental-intro__media figcaption {
    margin: -34px 12px 0;
  }

  .amipro-rental-grid,
  .amipro-rental-usecase-grid {
    grid-template-columns: 1fr;
  }

  .amipro-rental-grid article {
    min-height: 0;
    padding: 26px 24px;
  }
}

@media (max-width: 420px) {
  body.home .wp-block-kubio-hero .style-local-23-inner {
    padding: 26px 20px !important;
  }

  body.home .wp-block-kubio-button__link {
    width: 100%;
    min-width: 0;
  }
}

/* Advanced project showcase */
body.home #features-1 {
  position: relative;
  padding-block: 100px 110px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(53, 167, 232, 0.1), transparent 28%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%) !important;
}

body.home #features-1::before {
  position: absolute;
  top: 70px;
  right: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(20, 91, 174, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(20, 91, 174, 0.025), 0 0 0 110px rgba(20, 91, 174, 0.018);
  content: "";
  pointer-events: none;
}

body.home #features-1 .style-local-30-container {
  max-width: 100% !important;
}

body.home #features-1 .style-local-30-inner {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home #features-1 .style-local-30-align::before {
  display: block;
  margin-bottom: 12px;
  color: #176fc3;
  content: "SELECTED PROJECTS";
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

body.home #features-1 .style-local-31-text {
  max-width: 780px;
  margin: 0;
  color: var(--amipro-ink);
  font-size: clamp(38px, 4vw, 56px) !important;
  line-height: 1.18 !important;
  text-align: left;
}

body.home #features-1 .style-local-32-text {
  max-width: 850px;
  margin: 20px 0 0;
  color: #607087;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

body.home #features-1 .style-local-33-container {
  margin-top: 48px;
}

body.home #features-1 .style-local-33-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch !important;
}

body.home #features-1 .style-local-33-inner > .style-aI9rUEyEgcR-container {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  flex: none !important;
}

body.home #features-1 .style-aI9rUEyEgcR-inner {
  position: relative;
  display: flex !important;
  height: 100%;
  min-height: 610px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(17, 63, 119, 0.1);
  border-radius: 24px;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(15, 45, 85, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.home #features-1 .style-aI9rUEyEgcR-inner:hover {
  border-color: rgba(34, 111, 202, 0.24);
  box-shadow: 0 26px 62px rgba(15, 45, 85, 0.16);
  transform: translateY(-8px);
}

body.home #features-1 .style-aI9rUEyEgcR-align {
  display: flex !important;
  min-height: 100%;
  flex-direction: column;
}

body.home #features-1 .wp-block-kubio-image__outer,
body.home #features-1 .wp-block-kubio-image__captionContainer,
body.home #features-1 .wp-block-kubio-image__frameContainer {
  width: 100%;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.home #features-1 .wp-block-kubio-image__frameContainer {
  position: relative;
  overflow: hidden;
}

body.home #features-1 .wp-block-kubio-image__frameContainer::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(4, 25, 57, 0.2));
  content: "";
  pointer-events: none;
}

body.home #features-1 .wp-block-kubio-image__frameContainer img {
  width: 100% !important;
  height: 260px !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  transition: transform 500ms ease;
}

body.home #features-1 .style-aI9rUEyEgcR-inner:hover .wp-block-kubio-image__frameContainer img {
  transform: scale(1.045);
}

body.home #features-1 .style-9W1aLuAQWdL-container,
body.home #features-1 .style-9W1aLuAQWdL-inner,
body.home #features-1 .style-jn-qeXdJW5W-container,
body.home #features-1 .style-jn-qeXdJW5W-inner {
  width: 100% !important;
  height: 100%;
}

body.home #features-1 .style-jn-qeXdJW5W-inner {
  padding: 30px 30px 28px !important;
}

body.home #features-1 .style-jn-qeXdJW5W-align {
  display: flex !important;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

body.home #features-1 .style-1QHHx3c3xKe-text {
  min-height: 62px;
  margin: 0;
  color: #0a2348;
  font-size: 21px !important;
  font-weight: 750;
  line-height: 1.45 !important;
  letter-spacing: -0.015em;
}

body.home #features-1 .style-local-34-container .style-1QHHx3c3xKe-text::before,
body.home #features-1 .style-local-42-container .style-1QHHx3c3xKe-text::before,
body.home #features-1 .style-local-50-container .style-1QHHx3c3xKe-text::before {
  display: block;
  margin-bottom: 13px;
  color: #2a7fd2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

body.home #features-1 .style-local-34-container .style-1QHHx3c3xKe-text::before {
  content: "PROJECT 01  /  IT RENTAL";
}

body.home #features-1 .style-local-42-container .style-1QHHx3c3xKe-text::before {
  content: "PROJECT 02  /  SOCIAL IMPACT";
}

body.home #features-1 .style-local-50-container .style-1QHHx3c3xKe-text::before {
  content: "PROJECT 03  /  SOLAR ROOFTOP";
}

body.home #features-1 .style-YyDfb6P7-L9-text {
  margin: 18px 0 0;
  color: #58687d;
  font-size: 14px !important;
  line-height: 1.78 !important;
}

body.home #features-1 .style-EtysVwKv35x-outer {
  margin-top: auto !important;
  padding-top: 26px;
}

body.home #features-1 .style-4LaH45QU8Ri-link {
  display: inline-flex !important;
  min-height: 42px;
  padding: 9px 15px !important;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(31, 105, 194, 0.18);
  border-radius: 9px;
  color: #155cae !important;
  background: #f3f8fe;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

body.home #features-1 .style-4LaH45QU8Ri-link:hover {
  color: #fff !important;
  background: #155cae;
  transform: translateX(3px);
}

body.home #features-1 .style-4LaH45QU8Ri-icon {
  width: 13px !important;
  height: 13px !important;
  fill: currentColor !important;
}

body.home #features-1 .style-local-58-outer {
  display: flex !important;
  width: 100% !important;
  margin: 46px auto 0 !important;
  justify-content: center !important;
  text-align: center;
}

body.home #features-1 .style-local-58-spacing {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
}

body.home #features-1 .style-local-59-link {
  display: inline-flex !important;
  min-width: 220px;
  min-height: 54px;
  padding: 14px 28px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #0a2b5d !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: #0a2b5d !important;
  box-shadow: 0 13px 30px rgba(10, 43, 93, 0.2) !important;
  font-size: 14px;
  font-weight: 700 !important;
}

body.home #features-1 .style-local-59-link::after {
  margin-left: 11px;
  content: "→";
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease;
}

body.home #features-1 .style-local-59-link:hover {
  border-color: #1f75ce !important;
  background: #1f75ce !important;
  box-shadow: 0 16px 34px rgba(31, 117, 206, 0.28) !important;
}

body.home #features-1 .style-local-59-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  body.home #features-1 .style-local-33-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home #features-1 .style-local-33-inner > .style-aI9rUEyEgcR-container:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 13px) !important;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  body.home #features-1 {
    padding-block: 72px 80px !important;
  }

  body.home #features-1 .style-local-31-text {
    font-size: 36px !important;
  }

  body.home #features-1 .style-local-33-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.home #features-1 .style-local-33-inner > .style-aI9rUEyEgcR-container:last-child {
    grid-column: auto;
    max-width: none !important;
  }

  body.home #features-1 .style-aI9rUEyEgcR-inner {
    min-height: 0;
  }

  body.home #features-1 .wp-block-kubio-image__frameContainer img {
    height: 240px !important;
  }

  body.home #features-1 .style-1QHHx3c3xKe-text {
    min-height: 0;
  }

  body.home #features-1 .style-local-59-link {
    width: 100%;
  }
}

/* Inner-page containment guardrails */
body.page:not(.home) .entry-content,
body.page:not(.home) .entry-content *,
body.page:not(.home) .entry-content *::before,
body.page:not(.home) .entry-content *::after {
  box-sizing: border-box;
}

body.page:not(.home) .entry-content * {
  min-width: 0;
}

body.page:not(.home) .entry-content :is(.amipro-shell, img, video, iframe, table) {
  max-width: 100%;
}

body.page:not(.home) .entry-content img {
  height: auto;
}

body.page-id-310 .style-local-27-outer {
  padding-top: 28px !important;
  padding-bottom: 0 !important;
}

body.page-id-310 .amipro-legacy-content :is(h1, h2, h3, h4, h5, h6) {
  color: #fff !important;
}

body.page-id-310 .amipro-legacy-content :is(p, li) {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.page-id-310 .amipro-legacy-content a {
  color: #70c8f4 !important;
}

@media (max-width: 767px) {
  body.page-id-310 .style-local-27-outer {
    padding-top: 18px !important;
  }

  body.page:not(.home) .amipro-subhero h1 {
    overflow-wrap: anywhere;
  }

  body.page:not(.home) .amipro-legacy-content :is(.wp-block-kubio-row__inner, .wp-block-kubio-column__container) {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
}

/* Stable, self-contained service cards */
body.home #services {
  position: relative;
  padding-block: 104px !important;
  background: #fff !important;
}

body.home #services .amipro-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 70px;
  margin-bottom: 48px;
  align-items: end;
}

body.home #services .amipro-section-heading h2 {
  max-width: 700px;
  font-size: clamp(40px, 4vw, 58px);
}

body.home #services .amipro-section-heading > p {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(21, 82, 154, 0.14);
}

body.home #services .amipro-service-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  width: 100%;
  align-items: stretch;
}

body.home #services .amipro-service-card,
body.home #services .amipro-service-card--featured {
  position: relative;
  display: flex !important;
  overflow: hidden;
  width: auto !important;
  min-width: 0;
  min-height: 570px;
  flex-direction: column;
  border: 1px solid rgba(15, 67, 130, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8, 38, 93, 0.1);
  isolation: isolate;
}

body.home #services .amipro-service-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #ec4da6, #35a7e8);
  content: "";
  transition: width 300ms ease;
}

body.home #services .amipro-service-card:hover::before {
  width: 100%;
}

body.home #services .amipro-service-card:hover {
  box-shadow: 0 28px 66px rgba(8, 38, 93, 0.16);
  transform: translateY(-8px);
}

body.home #services .amipro-service-card > img {
  display: block;
  width: 100% !important;
  height: 265px !important;
  flex: 0 0 265px;
  border-radius: 0 !important;
  object-fit: cover !important;
  transition: transform 450ms ease, filter 450ms ease;
}

body.home #services .amipro-service-card:hover > img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.035);
}

body.home #services .amipro-service-card > div {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  height: 100%;
  padding: 30px 30px 28px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
}

body.home #services .amipro-card-number {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #176fc3;
  background: #edf5fe;
  font-size: 11px;
  letter-spacing: 0.1em;
}

body.home #services .amipro-service-card h3 {
  min-height: 60px;
  margin: 16px 0 12px;
  font-size: 22px;
  line-height: 1.4;
}

body.home #services .amipro-service-card p {
  margin: 0;
  color: #5b6a7f;
  font-size: 15px;
  line-height: 1.78;
}

body.home #services .amipro-service-card > div > a {
  display: inline-flex;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 15px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(31, 105, 194, 0.18);
  border-radius: 9px;
  color: #155cae !important;
  background: #f3f8fe;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

body.home #services .amipro-service-card > div > a:hover {
  color: #fff !important;
  background: #155cae;
  transform: translateX(3px);
}

@media (max-width: 980px) {
  body.home #services .amipro-section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.home #services .amipro-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home #services .amipro-service-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 13px) !important;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  body.home #services {
    padding-block: 76px !important;
  }

  body.home #services .amipro-section-heading {
    margin-bottom: 34px;
  }

  body.home #services .amipro-section-heading h2 {
    font-size: 38px;
  }

  body.home #services .amipro-service-grid {
    grid-template-columns: 1fr !important;
  }

  body.home #services .amipro-service-card,
  body.home #services .amipro-service-card:last-child {
    grid-column: auto;
    width: 100% !important;
    min-height: 0;
  }

  body.home #services .amipro-service-card > img {
    height: 240px !important;
    flex-basis: 240px;
  }

  body.home #services .amipro-service-card h3 {
    min-height: 0;
  }

  body.home #services .amipro-service-card > div > a {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home *,
  body.home *::before,
  body.home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Advanced content system */
.amipro-shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

body.home .entry-content > .amipro-home-experience,
body.home .entry-content > .amipro-updates,
body.home .entry-content > .amipro-cta {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
}

body.page:not(.home) .entry-content > :is(.amipro-subhero, .amipro-section, .amipro-case-highlight, .amipro-direct-cta, .amipro-cta, .amipro-legacy-content) {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.amipro-section {
  position: relative;
  padding-block: 96px;
  background: #fff;
}

.amipro-section--soft {
  background: var(--amipro-bg);
}

.amipro-section--dark,
.amipro-case-highlight {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 103, 190, 0.28), transparent 34%),
    linear-gradient(135deg, #061b42 0%, #0a2d67 100%);
  color: #fff;
}

.amipro-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #2362b6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.amipro-eyebrow--light {
  color: #9bc1ff;
}

.amipro-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.amipro-section-heading--center {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.amipro-section-heading h2,
.amipro-split h2,
.amipro-story h2,
.amipro-contact-plan h2,
.amipro-proof-panel h2 {
  margin: 0;
  color: var(--amipro-ink);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.amipro-section-heading > p,
.amipro-section-heading--center > p {
  margin: 0;
  color: var(--amipro-muted);
  font-size: 17px;
  line-height: 1.85;
}

.amipro-section--dark h2,
.amipro-case-highlight h2 {
  color: #fff;
}

.amipro-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.amipro-button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--amipro-accent);
  box-shadow: 0 10px 26px rgba(230, 75, 47, 0.24);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.amipro-button:hover,
.amipro-button:focus-visible {
  background: var(--amipro-accent-dark);
  box-shadow: 0 14px 30px rgba(201, 58, 34, 0.3);
  transform: translateY(-2px);
}

.amipro-button--navy {
  background: var(--amipro-navy);
  box-shadow: 0 10px 24px rgba(8, 38, 93, 0.18);
}

.amipro-button--navy:hover,
.amipro-button--navy:focus-visible {
  background: #051b43;
}

.amipro-button--light {
  background: #fff;
  box-shadow: none;
  color: var(--amipro-navy) !important;
}

.amipro-button--light:hover,
.amipro-button--light:focus-visible {
  background: #edf4ff;
}

.amipro-button--ghost-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  box-shadow: none;
}

.amipro-button--ghost-light:hover,
.amipro-button--ghost-light:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.amipro-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--amipro-navy) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.amipro-text-link--light {
  color: #fff !important;
}

/* Remove the theme's generic inner-page banner in favor of the curated page hero. */
body.page:not(.home) .wp-block-kubio-header .wp-block-kubio-hero__outer {
  display: none !important;
}

body.page:not(.home) .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}

/* The migrated rental article uses a dark legacy panel; normalize its contrast. */
body.page-id-310 .amipro-legacy-content :is(h1, h2, h3, h4, h5, h6) {
  color: #fff !important;
}

body.page-id-310 .amipro-legacy-content :is(p, li) {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.page-id-310 .amipro-legacy-content a {
  color: #70c8f4 !important;
}

body.page:not(.home) .wp-block-kubio-navigation__outer {
  background: var(--amipro-navy);
  box-shadow: 0 7px 24px rgba(5, 27, 67, 0.2);
}

body.page:not(.home) .wp-block-kubio-navigation-section__nav {
  background: var(--amipro-navy) !important;
}

body.page:not(.home) .wp-block-kubio-navigation :is(a, .wp-block-kubio-logo__text) {
  color: #fff !important;
}

body.page:not(.home) .wp-block-kubio-navigation-section__nav-section {
  min-height: 74px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.amipro-subhero {
  position: relative;
  display: flex;
  min-height: 530px;
  overflow: hidden;
  align-items: center;
  background-image: var(--amipro-page-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.amipro-subhero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 50, 0.94) 0%, rgba(6, 29, 69, 0.82) 46%, rgba(6, 29, 69, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 20, 50, 0.35), rgba(4, 20, 50, 0.08));
}

.amipro-subhero__content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}

.amipro-subhero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.amipro-subhero p {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.amipro-proofbar {
  background: var(--amipro-navy);
  color: #fff;
}

.amipro-proofbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.amipro-proofbar__grid > div {
  display: flex;
  min-height: 142px;
  padding: 24px 30px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.amipro-proofbar__grid > div:last-child {
  border-right: 0;
}

.amipro-proofbar strong {
  min-width: 92px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
}

.amipro-proofbar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.amipro-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amipro-service-card {
  overflow: hidden;
  border: 1px solid var(--amipro-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(8, 38, 93, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.amipro-service-card:hover {
  box-shadow: 0 22px 54px rgba(8, 38, 93, 0.15);
  transform: translateY(-6px);
}

.amipro-service-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.amipro-service-card > div {
  padding: 28px;
}

.amipro-service-card h3,
.amipro-feature-grid h3,
.amipro-process h3,
.amipro-case-grid h3,
.amipro-role-grid h3 {
  margin: 8px 0 10px;
  color: var(--amipro-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.amipro-service-card p,
.amipro-feature-grid p,
.amipro-process p,
.amipro-case-grid p,
.amipro-role-grid p {
  margin: 0 0 18px;
  color: var(--amipro-muted);
  line-height: 1.8;
}

.amipro-service-card a,
.amipro-feature-grid a {
  color: #1e5da9 !important;
  font-weight: 600;
  text-decoration: none !important;
}

.amipro-card-number {
  color: #7c8aa2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.amipro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.amipro-section--dark .amipro-split {
  padding-block: 96px;
}

.amipro-split__media {
  position: relative;
}

.amipro-split__media img {
  display: block;
  width: 100%;
  min-height: 470px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.amipro-image-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(5, 27, 67, 0.82);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.amipro-split__content > p {
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.9;
}

.amipro-checklist {
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.amipro-checklist li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.86);
}

.amipro-checklist li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(155, 193, 255, 0.16);
  color: #9bc1ff;
  content: "✓";
  font-size: 12px;
  font-weight: 700;
}

.amipro-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amipro-process li {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--amipro-border);
  border-radius: 16px;
  background: #fff;
}

.amipro-process li > span,
.amipro-role-grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #eaf1fb;
  color: #1d5ca8;
  font-size: 13px;
  font-weight: 700;
}

.amipro-center-link {
  margin-top: 40px;
  text-align: center;
}

.amipro-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.amipro-feature-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.amipro-feature-grid article,
.amipro-role-grid article {
  padding: 34px;
  border: 1px solid var(--amipro-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 38, 93, 0.06);
}

.amipro-feature-icon {
  display: inline-flex;
  min-width: 50px;
  min-height: 38px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #eaf1fb;
  color: #1d5ca8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.amipro-proof-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  padding: 54px;
  align-items: center;
  border: 1px solid var(--amipro-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--amipro-shadow);
}

.amipro-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.amipro-stat-grid div {
  padding: 24px 18px;
  border-radius: 13px;
  background: var(--amipro-bg);
  text-align: center;
}

.amipro-stat-grid strong,
.amipro-stat-grid span {
  display: block;
}

.amipro-stat-grid strong {
  color: var(--amipro-navy);
  font-size: 25px;
}

.amipro-stat-grid span {
  margin-top: 6px;
  color: var(--amipro-muted);
  font-size: 12px;
}

.amipro-story {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.amipro-story p {
  color: var(--amipro-muted);
  font-size: 16px;
  line-height: 1.9;
}

.amipro-story .amipro-lead {
  color: var(--amipro-ink);
  font-size: 19px;
}

.amipro-story__image img {
  display: block;
  width: 100%;
  min-height: 480px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--amipro-shadow);
}

.amipro-mini-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.amipro-mini-values div {
  padding: 18px;
  border-radius: 12px;
  background: var(--amipro-bg);
}

.amipro-mini-values strong,
.amipro-mini-values span {
  display: block;
}

.amipro-mini-values strong {
  color: var(--amipro-navy);
}

.amipro-mini-values span {
  margin-top: 5px;
  color: var(--amipro-muted);
  font-size: 12px;
}

.amipro-case-highlight {
  padding-block: 96px;
}

.amipro-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amipro-case-grid article {
  overflow: hidden;
  border: 1px solid var(--amipro-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(8, 38, 93, 0.08);
}

.amipro-case-grid img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.amipro-case-grid article > div {
  padding: 25px;
}

.amipro-case-grid article > div > span {
  color: #1d5ca8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.amipro-role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.amipro-quote-panel {
  max-width: 900px;
  padding: 52px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--amipro-shadow);
  text-align: center;
}

.amipro-quote-panel blockquote {
  margin: 0;
  color: var(--amipro-ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.55;
}

.amipro-quote-panel p {
  margin: 18px 0 0;
  color: var(--amipro-muted);
}

.amipro-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.amipro-contact-grid > * {
  display: flex;
  min-height: 190px;
  padding: 30px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--amipro-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 38, 93, 0.07);
  color: inherit !important;
  text-decoration: none !important;
}

.amipro-contact-grid span {
  color: #1d5ca8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.amipro-contact-grid strong {
  margin-block: 10px;
  color: var(--amipro-ink);
  font-size: 21px;
}

.amipro-contact-grid small {
  color: var(--amipro-muted);
}

.amipro-contact-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.amipro-contact-plan p {
  color: var(--amipro-muted);
  line-height: 1.85;
}

.amipro-checklist--light {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--amipro-border);
  border-radius: 18px;
  background: #fff;
}

.amipro-checklist--light li {
  color: var(--amipro-ink);
}

.amipro-direct-cta,
.amipro-cta {
  padding-block: 74px;
  background:
    radial-gradient(circle at 85% 20%, rgba(74, 132, 220, 0.3), transparent 30%),
    var(--amipro-navy);
  color: #fff;
}

.amipro-direct-cta .amipro-shell,
.amipro-cta__inner {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.amipro-cta h2,
.amipro-direct-cta h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.amipro-cta p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.amipro-legacy-content {
  padding-block: 80px;
  background: #fff;
}

.amipro-legacy-content > .amipro-shell {
  width: min(1100px, calc(100% - 48px));
}

.amipro-legacy-content .wp-block-kubio-section__outer {
  padding-block: 54px !important;
  background: #fff !important;
}

.amipro-legacy-content .wp-block-kubio-section__inner,
.amipro-legacy-content .wp-block-kubio-row__inner,
.amipro-legacy-content .wp-block-kubio-column__container {
  max-width: 100% !important;
}

.amipro-legacy-content :is(h1, h2, h3) {
  color: var(--amipro-ink) !important;
  line-height: 1.3 !important;
}

.amipro-legacy-content p {
  color: var(--amipro-muted) !important;
  line-height: 1.9 !important;
}

.amipro-legacy-content img {
  max-width: 100%;
  border-radius: 14px;
}

@media (max-width: 1024px) {
  .amipro-proofbar__grid,
  .amipro-process,
  .amipro-role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amipro-service-grid,
  .amipro-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amipro-split,
  .amipro-story {
    gap: 44px;
  }
}

@media (max-width: 767px) {
  .amipro-shell,
  .amipro-legacy-content > .amipro-shell {
    width: min(100% - 32px, 1200px);
  }

  .amipro-section,
  .amipro-case-highlight {
    padding-block: 64px;
  }

  .amipro-section-heading,
  .amipro-split,
  .amipro-story,
  .amipro-proof-panel,
  .amipro-contact-plan {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .amipro-section-heading {
    margin-bottom: 32px;
  }

  .amipro-section-heading h2,
  .amipro-split h2,
  .amipro-story h2,
  .amipro-contact-plan h2,
  .amipro-proof-panel h2 {
    font-size: 34px;
  }

  .amipro-subhero {
    min-height: 500px;
  }

  .amipro-subhero__overlay {
    background: rgba(4, 20, 50, 0.78);
  }

  .amipro-subhero h1 {
    font-size: 42px;
  }

  .amipro-subhero p {
    font-size: 16px;
  }

  .amipro-proofbar__grid,
  .amipro-service-grid,
  .amipro-feature-grid,
  .amipro-feature-grid--three,
  .amipro-process,
  .amipro-case-grid,
  .amipro-role-grid,
  .amipro-contact-grid,
  .amipro-stat-grid,
  .amipro-mini-values {
    grid-template-columns: 1fr;
  }

  .amipro-proofbar__grid > div {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .amipro-service-card img,
  .amipro-case-grid img {
    height: 230px;
  }

  .amipro-section--dark .amipro-split {
    padding-block: 64px;
  }

  .amipro-split__media img,
  .amipro-story__image img {
    min-height: 320px;
  }

  .amipro-proof-panel,
  .amipro-quote-panel {
    padding: 30px 24px;
  }

  .amipro-direct-cta .amipro-shell,
  .amipro-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .amipro-actions {
    width: 100%;
  }

  .amipro-actions .amipro-button {
    width: 100%;
  }

  .amipro-legacy-content {
    padding-block: 48px;
  }
}

/* AMI PRO brand logo */
a.wp-block-kubio-logo:has(img[src*="amipronewlogo"]) {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px !important;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2) !important;
}

a.wp-block-kubio-logo:has(img[src*="amipronewlogo"]) img[src*="amipronewlogo"] {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  display: block !important;
  width: 84px !important;
  max-width: none !important;
  height: 84px !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  box-shadow: none !important;
  transform: translateX(-50%) !important;
}

.amipro-footer__logo-mark {
  position: relative;
  overflow: hidden;
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 14px !important;
  background: #fff;
}

.amipro-footer__logo-mark img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 78px;
  max-width: none;
  height: 78px;
  object-fit: cover;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  a.wp-block-kubio-logo:has(img[src*="amipronewlogo"]) {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
  }

  a.wp-block-kubio-logo:has(img[src*="amipronewlogo"]) img[src*="amipronewlogo"] {
    width: 72px !important;
    height: 72px !important;
  }
}

/* Refined brand lockup and homepage first impression */
html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) {
  position: relative !important;
  display: inline-flex !important;
  overflow: visible !important;
  width: auto !important;
  min-width: 188px !important;
  height: 60px !important;
  align-items: center !important;
  gap: 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) img.wp-block-kubio-logo__image {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.22));
  transform: none !important;
}

html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) img.wp-block-kubio-logo__alternateImage {
  display: none !important;
}

html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) .wp-block-kubio-logo__text {
  display: flex !important;
  width: auto !important;
  height: auto !important;
  flex-direction: column;
  visibility: visible !important;
  color: #fff !important;
  opacity: 1 !important;
  line-height: 1;
}

html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) .wp-block-kubio-logo__text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.075em;
}

html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) .wp-block-kubio-logo__text small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

body.home .wp-block-kubio-navigation__outer,
body.page:not(.home) .wp-block-kubio-navigation__outer {
  border-top: 3px solid #35a7e8;
  background: rgba(5, 30, 76, 0.97) !important;
  box-shadow: 0 8px 30px rgba(3, 19, 48, 0.2);
}

body.home .wp-block-kubio-navigation-section__nav-section,
body.page:not(.home) .wp-block-kubio-navigation-section__nav-section {
  min-height: 86px;
}

body.home .wp-block-kubio-menu-items a,
body.page:not(.home) .wp-block-kubio-menu-items a {
  font-size: 14px;
  font-weight: 600;
}

body.home .wp-block-kubio-hero__outer {
  min-height: 670px !important;
  padding-block: 82px !important;
  box-shadow: inset 0 -90px 110px rgba(4, 22, 52, 0.2);
}

body.home .wp-block-kubio-hero .overlay-image-layer {
  background: linear-gradient(90deg, rgba(3, 20, 49, 0.62) 0%, rgba(4, 25, 58, 0.26) 54%, rgba(4, 20, 46, 0.13) 100%) !important;
  opacity: 1 !important;
}

body.home .wp-block-kubio-hero .style-local-22-container {
  display: none !important;
}

body.home .wp-block-kubio-hero .wp-block-kubio-row__inner {
  justify-content: flex-start !important;
}

body.home .wp-block-kubio-hero .style-local-23-container {
  width: 55% !important;
  max-width: 620px !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

body.home .wp-block-kubio-hero .style-local-23-inner {
  position: relative;
  padding: 54px 54px 50px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(7, 38, 87, 0.94), rgba(5, 25, 59, 0.88)) !important;
  box-shadow: 0 28px 70px rgba(1, 15, 39, 0.34) !important;
  backdrop-filter: blur(16px);
}

body.home .wp-block-kubio-hero .style-local-23-inner::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 128px;
  height: 4px;
  background: linear-gradient(90deg, #ec4da6, #35a7e8);
  content: "";
}

body.home .wp-block-kubio-hero .style-local-23-align::before {
  display: block;
  margin-bottom: 17px;
  color: #64c5f2;
  content: "IT  •  RENTAL  •  SOLAR SOLUTIONS";
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body.home .wp-block-kubio-hero .style-local-23-align {
  text-align: left !important;
}

body.home .wp-block-kubio-hero .style-local-24-text {
  max-width: 11em;
  color: #fff !important;
  font-size: clamp(40px, 3.45vw, 56px) !important;
  font-weight: 750;
  line-height: 1.18 !important;
  letter-spacing: -0.04em;
}

body.home .wp-block-kubio-hero .style-local-25-text {
  max-width: 48ch;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

body.home .wp-block-kubio-hero .style-local-26-outer {
  margin-top: 30px;
}

body.home .wp-block-kubio-hero .wp-block-kubio-button__link {
  min-width: 180px;
  padding: 14px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #168edc, #235fc7) !important;
  box-shadow: 0 11px 28px rgba(22, 116, 211, 0.28) !important;
}

body.home .wp-block-kubio-hero .wp-block-kubio-button__link:is(:hover, :focus-visible) {
  background: linear-gradient(135deg, #ec4da6, #c82f83) !important;
  box-shadow: 0 14px 32px rgba(200, 47, 131, 0.3) !important;
}

.amipro-footer__logo-mark {
  width: 60px;
  min-width: 60px;
  height: 60px;
  overflow: visible;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}

.amipro-footer__logo-mark img {
  position: static;
  width: 60px;
  max-width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
  transform: none;
}

@media (max-width: 760px) {
  html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) {
    min-width: 152px !important;
    height: 54px !important;
    gap: 9px !important;
  }

  html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) img.wp-block-kubio-logo__image {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
  }

  html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) .wp-block-kubio-logo__text strong {
    font-size: 15px;
  }

  html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) .wp-block-kubio-logo__text small {
    font-size: 7px;
  }

  body.home .wp-block-kubio-navigation-section__nav-section,
  body.page:not(.home) .wp-block-kubio-navigation-section__nav-section {
    min-height: 76px;
  }

  body.home .wp-block-kubio-hero__outer {
    min-height: 650px !important;
    padding-block: 52px !important;
  }

  body.home .wp-block-kubio-hero .style-local-23-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.home .wp-block-kubio-hero .style-local-23-inner {
    padding: 38px 30px 36px !important;
    border-radius: 20px !important;
  }

  body.home .wp-block-kubio-hero .style-local-23-align::before {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  body.home .wp-block-kubio-hero .style-local-24-text {
    max-width: 10em;
    font-size: clamp(34px, 9vw, 45px) !important;
  }

  body.home .wp-block-kubio-hero .style-local-25-text {
    font-size: 15px !important;
  }

  .amipro-proofbar__grid > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 30px;
    align-items: center;
  }

  .amipro-proofbar strong {
    min-width: 0;
    font-size: 34px;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) {
    min-width: 52px !important;
  }

  html#kubio body a.wp-block-kubio-logo:has(img[src*="amipro-brand-symbol"]) .wp-block-kubio-logo__text {
    display: none !important;
  }
}

/* Final inner-page fixes: keep these after the imported Kubio/legacy rules. */
body.page-id-310 .style-local-27-outer {
  padding-top: 28px !important;
  padding-bottom: 0 !important;
}

body.page-id-310 .amipro-legacy-content :is(h1, h2, h3, h4, h5, h6) {
  color: #fff !important;
}

body.page-id-310 .amipro-legacy-content :is(p, li) {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.page-id-310 .amipro-legacy-content a {
  color: #70c8f4 !important;
}

@media (max-width: 767px) {
  body.page-id-310 .style-local-27-outer {
    padding-top: 18px !important;
  }

  html#kubio body.page:not(.home) .entry-content {
    max-width: 100vw !important;
    overflow: clip !important;
  }

  html#kubio body.page:not(.home) .entry-content > :is(.amipro-subhero, .amipro-section, .amipro-case-highlight, .amipro-direct-cta, .amipro-cta, .amipro-legacy-content) {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html#kubio body.page:not(.home) .amipro-subhero {
    min-height: 0;
  }

  html#kubio body.page:not(.home) .amipro-subhero__content {
    width: 100% !important;
    padding: 64px 16px 58px;
  }

  html#kubio body.page:not(.home) .amipro-subhero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
  }

  html#kubio body.page:not(.home) .amipro-subhero p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  html#kubio body.page-id-310 .amipro-legacy-content > .amipro-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 16px;
  }

  html#kubio body.page-id-310 .amipro-legacy-content {
    margin-top: 28px !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content :is(
    .wp-block-kubio-section__outer,
    .wp-block-kubio-section__inner,
    .wp-block-kubio-row__container,
    .wp-block-kubio-row__inner,
    .wp-block-kubio-column__container,
    .wp-block-kubio-column__inner,
    .wp-block-kubio-column__align
  ) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-basis: 100% !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content .wp-block-kubio-row__inner {
    flex-direction: column !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content .wp-block-kubio-column__container {
    flex: 0 0 100% !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content .wp-block-kubio-section__outer {
    padding: 34px 0 !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content .wp-block-kubio-section__outer:first-child .wp-block-kubio-row__inner {
    padding-top: 24px !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content :is(h2, h3, h4) {
    margin: 18px 0 12px !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-right: 16px !important;
    margin-left: 16px !important;
    padding: 0 0 0 8px !important;
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.22 !important;
    text-align: left !important;
    transform: none !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content :is(p, li) {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-right: 16px !important;
    margin-left: 16px !important;
    padding-right: 0 !important;
    padding-left: 8px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    text-align: left !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content :is(h2, h3, h4) strong {
    display: inline-block;
    margin: 0 !important;
    transform: none !important;
  }

  html#kubio body.page-id-310 .amipro-legacy-content :is(h1, h2, h3, h4, h5, h6, p, li, a) {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }
}

/* Curated project gallery */
.amipro-gallery-showcase {
  background: #f6f9fe;
}

.amipro-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.amipro-gallery-grid figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dfe8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 38, 93, 0.08);
}

.amipro-gallery-grid figure.is-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: stretch;
}

.amipro-gallery-grid img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.amipro-gallery-grid .is-featured img {
  height: 430px;
}

.amipro-gallery-grid figcaption {
  padding: 28px 30px 30px;
}

.amipro-gallery-grid .is-featured figcaption {
  display: flex;
  padding: 40px;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(145deg, #08265d, #103f86);
}

.amipro-gallery-grid figcaption > span {
  color: #2b65b7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.amipro-gallery-grid h3 {
  margin: 10px 0 8px;
  color: var(--amipro-ink);
  font-size: 24px;
  line-height: 1.35;
}

.amipro-gallery-grid p {
  margin: 0;
  color: var(--amipro-muted);
  line-height: 1.7;
}

.amipro-gallery-grid .is-featured figcaption > span {
  color: #9fc5ff;
}

.amipro-gallery-grid .is-featured :is(h3, p) {
  color: #fff;
}

.amipro-gallery-grid .is-featured p {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 767px) {
  .amipro-gallery-grid {
    grid-template-columns: 1fr;
  }

  .amipro-gallery-grid figure.is-featured {
    display: block;
    grid-column: auto;
  }

  .amipro-gallery-grid img,
  .amipro-gallery-grid .is-featured img {
    height: 250px;
  }

  .amipro-gallery-grid figcaption,
  .amipro-gallery-grid .is-featured figcaption {
    padding: 24px;
  }
}

/* Navigation dropdowns: keep submenu labels readable on the white panel. */
@media (min-width: 768px) {
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu {
    min-width: 230px;
    overflow: hidden;
    padding: 8px !important;
    border: 1px solid #dce5f1 !important;
    border-radius: 0 0 12px 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(4, 24, 58, 0.2) !important;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu > li {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu > li + li {
    border-top: 1px solid #edf1f7 !important;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu > li > a {
    display: flex !important;
    width: 100%;
    min-height: 44px;
    padding: 11px 14px !important;
    align-items: center;
    border-radius: 7px;
    background: transparent !important;
    color: #10264c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu > li > a:hover,
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu > li > a:focus-visible,
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu > li.current-menu-item > a {
    background: #edf5ff !important;
    color: #1258aa !important;
    transform: translateX(2px);
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items ul.sub-menu svg {
    fill: #315477 !important;
  }
}

/* Replace the imported query loop, which contains editor/system posts. */
body.home .style-local-60-outer {
  display: none !important;
}

/* Curated updates carousel */
.amipro-updates {
  position: relative;
  overflow: hidden;
  margin-top: -48px;
  padding-block: 112px 104px;
  background:
    radial-gradient(circle at 88% 10%, rgba(51, 137, 232, 0.12), transparent 27%),
    linear-gradient(180deg, #f6f9fe 0%, #eef4fc 100%);
}

.amipro-updates > .amipro-shell {
  width: min(1280px, calc(100% - 64px));
}

.amipro-updates__heading {
  display: flex;
  gap: 36px;
  margin-bottom: 48px;
  align-items: flex-end;
  justify-content: space-between;
}

.amipro-updates__heading h2 {
  margin: 0;
  color: var(--amipro-ink);
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.amipro-updates__heading p {
  margin: 12px 0 0;
  color: var(--amipro-muted);
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
}

.amipro-updates__controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.amipro-updates__controls button {
  display: inline-flex;
  width: 54px;
  height: 54px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(8, 38, 93, 0.08);
  color: #0c3778;
  cursor: pointer;
  font-size: 20px;
  transition: transform 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.amipro-updates__controls button:hover,
.amipro-updates__controls button:focus-visible {
  background: #0b3679;
  box-shadow: 0 12px 26px rgba(8, 38, 93, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.amipro-updates__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 4px 34px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.amipro-updates__viewport::-webkit-scrollbar {
  display: none;
}

.amipro-updates__track {
  display: grid;
  grid-auto-columns: calc((100% - 56px) / 3);
  grid-auto-flow: column;
  gap: 28px;
}

.amipro-update-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce6f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(8, 38, 93, 0.1);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.amipro-update-card:hover {
  box-shadow: 0 24px 52px rgba(8, 38, 93, 0.14);
  transform: translateY(-4px);
}

.amipro-update-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
}

.amipro-update-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.amipro-update-card:hover .amipro-update-card__image img {
  transform: scale(1.035);
}

.amipro-update-card__body {
  display: flex;
  min-height: 300px;
  padding: 30px 30px 32px;
  flex-direction: column;
}

.amipro-update-card__body > span {
  color: #2763b5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.amipro-update-card h3 {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.4;
}

.amipro-update-card h3 a {
  color: var(--amipro-ink) !important;
  text-decoration: none !important;
}

.amipro-update-card p {
  margin: 0 0 22px;
  color: var(--amipro-muted);
  line-height: 1.75;
}

.amipro-update-card__link {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  align-items: center;
  color: #1558aa !important;
  font-weight: 700;
  text-decoration: none !important;
}

.amipro-updates__dots {
  display: flex;
  gap: 8px;
  min-height: 12px;
  align-items: center;
  justify-content: center;
}

.amipro-updates__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #adc0da;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.amipro-updates__dots button[aria-current="true"] {
  width: 28px;
  background: #1762bd;
}

/* More refined primary navigation. */
html#kubio body .wp-block-kubio-navigation__outer {
  position: sticky !important;
  z-index: 999 !important;
  top: 0;
  background: linear-gradient(90deg, rgba(4, 29, 74, 0.98), rgba(8, 47, 103, 0.98)) !important;
  backdrop-filter: blur(16px);
}

html#kubio body.admin-bar .wp-block-kubio-navigation__outer {
  top: 32px;
}

@media (min-width: 768px) {
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li > a {
    position: relative;
    min-height: 44px;
    padding: 11px 15px !important;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li > a:hover,
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li > a:focus-visible {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transform: translateY(-1px);
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li.current-menu-item > a,
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li.current-menu-ancestor > a {
    background: rgba(46, 143, 238, 0.17) !important;
    color: #fff !important;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li.current-menu-item > a::after,
  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li.current-menu-ancestor > a::after {
    position: absolute;
    right: 14px;
    bottom: 3px;
    left: 14px;
    height: 2px;
    border-radius: 99px;
    background: #4ab8f0;
    content: "";
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li:last-child > a {
    margin-left: 8px;
    padding-inline: 20px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(1, 17, 42, 0.18);
    color: #0a3475 !important;
  }

  html#kubio body .wp-block-kubio-navigation .wp-block-kubio-menu-items > ul > li:last-child > a:hover {
    background: #eaf4ff !important;
    color: #0f5caf !important;
  }

  html#kubio body .wp-block-kubio-navigation .menu-item-has-children > a .kubio-menu-item-icon {
    transition: transform 180ms ease;
  }

  html#kubio body .wp-block-kubio-navigation .menu-item-has-children:hover > a .kubio-menu-item-icon,
  html#kubio body .wp-block-kubio-navigation .menu-item-has-children:focus-within > a .kubio-menu-item-icon {
    transform: rotate(180deg);
  }
}

@media (max-width: 1024px) {
  .amipro-updates > .amipro-shell {
    width: min(1280px, calc(100% - 48px));
  }

  .amipro-updates__track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .amipro-updates {
    margin-top: 0;
    padding-block: 64px;
  }

  .amipro-updates > .amipro-shell {
    width: min(1280px, calc(100% - 32px));
  }

  .amipro-updates__heading {
    gap: 20px;
    margin-bottom: 34px;
    align-items: flex-start;
  }

  .amipro-updates__heading h2 {
    font-size: 34px;
  }

  .amipro-updates__heading p {
    max-width: 290px;
    font-size: 15px;
  }

  .amipro-updates__controls {
    margin-top: 4px;
  }

  .amipro-updates__controls button {
    width: 42px;
    height: 42px;
  }

  .amipro-updates__track {
    grid-auto-columns: 100%;
  }

  .amipro-update-card__body {
    min-height: 260px;
    padding: 26px 24px 28px;
  }
}

@media (max-width: 782px) {
  html#kubio body.admin-bar .wp-block-kubio-navigation__outer {
    top: 46px;
  }
}

/* Website and system development service */
body.amipro-web-design .wp-block-kubio-section__outer:has(.amipro-web-page),
body.amipro-web-design .wp-block-kubio-section__outer:has(.amipro-web-page) .wp-block-kubio-row__container,
body.amipro-web-design .wp-block-kubio-section__outer:has(.amipro-web-page) .wp-block-kubio-column__container,
body.amipro-web-design .wp-block-kubio-section__outer:has(.amipro-web-page) .wp-block-kubio-column__inner {
  padding: 0 !important;
}

body.amipro-web-design .wp-block-kubio-section__outer:has(.amipro-web-page) .wp-block-kubio-row__inner {
  margin: 0 !important;
}

.amipro-web-page {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-right: 0;
  margin-left: 0;
  overflow: hidden;
  color: #11213f;
  background: #fff;
  transform: translateX(-50%);
}

.amipro-web-page *,
.amipro-web-page *::before,
.amipro-web-page *::after {
  box-sizing: border-box;
}

.amipro-web-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(7, 30, 72, 0.98), rgba(8, 49, 106, 0.94)),
    radial-gradient(circle at 80% 15%, #1678d8, transparent 35%);
}

.amipro-web-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.amipro-web-hero__glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -170px;
  top: -260px;
  border-radius: 50%;
  background: rgba(43, 151, 255, 0.22);
  filter: blur(10px);
}

.amipro-web-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: 76px;
  align-items: center;
  padding-block: 110px 94px;
}

.amipro-web-kicker,
.amipro-web-heading > div > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #62bcff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.amipro-web-kicker i {
  width: 24px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
}

.amipro-web-hero h1 {
  max-width: 720px;
  margin: 22px 0 24px;
  color: #fff;
  font-size: clamp(48px, 4.8vw, 76px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.amipro-web-hero h1 em {
  color: #62bcff;
  font-style: normal;
}

.amipro-web-hero__copy > p {
  max-width: 650px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.85;
}

.amipro-web-outline {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
}

.amipro-web-outline:hover {
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

.amipro-web-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.amipro-web-hero__checks li::before {
  content: "✓";
  margin-right: 8px;
  color: #61c0ff;
  font-weight: 900;
}

.amipro-web-console {
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(5, 22, 54, .62);
  box-shadow: 0 45px 90px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.amipro-web-console::after {
  content: "";
  position: absolute;
  inset: 20% -8% -12% 18%;
  z-index: -1;
  border-radius: 50%;
  background: #087dde;
  opacity: .26;
  filter: blur(58px);
}

.amipro-web-console__bar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.amipro-web-console__bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a6b;
}

.amipro-web-console__bar > span:nth-child(2) { background: #ffbd4a; }
.amipro-web-console__bar > span:nth-child(3) { background: #41d49a; }

.amipro-web-console__bar small {
  margin-left: 10px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  letter-spacing: .12em;
}

.amipro-web-console__body {
  min-height: 440px;
  display: grid;
  grid-template-columns: 68px 1fr;
}

.amipro-web-console__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 25px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.amipro-web-console__side b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #082554;
  background: #62bcff;
  font-size: 12px;
}

.amipro-web-console__side i {
  width: 21px;
  height: 8px;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 4px;
}

.amipro-web-console__main { padding: 32px; }

.amipro-web-console__intro,
.amipro-web-console__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amipro-web-console__intro small,
.amipro-web-console__stats small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  letter-spacing: .15em;
}

.amipro-web-console__intro strong { font-size: 20px; }

.amipro-web-console__intro > span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #62f0b5;
  background: rgba(98,240,181,.12);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.amipro-web-console__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.amipro-web-console__stats > div {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.amipro-web-console__stats strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 32px;
}

.amipro-web-console__stats span { color: rgba(255,255,255,.55); font-size: 11px; }

.amipro-web-console__chart {
  margin-top: 16px;
  padding: 20px 22px 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}

.amipro-web-console__chart-head { color: rgba(255,255,255,.62); font-size: 11px; }
.amipro-web-console__chart-head b { color: #62f0b5; }
.amipro-web-console__chart svg { width: 100%; height: 105px; margin-top: 8px; }

.amipro-web-proof {
  border-bottom: 1px solid #dce6f3;
  background: #f7faff;
}

.amipro-web-proof .amipro-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.amipro-web-proof .amipro-shell > div {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 34px;
  border-right: 1px solid #dce6f3;
}

.amipro-web-proof .amipro-shell > div:first-child { border-left: 1px solid #dce6f3; }
.amipro-web-proof strong { color: #0b376f; font-size: 30px; letter-spacing: -.04em; }
.amipro-web-proof span { color: #61708b; font-size: 13px; line-height: 1.55; }

.amipro-web-section { padding-block: 112px; }

.amipro-web-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.amipro-web-heading h2,
.amipro-web-stack h2,
.amipro-web-faq h2,
.amipro-web-final h2 {
  margin: 14px 0 0;
  color: #10203f;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.amipro-web-heading > p {
  margin: 0;
  color: #66728a;
  font-size: 17px;
  line-height: 1.85;
}

.amipro-web-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.amipro-web-service-grid article {
  position: relative;
  min-height: 300px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(15, 46, 91, .07);
  transition: .28s ease;
}

.amipro-web-service-grid article::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -95px;
  bottom: -105px;
  border-radius: 50%;
  background: #e7f3ff;
  transition: .28s ease;
}

.amipro-web-service-grid article:hover {
  border-color: #a9cef5;
  box-shadow: 0 28px 65px rgba(15, 70, 140, .12);
  transform: translateY(-6px);
}

.amipro-web-service-grid article:hover::after { transform: scale(1.3); }

.amipro-web-service-grid article > span {
  position: absolute;
  right: 26px;
  top: 24px;
  color: #aec0d4;
  font-size: 12px;
  font-weight: 800;
}

.amipro-web-service-grid article > i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0866bf;
  background: #eaf4ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}

.amipro-web-service-grid h3 { margin: 28px 0 12px; color: #10203f; font-size: 24px; }
.amipro-web-service-grid p { margin: 0; color: #68758c; font-size: 15px; line-height: 1.8; }

.amipro-web-process {
  color: #fff;
  background: #091f47;
}

.amipro-web-heading--light h2 { color: #fff; }
.amipro-web-heading--light > p { color: rgba(255,255,255,.64); }

.amipro-web-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.14);
}

.amipro-web-steps li {
  position: relative;
  min-height: 260px;
  padding: 36px 28px 28px 0;
  border-right: 1px solid rgba(255,255,255,.14);
}

.amipro-web-steps li:not(:first-child) { padding-left: 28px; }
.amipro-web-steps li:last-child { border-right: 0; }

.amipro-web-steps li::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: -5px;
  left: 0;
  border-radius: 50%;
  background: #55b7ff;
  box-shadow: 0 0 0 7px rgba(85,183,255,.13);
}

.amipro-web-steps li:not(:first-child)::before { left: 28px; }
.amipro-web-steps b { color: #55b7ff; font-size: 13px; letter-spacing: .12em; }
.amipro-web-steps h3 { margin: 62px 0 12px; color: #fff; font-size: 22px; }
.amipro-web-steps p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }

.amipro-web-portfolio { background: #f3f7fc; }

.amipro-web-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.amipro-web-project {
  overflow: hidden;
  border: 1px solid #d9e4f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(12, 43, 82, .08);
}

.amipro-web-project__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  padding: 18px 18px 0;
  background: linear-gradient(145deg, #eaf2fb, #d9e7f5);
}

.amipro-web-project__image::after {
  content: "เปิดเว็บไซต์ ↗";
  position: absolute;
  inset: 55px 18px 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7, 35, 76, .76);
  font-weight: 800;
  opacity: 0;
  transition: .28s ease;
}

.amipro-web-project__image img {
  width: 100%;
  height: calc(100% - 37px);
  display: block;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(36, 77, 122, .16);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  transition: .45s ease;
}

.amipro-web-project__browser {
  position: relative;
  z-index: 2;
  height: 37px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border: 1px solid rgba(36, 77, 122, .16);
  border-bottom-color: #d8e1ec;
  border-radius: 10px 10px 0 0;
  background: rgba(255,255,255,.96);
}

.amipro-web-project__browser i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6470;
}

.amipro-web-project__browser i:nth-child(2) { background: #f5b94d; }
.amipro-web-project__browser i:nth-child(3) { background: #39c68b; }

.amipro-web-project__browser b {
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  color: #7d8ba0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amipro-web-project:hover .amipro-web-project__image::after { opacity: 1; }
.amipro-web-project:hover .amipro-web-project__image img { transform: scale(1.025); }

.amipro-web-project > div { padding: 30px 32px 34px; }
.amipro-web-project > div > span { color: #2672c9; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.amipro-web-project h3 { margin: 13px 0 10px; color: #10203f; font-size: 23px; line-height: 1.45; }
.amipro-web-project p { margin: 0 0 22px; color: #68758c; font-size: 15px; }
.amipro-web-project > div > a { color: #075db1; font-weight: 800; text-decoration: none; }
.amipro-web-project > div > a b { margin-left: 7px; }

.amipro-web-portfolio__note {
  margin: 30px 0 0;
  color: #8490a4;
  font-size: 12px;
  text-align: center;
}

.amipro-web-stack { background: #fff; }

.amipro-web-stack__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 100px;
  align-items: center;
}

.amipro-web-stack h2,
.amipro-web-faq h2 { font-size: clamp(38px, 3.6vw, 56px); }
.amipro-web-stack p,
.amipro-web-faq > .amipro-shell > div:first-child > p { color: #67748a; font-size: 16px; line-height: 1.85; }

.amipro-web-outline--dark {
  margin-top: 18px;
  border-color: #bed0e4;
  color: #0a4f98;
}

.amipro-web-outline--dark:hover { border-color: #2b7ac8; background: #f2f8ff; }

.amipro-web-stack ul { margin: 0; padding: 0; border-top: 1px solid #dbe5ef; list-style: none; }
.amipro-web-stack li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 6px; border-bottom: 1px solid #dbe5ef; }
.amipro-web-stack li b { color: #113668; font-size: 14px; }
.amipro-web-stack li span { color: #718097; font-size: 14px; }

.amipro-web-faq { background: #f4f8fd; }
.amipro-web-faq__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; }
.amipro-web-faq__items { border-top: 1px solid #cad9e8; }
.amipro-web-faq details { border-bottom: 1px solid #cad9e8; }
.amipro-web-faq summary { position: relative; padding: 26px 48px 26px 0; color: #10203f; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.amipro-web-faq summary::-webkit-details-marker { display: none; }
.amipro-web-faq summary::after { content: "+"; position: absolute; right: 4px; color: #1c6fc4; font-size: 24px; font-weight: 400; }
.amipro-web-faq details[open] summary::after { content: "−"; }
.amipro-web-faq details p { margin: -8px 45px 26px 0; color: #68758b; font-size: 15px; line-height: 1.8; }

.amipro-web-final {
  color: #fff;
  background: linear-gradient(125deg, #0a326b, #0867b9);
}

.amipro-web-final .amipro-shell {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.amipro-web-final span { color: #73c7ff; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.amipro-web-final h2 { color: #fff; }
.amipro-web-final p { max-width: 700px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.8; }

@media (max-width: 1180px) {
  .amipro-web-hero__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .amipro-web-console__main { padding: 24px; }
  .amipro-web-proof .amipro-shell > div { padding-inline: 20px; }
  .amipro-web-steps li { padding-right: 18px; }
  .amipro-web-steps li:not(:first-child) { padding-left: 18px; }
  .amipro-web-steps li:not(:first-child)::before { left: 18px; }
}

@media (max-width: 991px) {
  .amipro-web-hero { min-height: auto; }
  .amipro-web-hero__grid { grid-template-columns: 1fr; padding-block: 90px; }
  .amipro-web-console { max-width: 720px; transform: none; }
  .amipro-web-proof .amipro-shell { grid-template-columns: 1fr 1fr; }
  .amipro-web-proof .amipro-shell > div:nth-child(2) { border-right: 0; }
  .amipro-web-proof .amipro-shell > div:nth-child(n+3) { border-top: 1px solid #dce6f3; }
  .amipro-web-heading { grid-template-columns: 1fr; gap: 24px; }
  .amipro-web-heading > p { max-width: 680px; }
  .amipro-web-service-grid { grid-template-columns: 1fr 1fr; }
  .amipro-web-steps { grid-template-columns: 1fr 1fr; border-top: 0; }
  .amipro-web-steps li,
  .amipro-web-steps li:not(:first-child) { min-height: auto; padding: 30px; border: 1px solid rgba(255,255,255,.14); }
  .amipro-web-steps li::before,
  .amipro-web-steps li:not(:first-child)::before { display: none; }
  .amipro-web-steps h3 { margin-top: 22px; }
  .amipro-web-stack__grid,
  .amipro-web-faq__grid { grid-template-columns: 1fr; gap: 60px; }
  .amipro-web-final .amipro-shell { grid-template-columns: 1fr; gap: 30px; padding-block: 80px; }
}

@media (max-width: 767px) {
  .amipro-web-hero__grid { width: calc(100% - 32px); padding-block: 70px 64px; }
  .amipro-web-hero h1 { margin-top: 16px; font-size: clamp(39px, 12vw, 54px); }
  .amipro-web-hero__copy > p { font-size: 16px; }
  .amipro-web-hero .amipro-actions { align-items: stretch; flex-direction: column; }
  .amipro-web-hero .amipro-actions > a { width: 100%; }
  .amipro-web-hero__checks { flex-direction: column; gap: 9px; }
  .amipro-web-console__body { min-height: 360px; grid-template-columns: 48px 1fr; }
  .amipro-web-console__side { gap: 22px; }
  .amipro-web-console__side b { width: 30px; height: 30px; }
  .amipro-web-console__side i { width: 17px; }
  .amipro-web-console__main { padding: 18px; }
  .amipro-web-console__stats { gap: 10px; }
  .amipro-web-console__stats > div { padding: 15px; }
  .amipro-web-console__stats strong { font-size: 25px; }
  .amipro-web-console__chart { padding: 15px 14px 4px; }
  .amipro-web-proof .amipro-shell { width: 100%; }
  .amipro-web-proof .amipro-shell > div { min-height: 105px; padding: 20px 16px; border-left: 0 !important; }
  .amipro-web-proof strong { font-size: 24px; }
  .amipro-web-proof span { font-size: 11px; }
  .amipro-web-section { padding-block: 76px; }
  .amipro-web-heading { margin-bottom: 38px; }
  .amipro-web-heading h2,
  .amipro-web-stack h2,
  .amipro-web-faq h2,
  .amipro-web-final h2 { font-size: 37px; }
  .amipro-web-heading > p { font-size: 15px; }
  .amipro-web-service-grid,
  .amipro-web-project-grid,
  .amipro-web-steps { grid-template-columns: 1fr; }
  .amipro-web-service-grid article { min-height: 270px; padding: 28px; }
  .amipro-web-project > div { padding: 25px 24px 29px; }
  .amipro-web-project h3 { font-size: 20px; }
  .amipro-web-stack__grid,
  .amipro-web-faq__grid { gap: 45px; }
  .amipro-web-stack li { grid-template-columns: 1fr; gap: 6px; }
  .amipro-web-faq summary { font-size: 16px; }
  .amipro-web-final .amipro-shell { width: calc(100% - 32px); padding-block: 70px; }
  .amipro-web-final .amipro-actions { align-items: stretch; flex-direction: column; }
}

/* Global brand typography — crisp Thai text with a clear professional hierarchy. */
:root {
  --amipro-font-body: "IBM Plex Sans Thai", "Noto Sans Thai", Tahoma, sans-serif;
  --amipro-font-display: "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", Tahoma, sans-serif;
}

html#kubio body,
html#kubio body :is(p, li, dd, dt, label, input, textarea, select, option, table, figcaption, small),
html#kubio body [data-kubio],
html#kubio body .with-kubio-global-style,
html#kubio body .wp-block-woocommerce-mini-cart-contents {
  font-family: var(--amipro-font-body) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html#kubio body :is(h1, h2, h3, h4, h5, h6),
html#kubio body [data-kubio] :is(h1, h2, h3, h4, h5, h6),
html#kubio body .with-kubio-global-style :is(h1, h2, h3, h4, h5, h6),
html#kubio body :is(.amipro-display, .amipro-eyebrow) {
  font-family: var(--amipro-font-display) !important;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html#kubio body :is(a, button, input[type="button"], input[type="submit"], input[type="reset"]),
html#kubio body .wp-block-kubio-menu-items a,
html#kubio body .amipro-button {
  font-family: var(--amipro-font-display) !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

html#kubio body :is(h1, h2) {
  font-weight: 700;
  letter-spacing: -.025em;
}

html#kubio body :is(h3, h4, h5, h6) {
  font-weight: 600;
  letter-spacing: -.012em;
}

html#kubio body :is(p, li) {
  letter-spacing: .002em;
}

html#kubio body .wp-block-kubio-menu-items a,
html#kubio body :is(button, .amipro-button) {
  font-weight: 600;
  letter-spacing: .005em;
}

html#kubio body .amipro-eyebrow {
  font-weight: 700;
  letter-spacing: .115em;
}
