/*
Theme Name:  Ranger Security
Theme URI:   https://www.rangersecurity.net
Author:      Custom build
Description: Custom WordPress theme for Ranger Security, Houston TX. Hand-coded, no page builder, no framework. Colour system derived from the Ranger Security star badge.
Version:     1.2.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ranger-security
Tags:        security, business, custom-menu, responsive
*/

/* ==========================================================================
   1. Design tokens
   Palette taken from the Ranger Security badge: navy Texas flag centre,
   gold star, red lettering, white field, black ground.
   ========================================================================== */

:root {
  --navy:        #14294B;
  --navy-deep:   #0E1D36;
  --black:       #0B0F17;
  --gold:        #D4AF1F;
  --gold-soft:   #F0CC00;
  --red:         #C41111;
  --red-dark:    #9A0B0B;
  --bone:        #F5F3EF;
  --white:       #FFFFFF;
  --steel:       #5A6472;
  --ink:         #1C2430;
  --fog:         #D8DEE6;
  --green:       #1B6B3A;

  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 23, .06), 0 2px 8px rgba(11, 15, 23, .05);
  --shadow-md: 0 4px 12px rgba(11, 15, 23, .08), 0 12px 32px rgba(11, 15, 23, .07);
  --t: 180ms cubic-bezier(.2, .7, .3, 1);
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy); text-decoration-color: rgba(20, 41, 75, .3); text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--navy);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--fog); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--black);
  padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .88); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--bone { background: var(--bone); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .6rem;
}
.section--bone .eyebrow, .section:not(.section--navy) .eyebrow { color: var(--red); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--steel); font-size: 1.06rem; }
.section--navy .section-head p { color: rgba(255, 255, 255, .78); }

.rule-gold {
  width: 56px; height: 3px;
  background: var(--gold);
  border: 0; margin: 0 0 20px;
}

.grid { display: grid; gap: 24px; }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-soft); color: var(--black); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: var(--white); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   5. Header
   ========================================================================== */

.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  min-height: 40px;
  padding-block: 7px;
}
.topbar a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar__badge {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .7rem;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--fog);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 34%, var(--red) 34%, var(--red) 100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.brand { flex: none; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { max-height: 62px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  white-space: nowrap;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
}
.brand__tag {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: var(--white);
  border: 0;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
  color: var(--navy);
  padding: 10px 0;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--red); }

.header__cta { display: none; }

/* Small phones: the badge plus the full wordmark plus a menu button is more
   than 390px will take, so the lockup steps down. */
@media (max-width: 560px) {
  .header__inner { gap: 12px; padding-block: 10px; }
  .brand { gap: 10px; }
  .brand img { max-height: 46px; }
  .brand__name { font-size: 1.16rem; }
  .brand__tag { font-size: .58rem; letter-spacing: .12em; }
  .nav-toggle { padding: 10px 13px; font-size: .8rem; }
  .topbar { font-size: .74rem; }
  .hero__inner { padding: 60px 0 54px; }
  .section { padding: 54px 0; }
}

@media (max-width: 1079px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-top: 1px solid var(--fog);
    box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 22px;
  }
  .main-nav.is-open { display: block; }
  .main-nav li { border-bottom: 1px solid var(--fog); margin: 0; }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { padding: 15px 0; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .main-nav > ul { display: flex; align-items: center; gap: 18px; }
  .main-nav > ul > li { margin: 0; }
  .main-nav > ul > li > a { position: relative; padding: 26px 0; }
  .main-nav > ul > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 16px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform var(--t);
  }
  .main-nav > ul > li > a:hover::after,
  .main-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); }
  .main-nav .menu-item-has-children.is-open > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .header__cta { display: flex; gap: 10px; flex: none; }
  .header__cta .btn { padding: 13px 18px; font-size: .85rem; }
  .main-nav { margin-left: auto; }
  .main-nav a { font-size: .89rem; }
  .header__cta .btn--outline { display: none; }
}

/* The outline button only appears once the navigation genuinely has room,
   otherwise it squeezes the wordmark into the first menu item. */
