@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/Raleway-Regular.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/fonts/Raleway-Medium.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/Raleway-SemiBold.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 800;
  src: url("/assets/fonts/Raleway-ExtraBold.ttf") format("truetype");
}

:root {
  --ingemma-blue: #302d7e;
  --ingemma-blue-900: #141242;
  --ingemma-teal: #00a19a;
  --ingemma-tech-blue: #005fa2;
  --ingemma-purple: #732c7f;
  --ingemma-green: #2d9d5a;
  --ink: #202333;
  --muted: #5a5a59;
  --surface: #f6f8fb;
  --surface-2: #edf6f7;
  --line: #d9dee8;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(20, 18, 66, 0.14);
  --max-width: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Raleway", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site {
  overflow: hidden;
  width: 100%;
}

.wrap {
  margin: 0 auto;
  width: var(--max-width);
}

.header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 222, 232, 0.86);
  position: sticky;
  top: 0;
  z-index: 30;
}

@supports (backdrop-filter: blur(12px)) {
  .header {
    backdrop-filter: blur(12px);
  }
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 164px;
  text-decoration: none;
}

.brand img {
  height: 42px;
  object-fit: contain;
  width: 162px;
}

.menu {
  align-items: center;
  color: #343747;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 22px;
}

.menu a {
  position: relative;
  text-decoration: none;
}

.menu a:not(.btn)::after {
  background: var(--ingemma-teal);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: width 0.18s ease;
  width: 0;
}

.menu a:not(.btn):hover::after,
.menu a[aria-current="page"]::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
}

.btn,
button.btn {
  align-items: center;
  background: var(--ingemma-blue);
  border: 1px solid var(--ingemma-blue);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn:hover,
button.btn:hover {
  background: #24206b;
  border-color: #24206b;
  transform: translateY(-1px);
}

.btn.accent {
  background: var(--ingemma-teal);
  border-color: var(--ingemma-teal);
  color: var(--white);
}

.btn.accent:hover {
  background: #008781;
  border-color: #008781;
}

.btn.secondary {
  background: var(--white);
  border-color: rgba(48, 45, 126, 0.24);
  color: var(--ingemma-blue);
}

.btn.secondary:hover {
  background: var(--surface-2);
  border-color: var(--ingemma-teal);
}

.hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 161, 154, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border-bottom: 1px solid rgba(217, 222, 232, 0.8);
  min-height: min(760px, calc(88svh - 78px));
  padding: 76px 0 60px;
  position: relative;
}

.hero::before {
  background: linear-gradient(180deg, var(--ingemma-blue) 0%, var(--ingemma-blue-900) 100%);
  clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
  content: "";
  inset: 0 auto 0 0;
  opacity: 1;
  position: absolute;
  width: clamp(56px, 7vw, 98px);
}

