/* ===== Realisations Page ===== */
.realisations-page #iax-projects {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
}

.realisations-page #iax-projects::before,
.realisations-page #iax-projects::after {
  position: absolute;
  pointer-events: none;
  color: rgba(54, 105, 153, 0.09);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  line-height: 1.45;
  white-space: pre;
}

.realisations-page #iax-projects::before {
  content: "<html>\A  <body>\A    <main>\A      <section>\A        { code }\A      </section>\A    </main>\A  </body>\A</html>";
  top: 105px;
  left: 22px;
  font-size: 18px;
  transform: none;
}

.realisations-page #iax-projects::after {
  content: ".site {\A  display: grid;\A  responsive: true;\A  performance: 100;\A}\A\Aconst web = () => {\A  return '</>';\A};";
  right: 24px;
  bottom: 135px;
  font-size: 17px;
  text-align: left;
  transform: none;
}

.realisations-page #iax-projects > .container {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1180px) {
  .realisations-page #iax-projects::before,
  .realisations-page #iax-projects::after {
    opacity: 0.45;
  }
}

@media screen and (max-width: 900px) {
  .realisations-page #iax-projects::before,
  .realisations-page #iax-projects::after {
    display: none;
  }
}

.realisations-page .portfolio-intro {
  margin-bottom: 58px;
}

.realisations-page .portfolio-intro .iax-devices {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(34, 73, 131, 0.22);
  box-shadow: 0 16px 30px rgba(9, 24, 52, 0.18);
}

.realisations-page .portfolio-intro .iax-devices img {
  margin: 0 auto;
  width: 100%;
  display: block;
}

.portfolio-service-fit {
  margin-bottom: 72px;
  padding: 40px 34px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(21, 46, 73, 0.08);
}

.service-fit-intro {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

.service-fit-intro h2 {
  margin: 0 0 16px;
  color: #20364a;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
}

.service-fit-intro p {
  margin: 0;
  color: #5f6f7f;
  font-size: 18px;
  line-height: 1.7;
}

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

.service-fit-item {
  min-width: 0;
  padding-left: 20px;
  border-left: 3px solid #5ca8e8;
}

.service-fit-item h3 {
  margin: 0 0 10px;
  color: #294e72;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.service-fit-item p {
  margin: 0;
  color: #63717d;
  font-size: 15px;
  line-height: 1.7;
}

.service-fit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.service-fit-actions a {
  display: inline-block;
  padding: 10px 18px;
  color: #315d8f;
  border: 1px solid #c8d9ea;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.3;
}

.service-fit-actions a:hover,
.service-fit-actions a:focus {
  color: #fff;
  background: #315d8f;
  border-color: #315d8f;
  text-decoration: none;
}

.project-case {
  margin-bottom: 72px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce5ef;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(21, 46, 73, 0.1);
}

.project-case:last-child {
  margin-bottom: 0;
}

.portfolio-showcase {
  margin-bottom: 72px;
}

.portfolio-showcase .project-case {
  margin-bottom: 0;
}

.project-status-internal {
  color: #315d8f;
  background: #edf4fb;
  border-color: #c8d9ea;
}

.project-case-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.project-case-reverse {
  flex-direction: row-reverse;
}

.browser-mockup {
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd8e5;
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(18, 40, 63, 0.18);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  background: #eaf0f6;
  border-bottom: 1px solid #d4dee8;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot-red {
  background: #f06b68;
}

.browser-dot-yellow {
  background: #f0bf55;
}

.browser-dot-green {
  background: #63bd7a;
}

.browser-address {
  overflow: hidden;
  flex: 1;
  margin-left: 7px;
  padding: 6px 12px;
  color: #597086;
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 6px;
  font: 12px/1.2 Consolas, "Courier New", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-screen {
  display: block;
  position: relative;
}

.browser-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.browser-live-preview {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 62.5%;
  background: #e8edf3;
}

.browser-live-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1600px;
  height: 1000px;
  border: 0;
  transform: scale(0.4375);
  transform-origin: top left;
  pointer-events: none;
}

.browser-preview-link {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.project-copy {
  padding: 4px 18px;
}

.project-index {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #2262a7;
  font: 700 12px/1.2 Consolas, "Courier New", monospace;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.project-status {
  padding: 5px 9px;
  color: #16733c;
  background: #e6f7ed;
  border: 1px solid #b9e4c9;
  border-radius: 999px;
}

.project-status-test {
  color: #9a5708;
  background: #fff2d9;
  border-color: #efcf91;
}

.project-copy h2 {
  margin: 0 0 7px;
  color: #20364a;
  font-size: 34px;
  font-weight: 500;
}

.project-type {
  margin-bottom: 22px;
  color: #6d7f90;
  font-size: 16px;
}

.project-detail {
  margin-bottom: 18px;
  padding-left: 15px;
  border-left: 3px solid #83a7d0;
}

.project-detail h3 {
  margin: 0 0 5px;
  color: #294e72;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.project-detail p {
  margin: 0;
  color: #5c6d7d;
  line-height: 1.65;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.tech-stack span {
  padding: 7px 10px;
  color: #244d73;
  background: #edf4fb;
  border: 1px solid #cddfed;
  border-radius: 6px;
  font: 600 12px/1 Consolas, "Courier New", monospace;
}

.project-production-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--iax-brand-start) 0%, var(--iax-brand-end) 100%);
  border: 1px solid var(--iax-brand-start);
  border-radius: 7px;
  box-shadow: var(--iax-shadow-btn);
  font-weight: 600;
}

.project-production-link:hover,
.project-production-link:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--iax-brand-deep) 0%, var(--iax-brand-bright) 100%);
  border-color: var(--iax-brand-deep);
  box-shadow: var(--iax-shadow-btn-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.portfolio-process {
  padding: 78px 0;
  background: #fff;
}

.portfolio-process-inline {
  margin-bottom: 72px;
  padding: 34px 30px 38px;
  background-color: rgba(248, 252, 255, 0.64);
  border: 1px solid rgba(206, 214, 228, 0.7);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 32, 56, 0.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.process-step {
  position: relative;
  min-height: 142px;
  padding: 20px 14px;
  text-align: center;
  background: #f7faff;
  border: 1px solid #dbe6f1;
  border-radius: 12px;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--iax-brand-start) 0%, var(--iax-brand-end) 100%);
  border: 1px solid var(--iax-brand-start);
  border-radius: 50%;
  box-shadow: 0 7px 14px rgba(30, 76, 160, 0.22);
  font: 700 18px/1 Arial, sans-serif;
}