@media (min-width: 1400px) {
  .header__cta .btn--outline { display: inline-flex; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .34;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11, 15, 23, .93) 0%, rgba(20, 41, 75, .82) 55%, rgba(20, 41, 75, .55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 88px 0 76px; }
.hero__content { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero__lede {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, .84);
  margin-bottom: 30px;
}
.hero__credentials {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.hero__credentials strong { color: var(--gold); font-weight: 700; }

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 50px;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ==========================================================================
   7. Trust strip and statistics
   ========================================================================== */

.trust-strip {
  background: var(--black);
  border-bottom: 1px solid rgba(212, 175, 31, .32);
}
.trust-strip ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  justify-content: center;
}
.trust-strip li {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 9px;
}
.trust-strip li::before {
  content: ""; width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.stat { text-align: center; padding: 8px 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  display: block;
}
.stat__label {
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}

/* ==========================================================================
   8. Cards
   ========================================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-top-color: var(--red); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .96rem; color: var(--steel); margin-bottom: 0; }
.card__icon {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  color: var(--navy);
}
.card__icon svg { width: 100%; height: 100%; }

.card--flat { border-top-width: 1px; border-top-color: var(--fog); }
.card--flat:hover { transform: none; border-top-color: var(--fog); }

.feature {
  display: flex; gap: 16px;
  padding: 4px 0 18px;
}
.feature__mark {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .95rem;
  border-radius: 50%;
}
.feature h4 { margin-bottom: .25em; color: var(--navy); }
.feature p { font-size: .95rem; color: var(--steel); margin: 0; }

.quote {
  background: var(--white);
  border: 1px solid var(--fog);
  border-left: 4px solid var(--red);
  padding: 26px 26px 22px;
  border-radius: var(--radius);
}
.quote p { font-size: 1rem; font-style: italic; color: var(--ink); }
.quote cite {
  display: block;
  font-style: normal;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
}
.quote__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; font-size: .95rem; }

/* ==========================================================================
   9. Service list (Services page)
   ========================================================================== */

.service-block {
  display: grid;
  gap: 26px;
  padding: 38px 0;
  border-bottom: 1px solid var(--fog);
}
.service-block:last-child { border-bottom: 0; }
@media (min-width: 860px) {
  .service-block { grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
}
.service-block__label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  position: relative;
  padding-top: 14px;
}
.service-block__label::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 42px; height: 3px; background: var(--gold);
}
.service-block ul { padding-left: 1.1em; }
.service-block li { font-size: .96rem; color: var(--steel); }

/* ==========================================================================
   10. Forms
   ========================================================================== */

.form { max-width: 860px; }

.form fieldset {
  border: 0;
  border-top: 1px solid var(--fog);
  margin: 0 0 34px;
  padding: 26px 0 0;
}
.form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.form legend {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  padding: 0 0 4px;
  margin-bottom: 6px;
}
.form legend + .field-note { margin-top: -2px; }

.field-note { font-size: .87rem; color: var(--steel); margin-bottom: 20px; }

.field { margin-bottom: 18px; }

.field-grid { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 20px; }
.field-grid > .field { grid-column: span 6; }

@media (min-width: 700px) {
  .field-grid > .field--c2 { grid-column: span 2; }
  .field-grid > .field--c3 { grid-column: span 3; }
  .field-grid > .field--c4 { grid-column: span 4; }
}

.field-row { display: grid; gap: 18px; }
.field-row > .field { grid-column: auto; }
@media (min-width: 620px) {
  .field-row--2 { grid-template-columns: repeat(2, 1fr); }
  .field-row--3 { grid-template-columns: repeat(3, 1fr); }
}

.field label,
.field > .label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 7px;
}
.field .req { color: var(--red); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field input[type="url"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #B9C2CE;
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 41, 75, .13);
}
.field input[type="file"] { padding: 10px; background: var(--bone); }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.choice {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
}
.choice input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--navy); }

.consent {
  background: var(--bone);
  border: 1px solid var(--fog);
  border-left: 4px solid var(--gold);
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--steel);
}
.consent .choice { color: var(--ink); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-notice {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: .97rem;
  border-left: 4px solid;
}
.form-notice--ok    { background: #EAF5EE; border-color: var(--green); color: #10502A; }
.form-notice--error { background: #FCEBEE; border-color: var(--red);   color: #8A0C21; }
.form-notice p:last-child { margin-bottom: 0; }
.form-notice ul { margin: 8px 0 0; }

/* ==========================================================================
   11. Booking embed
   ========================================================================== */

.booking-frame {
  position: relative;
  border: 1px solid var(--fog);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.booking-frame iframe {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
}
.booking-placeholder {
  padding: 56px 30px;
  text-align: center;
  background: var(--bone);
}
.booking-placeholder h3 { margin-bottom: .4em; }
.booking-placeholder p { margin-inline: auto; color: var(--steel); }

.booking-aside {
  background: var(--navy);
  color: rgba(255, 255, 255, .84);
  padding: 30px 28px;
  border-radius: var(--radius);
}
.booking-aside h3 { color: var(--white); }
.booking-aside a { color: var(--gold); }
.booking-aside .btn--gold { color: var(--black); }
.booking-aside .btn--ghost { color: var(--white); }
.booking-aside ul { list-style: none; padding: 0; margin: 0; }
.booking-aside li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .94rem; }
.booking-aside li:last-child { border-bottom: 0; }

@media (min-width: 1000px) {
  .booking-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
}

/* ==========================================================================
   12. Contact
   ========================================================================== */

.contact-layout { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.25fr 1fr; gap: 52px; } }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 16px 0; border-bottom: 1px solid var(--fog); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list dt,
.info-list .info-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--red); margin-bottom: 5px;
}
.info-list .info-value { font-size: 1.02rem; color: var(--ink); }
.info-list a { text-decoration: none; font-weight: 600; }

