/*
Theme Name: SK Courier
Theme URI: https://skcourier.co.uk/
Author: OpenAI
Description: A fast, conversion-focused WordPress theme for UK same-day and express courier services.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sk-courier
*/

:root {
  --sk-ink: #17212b;
  --sk-ink-2: #253342;
  --sk-muted: #667384;
  --sk-bg: #f6f8fb;
  --sk-white: #ffffff;
  --sk-accent: #f3b514;
  --sk-accent-2: #ffca35;
  --sk-green: #15a36d;
  --sk-border: #e4e9ef;
  --sk-radius: 18px;
  --sk-shadow: 0 18px 45px rgba(17, 31, 46, .10);
  --sk-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sk-ink);
  background: var(--sk-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.sk-container { width: min(calc(100% - 32px), var(--sk-container)); margin-inline: auto; }
.sk-section { padding: 86px 0; }
.sk-section--soft { background: var(--sk-bg); }
.sk-section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sk-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9a6b00; }
.sk-section h2, .sk-page-hero h1 { margin: 10px 0 14px; line-height: 1.08; letter-spacing: -.03em; }
.sk-section h2 { font-size: clamp(32px, 4vw, 48px); }
.sk-section-heading p { margin: 0; color: var(--sk-muted); font-size: 18px; }