.process-symbol-code {
  font: 700 12px/1 Consolas, "Courier New", monospace;
}

.process-step h3 {
  margin: 0 0 7px;
  color: #29465f;
  font-size: 16px;
}

.process-step p {
  margin: 0;
  color: #718191;
  font-size: 13px;
  line-height: 1.45;
}

.portfolio-cta {
  padding: 64px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(55, 162, 255, 0.3), transparent 30%),
    linear-gradient(135deg, var(--iax-brand-deep) 0%, var(--iax-brand-base) 100%);
}

.portfolio-cta h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 38px;
  font-weight: 400;
}

.portfolio-cta p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.portfolio-cta a {
  display: inline-block;
  padding: 12px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--iax-brand-start) 0%, var(--iax-brand-end) 100%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  box-shadow: var(--iax-shadow-btn);
  font-weight: 700;
}

.portfolio-cta a:hover,
.portfolio-cta a:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--iax-brand-deep) 0%, var(--iax-brand-bright) 100%);
  border-color: #fff;
  box-shadow: var(--iax-shadow-btn-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

@media screen and (max-width: 991px) {
  .project-case-row,
  .project-case-reverse {
    display: block;
  }

  .project-copy {
    padding: 30px 0 0;
  }

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

  .service-fit-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  
  .project-case {
    margin-bottom: 42px;
    padding: 18px;
  }

  .project-copy h2 {
    font-size: 28px;
  }

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

  .portfolio-cta h2 {
    font-size: 30px;
  }

  .portfolio-service-fit {
    padding: 28px 20px;
  }

  .service-fit-intro h2 {
    font-size: 27px;
  }

  .service-fit-intro p {
    font-size: 16px;
  }

  .service-fit-actions a {
    width: 100%;
    text-align: center;
  }
}
