/*
Theme Name: Fix My TPMS Multipage
Theme URI: https://fixmytpms.co.uk/
Author: OpenAI
Description: Multi-page custom WordPress theme for Fix My TPMS.
Version: 2.0
Text Domain: fixmytpms
*/

:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #111111;
  --panel-2: #151515;
  --line: rgba(255, 138, 0, 0.18);
  --text: #f7f7f7;
  --muted: #bbbbbb;
  --accent: #ff8a00;
  --accent-2: #ffb347;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(255, 138, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,138,0,.08), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(255,138,0,.05), transparent 20%),
    linear-gradient(180deg, #040404 0%, #090909 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(5,5,5,.9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(255,138,0,.03);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,138,0,.35));
}

.brand-name { line-height: .9; }
.brand-name small {
  display: block;
  color: var(--text);
  font-size: 1rem;
}
.brand-name strong {
  display: block;
  color: var(--accent);
  font-size: 2rem;
}

.menu, .menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: .96rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a:hover,
.menu li.current-menu-item > a,
.menu li.current_page_item > a {
  color: var(--accent);
}

.top-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 2px solid var(--accent);
  border-radius: 18px;
  color: var(--accent);
  font-weight: 900;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0 4px;
}

.hero, .article-hero, .blog-hero, .page-hero { padding: 48px 0 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  text-transform: uppercase;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

h1, .article-title, .blog-title, .page-title {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .95;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -2px;
}

h1 .top { color: var(--text); display:block; }
h1 .bottom,
.article-title span,
.blog-title span,
.page-title span,
.section-title span { color: var(--accent); }

.hero h2, .page-subtitle {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.subline {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  margin-bottom: 16px;
}

.lead, .article-lead, .blog-lead, .page-lead {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto 26px auto;
}

.page-hero-inner, .blog-hero-inner, .article-hero-inner { text-align:center; max-width: 860px; margin:0 auto; }

.hero-actions, .cta-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.hero .hero-actions { justify-content: flex-start; }

.btn-primary, .btn-secondary, .back-link {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 2px solid var(--accent);
  transition: .2s ease;
}

.btn-primary { background: var(--accent); color: #111; }
.btn-secondary, .back-link { color: var(--accent); background: transparent; }
.btn-primary:hover, .btn-secondary:hover, .back-link:hover { transform: translateY(-1px); }

.hero-card {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background:
    radial-gradient(circle at center, rgba(255,138,0,.13), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-ring {
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 2px solid rgba(255,138,0,.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 40px rgba(255,138,0,.08), 0 0 120px rgba(255,138,0,.08);
}

.hero-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-symbol img {
  width: min(320px, 78%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255,138,0,.7));
}

.section { padding: 26px 0; }

.section-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
}

.services, .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card, .panel, .blog-card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.service-card { text-align: center; }

.icon-box {
  width: 130px;
  height: 130px;
  border-radius: 26px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: rgba(255,138,0,.05);
  border: 2px solid rgba(255,138,0,.24);
  color: var(--accent);
  overflow: hidden;
}

.icon-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(255,138,0,.35));
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.95rem;
  text-transform: uppercase;
  font-weight: 900;
}

.service-card p, .mini-note, .blog-card p, .article-content, .cta-panel p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.list li {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tick {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,138,0,.12);
  color: var(--accent);
  font-weight: 900;
  flex: 0 0 auto;
}

.contact-panel-full { width: 100%; }
.contact-form { margin-top: 12px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-group label {
  font-weight: 700;
  color: var(--text);
  font-size: .98rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-actions { margin-top: 8px; }

.blog-grid, .article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.blog-card h2, .article-content h2 {
  color: var(--text);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 14px;
}
.article-content h3 {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 26px 0 10px;
}
.article-content p { margin: 0 0 18px; }
.article-content ul { margin: 0 0 18px 0; padding-left: 22px; }
.article-content li { margin-bottom: 10px; }

.highlight-box {
  margin: 24px 0;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,138,0,.18);
  background: rgba(255,138,0,.05);
  color: var(--text);
}
.highlight-box strong { color: var(--accent); }

.blog-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
  transition: .2s ease;
}
.blog-read:hover { transform: translateY(-1px); }

.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0 44px;
  color: #999;
  text-align: center;
  margin-top: 26px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 999;
  transition: 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

@media (max-width: 980px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #050505;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 100;
  }
  .menu.active { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .services, .split, .cards-3 { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    min-height: 74px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
  }
  .brand {
    width: auto;
    justify-content: flex-start;
    gap: 10px;
  }
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .brand-mark img {
    width: 24px;
    height: 24px;
  }
  .brand-name strong { font-size: 1.5rem; }
  .brand-name small { font-size: .9rem; }
  .top-buttons {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .call-btn {
    padding: 12px 14px;
    font-size: .96rem;
    min-height: auto;
  }
}
