/*
Theme Name: Stansted Airport Taxi Network
Theme URI: https://skywayscars.co.uk
Author: Skyways Cars
Description: Lightweight bridge landing page for Stansted Airport Taxi Network — redirects quote/book traffic to Skyways Cars.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stansted-taxi-network
*/

:root {
  --navy: #123e7c;
  --blue: #1c5cab;
  --ink: #0b1526;
  --muted: #5b6b82;
  --line: #d5dee9;
  --bg: #f4f7fb;
  --white: #ffffff;
  --ok: #0f7a4c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}

.stn-wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.stn-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.stn-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.stn-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.stn-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.stn-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #123e7c, #1c5cab);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.stn-brand-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.2;
}

.stn-brand-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.stn-header-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.stn-btn:hover {
  transform: translateY(-1px);
}

.stn-btn-primary {
  background: var(--navy);
  color: #fff !important;
}

.stn-btn-secondary {
  background: #fff;
  color: var(--navy) !important;
  border-color: var(--line);
}

.stn-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.stn-btn-whatsapp {
  background: #128c7e;
  color: #fff !important;
}

.stn-hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  padding: 3.5rem 0 3rem;
  color: #fff;
  background: #0a1628 center / cover no-repeat;
  overflow: hidden;
}

.stn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 18, 36, 0.92) 0%, rgba(8, 18, 36, 0.7) 48%, rgba(8, 18, 36, 0.42) 100%),
    linear-gradient(0deg, rgba(8, 18, 36, 0.55), transparent 48%);
}

.stn-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  max-width: 40rem;
}

.stn-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.stn-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 4.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.stn-lede {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
}

.stn-operated {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.88);
}

.stn-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.stn-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stn-pills li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
}

.stn-section {
  padding: 3rem 0;
}

.stn-section.alt {
  background: #fff;
}

.stn-section h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.stn-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 42rem;
}

.stn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.stn-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.stn-section.alt .stn-card {
  background: var(--bg);
}

.stn-card h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.02rem;
}

.stn-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stn-contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.stn-contact-panel {
  background: linear-gradient(135deg, #0f2f66, #123e7c 55%, #1c5cab);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
}

.stn-contact-panel h2 {
  color: #fff;
}

.stn-contact-panel p {
  color: rgba(255, 255, 255, 0.9);
}

.stn-contact-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.stn-contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}

.stn-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}

.stn-side-card ul {
  margin: 0.75rem 0 1.1rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
}

.stn-side-card li {
  margin: 0.35rem 0;
}

.stn-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem 0 5.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stn-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.stn-footer a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}

.stn-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(7, 28, 69, 0.18);
  padding: 1rem 1.1rem;
  display: none;
}

.stn-cookie.is-visible {
  display: block;
}

.stn-cookie p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.stn-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stn-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 18, 36, 0.62);
}

.stn-modal.is-open {
  display: flex;
}

.stn-modal-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.stn-modal-card h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.stn-modal-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.stn-modal-countdown {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--ok);
  font-weight: 700;
}

.stn-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.stn-privacy {
  padding: 2.5rem 0 4rem;
}

.stn-privacy h1 {
  color: var(--navy);
  margin: 0 0 1rem;
}

.stn-privacy h2 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.15rem;
}

.stn-privacy p,
.stn-privacy li {
  color: var(--muted);
}

@media (max-width: 800px) {
  .stn-grid,
  .stn-contact {
    grid-template-columns: 1fr;
  }

  .stn-brand-text strong {
    font-size: 0.86rem;
  }

  .stn-header-actions .stn-btn {
    min-height: 2.45rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 520px) {
  .stn-brand-text span {
    display: none;
  }
}
