/* 04. Page-specific compositions. Shared components live in components.css. */

/* Home */
.home-hero  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  padding-block: 38px 42px;
  gap: 38px;
  align-items: stretch;
}
.hero-copy  {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 28px;
}
.hero-copy h1  {
  margin-block: 25px 23px;
  max-width: 660px;
}
.hero-copy h1 em  {
  font-style: normal;
  color: var(--green);
}
.hero-copy > p  {
  color: var(--muted);
  max-width: 465px;
  font-size: 15px;
}
.hero-actions  {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 29px;
  flex-wrap: wrap;
}
.hero-footnote  {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 48px;
}
.hero-footnote::before  {
  content: "";
  display: block;
  width: 27px;
  height: 1px;
  background: var(--green);
}
.hero-visual  {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  background: #182d2e;
  border-radius: var(--radius);
}
.hero-visual > img  {
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.hero-visual::after  {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #09252212 45%, #082721c7);
}
.image-label  {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 22px;
  color: #fff;
  background: #1b33275c;
  border: 1px solid #ffffff50;
  backdrop-filter: blur(8px);
  padding: 10px 13px;
  border-radius: 30px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
}
.visual-caption  {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: white;
}
.visual-caption p  {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -.5px;
}
.visual-caption small  {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  margin-bottom: 12px;
  color: #cddbd3;
  letter-spacing: 1px;
}
.visual-caption .circle-arrow  {
  width: 43px;
  height: 43px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.expertise-strip  {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding-block: 26px;
  gap: 20px;
}
.expertise-strip p  {
  font-size: 12px;
  color: var(--muted);
}
.expertise-strip > div  {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.expertise-strip > div span  {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
}
.software-art  {
  background: #173e33;
  height: 225px;
  padding: 34px 26px 25px;
  color: var(--lime);
  position: relative;
  overflow: hidden;
}
.software-art::before  {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image: linear-gradient(#7d9f7420 1px, transparent 1px), linear-gradient(90deg,#7d9f7420 1px,transparent 1px);
  background-size: 24px 24px;
}
.diagram-title  {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  position: relative;
}
.diagram-flow  {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  position: relative;
}
.diagram-node  {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border: 1px solid #92b99d50;
  min-width: 78px;
  border-radius: 4px;
}
.diagram-node b  {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 25px;
}
.diagram-node small  {
  font-family: var(--mono);
  font-size: 10px;
  color: #e0eada;
}
.diagram-node.featured  {
  background: var(--lime);
  color: var(--green-dark);
  border: 0;
}
.diagram-node.featured small  {
  color: var(--green-dark);
}
.software-band  {
  background: #e8eee2;
}
.software-band .split  {
  grid-template-columns: 1fr 1fr;
}
.software-band h2  {
  margin-block: 18px 22px;
}
.software-band p  {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}
.solution-links  {
  margin-top: 25px;
}
.solution-link  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #c7d3c2;
  font-size: 17px;
}
.solution-link:hover  {
  color: var(--green);
}
.architecture  {
  background: var(--paper);
  border: 1px solid #cdd6c8;
  padding: 30px;
  border-radius: var(--radius);
}
.architecture-caption  {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 27px;
}
.architecture-layer  {
  padding: 19px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-radius: 3px;
}
.architecture-layer strong  {
  font-size: 14px;
  font-weight: 500;
}
.architecture-layer small  {
  font-size: 12px;
  color: var(--muted);
}
.architecture-layer.active  {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.architecture-layer.active small  {
  color: #dce9d9;
}
.architecture-connector  {
  text-align: center;
  height: 29px;
  line-height: 29px;
  color: #7b9279;
  font-family: var(--mono);
}
.architecture-base  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.architecture-base div  {
  background: var(--surface);
  padding: 18px 10px;
  text-align: center;
  font-size: 12px;
}

/* Direction pages */
.page-hero  {
  padding-block: 48px 65px;
}
.page-hero .split  {
  gap: 60px;
}
.page-hero h1  {
  margin-block: 22px;
  font-size: clamp(39px, 4.4vw, 62px);
}
.page-hero .lead  {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 540px;
}
.page-hero .tag-list  {
  margin-top: 32px;
}
.page-hero-image  {
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
}
.page-hero-image.medical  {
  height: 350px;
  object-position: 40% center;
}
.feature-strip  {
  background: var(--green-dark);
  color: #fff;
  padding-block: 28px;
}
.feature-strip-inner  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-strip-inner div  {
  padding-left: 20px;
  border-left: 1px solid #638274;
}
.feature-strip-inner strong  {
  font-weight: 500;
  font-size: 17px;
  display: block;
  margin-bottom: 7px;
}
.feature-strip-inner p  {
  font-size: 14px;
  color: #bfd0c4;
}
.category-list  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.category-item  {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.category-item h3  {
  margin-bottom: 17px;
}
.category-item .tag-list  {
  margin-top: 20px;
}
.editorial-image  {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}
.editorial-content h2  {
  margin-block: 19px 23px;
}
.editorial-content > p  {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}
.editorial-content .check-list  {
  margin-bottom: 25px;
}
.software-hero  {
  padding-bottom: 65px;
}
.software-section  {
  padding-top: 85px;
}
.software-section h2  {
  margin: 15px 0 24px;
}
.software-intro  {
  color: var(--muted);
  font-size: 16px;
  max-width: 800px;
  margin-bottom: 35px;
}
.software-section .three-col  {
  gap: 40px;
}
.protocol  {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  padding: 6px 9px;
  background: #e7eedf;
  display: inline-block;
  margin-top: 18px;
}
.process-band  {
  margin-top: 75px;
}

/* Contacts. Native HTML validation + mailto; no client-side script required. */
.contact-heading  {
  padding-block: 48px 45px;
}
.contact-heading h1  {
  margin-top: 21px;
}
.contact-heading p  {
  color: var(--muted);
  font-size: 16px;
  max-width: 670px;
  margin-top: 22px;
}
.contact-layout  {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  padding-bottom: 85px;
  align-items: start;
}
.contact-details  {
  padding-top: 26px;
}
.contact-item  {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-item dt  {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 13px;
}
.contact-item dd  {
  margin: 0;
  font-size: clamp(18px,2.2vw,26px);
  overflow-wrap: anywhere;
}
.contact-item a:hover  {
  color: var(--green);
}
.contact-note  {
  background: var(--surface);
  border-left: 3px solid var(--green);
  padding: 25px;
  margin-top: 23px;
}
.contact-note h3  {
  font-size: 17px;
  margin-bottom: 12px;
}
.contact-note p  {
  color: var(--muted);
  font-size: 15px;
}
.contact-form  {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 35px;
}
.contact-form h2  {
  font-size: 28px;
  margin-bottom: 8px;
}
.form-intro  {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.form-grid  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}
.form-field  {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.form-field.full  {
  grid-column: 1 / -1;
}
.form-field label  {
  font-size: 14px;
  font-weight: 500;
}
.form-field input, .form-field select, .form-field textarea  {
  width: 100%;
  min-width: 0;
  border: 1px solid #d4ddd3;
  background: var(--paper);
  border-radius: 3px;
  padding: 13px 12px;
  color: var(--ink);
  font-size: 14px;
}
.form-field input  {
  height: 47px;
}
.form-field textarea  {
  min-height: 135px;
  resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder  {
  color: #78817b;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus  {
  outline: 2px solid #91b9a3;
  outline-offset: 2px;
  border-color: var(--green);
}
.form-footnote  {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-block: 22px 18px;
}
.form-footnote a  {
  text-decoration: underline;
}
.contact-form .button  {
  width: 100%;
}
@media (min-width: 1440px)  {
  .home-hero  {
    gap: 58px;
  }
}
@media (max-width: 1100px)  {
  .home-hero  {
    gap: 28px;
  }
  .hero-copy h1  {
    font-size: 52px;
  }
  .hero-visual  {
    min-height: 530px;
  }
  .diagram-node  {
    min-width: 58px;
    padding: 15px 9px;
  }
  .software-art  {
    padding-inline: 15px;
  }
  .contact-layout  {
    gap: 45px;
  }
  .page-hero .split  {
    gap: 35px;
  }
}
@media (max-width: 760px)  {
  .home-hero  {
    grid-template-columns: 1fr;
    padding-top: 15px;
    gap: 25px;
  }
  .hero-copy  {
    padding-block: 25px 0;
  }
  .hero-copy h1  {
    font-size: clamp(40px, 9vw, 59px);
    margin-top: 20px;
    max-width: 560px;
  }
  .hero-copy > p  {
    font-size: 15px;
  }
  .hero-footnote  {
    margin-top: 26px;
  }
  .hero-visual  {
    min-height: 380px;
  }
  .visual-caption  {
    bottom: 25px;
    left: 25px;
    right: 25px;
  }
  .expertise-strip  {
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }
  .expertise-strip > div  {
    font-size: 12px;
    gap: 8px;
  }
  .software-band .split, .category-list, .contact-layout  {
    grid-template-columns: 1fr;
  }
  .architecture  {
    padding: 22px;
  }
  .architecture-layer  {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .page-hero  {
    padding-block: 32px 42px;
  }
  .page-hero .split  {
    gap: 34px;
  }
  .page-hero h1  {
    font-size: clamp(38px, 9vw, 55px);
  }
  .page-hero-image  {
    height: 330px;
  }
  .page-hero-image.medical  {
    height: 250px;
  }
  .feature-strip-inner  {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .editorial-image  {
    height: 300px;
  }
  .software-section  {
    padding-top: 60px;
  }
  .software-section .three-col  {
    gap: 5px;
  }
  .contact-layout  {
    gap: 30px;
    padding-bottom: 50px;
  }
  .contact-heading  {
    padding-bottom: 15px;
  }
  .contact-details  {
    padding-top: 0;
  }
  .contact-form  {
    padding: 26px 20px;
  }
  .contact-note  {
    margin-top: 0;
  }
}
@media (max-width: 420px)  {
  .hero-actions  {
    gap: 12px;
  }
  .hero-actions .button  {
    padding-inline: 18px;
    gap: 18px;
  }
  .hero-actions .text-link  {
    gap: 13px;
    font-size: 14px;
  }
  .hero-visual  {
    min-height: 325px;
  }
  .form-grid  {
    grid-template-columns: 1fr;
  }
  .architecture-base div  {
    font-size: 11px;
  }
}
