/*
Theme Name: Controlled Services
Description: Lean custom theme for controlledservices.co.uk — code-registered ACF blocks, no page builder. Pixel-matched to the original Elementor design.
Author: W Web Design
Version: 1.1.0
Text Domain: cs
*/

:root {
  --cs-bg: #f7fafc;              /* page background (pale blue-grey) */
  --cs-card-bg: #ffffff;
  --cs-text: #2d3748;           /* default text */
  --cs-muted: #7a7a7a;          /* body copy grey */
  --cs-heading: #54595f;        /* section / page headings */
  --cs-heading-dark: #1a202c;   /* "Our Services" headline */
  --cs-primary: #1e73be;        /* brand blue (buttons, links) */
  --cs-primary-dark: #156fbf;
  --cs-topbar: #2b6cb0;         /* top contact bar */
  --cs-nav: #215387;            /* nav link colour */
  --cs-footer-bg: #f2f2f2;
  --cs-border: #e5e5e5;
  --cs-content-max: 1140px;
  --cs-header-height: 84px;
  --cs-font-body: "Montserrat", -apple-system, sans-serif;
  --cs-font-heading: "Roboto Condensed", "Montserrat", sans-serif;
  --cs-font-nav: "Roboto", "Montserrat", sans-serif;
  --cs-radius: 0px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--cs-font-body);
  font-size: 17px;
  color: var(--cs-text);
  background: var(--cs-bg);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky footer: main grows to fill, footer pins to the viewport bottom on short pages */
.cs-main { flex: 1 0 auto; }
.cs-footer { flex-shrink: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cs-font-heading);
  font-weight: 500;
  color: var(--cs-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.5em; }

a { color: var(--cs-primary); text-decoration: none; }
a:hover { color: var(--cs-primary-dark); }

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

.cs-container {
  max-width: var(--cs-content-max);
  margin: 0 auto;
  padding: 0 20px;
}

.cs-main { min-height: 40vh; }

.cs-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--cs-primary);
  color: #fff;
  border: 2px solid var(--cs-primary);
  border-radius: 4px;
  font-family: var(--cs-font-nav);
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cs-btn:hover { background: var(--cs-primary-dark); border-color: var(--cs-primary-dark); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
