/* Home page */

.hero {
  display: grid;
  align-items: center;
  /* 77% of the screen height left under the navbar. */
  height: calc((100vh - var(--nav-height)) * 0.77);
  height: calc((100dvh - var(--nav-height)) * 0.77);
  min-height: 380px;
  padding: 24px var(--gutter);
  background: url("/assets/akvian-hero-image.png") center / cover no-repeat;
}

.hero__panel {
  width: min(100%, 640px);
  padding: 28px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
}

.hero__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.hero__eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(100deg, #2358f0, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__logo {
  width: var(--hero-logo-width);
  height: auto;
  /* Nudges the logo up so it sits level with the "Welcome to" text. */
  margin-bottom: 14px;
}

.hero__lead {
  max-width: 32em;
  margin-bottom: 20px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* Row of services at the bottom of the panel */

.services {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.service svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    padding-block: 24px;
  }

  .hero__panel {
    padding: 22px 20px;
  }

  .services {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* ---------- Page hero: image with an overlapping blue card ----------
   Used on the home page. The card holds all the hero content. */

.page-hero {
  height: clamp(340px, 40vw, 480px);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0) 60%),
    url("/assets/hero-image.jpg") center / cover no-repeat;
}

/* The card overlaps the bottom edge of the image. */
.page-hero__wrap {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(120px, 15vw, 220px));
  padding-inline: var(--gutter);
}

.page-hero__box {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 48px);
  background: linear-gradient(115deg, rgba(35, 88, 240, 0.97), rgba(35, 88, 240, 0.88));
  color: #fff;
  box-shadow: 0 16px 44px rgba(20, 34, 68, 0.18);
}

.page-hero__box::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0eb39a 0.85px, transparent 1px);
  background-size: 9px 9px;
  content: "";
  mask-image: linear-gradient(to right, transparent 40%, #000 100%);
  opacity: 0.35;
  pointer-events: none;
}

.page-hero__box > * {
  position: relative;
}

.page-hero__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.page-hero__eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(100deg, #ffffff, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-hero__logo {
  width: var(--hero-logo-width);
  height: auto;
  /* Nudges the logo up so it sits level with the "Welcome to" text. */
  margin-bottom: 14px;
  /* Turns the logo white so it reads on the blue card. */
  filter: brightness(0) invert(1);
}

