/* MR Heating & Cooling – Under Construction
   Brand colours taken from the archived site (Aug 2025) */
:root {
  --navy: #18456e;       /* logo background */
  --navy-dark: #0f2f4d;
  --red: #e92f32;        /* brand red  */
  --red-dark: #c8262a;
  --blue: #318cdd;       /* brand blue */
  --blue-dark: #2575bd;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.14);
}

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

html, body { margin: 0; height: 100%; }

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--white);
  /* Top stays exactly --navy so the logo's built-in background blends in */
  background:
    radial-gradient(ellipse at 0% 100%, rgba(233, 47, 50, 0.20), transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(49, 140, 221, 0.30), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy) 25%, var(--navy-dark) 100%);
  background-color: var(--navy);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Hot-to-cold strip across the top */
.temp-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), #f2686a, #8fbdea, var(--blue));
  background-size: 200% 100%;
  animation: flow 6s ease-in-out infinite alternate;
  z-index: 10;
}

@keyframes flow {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

.wrap {
  max-width: 960px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
}

/* Logo */
header { display: flex; justify-content: center; }

.logo {
  width: min(420px, 100%);
  height: auto;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(233, 47, 50, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(233, 47, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 47, 50, 0); }
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hot  { color: var(--red); }
.cold { color: var(--blue); }

.lead {
  max-width: 560px;
  margin: 0 0 36px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
}

/* Buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn-red  { background: var(--red);  box-shadow: 0 8px 24px rgba(233, 47, 50, 0.35); }
.btn-blue { background: var(--blue); box-shadow: 0 8px 24px rgba(49, 140, 221, 0.35); }

.btn-red:hover  { background: var(--red-dark);  transform: translateY(-2px); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* Services */
.services ul {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.services li {
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

footer p { margin: 0; }

footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover { color: var(--blue); }
footer svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 560px) {
  .wrap { padding: 36px 16px 24px; }
  .btn { width: 100%; justify-content: center; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .temp-bar, .dot { animation: none; }
  .btn { transition: none; }
}
