:root {
  --bg: #f3f7ff;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #0f172a;
  --muted: #4b5563;
  --border: rgba(14, 83, 183, 0.12);
  --blue: #0e53b7;
  --blue-strong: #1765d4;
  --red: #e50012;
  --shadow: 0 28px 70px -42px rgba(14, 83, 183, 0.28);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 83, 183, 0.1), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(229, 0, 18, 0.08), transparent 15%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 35%, #f6faff 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: min(1200px, calc(100% - 1.25rem));
  margin: 0 auto;
}

.hero-copy,
.hero-visual,
.about-intro,
.about-content,
.service-card,
.project-card,
.contact-brand,
.contact-form,
.footer-shell > div {
  min-width: 0;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(14, 83, 183, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 12px 0;
}

.brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(14, 83, 183, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #0e53b7;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 6px 16px;
  border: 1px solid rgba(14, 83, 183, 0.08);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 45px -34px rgba(14, 83, 183, 0.25);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  position: relative;
  flex: 1 0 0;
  padding: 12px 24px;
  border-radius: 999px;
  color: #1f2937;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue);
  border-color: rgba(14, 83, 183, 0.22);
  background: rgba(14, 83, 183, 0.05);
}

.main-nav a.is-active {
  color: var(--blue);
  font-weight: 600;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: #0e53b7;
}

.hero-section {
  padding: 104px 0 20px;
}

.hero-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 24px 20px 32px 20px;
  border: 1px solid rgba(14, 83, 183, 0.08);
  border-radius: 2.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 56%, #ffffff 100%);
  box-shadow: 0 35px 90px -50px rgba(14, 83, 183, 0.24);
}

.hero-copy {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  padding: 0 12px 0 18px;
}

.hero-copy h1 {
  max-width: 11.5ch;
  font-size: 4.15rem;
  font-weight: 700;
  line-height: 1.02;
  color: #000000;
}

.block {
  display: block;
}

