/*
 * Homepage content layer
 *
 * The image URLs below are intentionally optional. If a file is absent, the
 * gradient declared after it remains visible. Tenant-uploaded banner, about
 * and service images are rendered as <img> elements above these backgrounds.
 */

.growth-hero {
  background:
    radial-gradient(circle at 84% 7%, rgba(147, 185, 216, .28), transparent 28%),
    linear-gradient(112deg, rgba(233, 240, 245, .87) 0%, rgba(248, 250, 251, .77) 52%, rgba(238, 244, 247, .55) 100%),
    var(--home-hero-image, url("../images/defaults/hero.webp")) center / cover no-repeat,
    linear-gradient(126deg, #e9f0f5 0%, #f8fafb 53%, #eef4f7 100%);
}

.growth-hero:not(.has-hero-image) .hero-scrim {
  background: linear-gradient(90deg, rgba(244, 248, 250, .82) 0%, rgba(247, 250, 252, .64) 47%, rgba(239, 246, 249, .16) 100%);
}

.hero-copy .hero-title,
.hero-text,
.hero-float-card strong,
.hero-float-card p {
  overflow-wrap: anywhere;
}

.hero-float-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.about-photo-fallback {
  background:
    linear-gradient(145deg, rgba(9, 35, 67, .16), rgba(33, 78, 120, .34)),
    url("../images/defaults/about.webp") center / cover no-repeat,
    radial-gradient(circle at 72% 15%, rgba(128, 185, 255, .85), transparent 19%),
    linear-gradient(140deg, #0d294f, #275d9d 55%, #84b7ed);
}

.about-photo-badge {
  right: -22px;
  bottom: -18px;
  min-width: 0;
  max-width: 240px;
  padding: 12px 16px;
}

.about-photo-badge span {
  display: block;
  color: #456079;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.service-section {
  padding: 110px 0 120px;
}

.service-section-heading {
  display: flex;
  max-width: none;
  margin-bottom: 46px;
  padding-bottom: 28px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  border-bottom: 1px solid #dce7ef;
  text-align: left;
}

.service-section-heading > div {
  flex: 0 0 auto;
}

.service-section-heading > p:not(.section-kicker) {
  max-width: 430px;
  margin: 0;
  color: #66768b;
  font-size: 15px;
  line-height: 1.85;
  text-align: right;
}

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

.service-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  border-color: #dce7ef;
  background: #fff;
  box-shadow: 0 13px 34px rgba(27, 62, 88, .06);
}

.service-card:hover {
  border-color: rgba(61, 113, 153, .42);
  box-shadow: 0 23px 44px rgba(28, 71, 102, .13);
}

.service-card-media {
  position: relative;
  display: block;
  height: 205px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 49, 81, .13), rgba(71, 124, 167, .08)),
    linear-gradient(135deg, #8fb9dc, #dcebf5 72%, #f7fafc);
}

.service-card-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(12, 42, 67, .2));
  content: "";
}

.service-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .48s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.035);
}

/* Generated service sections must end on a complete three-column row. This
   also repairs existing tenant data that was created before GEO normalized
   four- and five-card imports. */
.service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4),
.service-grid:has(> .service-card:nth-child(5):last-child) > .service-card:nth-child(n + 4) {
  display: none;
}

.service-card-index {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 18px;
  display: grid;
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  background: rgba(16, 56, 84, .64);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.service-card > .service-card-body {
  display: flex;
  height: auto;
  min-height: 218px;
  margin: 0;
  padding: 23px 24px 24px;
  flex: 1;
  flex-direction: column;
  color: var(--muted);
  overflow: visible;
}

.service-card .service-card-body h3 {
  display: -webkit-box;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.34;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card-summary {
  display: -webkit-box;
  min-height: 63px;
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 17px;
}

.value-section {
  padding: 105px 0 112px;
  background: var(--value-section-bg, linear-gradient(125deg, #214c70, #1d4568 62%, #254e70));
  color: #fff;
}

.value-heading h2 {
  color: #fff;
}

.value-heading .section-kicker {
  color: #b8d8e8;
}

.value-heading > p:not(.section-kicker) {
  color: #c3d3df;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-width: 0;
  min-height: 196px;
  padding: 27px 24px;
  border: 1px solid rgba(218, 233, 244, .17);
  border-radius: 15px;
  background: rgba(255, 255, 255, .075);
  transition: background .2s ease, transform .2s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.value-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(190, 224, 246, .2);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(112, 190, 240, .24), rgba(255, 255, 255, .07));
  color: #bfe5fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 25px rgba(5, 25, 43, .12);
}

.value-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  margin: 20px 0 9px;
  color: #fff;
  font-size: 19px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.value-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #c6d5e1;
  font-size: 13px;
  line-height: 1.78;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.process-section {
  padding: 115px 0 118px;
  background: #f7f9fb;
}

.process-heading {
  max-width: none;
}

.process-list {
  display: grid;
  gap: 74px;
}

.process-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .93fr);
  align-items: center;
  gap: 102px;
}

.process-item:nth-child(even) .process-media {
  grid-column: 2;
}

.process-item:nth-child(even) .process-copy {
  grid-row: 1;
  grid-column: 1;
}

.process-media {
  position: relative;
  height: 318px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 49, 81, .1), rgba(71, 124, 167, .05)),
    linear-gradient(135deg, #9ab9d2, #e4eef3 72%, #f8fbfc);
  box-shadow: 0 20px 50px rgba(17, 58, 86, .11);
}