.map-embed {
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.map-embed iframe { width: 100%; min-height: 340px; border: 0; }

/* ==========================================================================
   13. Content pages (WYSIWYG output)
   ========================================================================== */

.entry-content > * { max-width: 760px; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img,
.entry-content .wp-block-table { max-width: 100%; }
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--gold);
  font-style: italic;
  color: var(--steel);
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { border: 1px solid var(--fog); padding: 11px 14px; text-align: left; font-size: .95rem; }
.entry-content th { background: var(--navy); color: var(--white); font-weight: 600; }

/* ==========================================================================
   14. Call to action band
   ========================================================================== */

.cta-band {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 62%);
  color: var(--white);
  text-align: center;
  padding: 62px 0;
  border-top: 3px solid var(--gold);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .82); margin-inline: auto; margin-bottom: 28px; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   15. Footer
   ========================================================================== */

.site-footer { background: var(--black); color: rgba(255, 255, 255, .68); font-size: .93rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer__top { padding: 58px 0 40px; display: grid; gap: 34px; }
@media (min-width: 760px)  { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; } }

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer p { font-size: .93rem; }

.footer__brand img { max-height: 74px; margin-bottom: 16px; }
.footer__licence {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid rgba(212, 175, 31, .5);
  color: var(--gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--radius);
}

.footer__pay {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
}
.footer__pay span {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: 5px 10px;
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .72);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom li { margin: 0; }

/* ==========================================================================
   16. Sticky mobile call bar
   ========================================================================== */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -2px 14px rgba(11, 15, 23, .22);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
}
.callbar__call  { background: var(--red);  color: var(--white); }
.callbar__book  { background: var(--gold); color: var(--black); }

@media (min-width: 1080px) { .callbar { display: none; } }
@media (max-width: 1079px) { body { padding-bottom: 54px; } }

/* ==========================================================================
   17. 404 and utility
   ========================================================================== */

.error-404 { text-align: center; padding: 90px 0; }
.error-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--fog);
  line-height: 1;
}

/* ==========================================================================
   18. Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   19. Print
   ========================================================================== */

@media print {
  .site-header, .site-footer, .callbar, .topbar, .cta-band, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ==========================================================================
   20. Navigation dropdown
   ========================================================================== */

.main-nav li { position: relative; }

.main-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1079px) {
  .main-nav .sub-menu {
    padding: 2px 0 8px 14px;
    border-left: 2px solid var(--gold);
    margin: 0 0 10px;
  }
  .main-nav .sub-menu li { border-bottom: 0; }
  .main-nav .sub-menu a { padding: 9px 0; font-weight: 500; font-size: .9rem; color: var(--steel); }
  .main-nav .sub-menu a:hover { color: var(--red); }
}

@media (min-width: 1080px) {
  .main-nav .menu-item-has-children > a::before {
    content: "";
    position: absolute;
    right: -13px;
    top: 50%;
    width: 5px; height: 5px;
    margin-top: -4px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg);
    opacity: .55;
    transition: transform var(--t), opacity var(--t);
  }
  .main-nav .menu-item-has-children:hover > a::before,
  .main-nav .menu-item-has-children:focus-within > a::before {
    opacity: 1;
    transform: rotate(225deg);
    margin-top: -1px;
  }

  .main-nav .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 268px;
    background: var(--white);
    border: 1px solid var(--fog);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
    z-index: 60;
  }
  .main-nav .menu-item-has-children:hover > .sub-menu,
  .main-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav .sub-menu a {
    padding: 11px 20px;
    font-size: .89rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    border-left: 3px solid transparent;
  }
  .main-nav .sub-menu a::after { display: none; }
  .main-nav .sub-menu a:hover {
    background: var(--bone);
    border-left-color: var(--red);
    color: var(--navy);
  }
}

/* ==========================================================================
   21. Split page hero (Services, Booking)
   ========================================================================== */

.page-hero--split .page-hero__grid { display: grid; gap: 26px; align-items: end; }
@media (min-width: 900px) {
  .page-hero--split .page-hero__grid { grid-template-columns: 1fr auto; gap: 48px; }
}

.page-hero__aside {
  text-align: left;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}
.page-hero__stat {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
}
.page-hero__statlabel {
  display: block;
  max-width: 200px;
  margin-top: 8px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

/* ==========================================================================
   22. Services index rows
   ========================================================================== */

.service-row {
  display: grid;
  gap: 18px;
  padding: 40px 0;
  border-top: 1px solid var(--fog);
}
.service-row:first-child { border-top: 0; padding-top: 8px; }

@media (min-width: 860px) {
  .service-row { grid-template-columns: 128px 1fr; gap: 40px; align-items: start; }
}

.service-row__index {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--fog);
  letter-spacing: -.02em;
}

.service-row__icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 14px; }
.service-row h2 { margin-bottom: .3em; }
.service-row h2 a { color: var(--navy); text-decoration: none; }
.service-row h2 a:hover { color: var(--red); }
.service-row__summary { color: var(--steel); font-size: 1.04rem; }