.accent {
  background: linear-gradient(135deg, #0e53b7 0%, #0e53b7 58%, #e50012 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 46rem;
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 2.7rem;
  color: #4b5563;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: start;
  gap: 22px;
  margin-top: 34px;
}

.mini-stats article,
.service-card,
.project-card,
.about-panel,
.contact-form,
.footer-shell,
.logo-grid article,
.contact-card,
.info-card,
.strength-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.mini-stats article {
  min-width: 0;
  padding: 18px 28px;
  border: 1px solid rgba(14, 83, 183, 0.08);
  border-radius: 2rem;
  text-align: left;
  box-shadow: 0 18px 38px -30px rgba(14, 83, 183, 0.18);
  background: #ffffff;
}

.mini-stats strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.mini-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  word-break: break-word;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #748097;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  width: auto;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s ease, filter 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  min-width: 290px;
  color: #ffffff;
  background: linear-gradient(135deg, #0e53b7 0%, #1765d4 65%, #0b47a1 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 42px -26px rgba(14, 83, 183, 0.46);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-secondary {
  min-width: 230px;
  color: var(--blue);
  border: 1px solid rgba(14, 83, 183, 0.12);
  background: #ffffff;
}

.btn-arrow {
  margin-left: 8px;
  font-size: 1rem;
  line-height: 1;
}

.btn-light {
  color: var(--blue);
  background: #ffffff;
}

.btn-full {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.visual-frame {
  position: relative;
  width: 100%;
  max-width: 41rem;
  margin-inline: auto;
  min-height: 42rem;
  padding: 20px 32px 32px;
  border: 1px solid rgba(14, 83, 183, 0.06);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 60% 26%, rgba(37, 99, 235, 0.05), transparent 18%),
    radial-gradient(circle at 54% 84%, rgba(37, 99, 235, 0.08), transparent 23%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 30px 70px -42px rgba(14, 83, 183, 0.28);
}

.visual-frame::before,
.visual-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.visual-frame::before {
  width: 420px;
  height: 420px;
  background: rgba(14, 83, 183, 0.1);
  filter: blur(60px);
}

.visual-frame::after {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(14, 83, 183, 0.1);
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 40px auto 0;
  border-radius: 1.5rem;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 20px;
  border: 1px solid rgba(14, 83, 183, 0.06);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 55px -36px rgba(14, 83, 183, 0.22);
}

.floating-card h3 {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.floating-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #4b5563;
}

.floating-left {
  left: 0;
  top: 56px;
}

.floating-right {
  right: 0;
  top: 32px;
}

.floating-bottom {
  right: 40px;
  bottom: 48px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 1rem;
  color: #ffffff;
  background: #0e53b7;
  box-shadow: 0 18px 38px -24px rgba(14, 83, 183, 0.5);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.icon-badge.red {
  background: #e50012;
  box-shadow: 0 18px 38px -24px rgba(229, 0, 18, 0.45);
}

.icon-badge.icon-chart {
  background: #0b47a1;
}

.api-badge {
  display: none;
}

.section {
  padding: 46px 0;
}

.section-about-first {
  padding-top: 38px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading-centered {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.eyebrow-line {
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: #0e53b7;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-form h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.section-heading-centered h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 600;
}

.section-heading p,
.contact-form p {
  margin-top: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.section-heading-centered p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
  color: #5b6473;
}

.about-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
}

.about-panel-showcase {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 34px;
  padding: 38px 40px 40px;
  border: 1px solid rgba(14, 83, 183, 0.09);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 26px 70px -56px rgba(14, 83, 183, 0.18);
}

.about-intro h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.08;
}

.about-panel-showcase .about-intro {
  padding-top: 6px;
}

.about-panel-showcase .about-intro h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: #000000;
}

.about-intro p {
  max-width: 30rem;
  margin-top: 20px;
  line-height: 1.85;
  color: var(--muted);
}

.about-panel-showcase .about-intro p {
  max-width: 28rem;
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--muted);
}

.about-content {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 20px 22px;
  border: 1px solid rgba(14, 83, 183, 0.1);
  border-radius: 22px;
}

.info-card-check {
  position: relative;
  padding: 24px 28px 24px 62px;
  border: 1px solid rgba(14, 83, 183, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
}

.info-card-check::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 26px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #2f66dd;
  box-sizing: border-box;
}

.info-card-check::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 33px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f66dd;
}

.info-card p {
  line-height: 1.85;
  color: var(--muted);
}

.info-card-check p {
  font-size: 1rem;
  line-height: 1.95;
  color: #5b6473;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
}

.about-panel-showcase .strength-grid {
  gap: 20px;
  padding-top: 12px;
}

.strength-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #f9fbff;
}

.about-panel-showcase .strength-card {
  padding: 22px 24px 24px;
  border: 1px solid rgba(14, 83, 183, 0.09);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
}

.strength-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.strength-card strong {
  display: block;
  margin-top: 14px;
  font-size: 2rem;
  font-weight: 800;
  color: #030712;
}

.progress {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: #dcebff;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-strong) 72%, var(--red) 100%);
}

.service-grid,
.project-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 72%, var(--red) 100%);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-top: 22px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.service-card p {
  margin-top: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 10px;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-body {
  padding: 22px;
}

.project-label {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-body h3 {
  margin-top: 14px;
  font-size: 1.18rem;
  line-height: 1.45;
}

.project-body p {
  margin-top: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-row span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--surface-soft);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-strong) 70%, var(--red) 100%);
  box-shadow: 0 24px 55px -36px rgba(14, 83, 183, 0.35);
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
}

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