/* Utility bar */
.sk-topbar { background: #111a23; color: #fff; font-size: 14px; }
.sk-topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sk-topbar__item { display: inline-flex; align-items: center; gap: 8px; opacity: .96; }
.sk-dot { width: 8px; height: 8px; border-radius: 50%; background: #45d694; box-shadow: 0 0 0 4px rgba(69,214,148,.15); }
.sk-topbar a { font-weight: 800; }

/* Header */
.sk-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(228,233,239,.95); backdrop-filter: blur(12px); }
.sk-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sk-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.sk-brand__mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--sk-accent); color: #111; font-size: 15px; font-weight: 950; box-shadow: 0 7px 22px rgba(243,181,20,.28); }
.sk-nav { display: flex; align-items: center; gap: 26px; }
.sk-nav ul { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.sk-nav li { position: relative; }
.sk-nav a { font-size: 15px; font-weight: 750; color: #2e3a47; }
.sk-nav a:hover, .sk-nav .current-menu-item > a, .sk-nav .current-menu-parent > a { color: #9a6b00; }
.sk-nav .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 225px; padding: 12px; display: none; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border: 1px solid var(--sk-border); border-radius: 14px; box-shadow: var(--sk-shadow); }
.sk-nav li:hover > .sub-menu { display: flex; }
.sk-nav .sub-menu a { display: block; padding: 9px 10px; border-radius: 9px; }
.sk-nav .sub-menu a:hover { background: var(--sk-bg); }
.sk-header__actions { display: flex; align-items: center; gap: 10px; }
.sk-mobile-toggle { display: none; border: 0; background: #f3f5f7; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 22px; }

.sk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border-radius: 12px; font-size: 15px; font-weight: 850; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.sk-btn:hover { transform: translateY(-1px); }
.sk-btn--primary { background: var(--sk-accent); color: #111; box-shadow: 0 10px 24px rgba(243,181,20,.24); }
.sk-btn--primary:hover { background: var(--sk-accent-2); }
.sk-btn--dark { background: var(--sk-ink); color: #fff; }
.sk-btn--outline { border-color: #d9e0e7; background: #fff; color: var(--sk-ink); }

/* Hero */
.sk-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fdfbf4 0%, #ffffff 45%, #eef4f8 100%); padding: 74px 0 76px; }
.sk-hero::before { content:""; position:absolute; inset:-220px auto auto -180px; width: 520px; height: 520px; border-radius: 50%; background: rgba(243,181,20,.13); filter: blur(2px); }
.sk-hero__grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; }
.sk-hero__copy h1 { margin: 14px 0 20px; max-width: 720px; font-size: clamp(46px, 6vw, 74px); line-height: .99; letter-spacing: -.055em; }
.sk-hero__copy h1 span { color: #a67500; }
.sk-hero__copy > p { max-width: 660px; margin: 0 0 28px; color: #5d6876; font-size: clamp(18px, 2vw, 21px); }
.sk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.sk-trust-inline { display: flex; flex-wrap: wrap; gap: 18px; color: #44505d; font-weight: 700; font-size: 14px; }
.sk-trust-inline span { display: inline-flex; align-items: center; gap: 7px; }
.sk-tick { color: var(--sk-green); font-weight: 950; }
.sk-hero__visual { position: relative; }
.sk-hero-card { position: relative; padding: 24px; border-radius: 28px; background: #17212b; box-shadow: 0 28px 70px rgba(23,33,43,.22); overflow: hidden; }
.sk-hero-card__label { position: absolute; top: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); padding: 9px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.sk-hero-card__metric { position: absolute; right: 20px; bottom: 20px; z-index: 2; background: var(--sk-accent); color: #111; padding: 14px 16px; border-radius: 16px; box-shadow: 0 15px 32px rgba(0,0,0,.18); }
.sk-hero-card__metric strong { display:block; font-size: 24px; line-height: 1; }
.sk-hero-card__metric span { font-size: 12px; font-weight: 800; }

/* Quote */
.sk-quote-wrap { margin-top: -26px; position: relative; z-index: 3; }
.sk-quote-card { background: #fff; border: 1px solid var(--sk-border); border-radius: 22px; box-shadow: var(--sk-shadow); padding: 30px; }
.sk-quote-card__head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.sk-quote-card h2 { margin: 0; font-size: 31px; }
.sk-quote-card__head p { margin: 3px 0 0; color: var(--sk-muted); }
.sk-form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.sk-field { display: flex; flex-direction: column; gap: 7px; }
.sk-field--wide { grid-column: span 2; }
.sk-field--full { grid-column: 1 / -1; }
.sk-field label { font-size: 13px; font-weight: 850; color: #34404c; }
.sk-field input, .sk-field textarea, .sk-field select { width: 100%; border: 1px solid #dce2e8; background: #fbfcfd; border-radius: 11px; padding: 12px 13px; outline: none; color: var(--sk-ink); transition: border .15s ease, box-shadow .15s ease; }
.sk-field textarea { min-height: 110px; resize: vertical; }
.sk-field input:focus, .sk-field textarea:focus { border-color: #d19b12; box-shadow: 0 0 0 3px rgba(243,181,20,.15); background:#fff; }
.sk-form-submit { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 4px; }
.sk-form-note { color: var(--sk-muted); font-size: 13px; }
.sk-alert { margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; font-weight: 750; }
.sk-alert--success { background: #eaf8f2; color: #126c4e; border: 1px solid #c9eddf; }
.sk-alert--error { background: #fff2f1; color: #9a2d26; border: 1px solid #f1d1ce; }
.sk-hp { position:absolute!important; left:-9999px!important; opacity:0!important; }

/* Cards */
.sk-grid-2 { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.sk-grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.sk-grid-4 { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.sk-card { background:#fff; border:1px solid var(--sk-border); border-radius: var(--sk-radius); padding: 28px; box-shadow: 0 10px 28px rgba(30,42,55,.055); }
.sk-card--dark { background: var(--sk-ink); color:#fff; border-color: var(--sk-ink); }
.sk-card__icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:#fff6d7; font-size:22px; margin-bottom:18px; }
.sk-card h3 { margin:0 0 8px; font-size:22px; line-height:1.2; }
.sk-card p { margin:0; color:var(--sk-muted); }
.sk-card--dark p { color:#cbd5de; }
.sk-card__link { display:inline-flex; margin-top:20px; font-weight:850; color:#926700; }

.sk-service-card { position:relative; min-height: 310px; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; }
.sk-service-card::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 15%, rgba(243,181,20,.28), transparent 32%); pointer-events:none; }
.sk-service-card > * { position:relative; z-index:1; }
.sk-service-card .sk-card__icon { margin-bottom:auto; }

/* Split */
.sk-split { display:grid; grid-template-columns: .95fr 1.05fr; gap: 62px; align-items:center; }
.sk-split__visual { min-height: 500px; border-radius: 28px; background: linear-gradient(145deg,#1d2a36,#0f171f); position:relative; overflow:hidden; box-shadow: var(--sk-shadow); }
.sk-split__visual::before { content:""; position:absolute; width:280px; height:280px; border-radius:50%; background:var(--sk-accent); opacity:.9; right:-80px; top:-70px; }
.sk-road { position:absolute; inset:auto -10% 70px; height:115px; transform:rotate(-8deg); background:#2b3a48; border-top:2px dashed rgba(255,255,255,.55); border-bottom:2px dashed rgba(255,255,255,.2); }
.sk-parcel { position:absolute; width:120px; height:100px; border-radius:15px; background:#f1b91b; left:65px; bottom:80px; box-shadow:0 20px 30px rgba(0,0,0,.22); }
.sk-parcel::before { content:"SK"; position:absolute; inset:0; display:grid; place-items:center; font-weight:950; font-size:28px; color:#111; }
.sk-split__copy h2 { margin-top:10px; }
.sk-check-list { list-style:none; padding:0; margin:26px 0 0; display:grid; gap:14px; }
.sk-check-list li { display:flex; align-items:flex-start; gap:12px; color:#40505e; }
.sk-check-list b { color:var(--sk-ink); }
.sk-check-icon { flex:0 0 26px; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:#e7f8f1; color:#0f8b5d; font-size:14px; font-weight:950; margin-top:2px; }

/* Steps */
.sk-step { position:relative; padding-top: 64px; }
.sk-step__num { position:absolute; top:0; left:0; width:48px; height:48px; border-radius:15px; display:grid; place-items:center; background:var(--sk-accent); color:#111; font-weight:950; }
.sk-step h3 { margin:0 0 7px; }
.sk-step p { margin:0; color:var(--sk-muted); }

/* Coverage */
.sk-coverage { background: #17212b; color:#fff; border-radius:30px; padding:48px; display:grid; grid-template-columns: .86fr 1.14fr; gap:44px; align-items:center; overflow:hidden; position:relative; }
.sk-coverage p { color:#c7d0d9; }
.sk-city-cloud { display:flex; flex-wrap:wrap; gap:10px; }
.sk-city-cloud span { padding:10px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.07); font-weight:750; font-size:14px; }

/* Testimonials */
.sk-stars { color:#d29400; letter-spacing:2px; }
.sk-quote-text { font-size:18px; color:#354351!important; margin:14px 0 18px!important; }
.sk-person { display:flex; align-items:center; gap:12px; font-size:14px; color:var(--sk-muted); }
.sk-person__avatar { width:38px; height:38px; border-radius:50%; background:#edf1f5; display:grid; place-items:center; font-weight:900; color:#34404d; }

/* FAQ */
.sk-faq { max-width:900px; margin:0 auto; display:grid; gap:12px; }
.sk-faq__item { border:1px solid var(--sk-border); border-radius:15px; background:#fff; overflow:hidden; }
.sk-faq__q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:19px 20px; border:0; background:#fff; cursor:pointer; text-align:left; font-weight:850; color:var(--sk-ink); }
.sk-faq__q span:last-child { font-size:24px; font-weight:500; transition: transform .15s ease; }
.sk-faq__a { display:none; padding:0 20px 19px; color:var(--sk-muted); }
.sk-faq__item.is-open .sk-faq__a { display:block; }
.sk-faq__item.is-open .sk-faq__q span:last-child { transform:rotate(45deg); }

/* CTA */
.sk-cta { background:linear-gradient(120deg,#f5bb1b,#ffd65a); border-radius:30px; padding:48px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.sk-cta h2 { margin:0 0 8px; font-size:clamp(30px,4vw,44px); }
.sk-cta p { margin:0; color:#4b3a08; }
.sk-cta__actions { display:flex; flex-wrap:wrap; gap:10px; }

/* Inner pages */
.sk-page-hero { padding:72px 0 62px; background:linear-gradient(135deg,#faf7eb,#fff 50%,#eef4f8); border-bottom:1px solid var(--sk-border); }
.sk-page-hero h1 { font-size:clamp(42px,6vw,66px); max-width:850px; }
.sk-page-hero p { max-width:760px; color:var(--sk-muted); font-size:19px; }
.sk-page-content { padding:70px 0 90px; }
.sk-page-content .entry-content { max-width:900px; margin:auto; }
.entry-content h2 { margin-top:40px; font-size:32px; line-height:1.15; }
.entry-content h3 { margin-top:28px; font-size:23px; }
.entry-content p, .entry-content li { color:#53616f; }
.entry-content ul { padding-left:20px; }
.entry-content .wp-block-button__link { background:var(--sk-accent); color:#111; border-radius:11px; font-weight:850; }

/* Contact */
.sk-contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:28px; align-items:start; }
.sk-contact-panel { background:var(--sk-ink); color:#fff; border-radius:22px; padding:32px; }
.sk-contact-panel p { color:#c7d0d9; }
.sk-contact-item { padding:18px 0; border-bottom:1px solid rgba(255,255,255,.11); }
.sk-contact-item:last-child { border-bottom:0; }
.sk-contact-item small { display:block; color:#9daab6; text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
.sk-contact-item strong { display:block; margin-top:4px; font-size:18px; }

/* Footer */
.sk-footer { background:#111a23; color:#fff; padding:62px 0 24px; }
.sk-footer__grid { display:grid; grid-template-columns:1.45fr 1fr 1fr 1.2fr; gap:38px; }
.sk-footer h4 { margin:0 0 14px; font-size:16px; }
.sk-footer p, .sk-footer a { color:#b8c2cc; font-size:14px; }
.sk-footer a:hover { color:#fff; }
.sk-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.sk-footer__bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:42px; padding-top:22px; display:flex; justify-content:space-between; gap:20px; color:#8f9ca8; font-size:13px; }

@media (max-width: 1024px) {
  .sk-nav { position:fixed; top:120px; left:16px; right:16px; display:none; background:#fff; border:1px solid var(--sk-border); border-radius:16px; padding:18px; box-shadow:var(--sk-shadow); }
  .sk-nav.is-open { display:block; }
  .sk-nav ul { flex-direction:column; align-items:stretch; gap:5px; }
  .sk-nav a { display:block; padding:10px 8px; }
  .sk-nav .sub-menu { position:static; box-shadow:none; border:0; padding:0 0 0 14px; display:flex; min-width:0; }
  .sk-mobile-toggle { display:grid; place-items:center; }
  .sk-header__actions .sk-btn--outline { display:none; }
  .sk-hero__grid, .sk-split, .sk-coverage { grid-template-columns:1fr; }
  .sk-hero__visual { max-width:640px; }
  .sk-form-grid { grid-template-columns:repeat(2,1fr); }
  .sk-grid-4 { grid-template-columns:repeat(2,1fr); }
  .sk-footer__grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 680px) {
  .sk-topbar__inner { min-height:48px; }
  .sk-topbar__item:first-child { display:none; }
  .sk-topbar__inner { justify-content:center; }
  .sk-header__inner { min-height:70px; }
  .sk-brand { font-size:20px; }
  .sk-brand__mark { width:38px; height:38px; border-radius:11px; }
  .sk-header__actions .sk-btn--primary { display:none; }
  .sk-nav { top:112px; }
  .sk-hero { padding:54px 0 58px; }
  .sk-hero__copy h1 { font-size:46px; }
  .sk-hero-card { padding:14px; border-radius:20px; }
  .sk-hero-card__metric { right:12px; bottom:12px; }
  .sk-quote-wrap { margin-top:0; padding-top:18px; }
  .sk-quote-card { padding:22px; border-radius:18px; }
  .sk-quote-card__head { display:block; }
  .sk-form-grid { grid-template-columns:1fr; }
  .sk-field--wide, .sk-field--full, .sk-form-submit { grid-column:auto; }
  .sk-form-submit { display:grid; }
  .sk-form-submit .sk-btn { width:100%; }
  .sk-section { padding:64px 0; }
  .sk-grid-2, .sk-grid-3, .sk-grid-4, .sk-contact-grid { grid-template-columns:1fr; }
  .sk-split { gap:34px; }
  .sk-split__visual { min-height:360px; }
  .sk-coverage { padding:28px; border-radius:22px; }
  .sk-cta { padding:30px; display:block; border-radius:22px; }
  .sk-cta__actions { margin-top:22px; }
  .sk-cta__actions .sk-btn { width:100%; }
  .sk-footer__grid { grid-template-columns:1fr; }
  .sk-footer__bottom { flex-direction:column; }
}
