/* Shared footer: restrained colours, clear columns, and comfortable touch targets. */
.irise-footer {
  --footer-ink: #183b51;
  --footer-muted: #52636e;
  --footer-line: #dce3e6;
  position: relative;
  padding: 0;
  color: var(--footer-ink);
  background: #f7f9fa;
  border-top: 1px solid var(--footer-line);
  font-family: var(--default-font, "Poppins", sans-serif);
}
.irise-footer::before { content: none; }
.irise-footer .footer-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--footer-line);
}
.irise-footer .footer-eyebrow {
  margin: 0 0 10px;
  color: var(--footer-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.7;
  text-transform: uppercase;
}
.irise-footer .footer-invitation h2 {
  margin: 0;
  color: var(--footer-ink);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.8px;
}
.irise-footer .footer-invitation h2 span { color: inherit; }
.irise-footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 24px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #183b51;
  border-radius: 6px;
  background: #183b51;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease;
}
.irise-footer .footer-contact-link:hover { background: #2c5368; color: #fff; }
.irise-footer .footer-main {
  display: grid;
  grid-template-columns: 1.35fr .75fr 1.2fr .9fr;
  gap: 40px;
  padding: 48px 0;
}
.irise-footer .footer-main > * { min-width: 0; }
.irise-footer .footer-brand-link { display: inline-block; margin-bottom: 20px; }
.irise-footer .site-logo-frame { width: 168px; max-width: 100%; background: transparent; }
.irise-footer .footer-description {
  max-width: 32ch;
  margin: 0 0 20px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.85;
}
.irise-footer .footer-socials { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.irise-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--footer-ink);
  font-size: 12px;
  text-decoration: none;
  text-underline-offset: 4px;
}
.irise-footer .footer-socials i { font-size: 16px; }
.irise-footer .footer-nav { padding-top: 4px; }
.irise-footer .footer-nav h3 {
  margin: 0 0 16px;
  color: var(--footer-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
}
.irise-footer .footer-nav ul { list-style: none; padding: 0; margin: 0; }
.irise-footer .footer-nav li + li { margin-top: 2px; }
.irise-footer .footer-nav a {
  display: inline-block;
  padding: 7px 0;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.65;
  text-decoration: none;
  text-underline-offset: 4px;
}
.irise-footer .footer-nav a:hover,
.irise-footer .footer-socials a:hover,
.irise-footer .footer-legal a:hover { color: var(--footer-ink); text-decoration: underline; }
.irise-footer a:focus-visible { outline: 2px solid #287c9d; outline-offset: 5px; border-radius: 3px; }
.irise-footer .footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 20px 0;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 11px;
  line-height: 1.6;
}
.irise-footer .footer-base p { margin: 0; color: inherit; }
.irise-footer .footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.irise-footer .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; text-underline-offset: 4px; }
@media (max-width: 991px) {
  .irise-footer .footer-main { grid-template-columns: 1fr 1fr 1.3fr; gap: 24px 32px; }
  .irise-footer .footer-brand { grid-column: 1 / -1; }
  .irise-footer .footer-description { max-width: 52ch; }
  .irise-footer .footer-nav a { min-height: 44px; }
}
@media (max-width: 575px) {
  .irise-footer .footer-invitation { align-items: flex-start; flex-direction: column; gap: 22px; padding: 32px 0; }
  .irise-footer .footer-invitation h2 { max-width: 20ch; }
  .irise-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: 32px 0; }
  .irise-footer .site-logo-frame { width: 148px; }
  .irise-footer .footer-brand-link { margin-bottom: 14px; }
  .irise-footer .footer-description { max-width: 38ch; margin-bottom: 12px; }
  .irise-footer .footer-nav h3 { margin-bottom: 10px; }
  .irise-footer .footer-nav:nth-child(2) { grid-column: 1; grid-row: 2; }
  .irise-footer .footer-nav:nth-child(4) { grid-column: 2; grid-row: 2; }
  .irise-footer .footer-nav:nth-child(3) { grid-column: 1 / -1; }
  .irise-footer .footer-nav:nth-child(3) ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .irise-footer .footer-base { align-items: flex-start; flex-direction: column; padding: 20px 0 28px; }
  .irise-footer .footer-legal { gap: 4px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .irise-footer a { transition: none; }
}