.logo-grid article {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.logo-grid img {
  max-height: 62px;
  width: 100%;
  object-fit: contain;
}

.contact-section {
  padding: 68px 0 72px;
  border-top: 1px solid rgba(14, 83, 183, 0.1);
  background:
    radial-gradient(circle at 7% 12%, rgba(14, 83, 183, 0.12), transparent 18%),
    radial-gradient(circle at 92% 88%, rgba(14, 83, 183, 0.08), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 40px;
}

.contact-brand img,
.footer-brand img {
  width: 170px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(14, 83, 183, 0.14);
  border-radius: 1.35rem;
  background: rgba(250, 252, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 4px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(14, 83, 183, 0.1);
  flex: 0 0 auto;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
}

.contact-card > div {
  min-width: 0;
}

.contact-card > div > span {
  display: inline-block;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: var(--muted);
  overflow-wrap: break-word;
}

.contact-form {
  padding: 48px 52px;
  border: 1px solid rgba(14, 83, 183, 0.1);
  border-radius: 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 80px -56px rgba(14, 83, 183, 0.2);
}

.contact-form .eyebrow {
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.contact-form p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 18px;
  padding: 20px 26px;
  border: 1px solid rgba(14, 83, 183, 0.12);
  border-radius: 1.75rem;
  color: #111827;
  font: inherit;
  font-size: 1rem;
  background: #ffffff;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a0a8b7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14, 83, 183, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 238px;
}

.site-footer {
  padding: 10px 0 36px;
  background: linear-gradient(180deg, #f6faff 0%, #edf4ff 100%);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row a {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.82rem;
  background: var(--surface-soft);
}

.footer-shell h3 {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-shell a,
.footer-shell p {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.9;
  color: var(--muted);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-legal a {
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--blue);
}

/* ── Impact / metrics ──────────────────────────────── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.impact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(14, 83, 183, 0.1);
  border-radius: 1.2rem;
  background: #ffffff;
}

.impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(14, 83, 183, 0.14) 0%, rgba(229, 0, 18, 0.08) 100%);
}

.impact-icon svg {
  width: 20px;
  height: 20px;
}

.impact-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: #000000;
}

.impact-card p {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Service card "En savoir plus" link ────────────── */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.service-more svg {
  width: 16px;
  height: 16px;
}

.service-more:hover {
  color: var(--red);
}

/* ── Project card arrow + head row ─────────────────── */
.project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.project-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blue);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.project-arrow svg {
  width: 16px;
  height: 16px;
}

.project-card:hover .project-arrow {
  border-color: rgba(229, 0, 18, 0.4);
  color: var(--red);
}

/* ── About check items ─────────────────────────────── */
.info-card-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

.check-icon svg {
  width: 16px;
  height: 16px;
}

/* ── Trust logos marquee ────────────────────────────── */
.trust-row {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 24px 0;
  border: 1px solid var(--border);
  border-radius: 1.9rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
}

.trust-row + .trust-row {
  margin-top: 18px;
}

.trust-row::before,
.trust-row::after {
  content: "";
  position: absolute;
  inset-block: 0;
  z-index: 2;
  width: 64px;
  pointer-events: none;
}

.trust-row::before {
  left: 0;
  background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, 0) 100%);
}

.trust-row::after {
  right: 0;
  background: linear-gradient(270deg, #f8fbff 0%, rgba(248, 251, 255, 0) 100%);
}

.trust-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 0 24px;
  animation: trustMarquee 24s linear infinite;
  will-change: transform;
}

.trust-track-reverse {
  animation: trustMarqueeReverse 32s linear infinite;
}

.trust-track:hover,
.trust-track-reverse:hover {
  animation-play-state: paused;
}

@keyframes trustMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes trustMarqueeReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 96px;
  flex-shrink: 0;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.6rem;
  background: #ffffff;
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, 0.28);
}

.trust-logo img {
  max-height: 62px;
  width: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .trust-track,
  .trust-track-reverse {
    animation: none;
  }
}

/* ── Sub-page shell (services detail / legal pages) ─── */
.page-main {
  padding-top: 104px;
  padding-bottom: 20px;
}

.page-section {
  padding: 32px 0 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--red);
}

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

.panel-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 60px -42px rgba(14, 83, 183, 0.2);
}

