/* Ovine Modern IT – components & fixes (v2.0) */
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; }
img, video { max-width: 100%; height: auto; }
.hp { position: absolute !important; left: -9999px; height: 0; width: 0; opacity: 0; }
.center-row { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-top: 28px; }
.center-row .buttons { justify-content: center; margin-top: 0; }

/* ---- Header & navigation ---- */
.logo img { max-height: 44px; width: auto; }
.logo .custom-logo-link { display: flex; }
.menu { display: flex; gap: 22px; align-items: center; }
.menu-list { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.menu-list a { color: #dbeafe; font-weight: 650; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.menu-list a:hover, .menu-list .current-menu-item > a, .menu-list .current_page_item > a { color: #fff; border-color: var(--brand2); text-decoration: none; }
.mobile-toggle { display: none; }
.mobile-toggle .bars, .mobile-toggle .bars::before, .mobile-toggle .bars::after {
  content: ""; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s;
}
.mobile-toggle .bars::before { position: absolute; top: -6px; }
.mobile-toggle .bars::after { position: absolute; top: 6px; }
.mobile-toggle[aria-expanded="true"] .bars { background: transparent; }
.mobile-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { position: relative; }
  .mobile-toggle { display: grid; }
  .menu { display: none; position: absolute; top: 100%; left: -4%; right: -4%; flex-direction: column; align-items: stretch; gap: 14px;
          background: #07111f; padding: 18px 4% 22px; border-bottom: 1px solid #ffffff18; box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
  .menu.open { display: flex; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu-list a { display: block; padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid #ffffff12; }
  .menu .btn { width: 100%; }
}

/* ---- Page hero & content ---- */
.page-hero { background: radial-gradient(circle at 85% 0, #0e7490 0, transparent 40%), linear-gradient(135deg, #06101e, #10243e 65%, #0b3650); color: #fff; padding: 56px 0 50px; }
.page-hero .entry-title { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
.page-content { padding: 48px 0 70px; }
.entry-content > h2:first-child, .is-bare > h2:first-child { margin-top: 0; }
.entry-content.is-bare > h2, .entry-content.is-bare > p { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.entry-content.is-bare > h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 8px; }
.entry-content.is-bare > p { color: var(--muted); margin-bottom: 28px; }
.entry-content.panel { max-width: 860px; margin: 0 auto; }
.entry-content h3 { margin: 28px 0 10px; font-size: 1.3rem; }
.entry-content ul { list-style: none; padding: 0; margin: 0 0 8px; }
.entry-content ul li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.entry-content ul li:last-child { border-bottom: 0; }
.entry-content ul li strong { color: var(--brand); white-space: nowrap; }

/* ---- Cards, steps, CTA ---- */
.icon .ico { width: 26px; height: 26px; color: var(--brand); }
.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(7, 17, 31, .14); }
.card h3 a { color: inherit; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; margin-bottom: 14px;
          background: linear-gradient(180deg, #3b82f6, #1d4ed8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 10px -3px rgba(37, 99, 235, .6); }
.cta-band { background: linear-gradient(135deg, #0b1220, #12304f); color: #fff; }
.cta-band h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.pagination { margin-top: 30px; text-align: center; }

/* ---- Forms ---- */
.panel h3 { margin-top: 0; }
.slot-title { margin: 22px 0 0; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
label.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
input, select, textarea { box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06); }
[data-msg] .notice { margin-top: 0; }
.panel .btn-block { margin-top: 6px; }

/* ---- Calendar ---- */
.calendar-title { gap: 12px; margin-top: 4px; }
.calendar-title strong { font-size: 1.1rem; }
.calendar { margin-top: 10px; }
.calendar-head { margin-top: 16px; text-align: center; font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.day-blank { min-height: 48px; }
.day { padding: 0; }

/* ---- Tracking & status ---- */
.track-result { margin-top: 20px; }
.status-cancelled { background: #fef2f2; color: #991b1b; }
.status-approval, .status-parts { background: #fffbeb; color: #92400e; }
.status-booked, .status-received, .status-diagnosing, .status-repairing { background: #eff6ff; color: #1e40af; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #dbeafe; }
.timeline-item span { display: block; }
.success-panel { text-align: center; }
.success-panel .ref { display: inline-block; font-size: 1.8rem; font-weight: 800; letter-spacing: .08em; padding: 10px 20px; border-radius: 14px; background: #ecfdf3; color: #166534; margin: 8px 0 16px; }

/* ---- Contact ---- */
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .page-hero { padding: 40px 0 36px; } .buttons .btn { flex: 1 1 100%; } .panel { padding: 20px; } }