/* Premium shared footer treatment used consistently across every page. */
.irise-footer {
  --footer-ink: #123e67;
  --footer-muted: #536b78;
  --footer-line: rgba(18, 62, 103, .13);
  overflow: hidden;
  border-top: 1px solid var(--footer-line);
  background:
    linear-gradient(rgba(18, 62, 103, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 62, 103, .025) 1px, transparent 1px),
    radial-gradient(circle at 92% 0, rgba(75, 160, 175, .16), transparent 31%),
    linear-gradient(145deg, #edf7f1, #f8fbfa 58%, #e8f4f6);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.irise-footer::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -220px;
  bottom: -240px;
  border: 1px solid rgba(18, 62, 103, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(18, 62, 103, .025);
}

.irise-footer .container {
  position: relative;
  z-index: 1;
}

.irise-footer .footer-invitation {
  position: relative;
  margin-top: 48px;
  padding: 44px 48px;
  overflow: hidden;
  border: 1px solid rgba(18, 62, 103, .1);
  border-radius: 28px 28px 64px 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(97, 164, 113, .14), transparent 27%),
    rgba(255, 255, 255, .78);
  box-shadow: 0 26px 62px rgba(18, 62, 103, .09);
}

.irise-footer .footer-invitation::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #42a6bd, #6ba66b);
}

.irise-footer .footer-invitation h2 {
  color: #123e67 !important;
  font-size: clamp(28px, 3vw, 42px);
}

.irise-footer .footer-invitation h2 span {
  color: #39734b;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.irise-footer .footer-contact-link {
  min-height: 54px;
  border-color: #123e67;
  border-radius: 14px 14px 14px 5px;
  background: #123e67;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 62, 103, .18);
}

.irise-footer .footer-contact-link:hover {
  border-color: #39734b;
  background: #39734b;
  color: #ffffff;
}

.irise-footer .site-logo-frame {
  aspect-ratio: auto;
  padding: 10px 12px;
  border: 1px solid rgba(18, 62, 103, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .68);
}

.irise-footer .site-logo-frame .site-logo-image {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.irise-footer .footer-main {
  grid-template-columns: 1.3fr .72fr 1.12fr .86fr;
  gap: 32px;
  padding-block: 44px;
}

.irise-footer .footer-brand {
  padding: 25px;
  border: 1px solid rgba(18, 62, 103, .09);
  border-radius: 20px 20px 42px 20px;
  background: rgba(255, 255, 255, .58);
}

.irise-footer .footer-nav h3,
.irise-footer .footer-socials a {
  color: #123e67;
}

.irise-footer .footer-nav h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.irise-footer .footer-nav h3::before {
  content: "";
  width: 18px;
  height: 3px;
  flex: 0 0 18px;
  border-radius: 4px;
  background: #6ea66d;
}

.irise-footer .footer-nav a {
  transition: color .2s ease, transform .2s ease;
}

.irise-footer .footer-nav a:hover {
  transform: translateX(4px);
}

body:not(.dark-mode) .irise-footer .footer-description {
  color: #536b78;
}

.irise-footer .footer-nav a:hover,
.irise-footer .footer-socials a:hover,
.irise-footer .footer-legal a:hover {
  color: #39734b;
}

body.dark-mode .irise-footer {
  --footer-ink: #123e67;
  --footer-muted: #536b78;
  --footer-line: rgba(18, 62, 103, .13);
  color: var(--footer-ink);
  background:
    linear-gradient(rgba(18, 62, 103, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 62, 103, .025) 1px, transparent 1px),
    radial-gradient(circle at 92% 0, rgba(75, 160, 175, .16), transparent 31%),
    linear-gradient(145deg, #edf7f1, #f8fbfa 58%, #e8f4f6);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

body.dark-mode .irise-footer .footer-description,
body.dark-mode .irise-footer .footer-nav a,
body.dark-mode .irise-footer .footer-base,
body.dark-mode .irise-footer .footer-legal a {
  color: #536b78;
}

@media (max-width: 991px) {
  .irise-footer .footer-main {
    grid-template-columns: 1fr 1fr 1.3fr;
  }

  .irise-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .irise-footer .footer-invitation {
    margin-top: 28px;
    padding: 32px 24px;
    border-radius: 22px 22px 44px 22px;
  }

  .irise-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-block: 34px;
  }

  .irise-footer .footer-brand {
    padding: 22px;
    border-radius: 18px 18px 36px 18px;
  }
}
