/* RFID solutions page (rfid-solutions.php). Uses the tokens from site.css. */
.rfid-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 40px; }
.rfid-hero-img { padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(34, 32, 29, .35); }
.rfid-hero-img img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }

.rfid-intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px; }
.rfid-intro h2 { margin: 4px 0 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.14; }
.rfid-intro p { color: #4a4744; font-size: 17px; line-height: 1.6; }
.rfid-benefits { list-style: none; margin: 0; padding: 22px 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.rfid-benefits li { padding: 9px 0; font-size: 15.5px; }
.rfid-benefits i { width: 24px; color: var(--brand); }
.rfid-links { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

.rfid-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rfid-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rfid-card { display: flex; flex-direction: column; padding: 14px; border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
a.rfid-card:hover { color: var(--ink); text-decoration: none; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.rfid-card-img { display: block; aspect-ratio: 1 / 1; margin-bottom: 10px; }
.rfid-grid-3 .rfid-card-img { aspect-ratio: 3 / 2; }
.rfid-card-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rfid-card strong { font-size: 15px; font-weight: 600; line-height: 1.35; }
.rfid-card small { margin-top: auto; padding-top: 6px; color: var(--brand); font-size: 13px; font-weight: 600; }
.rfid-card small.rfid-card-sub { margin: 2px 0 12px; padding: 0; color: var(--muted); font-weight: 400; }
.rfid-card .btn { align-self: flex-start; margin-top: auto; }

.rfid-guide { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.rfid-guide > div { padding: 22px; border-radius: var(--radius); background: #fff; }
.rfid-guide h3 { margin-bottom: 10px; font-size: 18px; font-weight: 600; }
.rfid-guide p, .rfid-guide li { color: #4a4744; font-size: 14.5px; line-height: 1.55; }
.rfid-guide p { margin: 0; }
.rfid-guide ul { margin: 0; padding-left: 18px; }
.rfid-guide li + li { margin-top: 8px; }

.rfid-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rfid-case { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.rfid-case > img, .rfid-case-img img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; }
.rfid-case-img { display: block; }
.rfid-case h3 { margin-bottom: 10px; font-size: 18px; font-weight: 600; }
.rfid-case h3 a { color: var(--ink); }
.rfid-case dl { margin: 0; }
.rfid-case dt { color: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.rfid-case dd { margin: 0 0 8px; color: #4a4744; font-size: 14px; line-height: 1.45; }
.rfid-case dd:last-child { margin-bottom: 0; }

.rfid-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: rfid-step; }
.rfid-steps li { padding: 20px; border-radius: var(--radius); background: #fff; counter-increment: rfid-step; }
.rfid-steps li::before { content: counter(rfid-step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; color: var(--brand); background: #ffe9de; font-weight: 700; }
.rfid-steps strong, .rfid-steps span { display: block; }
.rfid-steps strong { font-size: 16px; font-weight: 600; }
.rfid-steps span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.rfid-software { margin: 22px 0 0; font-size: 15.5px; }

.rfid-jewel { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: 40px; padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.rfid-jewel-img img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.rfid-jewel h2 { margin: 4px 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.16; }
.rfid-jewel p { color: #4a4744; font-size: 16.5px; line-height: 1.55; }
.rfid-jewel h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; }
.rfid-jewel-steps { margin: 0 0 18px; padding-left: 20px; color: #4a4744; font-size: 15px; line-height: 1.5; }
.rfid-jewel-steps li + li { margin-top: 6px; }
.rfid-jewel-steps strong { color: var(--ink); font-weight: 600; }
@media (max-width: 767px) { .rfid-jewel { grid-template-columns: 1fr; gap: 18px; padding: 18px; } .rfid-jewel-img { max-width: 220px; } }

/* cta-band rules live in home.css, which this page does not load */
.rfid-cta { padding: 40px 0; color: #fff; background: var(--brand-dark); }
.rfid-cta .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rfid-cta h2 { margin: 0 0 6px; color: #fff; font-size: 30px; }
.rfid-cta p { margin: 0; color: #e4e1de; font-size: 16px; }
.rfid-cta .cta-buttons { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 10px; }

@media (max-width: 1199px) {
  .rfid-grid { grid-template-columns: repeat(4, 1fr); }
  .rfid-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .rfid-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .rfid-intro-grid, .rfid-guide, .rfid-cases { grid-template-columns: 1fr; gap: 16px; }
  .rfid-grid { grid-template-columns: repeat(3, 1fr); }
  .rfid-cta .cta-inner { flex-direction: column; align-items: flex-start; }
  .rfid-links { align-items: flex-start; }
}
@media (max-width: 767px) {
  .rfid-hero { grid-template-columns: 1fr; gap: 20px; }
  .rfid-hero-img { max-width: 260px; }
  .rfid-grid, .rfid-grid-3, .rfid-steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rfid-case { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .sec-head h2 { font-size: 28px; }
}
