/* Homepage (index.php) - the annotated boards first, repairs in St Lucia
   as one section. Brand colours from styles.css (--primary ink, --copper). */
.home-eyebrow { font-family: 'IBM Plex Mono', 'Courier New', monospace; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 0.5rem; }
.home-h2 { font-family: 'IBM Plex Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--primary); margin-bottom: 0.75rem; }
.home-cond { font-family: 'IBM Plex Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; letter-spacing: 0.02em; }
.home-mono { font-family: 'IBM Plex Mono', 'Courier New', monospace; }
.home-section { padding: 64px 0 16px; }

/* Hero */
.home-hero { background: var(--primary); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.home-hero .home-eyebrow { color: #E9A15F; }
.home-hero h1 { font-family: 'IBM Plex Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: clamp(2.3rem, 3.4vw, 3.3rem); line-height: 1.05; margin-bottom: 1.25rem; }
.home-hero .home-lead { font-size: 1.15rem; color: #C9D3DD; max-width: 540px; margin-bottom: 1.75rem; }
.home-search { display: flex; gap: 6px; background: #fff; border-radius: 12px; padding: 6px; max-width: 580px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.home-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.05rem; padding: 0 12px; color: #1d2733; background: transparent; }
.home-search .btn { white-space: nowrap; }
.home-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; color: #C9D3DD; font-size: 0.9rem; }
.home-chips a { font-family: 'IBM Plex Mono', 'Courier New', monospace; font-size: 0.75rem; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 3px 12px; text-transform: uppercase; }
.home-chips a:hover { border-color: #E9A15F; color: #E9A15F; }
.home-hero-art { width: 100%; height: auto; display: block; }

/* Numbers strip */
.home-stats { background: #fff; border-bottom: 1px solid #E3E7EA; padding: 24px 0; }
.home-stat-num { font-family: 'IBM Plex Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--primary); }
.home-stat-label { color: #3D4F61; font-size: 0.9rem; }

/* Steps */
.home-step { background: #fff; border-radius: 14px; box-shadow: 0 2px 14px rgba(11, 31, 51, 0.07); padding: 28px; height: 100%; }
.home-step-num { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: var(--copper); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.home-step h3 { font-family: 'IBM Plex Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 1.45rem; margin: 16px 0 6px; color: var(--primary); }
.home-step p { color: #3D4F61; margin: 0; }

/* Annotated board cards */
.home-board { display: block; height: 100%; background: #fff; border-radius: 14px; box-shadow: 0 2px 14px rgba(11, 31, 51, 0.07); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow 0.15s, transform 0.15s; }
a.home-board:hover { box-shadow: 0 8px 22px rgba(11, 31, 51, 0.14); transform: translateY(-2px); color: inherit; }
.home-board-thumb { height: 160px; background: #0F3D2E; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-board-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.home-board-thumb i { color: rgba(255, 255, 255, 0.35); font-size: 2.5rem; }
.home-board-body { padding: 16px 18px 20px; }
.home-board-device { font-family: 'IBM Plex Mono', 'Courier New', monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #3D4F61; }
.home-board-name { font-family: 'IBM Plex Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--primary); margin: 2px 0 10px; text-transform: capitalize; }
.home-board-counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.85rem; color: #3D4F61; }
.home-board-counts strong { color: var(--primary); }
.home-tag { display: inline-block; font-family: 'IBM Plex Mono', 'Courier New', monospace; font-size: 0.68rem; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; background: #FBEBDD; color: #8A4419; margin: 12px 6px 0 0; }

/* Technicians band */
.home-tech { background: var(--primary); color: #fff; padding: 72px 0; margin-top: 56px; }
.home-tech .home-eyebrow { color: #E9A15F; }
.home-tech .home-h2 { color: #fff; }
.home-tech p { color: #C9D3DD; font-size: 1.1rem; }
.home-tech ul { list-style: none; padding: 0; columns: 2; color: #E6EBF0; margin-bottom: 28px; }
.home-tech li { margin-bottom: 8px; }
.home-tech li::before { content: '\25CF'; color: var(--copper); margin-right: 8px; }
.home-tool { background: #16324F; border-radius: 14px; padding: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }

/* Repairs in St Lucia */
.home-local { border: 2px solid var(--copper); border-radius: 16px; padding: 32px 40px; background: #fff; }

@media (max-width: 767px) {
    .home-hero { padding: 36px 0 32px; }
    .home-hero h1 { font-size: 2.35rem; }
    .home-h2 { font-size: 1.75rem; }
    .home-section { padding: 40px 0 8px; }
    .home-tech { padding: 40px 0; margin-top: 40px; }
    .home-tech ul { columns: 1; }
    .home-local { padding: 22px; }
    .home-stat-num { font-size: 1.5rem; }
}