.service-row__points {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: grid;
  gap: 6px 26px;
}
@media (min-width: 700px) { .service-row__points { grid-template-columns: repeat(2, 1fr); } }
.service-row__points li {
  position: relative;
  padding-left: 20px;
  font-size: .95rem;
  color: var(--steel);
  margin: 0;
}
.service-row__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .93rem;
  color: var(--red);
  text-decoration: none;
}
.link-arrow span { transition: transform var(--t); }
.link-arrow:hover span { transform: translateX(4px); }

/* ==========================================================================
   23. Single service page
   ========================================================================== */

.service-hero {
  background: var(--navy);
  background-image: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 68%);
  color: var(--white);
  padding: 52px 0 56px;
  border-bottom: 3px solid var(--gold);
}
.service-hero h1 { color: var(--white); margin-bottom: .3em; }
.service-hero__inner { display: flex; gap: 24px; align-items: flex-start; }
.service-hero__mark {
  flex: none;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.service-hero__mark svg { width: 32px; height: 32px; }
.service-hero__tagline {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 26px;
}
@media (max-width: 640px) {
  .service-hero__inner { flex-direction: column; gap: 18px; }
  .service-hero__mark { width: 54px; height: 54px; }
  .service-hero__mark svg { width: 26px; height: 26px; }
}

.service-layout { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .service-layout { grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
  .service-rail { position: sticky; top: 118px; }
}

.lede { font-size: 1.13rem; line-height: 1.62; color: var(--ink); }

.section-title {
  margin-top: 2em;
  padding-top: 20px;
  border-top: 1px solid var(--fog);
  font-size: 1.55rem;
}

.scope-list { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: scope; }
.scope-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fog);
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
}
.scope-list__num {
  flex: none;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold);
  padding-top: 2px;
  min-width: 26px;
}


.rail-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 20px;
}
.rail-card h3 { font-size: 1.15rem; margin-bottom: .6em; }
.rail-card--dark {
  background: var(--navy);
  border-color: var(--navy);
  border-top-color: var(--gold);
  color: rgba(255, 255, 255, .82);
}
.rail-card--dark h3 { color: var(--white); }
.rail-card--dark p { font-size: .94rem; color: rgba(255, 255, 255, .78); }
.rail-card__cta { width: 100%; margin-top: 10px; }
.rail-card--dark .btn--ghost { color: var(--white); }

.rail-facts { margin: 0; }
.rail-facts dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 14px;
}
.rail-facts dt:first-child { margin-top: 0; }
.rail-facts dd { margin: 4px 0 0; font-size: .98rem; color: var(--ink); }

.tick-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  padding: 18px 18px;
  font-size: .95rem;
  color: var(--ink);
}
.tick-card__mark { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.tick-card__mark svg { width: 100%; height: 100%; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--fog);
  border-radius: 40px;
  background: var(--white);
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.chip svg { width: 17px; height: 17px; color: var(--gold); }
.chip:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.chip:hover svg { color: var(--gold); }

/* ==========================================================================
   24. Split call to action
   ========================================================================== */

.cta-split {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 64%);
  color: var(--white);
  padding: 52px 0;
  border-top: 3px solid var(--gold);
}
.cta-split__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) {
  .cta-split__inner { grid-template-columns: 1fr auto; gap: 48px; }
}
.cta-split h2 { color: var(--white); margin-bottom: .35em; }
.cta-split p { color: rgba(255, 255, 255, .8); margin: 0; }

.btn--lg { padding: 18px 34px; font-size: 1.02rem; }
.btn--lg svg { width: 20px; height: 20px; }

/* ==========================================================================
   25. Steps
   ========================================================================== */

.step { padding-top: 6px; }
.step__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; margin-bottom: .4em; }
.step p { font-size: .95rem; color: rgba(255, 255, 255, .76); margin: 0; }
.section:not(.section--navy) .step__num { border-color: var(--navy); color: var(--navy); }
.section:not(.section--navy) .step p { color: var(--steel); }

/* ==========================================================================
   26. Service areas page
   ========================================================================== */

.areas-hero {
  background: var(--black);
  background-image: linear-gradient(140deg, var(--black) 0%, var(--navy) 88%);
  color: var(--white);
  padding: 56px 0 50px;
  border-bottom: 3px solid var(--gold);
}
.areas-hero h1 { color: var(--white); margin-bottom: .3em; }
.areas-hero__lede { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 66ch; }
.areas-hero__counties {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 0;
  margin: 26px 0 0;
}
.areas-hero__counties li {
  margin: 0;
  border: 1px solid rgba(212, 175, 31, .45);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

.area-primary { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .area-primary { grid-template-columns: 1fr 1fr; gap: 52px; } }

.area-primary__plaque {
  background: var(--navy);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 44px 34px;
  text-align: center;
}
.area-primary__num {
  display: block;
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 1;
  color: var(--gold);
}
.area-primary__label {
  display: block;
  margin: 14px auto 0;
  max-width: 22ch;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}

.area-list { display: grid; gap: 0; }
@media (min-width: 820px) { .area-list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }

.area-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--fog);
}
.area-item__index {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  padding-top: 4px;
  min-width: 26px;
}
.area-item h3 { font-size: 1.22rem; margin-bottom: .35em; }
.area-item p { font-size: .95rem; color: var(--steel); margin-bottom: 10px; }
.area-item__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 40px;
  padding: 5px 12px;
}

