/* C2 Cybertek unified professional presentation — 2026-09-06 */
:root {
  --c2-ink: #102034;
  --c2-muted: #5c6f84;
  --c2-line: #dbe5ef;
  --c2-soft: #f5f8fc;
  --c2-blue: #1263d6;
  --c2-blue-dark: #0a4dad;
  --c2-navy: #071c35;
  --c2-shadow: 0 20px 55px rgba(7, 28, 53, .10);
}

body {
  color: var(--c2-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.62;
}

/* One restrained navigation treatment across the main site. */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 28, 53, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 28px rgba(3, 16, 31, .18);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  padding-top: 0;
  padding-bottom: 0;
}
.brand,
.site-header .logo {
  width: 166px;
  height: auto;
}
.brand img,
.site-header .logo img {
  width: 166px;
  height: 62px;
  max-width: 166px;
  max-height: 62px;
  object-fit: contain;
  filter: none;
}
.main-nav > a,
.main-nav a,
.nav-dropdown > button {
  color: #d3deea;
  font-size: .88rem;
  font-weight: 650;
}
.main-nav > a:hover,
.main-nav > a.active,
.main-nav a:hover,
.main-nav a.active,
.nav-dropdown > button:hover,
.nav-dropdown.active > button {
  color: #fff;
}
.subnav {
  border-color: rgba(255, 255, 255, .12);
  background: var(--c2-navy);
  box-shadow: var(--c2-shadow);
}
.subnav a { color: #d3deea; }
.subnav a:hover,
.subnav a:focus-visible { color: #fff; background: rgba(32, 184, 243, .12); }
.header-action,
.nav-action {
  border-color: var(--c2-blue);
  color: #fff !important;
  background: var(--c2-blue);
}
.main-nav a.nav-action { padding: 0 16px; }
.header-action:hover,
.nav-action:hover { border-color: var(--c2-blue-dark); background: var(--c2-blue-dark); }
.menu-button { border-color: rgba(255, 255, 255, .32); color: #fff; background: transparent; }

/* Clearer type scale and more controlled spacing. */
.page-hero { padding: 58px 0 52px; background: radial-gradient(circle at 84% 0, rgba(18, 99, 214, .10), transparent 28%), #fff; }
.page-hero .container { padding-top: 0; padding-bottom: 0; }
.page-hero h1,
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.35rem); line-height: 1.06; letter-spacing: -.045em; }
.page-lead,
.hero-lead { color: var(--c2-muted); font-size: 1.08rem; line-height: 1.68; }
.section,
.page-section { padding-top: 64px; padding-bottom: 64px; }
.section-head { margin-bottom: 34px; }
.section-head h2,
.content-copy h2,
.cta-panel h2,
.page-section h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.14; }
.info-card,
.price-card,
.process-card,
.product-card,
.path-cards article,
.software-card {
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(7, 28, 53, .055);
}
.cta-panel { border-radius: 16px; box-shadow: var(--c2-shadow); }

/* Replace the former cinematic homepage scale with a credible service-led hero. */
.cinematic-home {
  min-height: 0;
  color: var(--c2-ink);
  background:
    radial-gradient(circle at 84% 16%, rgba(18, 99, 214, .12), transparent 31%),
    linear-gradient(135deg, #f8fbff, #eef5fc);
}
.cinematic-home::before {
  opacity: .38;
  background-image: linear-gradient(rgba(16, 32, 52, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 32, 52, .035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, transparent, #000 45%, #000);
}
.cinematic-home .home-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .78fr);
  gap: 62px;
}
.cinematic-home .hero-copy { padding: 72px 0; }
.cinematic-home .hero-copy h1 {
  max-width: 660px;
  color: var(--c2-ink);
  font-size: clamp(2.75rem, 4.8vw, 4.6rem);
}
.cinematic-home .hero-copy h1::after { width: 92px; }
.cinematic-home .hero-copy .lead { color: var(--c2-muted); }
.cinematic-home .hero-note { color: #60748a; }
.cinematic-home .button.secondary { color: var(--c2-ink); border-color: #b8c7d7; background: rgba(255,255,255,.82); }
.motion-storyline { color: #50677f; }
.manager-showcase { grid-template-columns: minmax(0, 780px); justify-content: start; }
.manager-showcase .content-copy { max-width: 780px; }

/* Show real C2 work instead of generic placeholder panels. */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--c2-line); border-radius: 16px; background: #fff; box-shadow: 0 16px 42px rgba(7, 28, 53, .08); }
.work-visual { position: relative; min-height: 238px; overflow: hidden; background: var(--c2-navy); }
.work-visual img { width: 100%; height: 238px; display: block; object-fit: cover; transition: transform .35s ease; }
.work-card:hover .work-visual img { transform: scale(1.025); }
.work-visual::after { content: "Interactive demo"; position: absolute; left: 16px; bottom: 16px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(7, 28, 53, .88); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.work-body { padding: 25px; display: flex; flex: 1; flex-direction: column; }
.work-body .eyebrow { margin-bottom: 9px; }
.work-body h3 { margin: 0 0 9px; font-size: 1.34rem; }
.work-body p { margin: 0 0 17px; color: var(--c2-muted); font-size: .91rem; }
.work-tags { margin: 0 0 21px; display: flex; flex-wrap: wrap; gap: 7px; }
.work-tags span { padding: 5px 8px; border-radius: 5px; color: #28506f; background: #edf4fa; font-size: .7rem; font-weight: 750; }
.work-body .text-link { margin-top: auto; }
.work-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--c2-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(7, 28, 53, .055); }
.work-proof article { padding: 25px; border-left: 1px solid var(--c2-line); }
.work-proof article:first-child { border-left: 0; }
.work-proof strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.work-proof span { color: var(--c2-muted); font-size: .82rem; }
.case-study { padding: 30px 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 46px; align-items: center; border-top: 1px solid var(--c2-line); }
.case-study:first-child { padding-top: 0; border-top: 0; }
.case-study:nth-child(even) .case-image { order: 2; }
.case-image { overflow: hidden; min-height: 330px; border-radius: 16px; background: var(--c2-navy); box-shadow: var(--c2-shadow); }
.case-image img { width: 100%; height: 330px; display: block; object-fit: cover; }
.case-copy h2 { margin: 7px 0 12px; font-size: clamp(1.75rem, 2.6vw, 2.55rem); line-height: 1.12; }
.case-copy p { color: var(--c2-muted); }

/* Compact homepage assistant. The dedicated Cyra page remains the full experience. */
.cyra-chat-stage {
  width: min(100%, 460px);
  min-height: 0;
  padding: 14px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  justify-self: center;
  align-self: center;
  border-radius: 18px;
  box-shadow: var(--c2-shadow);
}
.cyra-chat-stage .stage-aurora {
  width: 240px;
  height: 240px;
  left: -76px;
  top: -72px;
  opacity: .35;
}
.cyra-chat-stage .cyra-chat {
  width: 100%;
  min-height: 0;
  justify-self: stretch;
  border-radius: 12px;
}
.cyra-chat-stage .cyra-chat-head { min-height: 54px; padding: 9px 13px; }
.cyra-chat-stage .cyra-chat-id img { width: 34px; height: 34px; }
.cyra-chat-stage .home-cyra-messages {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 108px;
  padding: 12px 13px 7px;
}
.cyra-chat-stage .home-cyra-message { margin-bottom: 7px; }
.cyra-chat-stage .home-cyra-form { padding: 9px; }
.cyra-chat-stage .home-cyra-form textarea { height: 40px; min-height: 40px; }
.cyra-chat-stage .home-cyra-form textarea { overflow-y: hidden; }
.cyra-chat-stage .stage-service { display: none; }

/* Keep the dedicated conversation useful without letting it fill the whole screen. */
.cyra-page-grid { max-width: 1040px; margin-inline: auto; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); }
.cyra-page-grid .cyra-chat { min-height: 500px; }
.cyra-page-grid .home-cyra-messages { max-height: 330px; }

.footer,
.site-footer { background: #061426; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 1fr auto; flex-wrap: wrap; }
  .menu-button { display: block; margin-left: auto; }
  .header-inner > .main-nav { display: none; }
  .header-inner.open > .main-nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--c2-navy);
  }
  .header-inner.open > .main-nav > a,
  .header-inner.open > .main-nav > .nav-dropdown { width: 100%; }
  .header-inner.open > .main-nav > a,
  .header-inner.open .nav-dropdown > button { padding: 9px 0; }
  .header-inner > .header-action { display: none; }
  .main-nav { background: var(--c2-navy); }
  .main-nav > a,
  .main-nav a,
  .nav-dropdown > button { color: #d3deea; }
}

@media (max-width: 930px) {
  .cinematic-home .home-hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .cinematic-home .hero-copy { padding: 54px 0 22px; }
  .cyra-chat-stage { margin-bottom: 50px; }
  .cyra-page-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-proof { grid-template-columns: 1fr 1fr; }
  .work-proof article:nth-child(3) { border-left: 0; border-top: 1px solid var(--c2-line); }
  .work-proof article:nth-child(4) { border-top: 1px solid var(--c2-line); }
  .case-study { grid-template-columns: 1fr; gap: 24px; }
  .case-study:nth-child(even) .case-image { order: 0; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 70px; }
  .brand,
  .site-header .logo,
  .brand img,
  .site-header .logo img { width: 146px; max-width: 146px; height: 56px; max-height: 56px; }
  .page-hero { padding: 42px 0 38px; }
  .page-hero h1,
  .hero h1,
  .cinematic-home .hero-copy h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .section,
  .page-section { padding-top: 48px; padding-bottom: 48px; }
  .cyra-chat-stage { width: 100%; padding: 10px; margin-bottom: 32px; border-radius: 14px; }
  .cyra-page-grid .cyra-chat { min-height: 440px; }
  .work-grid,
  .work-proof { grid-template-columns: 1fr; }
  .work-proof article { border-left: 0; border-top: 1px solid var(--c2-line); }
  .work-proof article:first-child { border-top: 0; }
  .work-visual,
  .work-visual img { height: 210px; min-height: 210px; }
  .case-image,
  .case-image img { height: 245px; min-height: 245px; }
}
