/* Home hero shares the native service layout and synced contact pattern. */
.ctb-home-hero .ctb-service-intro { padding: 40px; }
.ctb-home-hero .ctb-service-intro > .ctb-eyebrow { margin: 0 0 16px; font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #a8dcf5; }
.ctb-home-hero .ctb-service-intro > p:not(.ctb-eyebrow) { font: 400 18px/1.65 Arial, sans-serif; margin: 24px 0 0; }
.ctb-home-hero .ctb-home-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; padding: 0; margin: 24px 0; list-style: none; font: 400 14px/1.5 Arial, sans-serif; color: #c9e7f7; }
.ctb-home-hero .ctb-home-capabilities li { padding: 0; margin: 0; }
.ctb-home-hero .ctb-service-intro .wp-block-button__link { background: #fff; color: #142e3c; font-size: 15px; }
.ctb-home-hero .ctb-service-intro .wp-block-button__link:hover,
.ctb-home-hero .ctb-service-intro .wp-block-button__link:focus-visible { background: #c9ecff; color: #142e3c; }

/* One grid keeps all eight cards and their buttons aligned across rows. */
.ctb-section.ctb-home-technologies { position: relative; isolation: isolate; color: #fff; background-color: #102c43; background-size: cover; background-position: center; border-block: 1px solid #1e5873; }
.ctb-home-technologies::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #071b30d9, #082a43a8); pointer-events: none; }
.ctb-home-technologies > .ctb-row { text-align: center; margin-block: 0 36px; }
.ctb-home-technologies > .ctb-row h2 { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 38px); white-space: nowrap; text-wrap: nowrap; }
.ctb-home-technologies > .ctb-home-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; }
.ctb-home-services-grid > .ctb-home-service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; height: 100%; margin: 0; padding: 24px; border: 1px solid #d9e5ee; border-radius: 12px; background: #fffffff5; box-shadow: 0 12px 32px #0002; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ctb-home-service-card .ctb-home-service-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; margin: 0 0 20px; padding: 8px; border-radius: 12px; background: #e5f2fa; }
.ctb-home-service-card .ctb-home-service-icon img { display: block; width: 32px; height: 32px; }
.ctb-home-service-card > h3 { margin: 0 0 14px; max-width: 100%; color: #142e3c; font-size: 16px; line-height: 1.35; white-space: nowrap; text-wrap: nowrap; }
.ctb-home-service-card > p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: #35444e; }
.ctb-home-service-card > .wp-block-buttons { position: static; margin: auto 0 0; }
.ctb-home-service-card .wp-block-button { position: static; }
.ctb-home-service-card .wp-block-button__link { position: static; padding: 8px 14px; border-radius: 5px; font-size: 13px; line-height: 1.35; }
/* The single native button link covers the card, including its empty space. */
.ctb-home-service-card .wp-block-button__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.ctb-home-service-card:hover,
.ctb-home-service-card:focus-within { transform: translateY(-4px); background: #eff9ff; border-color: #54bce9; box-shadow: 0 18px 38px #0004; }
.ctb-home-service-card:focus-within { outline: 3px solid #54bce9; outline-offset: 4px; }
.ctb-home-service-card:hover .wp-block-button__link,
.ctb-home-service-card:focus-within .wp-block-button__link { background: #087db5; color: #fff; }

@media (max-width: 1199px) { .ctb-home-technologies > .ctb-home-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 999px) { .ctb-home-technologies > .ctb-home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) {
 .ctb-home-hero .ctb-service-intro { padding: 28px 24px; }
 .ctb-home-hero .ctb-service-intro > p:not(.ctb-eyebrow) { font-size: 17px; }
}
@media (max-width: 599px) {
 .ctb-home-technologies > .ctb-home-services-grid { grid-template-columns: 1fr; }
 .ctb-home-technologies > .ctb-row h2 { font-size: clamp(16px, 4.4vw, 24px); }
 .ctb-home-hero .ctb-home-capabilities { grid-template-columns: 1fr; }
 .ctb-home-services-grid > .ctb-home-service-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 .ctb-home-services-grid > .ctb-home-service-card { transition: none; }
 .ctb-home-service-card:hover,
 .ctb-home-service-card:focus-within { transform: none; }
}

/* The WordPress feature uses the midnight blue from the home hero artwork. */
.ctb-home-wordpress-feature :where(h2, p) { color: inherit; }
.ctb-home-wordpress-feature .wp-block-button__link { background: #fff; color: #142e3c; }
.ctb-home-wordpress-feature .wp-block-button__link:hover,
.ctb-home-wordpress-feature .wp-block-button__link:focus-visible { background: #c9ecff; color: #142e3c; }

/* Reuse the original technology banner; extra repeats fill wider screens. */
.ctb-home-tech-strip { width: 100%; max-width: none; height: clamp(48px, 5.25vw, 100px); margin: 0; padding: 0; background-size: auto 100% !important; background-repeat: repeat-x !important; background-position: center !important; }