.response-band { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .response-band { grid-template-columns: 260px 1fr; gap: 56px; } }
.response-band__figure { text-align: center; border-right: 1px solid rgba(255, 255, 255, .16); }
@media (max-width: 899px) { .response-band__figure { border-right: 0; text-align: left; } }
.response-band h2 { color: var(--white); }
.response-band p { color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   27. Booking panel
   ========================================================================== */

.booking-panel {
  background: var(--white);
  border: 1px solid var(--fog);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.booking-panel__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: var(--navy);
}
.booking-panel__head h2 { color: var(--white); font-size: 1.5rem; margin: 0 0 .2em; }
.booking-panel__head p { color: rgba(255, 255, 255, .74); font-size: .93rem; margin: 0; }
.booking-panel__badge {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.booking-panel__badge svg { width: 24px; height: 24px; }

.booking-steps { list-style: none; margin: 0; padding: 26px 28px 6px; }
.booking-steps li { display: flex; gap: 16px; padding-bottom: 22px; margin: 0; }
.booking-steps__num {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--bone);
  border: 1px solid var(--fog);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--navy);
}
.booking-steps h3 { font-size: 1.08rem; margin-bottom: .25em; }
.booking-steps p { font-size: .94rem; color: var(--steel); margin: 0; }

.booking-panel__cta {
  padding: 24px 28px 30px;
  border-top: 1px solid var(--fog);
  background: var(--bone);
}
.booking-panel__cta .btn { width: 100%; }
.booking-panel__note {
  margin: 14px 0 0;
  font-size: .84rem;
  color: var(--steel);
  text-align: center;
}

.booking-alt {
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px dashed var(--fog);
  border-radius: var(--radius);
}
.booking-alt h3 { font-size: 1.15rem; margin-bottom: .35em; }
.booking-alt p { font-size: .95rem; color: var(--steel); }

/* ==========================================================================
   28. Card link affordance
   ========================================================================== */

.card--link h3 a { text-decoration: none; color: var(--navy); }
.card--link:hover h3 a { color: var(--red); }
.card__more {
  display: inline-block;
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
}

/* ==========================================================================
   29. Logo sizing
   Constrain by width, never by height alone. A max-height with an intrinsic
   width attribute leaves the width untouched and squashes the badge, which is
   exactly what went wrong in the footer.
   ========================================================================== */

.brand__logo {
  width: auto;
  height: 58px;
  max-width: 68px;
  object-fit: contain;
}

.footer__logo {
  width: auto;
  height: 92px;
  max-width: 108px;
  object-fit: contain;
  margin-bottom: 18px;
}

@media (max-width: 560px) {
  .brand__logo { height: 46px; max-width: 54px; }
}

/* ==========================================================================
   30. Call button with handset icon
   ========================================================================== */

.btn--call { gap: 9px; }
.btn--call svg { width: 17px; height: 17px; flex: none; }
.btn--call span { display: inline-block; }

.callbar a svg { width: 16px; height: 16px; }

/* ==========================================================================
   31. Hero slider
   ========================================================================== */

.hero-slider {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.hero-slider__track { position: relative; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.04);
  transition: transform 9s ease-out;
}
.hero-slide.is-active .hero-slide__media { transform: scale(1); }

/* The supplied banners are already dark on the left, so the scrim only needs
   to deepen that side rather than flatten the whole photograph. */
.hero-slide__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,15,23,.94) 0%, rgba(11,15,23,.86) 32%, rgba(11,15,23,.42) 58%, rgba(11,15,23,.12) 100%),
    linear-gradient(180deg, rgba(11,15,23,.35) 0%, rgba(11,15,23,0) 42%);
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-block: 86px 96px;
}
.hero-slide__content { max-width: 610px; }

.hero-slide__eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  padding-left: 44px;
  position: relative;
}
.hero-slide__eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 30px; height: 2px;
  background: var(--gold);
}

.hero-slide__heading {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: .45em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}

.hero-slide__text {
  font-size: 1.08rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, .84);
  margin-bottom: 30px;
  max-width: 54ch;
}

.hero-slide__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.hero-slide__credentials strong { color: var(--gold); font-weight: 700; }

/* Slider controls */
.hero-slider__ui {
  position: absolute;
  left: 0; right: 0;
  bottom: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-slider__arrow {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(11, 15, 23, .4);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.hero-slider__arrow:hover { background: var(--red); border-color: var(--red); }

.hero-slider__dots { display: flex; gap: 10px; }

.hero-slider__dot {
  position: relative;
  width: 46px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  overflow: hidden;
}
.hero-slider__dot-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--gold);
  border-radius: 2px;
}
.hero-slider__dot.is-active .hero-slider__dot-fill { width: 100%; }
.hero-slider.is-playing .hero-slider__dot.is-active .hero-slider__dot-fill {
  animation: rs-dot 6.5s linear forwards;
}
@keyframes rs-dot { from { width: 0; } to { width: 100%; } }

