/* ITR Integrated Technologies Ltd. - inner pages (About, Services, Solutions, Contact)
   Builds on style.css so the header, buttons, colours and theme match the home page. */

html.inner { font-size: clamp(8px, .598vw, 11px); scroll-behavior: smooth; }
@media (max-width: 1099px) { html.inner { font-size: 9px; } }
@media (max-width: 700px)  { html.inner { font-size: 8.4px; } }

body.inner .page { min-height: 0; overflow: clip; }
body.inner a { color: inherit; }

/* ---------- sticky header ---------- */
.inner .header { position: sticky; top: 0; height: 10.4rem; padding: 0 6.4rem;
  background: rgba(4, 10, 30, .84); backdrop-filter: blur(1.4rem); -webkit-backdrop-filter: blur(1.4rem);
  border-bottom: .1rem solid rgba(120, 160, 255, .14); }
body.light.inner .header { background: rgba(244, 248, 255, .88); border-bottom-color: rgba(10, 28, 77, .12); }
.inner .brand-divider, .inner .brand-tag { display: none; }
.inner .brand-mark { width: 5.8rem; height: 7.1rem; }
.inner .brand-text strong { font-size: 2.7rem; }
.inner .brand-text span { font-size: 1.8rem; }
.nav-link.is-active { padding: 0 3.1rem; border-radius: 99rem; color: #fff;
  background: linear-gradient(180deg, #2a9bff, #0b5cff); box-shadow: 0 0 2.4rem rgba(20, 110, 255, .65), inset 0 .1rem 0 rgba(255, 255, 255, .35); }
.nav-link.is-active:hover { color: #fff; }
.nav-cta.is-active { background: rgba(30, 130, 255, .45); }
.dd-menu a { display: block; padding: 1.2rem 1.4rem; border-radius: .9rem; font-size: 1.6rem; font-weight: 500; color: #e6edff; text-decoration: none; }
.dd-menu a:hover { background: rgba(40, 110, 255, .35); color: #fff; }
a.tile, a.btn, a.card, a.nav-pill, a.nav-link, a.nav-cta { text-decoration: none; }
.btn.sm { height: 5.2rem; width: auto; padding: 0 2.8rem; font-size: 1.7rem; }
.btn.outline { border: .15rem solid #1b8cff; background: rgba(8, 30, 90, .35); color: var(--text); }
.btn.outline:hover { background: rgba(30, 130, 255, .3); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 150rem; margin: 0 auto; padding: 0 6.4rem; position: relative; z-index: 2; }
.sec { position: relative; padding: 9rem 0; }
.sec.alt { background: rgba(120, 160, 255, .06); border-block: .1rem solid var(--card-bd); }
.sec-head { max-width: 82rem; margin-bottom: 5.5rem; }
.sec h2 { margin: 0; font-size: 4.2rem; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; color: var(--text); }
.sec-head p { margin-top: 1.8rem; font-size: 2rem; line-height: 1.55; color: var(--muted); }

/* ---------- page hero ---------- */
.p-hero { position: relative; padding: 8.4rem 0 9rem; }
.crumbs { display: flex; gap: 1rem; align-items: center; margin-bottom: 2.6rem; font-size: 1.5rem; color: var(--muted); }
.crumbs a { color: var(--cyan); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.p-title { margin: 0; max-width: 92rem; font-size: 6.4rem; line-height: 1.05; font-weight: 700; letter-spacing: -.035em; color: var(--text); }
.p-lead { margin-top: 2.6rem; max-width: 78rem; font-size: 2.2rem; line-height: 1.5; color: var(--muted); }
.p-mark { position: absolute; right: 6.4rem; top: 3.2rem; width: 30rem; height: 37rem; color: #5aa8ff; opacity: .2; pointer-events: none; }

/* ---------- glass panels ---------- */
.panel { background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: .1rem solid var(--card-bd); border-radius: 2rem;
  box-shadow: inset 0 .1rem 0 rgba(255, 255, 255, .08); backdrop-filter: blur(.8rem); }
.ic-box { width: 8rem; height: 8rem; display: grid; place-items: center; border-radius: 2rem; color: #29d0f2;
  background: linear-gradient(160deg, rgba(60, 110, 220, .45), rgba(10, 30, 90, .4)); border: .1rem solid rgba(130, 180, 255, .4);
  box-shadow: 0 0 2.4rem rgba(40, 120, 255, .3); }
.ic-box .ic { width: 4.2rem; height: 4.2rem; stroke-width: 1.5; }

.checks li { display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.5rem 0; font-size: 1.85rem; line-height: 1.45; color: var(--text); border-bottom: .1rem solid var(--card-bd); }
.checks li:last-child { border-bottom: 0; }
.checks .ic { width: 2.2rem; height: 2.2rem; margin-top: .3rem; color: var(--cyan); stroke-width: 2.4; }
.panel h3.k { margin: 0 0 1rem; font-size: 1.7rem; font-weight: 600; color: var(--muted); }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 42rem 1fr; gap: 7rem; padding: 7rem 0; border-top: .1rem solid var(--card-bd); scroll-margin-top: 10rem; }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc h2 { font-size: 3.6rem; margin-top: 3rem; }
.svc p.sum { margin: 1.6rem 0 3rem; font-size: 1.95rem; line-height: 1.55; color: var(--muted); }
.svc .panel { padding: 3.6rem 4rem; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.4rem; counter-reset: s; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: 2.6rem; left: 6rem; right: -2.4rem; height: .1rem; background: var(--card-bd); }
.step:last-child::before { display: none; }
.step b { display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 50%; border: .15rem solid var(--cyan); color: var(--cyan);
  font-size: 2rem; font-weight: 700; background: rgba(24, 220, 242, .08); position: relative; z-index: 1; }
.step h3 { margin: 2.2rem 0 1rem; font-size: 2.2rem; color: var(--text); }
.step p { font-size: 1.65rem; line-height: 1.55; color: var(--muted); }

/* ---------- solutions ---------- */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.sol { display: flex; flex-direction: column; padding: 4rem; scroll-margin-top: 12rem; }
.sol h3 { margin: 2.6rem 0 1.4rem; font-size: 3rem; letter-spacing: -.02em; color: var(--text); }
.sol .ch { font-size: 1.85rem; line-height: 1.55; color: var(--muted); padding-bottom: 2.6rem; border-bottom: .1rem solid var(--card-bd); }
.sol h4 { margin: 2.6rem 0 .6rem; font-size: 1.7rem; font-weight: 600; color: var(--muted); }
.sol .checks { flex: 1; margin-bottom: 3rem; }
.sol .btn { align-self: flex-start; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; }
.split .copy p { margin-top: 2.2rem; font-size: 1.95rem; line-height: 1.65; color: var(--muted); }
.split .copy h2 { max-width: 48rem; }
.pillars { display: grid; gap: 2rem; }
.pillar { display: flex; gap: 2.4rem; padding: 3rem 3.2rem; align-items: flex-start; }
.pillar .ic-box { width: 6.2rem; height: 6.2rem; flex: none; border-radius: 1.6rem; }
.pillar .ic-box .ic { width: 3.2rem; height: 3.2rem; }
.pillar h3 { margin: 0 0 .8rem; font-size: 2.4rem; color: var(--text); }
.pillar p { font-size: 1.7rem; line-height: 1.55; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.tile { position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: 3.2rem 3.2rem 3.4rem; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { border-color: rgba(60, 200, 255, .8); box-shadow: 0 0 2.6rem rgba(30, 140, 255, .35); transform: translateY(-.3rem); }
.tile .ic { width: 4.4rem; height: 4.4rem; color: #29d0f2; stroke-width: 1.4; }
.tile h3 { margin: 1rem 0 0; font-size: 2.3rem; color: var(--text); }
.tile p { font-size: 1.65rem; line-height: 1.5; color: var(--muted); padding-right: 4rem; }
.tile .go { right: 2.8rem; bottom: 3rem; }
.tile:hover .go { background: var(--blue-b); border-color: var(--blue-b); color: #fff; }

.logo-row { padding: 2.4rem 1rem; border-radius: 2rem; }
.logo-row .logos { flex-wrap: wrap; justify-content: space-around; row-gap: 2.4rem; }
.logo-row .logos li:first-child { border-left: 0; }
.logo-row .logos li { border-left: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6rem; align-items: start; }
.form { padding: 4.4rem; display: flex; flex-direction: column; gap: 2.2rem; }
.form h2 { font-size: 3.2rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.form label { display: flex; flex-direction: column; gap: .9rem; font-size: 1.5rem; font-weight: 600; color: var(--text); }
.form input, .form select, .form textarea { font: inherit; font-size: 1.7rem; font-weight: 400; color: var(--text); padding: 1.5rem 1.7rem; border-radius: 1.1rem;
  background: rgba(255, 255, 255, .07); border: .1rem solid rgba(130, 170, 255, .35); }
body.light .form input, body.light .form select, body.light .form textarea { background: rgba(255, 255, 255, .8); }
.form select option { color: #0a1c4d; }
.form textarea { resize: vertical; min-height: 15rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: .2rem solid var(--cyan); outline-offset: .1rem; }
.form .btn { align-self: flex-start; width: auto; padding: 0 3.6rem; }
.form-msg { min-height: 1.4em; font-size: 1.55rem; color: #ff9aa8; }
.form-msg.ok { color: #5fe08a; }
.info { display: grid; gap: 2.4rem; }
.info .panel { padding: 3.4rem; }
.info h3 { margin: 0 0 2rem; font-size: 2.4rem; color: var(--text); }
.info-list li { display: flex; gap: 1.6rem; align-items: flex-start; padding: 1.4rem 0; font-size: 1.8rem; color: var(--text); }
.info-list .ic { color: var(--cyan); width: 2.6rem; height: 2.6rem; margin-top: .2rem; }
.info-list small { display: block; font-size: 1.4rem; color: var(--muted); margin-bottom: .3rem; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--cyan); }
.next { counter-reset: n; }
.next li { display: flex; gap: 1.6rem; padding: 1.2rem 0; font-size: 1.75rem; line-height: 1.5; color: var(--muted); }
.next li::before { counter-increment: n; content: counter(n); flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  border: .15rem solid var(--cyan); color: var(--cyan); font-weight: 700; font-size: 1.5rem; }

/* ---------- call to action + footer ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 4rem; padding: 5.6rem 6rem; }
.cta-band h2 { font-size: 3.6rem; }
.cta-band p { margin-top: 1.2rem; font-size: 1.9rem; color: var(--muted); max-width: 60rem; }
.cta-sec { padding: 0 0 9rem; }

.footer { position: relative; z-index: 2; padding: 7rem 0 3rem; background: rgba(2, 6, 20, .6); border-top: .1rem solid var(--card-bd); }
body.light .footer { background: rgba(255, 255, 255, .6); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 5rem; }
.foot-grid h4 { margin: 0 0 2rem; font-size: 1.6rem; font-weight: 700; color: var(--text); }
.foot-grid li + li { margin-top: 1.2rem; }
.foot-grid a { font-size: 1.6rem; color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--cyan); }
.foot-brand p { margin-top: 2.2rem; max-width: 36rem; font-size: 1.6rem; line-height: 1.6; color: var(--muted); }
.foot-bar { display: flex; justify-content: space-between; gap: 2rem; margin-top: 6rem; padding-top: 2.6rem; border-top: .1rem solid var(--card-bd); font-size: 1.45rem; color: var(--muted); }
.foot-bar a { color: var(--muted); text-decoration: none; }
.foot-bar a:hover { color: var(--cyan); }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .inner .header { padding: 1.6rem 2.4rem; height: auto; min-height: 8rem; }
  .wrap { padding: 0 2.8rem; }
  .sec { padding: 6.4rem 0; }
  .p-hero { padding: 5rem 0 6rem; }
  .p-title { font-size: 5rem; }
  .p-mark { width: 18rem; height: 22rem; right: 2rem; opacity: .12; }
  .svc, .split, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .svc { padding: 5rem 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 4rem; }
  .step::before { display: none; }
  .sol-grid, .tiles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 4rem 3rem; }
  .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .p-title { font-size: 4.2rem; }
  .p-lead { font-size: 2rem; }
  .sec h2, .svc h2 { font-size: 3.4rem; }
  .steps, .foot-grid { grid-template-columns: 1fr; }
  .form { padding: 2.6rem; }
  .foot-bar { flex-direction: column; }
  .logo-row .logos { justify-content: flex-start; }
}