.hero::after {
  background-image: url("/assets/ingemma-mark-blue.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: min(42vw, 480px);
  opacity: 0.035;
  position: absolute;
  right: 5vw;
  top: 104px;
  width: min(42vw, 480px);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
  padding-left: clamp(92px, 10vw, 132px);
}

.kicker {
  color: var(--ingemma-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-title,
.section-title,
h1,
h2,
h3 {
  color: var(--ingemma-blue);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-title {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  margin: 0;
}

.hero-copy > p:not(.kicker) {
  color: #3d4050;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.68;
  margin: 22px 0 0;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badges span {
  background: #ffffff;
  border: 1px solid rgba(48, 45, 126, 0.16);
  border-radius: 999px;
  color: var(--ingemma-blue);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
}

.hero-media {
  background: var(--white);
  border: 1px solid rgba(48, 45, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-media::before {
  background: linear-gradient(135deg, rgba(48, 45, 126, 0.48), rgba(0, 161, 154, 0.12));
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  position: absolute;
  z-index: 1;
}

.hero-media::after {
  background: var(--ingemma-teal);
  bottom: 0;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.ops-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  bottom: 20px;
  box-shadow: 0 18px 44px rgba(20, 18, 66, 0.18);
  color: var(--ink);
  display: grid;
  gap: 10px;
  left: 20px;
  padding: 16px;
  position: absolute;
  width: min(360px, calc(100% - 40px));
  z-index: 3;
}

.ops-panel header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ops-panel strong {
  color: var(--ingemma-blue);
  font-size: 14px;
}

.status-dot {
  align-items: center;
  color: var(--ingemma-green);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
}

.status-dot::before {
  background: var(--ingemma-green);
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.ops-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ops-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.bar {
  background: #e9edf4;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.bar i {
  background: linear-gradient(90deg, var(--ingemma-blue), var(--ingemma-teal));
  display: block;
  height: 100%;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(110deg, rgba(48, 45, 126, 0.04), transparent 34%),
    var(--surface);
}

.section-band {
  background: linear-gradient(110deg, var(--ingemma-blue-900), var(--ingemma-blue) 58%, var(--ingemma-tech-blue));
  color: var(--white);
}

.section-band .kicker,
.section-band .section-title,
.section-band .section-subtitle {
  color: var(--white);
}

.section-band .kicker {
  color: #71e1dc;
}

.section-title {
  font-size: clamp(30px, 4.1vw, 48px);
  line-height: 1.08;
  margin: 0;
  max-width: 880px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 10px 0 0;
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 18, 66, 0.06);
  min-height: 100%;
  padding: 24px;
  position: relative;
}

.card::before {
  background: var(--ingemma-teal);
  content: "";
  height: 3px;
  left: 24px;
  position: absolute;
  top: 0;
  width: 44px;
}

.card h3,
.card h4 {
  color: var(--ingemma-blue);
  font-size: 20px;
  margin: 0 0 12px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  margin: 0;
}

.flow {
  align-items: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(48, 45, 126, 0.12);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 20px;
}

.flow .num {
  align-items: center;
  background: var(--ingemma-teal);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.flow h3,
.flow p {
  margin: 0;
}

.flow h3 {
  color: var(--ingemma-blue);
  font-size: 18px;
}

.flow p {
  color: var(--muted);
  margin-top: 5px;
}

.split {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.lead-box {
  background: linear-gradient(160deg, rgba(48, 45, 126, 0.08), rgba(0, 161, 154, 0.06));
  border: 1px solid rgba(48, 45, 126, 0.14);
  border-radius: var(--radius);
  padding: 22px;
}

.lead-box p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.lead-box h3 {
  margin-top: 0;
}

.list {
  color: var(--muted);
  line-height: 1.75;
  margin: 14px 0 0;
  padding-left: 22px;
}

.metrics {
  background: linear-gradient(180deg, rgba(0, 161, 154, 0.12), rgba(48, 45, 126, 0.06));
  border: 1px solid rgba(0, 161, 154, 0.26);
  border-radius: var(--radius);
  padding: 24px;
}

.metric-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.metric {
  background: var(--white);
  border: 1px solid rgba(48, 45, 126, 0.12);
  border-radius: var(--radius);
  padding: 18px;
}

.metric h4,
.metric .value {
  margin: 0;
}

.metric .value {
  color: var(--ingemma-blue);
  font-size: 34px;
  font-weight: 800;
  margin-top: 6px;
}

.metric p {
  color: var(--muted);
  margin: 8px 0 0;
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.media-card .media-copy {
  padding: 22px;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-meta,
.form-wrap {
  border-radius: var(--radius);
  padding: 24px;
}

.contact-meta {
  background: linear-gradient(160deg, rgba(48, 45, 126, 0.12), rgba(0, 161, 154, 0.08));
  border: 1px solid rgba(48, 45, 126, 0.14);
}

.contact-meta h2,
.form-wrap h2 {
  color: var(--ingemma-blue);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  margin: 0;
}

.contact-meta p {
  color: #3d4050;
  line-height: 1.68;
}

.contact-meta a {
  color: var(--ingemma-blue);
  font-weight: 800;
  text-decoration-color: rgba(0, 161, 154, 0.45);
}

.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(20, 18, 66, 0.08);
}

.field {
  margin-bottom: 15px;
}

label {
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 7px;
}

.consent-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  margin-top: 6px;
}

.consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
  min-height: auto;
  width: auto;
}

input,
textarea,
select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ingemma-teal);
  box-shadow: 0 0 0 3px rgba(0, 161, 154, 0.13);
  outline: none;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

select {
  appearance: none;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 24 24'%3E%3Cpath fill='%23302D7E' d='m12 15.5-6-6h12z'/%3E%3C/svg%3E")
    calc(100% - 14px) 50% / 12px 12px no-repeat;
  padding-right: 40px;
}

.help {
  color: #666977;
  font-size: 13px;
  margin-top: 8px;
}

.notice {
  border-radius: 8px;
  display: none;
  font-size: 14px;
  margin-top: 12px;
  padding: 10px 12px;
}

.notice.ok {
  background: #edf8f6;
  border: 1px solid #89d5d1;
  color: #0f5856;
  display: block;
}

.notice.err {
  background: #fff0f0;
  border: 1px solid #f5b8b8;
  color: #7a2525;
  display: block;
}

.footer {
  background: #11131c;
  border-top: 1px solid rgba(217, 222, 232, 0.16);
  color: rgba(255, 255, 255, 0.82);
  padding: 30px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-brand img {
  height: 38px;
  width: 146px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #e8f4ff;
  font-weight: 700;
  text-decoration-color: rgba(0, 161, 154, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(44px, 8vw, 76px);
}

@media (max-width: 1080px) {
  .menu {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    width: clamp(52px, 9vw, 96px);
  }
}

@media (max-width: 880px) {
  .header-inner {
    min-height: 72px;
  }

  .brand img {
    height: 36px;
    width: 140px;
  }

  .mobile-menu-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ingemma-blue);
    cursor: pointer;
    display: inline-flex;
    font-size: 20px;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    min-width: 42px;
  }

  .menu {
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    inset: 72px 0 auto 0;
    padding: 12px 20px 18px;
    position: absolute;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 11px 0;
  }

  .menu .btn {
    margin-top: 8px;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero::before {
    opacity: 0.08;
    width: 58%;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .section,
  .section.tight {
    padding: 54px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .metric-row,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .ops-panel {
    position: relative;
    bottom: auto;
    left: auto;
    margin: -28px 16px 16px;
    width: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --max-width: min(100% - 28px, 1180px);
  }

  .hero-actions,
  .badges {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  button.btn,
  .menu a::after {
    transition: none;
  }
}