@media (max-width: 760px) {
  .hero-slide__inner { min-height: 480px; padding-block: 64px 92px; }
  .hero-slide__scrim {
    background:
      linear-gradient(180deg, rgba(11,15,23,.82) 0%, rgba(11,15,23,.9) 60%, rgba(11,15,23,.95) 100%);
  }
  .hero-slider__ui { justify-content: center; bottom: 18px; }
  .hero-slider__arrow { width: 38px; height: 38px; }
  .hero-slider__dot { width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide__media { transform: none; transition: none; }
  .hero-slider__dot-fill { animation: none !important; }
}

/* ==========================================================================
   32. Trust strip with partner badge
   ========================================================================== */

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 14px 0;
}
.trust-strip__inner ul { padding: 0; }

.trust-strip__partner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.trust-strip__partner img {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  flex: none;
}
.trust-strip__partner span {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  max-width: 15ch;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .trust-strip__partner { padding-left: 0; border-left: 0; }
  .trust-strip__inner { justify-content: center; }
}

/* ==========================================================================
   33. Payment marks
   ========================================================================== */

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.pay__text {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
}
.pay__glyph { width: 22px; height: 14px; flex: none; }

.footer__partner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--t), background var(--t);
}
.footer__partner:hover { border-color: var(--gold); background: rgba(255, 255, 255, .04); }
.footer__partner img {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  flex: none;
}
.footer__partner span { display: block; font-size: .78rem; line-height: 1.45; color: rgba(255, 255, 255, .68); }
.footer__partner strong { display: block; color: var(--white); font-size: .88rem; }

/* ==========================================================================
   34. Footer bottom bar with credit
   ========================================================================== */

.footer__bottom { align-items: center; }
.footer__bottom-left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

.footer__credit {
  margin-left: auto;
  font-size: .8rem;
  color: rgba(255, 255, 255, .44);
  letter-spacing: .02em;
}
.footer__credit a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 31, .35);
  padding-bottom: 1px;
}
.footer__credit a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

@media (max-width: 700px) {
  .footer__credit { margin-left: 0; }
}

/* ==========================================================================
   35. Banner backed page heroes
   ========================================================================== */

/* The banner sits in ::before and the scrim in ::after. Both stay above the
   element background, otherwise the section's own colour paints over the
   photograph and the banner never appears. */
.page-hero--image,
.service-hero,
.areas-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--black);
  background-image: none;
}

.page-hero--image > *,
.service-hero > *,
.areas-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero--image::before,
.service-hero::before,
.areas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--rs-banner);
  background-size: cover;
  background-position: center right;
}

.page-hero--image::after,
.service-hero::after,
.areas-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,15,23,.94) 0%, rgba(11,15,23,.88) 44%, rgba(20,41,75,.5) 70%, rgba(20,41,75,.18) 100%);
}

.page-hero--image { padding: 72px 0 66px; }
.service-hero { padding: 66px 0 70px; }
.areas-hero { padding: 70px 0 62px; }

@media (max-width: 760px) {
  .page-hero--image::after,
  .service-hero::after,
  .areas-hero::after {
    background: linear-gradient(180deg, rgba(11,15,23,.86) 0%, rgba(20,41,75,.92) 100%);
  }
}

/* ==========================================================================
   36. FAQ, premium accordion
   ========================================================================== */

.faq {
  border-top: 1px solid var(--fog);
  margin-top: 20px;
}

.faq__group-title {
  border-top: 0;
  margin: 0;
  padding: 0 0 14px;
  font-size: .78rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
}
.faq__group-title + .faq__item { border-top: 1px solid var(--fog); }

.faq__item {
  border-bottom: 1px solid var(--fog);
  transition: background var(--t);
}
.faq__item[open] { background: var(--bone); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 20px 20px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background var(--t);
}
.faq__item[open] summary::before { background: var(--gold); }
.faq__item summary:hover { background: var(--bone); }

.faq__q {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}
.faq__item[open] .faq__q { color: var(--red); }

.faq__icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  border: 1px solid var(--fog);
  border-radius: 50%;
  background: var(--white);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: opacity var(--t), background var(--t);
}
.faq__icon::before { width: 10px; height: 1.6px; }
.faq__icon::after  { width: 1.6px; height: 10px; }
.faq__item[open] .faq__icon { border-color: var(--gold); background: var(--gold); }
.faq__item[open] .faq__icon::after { opacity: 0; }
.faq__item[open] .faq__icon::before { background: var(--black); }

.faq__body {
  padding: 0 22px 22px 20px;
  animation: rs-faq-in 220ms ease;
}
.faq__body p {
  margin: 0;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 74ch;
}
@keyframes rs-faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .faq__body { animation: none; }
}