/* Thin, light description text */
.page-hero__lead {
  max-width: 34em;
  margin-bottom: 26px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(247, 249, 255, 0.9);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

/* White button and link so they stand out on the blue card */
.page-hero__actions .btn {
  border-color: #fff;
  background: #fff;
  color: #2358f0;
}

.page-hero__actions .btn:hover {
  border-color: #168f91;
  background: linear-gradient(105deg, #2358f0 72%, #0eb39a 150%);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(14, 179, 154, .45);
}

.page-hero__actions .text-link,
.page-hero__actions .text-link:hover {
  color: #fff;
}

.page-hero__box .services {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.page-hero__box .service {
  color: rgba(255, 255, 255, 0.92);
}

.page-hero__box .service svg {
  stroke: #8ff0dc;
}

/* The about section follows the card directly, so its top divider line is not needed. */
main + .about {
  border-top: 0;
}

@media (max-width: 900px) {
  .page-hero {
    height: clamp(220px, 50vw, 320px);
  }

  .page-hero__wrap {
    margin-top: -56px;
  }

  .page-hero__box {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .page-hero__wrap {
    margin-top: -40px;
  }

  .page-hero__title {
    gap: 10px;
  }
}


/* About section: one centred column of text.
   Works on its own. If your page defines --gutter, --ink or --text, those are used;
   otherwise the fallback values after the commas apply. */

.about {
  padding: clamp(56px, 8vh, 88px) var(--gutter, clamp(20px, 6vw, 100px)) clamp(64px, 10vh, 104px);
  text-align: center;
  /* --tint is not defined in base.css, so this falls back to white (same as before). */
  background: var(--tint, #fff);
  border-top: 1px solid var(--line);
}

.about h2,
.about h3,
.about p {
  margin: 0;
}

.about__inner {
  max-width: 760px;
  margin-inline: auto;
}

/* Small uppercase label above a heading */
.about__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(100deg, #2358f0, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.about__title {
  /* The bottom padding keeps the gradient from cutting off letter descenders. */
  padding-bottom: 0.1em;
  font-size: clamp(41px, 6vw, 67px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink, #0f172a);
}

.about__tagline {
  margin-top: 24px;
  font-size: clamp(26px, 2.64vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink, #0f172a);
}

.about__text {
  max-width: 44em;
  margin: 28px auto 0;
}

.about__text p {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0;
  color: var(--text, #475569);
}

.about__text p + p {
  margin-top: 8px;
}

.vision {
  max-width: 30em;
  margin: 64px auto 0;
}

.vision__text {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink, #0f172a);
}

/* Industries, Insights & Resources and Contact sections.

   Every section is plain white with no divider lines, so the page keeps one
   consistent look. If your page defines --gutter, --ink, --text, --line, --tint
   or --accent, those are used; otherwise the fallback values apply.
   The submit button uses the .btn style from your base CSS. */


/* ---------- Shared ---------- */

.page-section {
  padding: clamp(56px, 9vh, 96px) var(--gutter, clamp(20px, 6vw, 100px));
}

.page-section__inner {
  max-width: 1200px;
  margin-inline: auto;
}

.page-section h2,
.page-section h3,
.page-section p,
.page-section ul {
  margin: 0;
  padding: 0;
}

.page-section ul {
  list-style: none;
}

/* Centred heading block: small label, gradient title, one line of text */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vh, 64px);
  text-align: center;
}

.section-head__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(100deg, #2358f0, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-head__title {
  /* The bottom padding keeps the gradient from cutting off letter descenders. */
  padding-bottom: 0.1em;
  font-size: clamp(26px, 2.64vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink, #0f172a);
}

.section-head__text {
  margin-top: 14px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--text, #475569);
}

/* Icon holder used in the industry cards and contact details */
.icon-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  background: var(--tint, #f3f6fb);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent, #2563eb);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ---------- Industries ---------- */

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

.industry {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 0;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.industry:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 28px rgba(20, 34, 68, .07);
  transform: translateY(-2px);
}

.industry__title {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink, #0f172a);
}

.industry__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text, #475569);
}


/* ---------- Insights & Resources ---------- */

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

.insight {
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.insight:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.insight__link {
  display: block;
  height: 100%;
}

.insight__image {
  aspect-ratio: 16 / 10;
  background: var(--tint, #f3f6fb);
}

.insight__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight__body {
  padding: 24px 28px 28px;
}

.insight__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #2563eb);
}

.insight__title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink, #0f172a);
  transition: color 0.2s ease;
}

.insight__link:hover .insight__title {
  color: var(--accent, #2563eb);
}

.insight__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text, #475569);
}

.insight__meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text, #475569);
}

.section-more {
  margin-top: 40px;
  text-align: center;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #0f172a);
  transition: color 0.2s ease;
}

.more-link:hover {
  color: var(--accent, #2563eb);
}

.more-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.more-link:hover svg {
  transform: translateX(3px);
}


/* ---------- Contact callout ---------- */

.contact-cta-section {
  margin: clamp(40px, 6vw, 72px) var(--gutter, clamp(20px, 6vw, 100px));
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border: 1px solid #e6e9ef;
  border-radius: 0;
  background: #f8f9fb;
  box-shadow: 0 16px 44px rgba(20, 34, 68, .06);
}

.contact-cta {
  display: flex;
  width: min(100%, 620px);
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-inline: auto;
  text-align: center;
}

.contact-cta__label {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: transparent;
  background: linear-gradient(100deg, #2358f0, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.contact-cta__title {
  padding-bottom: .1em;
  color: var(--ink, #0f172a);
  font-size: clamp(26px, 2.64vw, 34px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.contact-cta__button {
  display: inline-flex;
  min-width: 180px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid #2358F0;
  border-radius: 0;
  background: #2358F0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.contact-cta__button:hover {
  border-color: #168f91;
  background: linear-gradient(105deg, #2358f0 72%, #0eb39a 150%);
  box-shadow: inset 0 -2px 0 rgba(14, 179, 154, .45);
}

.contact-cta__button svg {
  width: 19px;
  height: 19px;
}

/* ---------- Our Vision banner ---------- */

.vision-banner {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  padding: clamp(56px, 8vw, 88px) var(--gutter, clamp(20px, 6vw, 100px));
  color: #f7f9ff;
  text-align: center;
  background:
    linear-gradient(115deg, rgba(35, 88, 240, .90), rgba(35, 88, 240, .78)),
    #2358F0;
}

.vision-banner::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0EB39A .85px, transparent 1px);
  background-size: 9px 9px;
  content: "";
  mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 50%, #000 70%, #000 100%);
  pointer-events: none;
  opacity: .38;
}

.vision-banner__content {
  position: relative;
  width: min(100%, 780px);
}

.vision-banner__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: transparent;
  background: linear-gradient(100deg, #ffffff, #0EB39A);
  -webkit-background-clip: text;
  background-clip: text;
}

.vision-banner__title {
  max-width: 23em;
  margin: 0 auto 20px;
  color: inherit;
  padding-bottom: 0.1em;
  font-size: clamp(26px, 2.64vw, 34px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.vision-banner__text {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(247, 249, 255, .86);
  font-size: 15px;
  line-height: 1.7;
}

.vision-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.vision-banner__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #2358F0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vision-banner__button:hover {
  border-color: #168f91;
  background: linear-gradient(105deg, #2358f0 72%, #0eb39a 150%);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(14, 179, 154, .45);
}

.vision-banner__button--primary {
  border-color: #fff;
  background: #fff;
  color: #2358F0;
}

.vision-banner__button--primary:hover {
  background: linear-gradient(105deg, #2358f0 72%, #0eb39a 150%);
  color: #fff;
}

.vision-banner__button--outline {
  border-color: rgba(255, 255, 255, .9);
  background: transparent;
  color: #fff;
}

.vision-banner__button--outline:hover {
  border-color: #0eb39a;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(14, 179, 154, .45);
}

/* ---------- Site footer ---------- */

.site-footer {
  padding: 64px var(--gutter, clamp(20px, 6vw, 100px)) 22px;
  background: #fff;
  color: #343b49;
}

.site-footer__inner {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 220px) minmax(150px, 220px);
  justify-content: space-between;
  gap: clamp(32px, 7vw, 100px);
  padding-bottom: 48px;
}

.site-footer__heading {
  margin: 0 0 18px;
  color: #1a2233;
  font-size: 16px;
  font-weight: 400;
}

.site-footer__follow-heading {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-footer__follow-heading img {
  display: block;
  width: 52px;
  height: auto;
}

.site-footer__column ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column a,
.site-footer__legal a {
  color: #505867;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer__column a:hover,
.site-footer__legal a:hover {
  color: #2358F0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__social-column p {
  margin: -6px 0 18px;
  color: #657083;
  font-size: 14px;
  font-weight: 400;
}

.site-footer__column .site-footer__socials {
  display: flex;
  gap: 10px;
}

.site-footer__socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d6dbe4;
  border-radius: 50%;
  background: #fff;
  color: #344056;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.site-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: #2358F0;
  background: #2358F0;
  color: #fff;
  text-decoration: none;
}

.site-footer__socials img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.site-footer__socials a:hover img {
  filter: brightness(0) invert(1);
}

.site-footer__bottom {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #dfe2e8;
  padding-top: 12px;
}

.site-footer__brand img {
  display: block;
  width: 104px;
  max-height: 42px;
  height: auto;
  object-fit: contain;
}

.site-footer__copyright {
  margin: 0 auto 0 0;
  color: #687184;
  font-size: 13px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__legal a {
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  z-index: 20;
  right: clamp(16px, 3vw, 36px);
  bottom: 12px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0;
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  border: 1px solid #fff;
  background: #2358f0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(15, 35, 90, .18);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top--above-footer {
  bottom: 84px;
}

.back-to-top:hover {
  border-color: #168f91;
  background: linear-gradient(105deg, #2358f0 72%, #0eb39a 150%);
  box-shadow: inset 0 -2px 0 rgba(14, 179, 154, .45), 0 6px 20px rgba(15, 35, 90, .18);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .industries,
  .insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    gap: 40px 32px;
  }

  .site-footer__social-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .services {
    display: none;
  }

  .industries,
  .insights {
    grid-template-columns: 1fr;
  }

  .industry {
    padding: 24px;
  }

  .vision-banner {
    min-height: 390px;
  }

  .vision-banner__actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
  }

  .contact-cta {
    gap: 14px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .site-footer__social-column {
    grid-column: auto;
  }

  .site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding-top: 18px;
  }

  .site-footer__copyright {
    margin: 0;
  }

  .site-footer__brand img {
    width: 96px;
  }

  .site-footer__legal {
    gap: 18px;
  }
}

@media (max-width: 380px) {
  .site-footer__legal {
    gap: 12px;
  }

  .site-footer__legal a,
  .site-footer__copyright {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry,
  .insight,
  .insight__title,
  .more-link,
  .more-link svg {
    transition: none;
  }
}