/* Service detail page */
.detail-grid {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1.35rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 72%, var(--red) 100%);
  box-shadow: 0 18px 40px -25px rgba(14, 83, 183, 0.35);
}

.detail-icon svg {
  width: 28px;
  height: 28px;
}

.detail-eyebrow {
  display: block;
  margin-top: 20px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.detail-title {
  margin-top: 12px;
  max-width: 14ch;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.08;
  color: #000000;
}

.detail-desc {
  margin-top: 20px;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 2rem;
  color: var(--muted);
}

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

.benefit-pill {
  padding: 16px 20px;
  border: 1px solid rgba(14, 83, 183, 0.14);
  background: rgba(250, 252, 255, 0.92);
  border-radius: 1.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

.detail-panel {
  padding: 24px;
  border: 1px solid rgba(14, 83, 183, 0.14);
  background: rgba(250, 252, 255, 0.92);
  border-radius: 1.6rem;
}

.detail-panel .detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}

.detail-list {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.detail-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  color: var(--red);
}

.related-section {
  margin-top: 48px;
}

.related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.related-head h2 {
  margin-top: 12px;
  font-size: 1.75rem;
  font-weight: 600;
  color: #000000;
}

.btn-inline {
  display: none;
  width: auto;
}

@media (min-width: 768px) {
  .btn-inline {
    display: inline-flex;
  }
}

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

.related-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.related-card .service-icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: rgba(14, 83, 183, 0.1);
  color: var(--blue);
}

.related-card .service-icon-sm svg {
  width: 20px;
  height: 20px;
}

.related-card h3 {
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
}

.related-card p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.related-card a {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s ease;
}

.related-card a:hover {
  color: var(--red);
}

.related-card a svg {
  width: 16px;
  height: 16px;
}

/* Legal pages */
.legal-sections {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.legal-sections article {
  padding: 24px;
  border: 1px solid rgba(14, 83, 183, 0.14);
  background: rgba(250, 252, 255, 0.92);
  border-radius: 1.5rem;
}

.legal-sections h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
}

.legal-sections p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