/* FAQ page layout */
.faq-layout { display: grid; gap: 38px; }
@media (min-width: 980px) {
  .faq-layout { grid-template-columns: 300px 1fr; gap: 52px; align-items: start; }
  .faq-rail { position: sticky; top: 118px; }
}

.faq-nav { list-style: none; margin: 0; padding: 0; }
.faq-nav li { margin: 0; border-bottom: 1px solid var(--fog); }
.faq-nav li:last-child { border-bottom: 0; }
.faq-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.faq-nav a:hover { color: var(--red); }
.faq-nav span {
  font-size: .72rem;
  font-weight: 700;
  color: var(--steel);
  background: var(--bone);
  border-radius: 20px;
  padding: 3px 9px;
}

.faq-group { margin-bottom: 44px; scroll-margin-top: 120px; }
.faq-group:last-child { margin-bottom: 0; }

/* ==========================================================================
   37. Horizontal slider (testimonials)
   ========================================================================== */

.slider { position: relative; }

.slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.slider__viewport::-webkit-scrollbar { display: none; }

.slider__track {
  display: flex;
  gap: 24px;
  padding: 4px 2px;
}

.slider__item {
  flex: 0 0 auto;
  width: min(360px, 82vw);
  scroll-snap-align: start;
  margin: 0;
}

.slider__ui {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.slider__arrow {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fog);
  background: var(--white);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), opacity var(--t);
}
.slider__arrow:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider__arrow:disabled { opacity: .32; cursor: default; }
.slider.is-static .slider__ui { display: none; }

@media (prefers-reduced-motion: reduce) {
  .slider__viewport { scroll-behavior: auto; }
}

/* ==========================================================================
   38. Taller inner page banners
   The supplied artwork is 1920x800. Giving the band more height lets more of
   the photograph show instead of cropping it to a thin strip.
   ========================================================================== */

.page-hero--image { padding: 104px 0 96px; min-height: 380px; }
.service-hero     { padding: 96px 0 100px; min-height: 400px; }
.areas-hero       { padding: 100px 0 92px; min-height: 380px; }

.page-hero--image,
.service-hero,
.areas-hero { display: flex; align-items: center; }

.page-hero--image > .wrap,
.service-hero > .wrap,
.areas-hero > .wrap { width: 100%; }

@media (max-width: 900px) {
  .page-hero--image { padding: 72px 0 64px; min-height: 300px; }
  .service-hero     { padding: 66px 0 68px; min-height: 300px; }
  .areas-hero       { padding: 70px 0 62px; min-height: 300px; }
}

/* ==========================================================================
   39. Pulsing call to action
   A slow ring rather than a blink. It draws the eye without the nagging
   quality of something flashing, and it stops the moment you hover so the
   button feels solid when you go to click it.
   ========================================================================== */

.btn--call { position: relative; overflow: visible; }

.btn--call::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(196, 17, 17, .55);
  animation: rs-pulse 2.4s cubic-bezier(.3, 0, .2, 1) infinite;
}

.btn--call:hover::after,
.btn--call:focus-visible::after { animation-play-state: paused; box-shadow: none; }

/* Ring colour follows the button, so it never clashes on dark panels. */
.btn--gold.btn--call::after  { box-shadow: 0 0 0 0 rgba(212, 175, 31, .6); animation-name: rs-pulse-gold; }
.btn--ghost.btn--call::after { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); animation-name: rs-pulse-light; }
.btn--outline.btn--call::after { box-shadow: 0 0 0 0 rgba(20, 41, 75, .4); animation-name: rs-pulse-navy; }

@keyframes rs-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(196, 17, 17, .55); }
  70%  { box-shadow: 0 0 0 14px rgba(196, 17, 17, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 17, 17, 0); }
}
@keyframes rs-pulse-gold {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 31, .6); }
  70%  { box-shadow: 0 0 0 14px rgba(212, 175, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 31, 0); }
}
@keyframes rs-pulse-light {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes rs-pulse-navy {
  0%   { box-shadow: 0 0 0 0 rgba(20, 41, 75, .4); }
  70%  { box-shadow: 0 0 0 14px rgba(20, 41, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 41, 75, 0); }
}

/* The handset gives a small nudge on the same cycle. */
.btn--call svg { animation: rs-ring 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
.btn--call:hover svg { animation-play-state: paused; }

@keyframes rs-ring {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-11deg); }
  72% { transform: rotate(9deg); }
  78% { transform: rotate(-6deg); }
  84% { transform: rotate(0); }
}

/* The sticky mobile bar earns a gentle attention pulse too. */
.callbar__call { position: relative; }
.callbar__call::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .16);
  opacity: 0;
  animation: rs-bar 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rs-bar {
  0%, 78%, 100% { opacity: 0; }
  86% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--call::after,
  .btn--call svg,
  .callbar__call::before { animation: none !important; box-shadow: none !important; opacity: 0; }
}

