/* =====================================================================
   Computer Xperts — Technology page styles (css/technology.css)
   Loaded on technologies.html after css/site.css (colours, header, footer, page hero,
   Company side menu and free quote card live there).

   Contents
    1. Layout: expertise + side menu
    2. Expertise cards
    3. "View portfolio" bar
    4. Responsive: 640px
   ===================================================================== */


/* 1. Layout (the two columns come from .with-side in css/site.css) ------- */
.expertise { padding: var(--section-y) 0; background: var(--paper); }
.expertise__lead { margin-bottom: 18px; color: var(--ink); font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; }


/* 2. Expertise cards ---------------------------------------------------- */
.tech-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.tech-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
}
.tech-card__icon {
  grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--red-tint); color: var(--red-text); transition: background-color .25s ease, color .25s ease, transform .3s ease;
}
.tech-card__icon .ic { width: 28px; height: 28px; stroke-width: 1.9; }
.tech-card:hover .tech-card__icon { background: var(--red); color: var(--white); transform: rotate(-6deg); }
.tech-card__num { align-self: end; color: var(--red-text); font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.tech-card__items { align-self: start; color: var(--ink); font-size: 18.5px; font-weight: 700; line-height: 1.4; }


/* 3. "View portfolio" bar ----------------------------------------------- */
.portfolio-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px;
  padding: 24px 28px; border-radius: 16px; background: var(--ink); color: var(--white); text-decoration: none;
}
.portfolio-cta__text { font-size: 18px; font-weight: 700; line-height: 1.4; }
.portfolio-cta__btn {
  display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: var(--radius); background: var(--red); font-size: 15px; font-weight: 700;
  transition: background-color .2s ease;
}
.portfolio-cta:hover .portfolio-cta__btn { background: var(--red-deep); }
.portfolio-cta:hover .ic--go { transform: translateX(4px); }


/* 4. Responsive --------------------------------------------------------- */
@media (max-width: 640px) {
  .tech-list { grid-template-columns: 1fr; }
  .tech-card { padding: 22px 20px; }
  .portfolio-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
}