@media (min-width: 768px) {
  .detail-title {
    font-size: 3rem;
  }

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

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

@media (min-width: 1100px) {
  .page-main {
    padding-top: 104px;
  }

  .detail-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

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

@media (max-width: 760px) {
  .page-main {
    padding-top: 88px;
  }
}

@media (max-width: 1100px) {
  .container {
    width: min(1200px, calc(100% - 2rem));
  }

  .nav-shell {
    flex-wrap: nowrap;
    align-items: center;
  }

  .main-nav {
    justify-content: flex-start;
    border-radius: 28px;
  }

  .hero-card,
  .about-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-panel-showcase .about-intro h3 {
    max-width: none;
  }

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

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

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

  .hero-copy h1,
  .about-intro h3 {
    max-width: none;
  }

  .visual-frame {
    min-height: auto;
  }

  .floating-left {
    left: 20px;
    top: 24px;
  }

  .floating-right {
    right: 20px;
    top: 24px;
  }

  .floating-bottom {
    right: 20px;
    bottom: 24px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1200px, calc(100% - 24px));
  }

  .site-header {
    position: sticky;
  }

  .nav-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

  .brand {
    align-self: center;
  }

  .brand img {
    height: 52px;
    width: auto;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 12px;
  }

  .main-nav {
    display: none;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 24px;
    margin-top: 6px;
    flex-direction: column;
    overflow: hidden;
    white-space: normal;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    flex: none;
    padding: 10px 16px;
    font-size: 0.88rem;
    text-align: left;
  }

  .hero-card,
  .about-panel,
  .contact-form,
  .footer-shell {
    padding: 22px;
  }

  .section-about-first {
    padding-top: 26px;
  }

  .section-heading-centered {
    margin-bottom: 26px;
  }

  .eyebrow-row {
    gap: 12px;
  }

  .eyebrow-line {
    width: 34px;
  }

  .about-panel-showcase {
    padding: 24px 22px 24px;
    gap: 24px;
  }

  .about-panel-showcase .about-intro h3 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .info-card-check {
    padding: 20px 18px 20px 50px;
  }

  .info-card-check::before {
    left: 18px;
    top: 22px;
  }

  .info-card-check::after {
    left: 25px;
    top: 29px;
  }

  .hero-card {
    gap: 28px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(1.95rem, 10vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .section-heading h2,
  .section-heading-centered h2,
  .about-panel-showcase .about-intro h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-lead,
  .section-heading p,
  .about-intro p,
  .project-body p,
  .service-card p,
  .contact-form p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero-lead {
    max-width: 100%;
    line-height: 1.9;
  }

  .visual-frame {
    min-height: auto;
    padding: 20px 12px 12px;
  }

  .hero-image {
    width: 100%;
    margin-top: 16px;
  }

  .visual-frame::before {
    width: 260px;
    height: 260px;
  }

  .visual-frame::after {
    width: 320px;
    height: 320px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 16px;
    padding: 18px;
  }

  .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .mini-stats article {
    text-align: left;
    padding: 16px 18px;
  }

  .hero-actions {
    gap: 12px;
  }

  .mini-stats,
  .strength-grid,
  .field-grid,
  .service-grid,
  .project-grid,
  .logo-grid,
  .footer-shell,
  .impact-grid {
    grid-template-columns: 1fr;
  }

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

  .btn,
  .btn-light {
    width: 100%;
    min-width: 0;
  }

  .btn-primary,
  .btn-secondary {
    min-width: 0;
  }

  .contact-grid,
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-card:last-child {
    grid-column: auto;
    min-height: 156px;
  }

  .cta-band {
    padding: 22px;
  }

  .contact-brand img,
  .footer-brand img,
  .brand img {
    width: 136px;
  }

  .contact-card,
  .project-body,
  .service-card,
  .info-card,
  .strength-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .main-nav {
    gap: 4px;
    padding: 6px 8px;
  }

  .hero-section {
    padding-top: 16px;
  }

  .hero-card,
  .about-panel,
  .contact-form,
  .footer-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .section {
    padding: 32px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2,
  .contact-form h2 {
    font-size: 1.55rem;
    line-height: 1.14;
  }

  .section-heading-centered h2 {
    font-size: 1.95rem;
    line-height: 1.12;
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: 1.78rem;
    line-height: 1.03;
  }

  .hero-lead,
  .section-heading p,
  .about-intro p,
  .project-body p,
  .service-card p,
  .contact-form p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .main-nav a {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .main-nav a.is-active::after {
    left: 12px;
    right: 12px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mini-stats article {
    padding: 14px;
  }

  .mini-stats strong {
    font-size: 0.92rem;
  }

  .mini-stats span {
    margin-top: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .service-card h3,
  .project-body h3 {
    font-size: 1.08rem;
  }

  .project-card img {
    height: 180px;
  }

  .about-panel-showcase {
    padding: 20px 16px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .project-body,
  .service-card,
  .info-card,
  .strength-card,
  .info-card-check {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-grid article {
    min-height: 94px;
    padding: 14px;
  }

  .logo-grid img {
    max-height: 48px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px 16px;
    border-radius: 16px;
  }
}

.form-flash {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
}

.form-flash-success {
  color: #0e53b7;
  background: #eef4ff;
  border: 1px solid rgba(14, 83, 183, 0.16);
}

.contact-form .form-error,
.contact-form ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #e50012;
  font-size: 0.88rem;
}

.contact-form input[type="hidden"] {
  display: none;
}

.form-flash {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
}

.form-flash-success {
  color: #0e53b7;
  background: #eef4ff;
  border: 1px solid rgba(14, 83, 183, 0.16);
}

.contact-form .form-error,
.contact-form ul {
  margin-top: 8px;
  color: #e50012;
  font-size: 0.85rem;
}

.contact-form input[type="hidden"] {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}