/* ==========================================================================
   40. Header uses the full width
   The 1200px content column left a visible gutter beside the badge while the
   navigation was fighting for room. The header, top bar and footer now run to
   a wider container so the lockup sits near the edge and the menu breathes.
   ========================================================================== */

.topbar .wrap,
.site-header .wrap,
.footer .wrap {
  max-width: 1560px;
  padding-inline: 34px;
}

@media (max-width: 1100px) {
  .topbar .wrap,
  .site-header .wrap,
  .footer .wrap { padding-inline: 24px; }
}

/* With the extra room the second button fits far sooner. */
@media (min-width: 1180px) {
  .header__cta .btn--outline { display: inline-flex; }
}

@media (min-width: 1080px) {
  .main-nav > ul { gap: 20px; }
  .main-nav a { font-size: .9rem; }
}

@media (min-width: 1360px) {
  .main-nav > ul { gap: 26px; }
}

/* ==========================================================================
   41. Blog
   ========================================================================== */

.post-lead {
  display: grid;
  gap: 30px;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--fog);
}
@media (min-width: 900px) {
  .post-lead { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
}

.post-lead__media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border-top: 3px solid var(--gold);
  line-height: 0;
}
.post-lead__media img { width: 100%; height: auto; transition: transform 500ms ease; }
.post-lead__media:hover img { transform: scale(1.03); }

.post-lead h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .35em; }
.post-lead h2 a { color: var(--navy); text-decoration: none; }
.post-lead h2 a:hover { color: var(--red); }
.post-lead__excerpt { color: var(--steel); font-size: 1.04rem; }

.post-grid { align-items: start; }

.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__media { display: block; line-height: 0; overflow: hidden; }
.post-card__media img { width: 100%; height: auto; transition: transform 500ms ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card > :not(.post-card__media) { padding-inline: 26px; }
.post-card > :first-child:not(.post-card__media) { padding-top: 28px; }
.post-card > :last-child { padding-bottom: 28px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card:hover h3 a { color: var(--red); }

.post-card__meta,
.post-hero__meta {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.post-hero__meta { color: var(--gold); margin: 0; }

.post-figure { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; line-height: 0; }
.post-figure img { width: 100%; height: auto; }

.post-content { font-size: 1.06rem; }
.post-content > * { max-width: 70ch; }
.post-content h2 { font-size: 1.6rem; margin-top: 1.7em; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li { margin-bottom: .5em; }

.post-nav {
  display: grid;
  gap: 16px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--fog);
}
@media (min-width: 700px) { .post-nav { grid-template-columns: repeat(2, 1fr); } }

.post-nav__link {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  transition: border-color var(--t), background var(--t);
}
.post-nav__link:hover { border-color: var(--navy); background: var(--bone); }
.post-nav__link span {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.post-nav__link--next { text-align: right; }

/* Pagination */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.pagination .page-numbers:hover { border-color: var(--navy); background: var(--bone); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ==========================================================================
   42. Mobile fixes
   ========================================================================== */

/* The sticky call bar lost its label on tap.
   The global `a:hover { color: var(--red) }` rule is a class plus an element,
   which out-specifies `.callbar__call` on its own. On a touch screen the tap
   fires :hover, so the white label turned red on a red background and looked
   like it had vanished. Every state is now stated explicitly. */

.callbar__call,
.callbar__call:link,
.callbar__call:visited,
.callbar__call:hover,
.callbar__call:focus,
.callbar__call:active {
  color: var(--white);
  background: var(--red);
}
.callbar__call:active { background: var(--red-dark); }

.callbar__book,
.callbar__book:link,
.callbar__book:visited,
.callbar__book:hover,
.callbar__book:focus,
.callbar__book:active {
  color: var(--black);
  background: var(--gold);
}
.callbar__book:active { background: var(--gold-soft); }

/* Buttons carry their own colours, so they must never inherit the generic
   link hover either. This stops the same class of bug appearing elsewhere. */
.btn:hover,
.btn:focus,
.btn:active { text-decoration: none; }

.btn--primary:hover, .btn--primary:focus, .btn--primary:active { color: var(--white); }
.btn--gold:hover,    .btn--gold:focus,    .btn--gold:active    { color: var(--black); }
.btn--ghost:hover,   .btn--ghost:focus,   .btn--ghost:active   { color: var(--white); }

/* The open menu could not be scrolled, so anything past the fold, Contact in
   an eight item menu, was unreachable. It is now a scrolling panel sized to
   the visible viewport, with room at the bottom to clear the call bar. */

@media (max-width: 1079px) {
  .main-nav {
    max-height: calc(100vh - 168px);
    max-height: calc(100dvh - 168px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  /* A hairline fade so it is obvious there is more below. */
  .main-nav::after {
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: 28px;
    margin-top: -28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
    pointer-events: none;
  }

  /* Bigger tap targets while we are here. */
  .main-nav a { padding: 16px 0; }
  .main-nav .sub-menu a { padding: 12px 0; }
}

/* The call bar sits above the safe area on phones with a home indicator. */
.callbar a { padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 1079px) {
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
}