.process-item:nth-child(1) .process-media {
  background:
    linear-gradient(135deg, rgba(13, 49, 81, .12), rgba(71, 124, 167, .06)),
    url("../images/defaults/service-01.webp") center / cover no-repeat,
    linear-gradient(135deg, #8fb9dc, #dcebf5 72%, #f7fafc);
}

.process-item:nth-child(2) .process-media {
  background:
    linear-gradient(135deg, rgba(13, 49, 81, .12), rgba(71, 124, 167, .06)),
    url("../images/defaults/service-02.webp") center / cover no-repeat,
    linear-gradient(135deg, #94b9c9, #d9e8e9 72%, #f7fafb);
}

.process-item:nth-child(3) .process-media {
  background:
    linear-gradient(135deg, rgba(13, 49, 81, .12), rgba(71, 124, 167, .06)),
    url("../images/defaults/service-03.webp") center / cover no-repeat,
    linear-gradient(135deg, #afbdd9, #e4e8f2 72%, #fafbfe);
}

.process-media::before,
.process-media::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  content: "";
}

.process-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}

.process-item:hover .process-media img {
  transform: scale(1.035);
}

.process-media.has-process-image::before,
.process-media.has-process-image::after {
  display: none;
}

.process-media::before {
  top: 34px;
  right: 42px;
  width: 114px;
  height: 114px;
}

.process-media::after {
  top: 13px;
  right: 21px;
  width: 156px;
  height: 156px;
}

.process-copy {
  min-width: 0;
  max-width: 500px;
}

.process-index {
  display: block;
  margin-bottom: 10px;
  color: #b5d0e2;
  font-size: 45px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
}

.process-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}

.process-copy p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.case-highlight-section {
  padding: 110px 0 117px;
  background: #fff;
}

.case-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.case-highlight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe8ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(28, 65, 94, .05);
  transition: box-shadow .22s ease, transform .22s ease;
}

.case-highlight-card:hover {
  box-shadow: 0 23px 44px rgba(28, 65, 94, .12);
  transform: translateY(-4px);
}

.case-highlight-media {
  position: relative;
  display: block;
  height: 216px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 20%, rgba(196, 220, 235, .9), transparent 20%), linear-gradient(135deg, #7d9fbb, #d9e6ed 72%, #f7fafc);
}

.case-highlight-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(13, 49, 81, .2));
  content: "";
}

.case-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.case-highlight-card:hover .case-highlight-media img {
  transform: scale(1.035);
}

.case-highlight-media span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-highlight-card > div {
  min-height: 196px;
  padding: 22px 23px 24px;
}

.case-highlight-card h3 {
  display: -webkit-box;
  min-height: 54px;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.42;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-highlight-card p {
  display: -webkit-box;
  min-height: 45px;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-highlight-card .card-link {
  margin-top: 17px;
}

.home-faq-section {
  padding: 110px 0;
  background: #eef4f7;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  align-items: start;
  gap: 92px;
}

.home-faq-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}

.home-faq-intro > p:not(.section-kicker) {
  margin: 18px 0 25px;
  color: var(--muted);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.home-faq-list {
  display: grid;
  gap: 10px;
}

.home-faq-item {
  display: grid;
  min-width: 0;
  padding: 21px 22px;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 16px;
  border: 1px solid #dfe8ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 23px rgba(28, 65, 94, .035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-faq-item:hover {
  border-color: rgba(61, 113, 153, .4);
  box-shadow: 0 15px 31px rgba(28, 65, 94, .09);
  transform: translateX(4px);
}

.home-faq-item > span {
  color: #83aec7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.home-faq-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.home-faq-item p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-faq-item b {
  align-self: center;
  color: var(--brand);
  font-size: 18px;
  font-weight: 500;
}

.news-section {
  background: #fff;
}

.news-media span {
  display: -webkit-box;
  height: auto;
  padding: 28px;
  place-items: initial;
  overflow: hidden;
  color: #42647f;
  font-size: 22px;
  line-height: 1.38;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card h3,
.news-card > div > span {
  overflow-wrap: anywhere;
}

.news-card > div > span {
  display: -webkit-box;
  height: auto;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.contact-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(31, 83, 119, .94), rgba(59, 113, 150, .9) 58%, rgba(46, 93, 127, .85)),
    var(--site-hero-image, url("../images/defaults/cta.webp")) center / cover no-repeat,
    linear-gradient(120deg, #315f85, #42779f 58%, #386b92);
}

.contact-band::before {
  position: absolute;
  top: -210px;
  right: 8%;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(228, 244, 253, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(220, 242, 252, .035);
  content: "";
}

.contact-band-inner {
  position: relative;
  z-index: 1;
}

.contact-band h2,
.contact-band p,
.contact-actions a {
  overflow-wrap: anywhere;
}
