/* 

Theme name: Quiz
Author: Roodee
Version: 1.4

*/

:root{
  --container: 900px;
  --pad-x: 24px;

  --header-grad-a: #1c1f24; /* deep charcoal */
  --header-grad-b: #3a4048; /* cool steel grey */
  --text: #ffffff;
  --nav: #093055;
  --nav-w: 320px;
  --radius: 999px;

  --cta: #789a59;
}
/* Content links (main content areas only) */
.site-main__inner a{
  color: var(--cta);
  text-decoration: none;
  text-underline-offset: 4px;
  font-weight: normal;
}

.site-main__inner a:hover,
.site-main__inner a:focus-visible{
  text-decoration: none;
}

/* Fonts */
@font-face {
  font-family: 'Lato-Hairline';
  src: url('/wp-content/themes/quiz/fonts/Lato-Hairline.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato-Black';
  src: url('/wp-content/themes/quiz/fonts/Lato-Black.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato-Bold';
  src: url('/wp-content/themes/quiz/fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body{
  font-family: 'Lato-Hairline', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
}

html, body{
  margin: 0;
  padding: 0;
}

/* ===== Header ===== */

.site-header{
  color: var(--text);
  background: var(--text);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--cta);
}

/* 20px bottom fade */
.site-header::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08),
    rgba(0,0,0,0)
  );
}

/* Desktop layout:
   logo left, nav centred, phone right
   all vertically centred in header */
.site-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x) 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* Logo */
.site-header__brand{
  display: flex;
  align-items: center;
}

.site-header__logo-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.site-header .custom-logo{
  display: block;
  height: 150px;
  width: auto;
}

.site-header__site-name{
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 18px;
}

/* Nav wrapper (centred column) */
.site-header__actions{
  justify-self: center;
  display: flex;
  align-items: center;
}

/* Desktop nav */
.site-nav{
  display: flex;
  align-items: center;
}

.site-nav__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}

.site-nav__list a{
  color: var(--nav);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ===== Dropdown menus (desktop hover + mobile click) ===== */

.site-nav__list > li{
  position: relative;
}

.site-nav__list .menu-item-has-children > a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-nav__list .menu-item-has-children > a::after{
  content: "▾";
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(1px);
  opacity: 1;
}

.site-nav__list .menu-item-open > a::after{
  transform: translateY(1px) rotate(180deg);
}

/* Submenu base: no margin/padding while closed */
.site-nav__list .sub-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  pointer-events: none;

  transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
  transform: translateY(0);
  border-radius: 0;
}

/* Mobile open state (click) */
.site-nav__list .menu-item-open > .sub-menu{
  max-height: 600px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 6px;
  padding: 0;
}

.site-nav__list .sub-menu a{
  text-decoration: none;
  display: block;
  font-size: 14px;
  border-radius: 0;
}

/* Desktop: hover dropdown */
@media (min-width: 901px){

  /* Hover bridge so submenu stays open while moving mouse */
  .site-nav__list > li.menu-item-has-children::after{
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 14px;
    background: transparent;
  }

  .site-nav__list .sub-menu{
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 240px;
    z-index: 2000;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    transform: translateY(14px);
  }

  .site-nav__list > li.menu-item-has-children:hover > .sub-menu,
  .site-nav__list > li.menu-item-has-children:focus-within > .sub-menu{
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list .sub-menu a{
    background: #ffffff;
    color: var(--nav);
    font-weight: 400;
    padding: 12px 14px;
  }

  .site-nav__list .sub-menu li + li > a{
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .site-nav__list .sub-menu a:hover,
  .site-nav__list .sub-menu a:focus-visible{
    background: rgba(0,0,0,0.03);
    text-decoration: none;
  }
}

/* Mobile submenu inside off-canvas */
@media (max-width: 900px){
  .site-nav__list > li{
    width: 100%;
  }

  .site-nav__list .sub-menu{
    position: static;
    transform: none;
    background: var(--cta);
  }

  .site-nav__list .sub-menu a{
    color: #ffffff;
    font-weight: 600;
    padding: 10px 14px 10px 24px;
    text-decoration: none !important;
  }

  .site-nav__list .sub-menu .current-menu-item > a,
  .site-nav__list .sub-menu .current_page_item > a,
  .site-nav__list .sub-menu .current-menu-ancestor > a,
  .site-nav__list .sub-menu .current-menu-parent > a{
    text-decoration: none !important;
  }
}

/* Phone CTA (right column) */
.site-header__cta{
  justify-self: end;
  white-space: nowrap;
}

.cta-mobile{
  display: none;
}

/* Hamburger button (hidden on desktop) */
.site-header__toggle{
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  justify-self: end;
}

.site-header__toggle:focus-visible{
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 2px;
}

.hamburger{
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #093055;
  position: relative;
  border-radius: var(--radius);
}

.hamburger::before,
.hamburger::after{
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #093055;
  border-radius: var(--radius);
}

.hamburger::before{ top: -7px; }
.hamburger::after{ top: 7px; }

/* Overlay */
.site-nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3) !important;
  z-index: 999;
}

/* Close button (only used on mobile off-canvas) */
.site-nav__close{
  display: none;
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.site-nav__close:focus-visible{
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 2px;
}

/* ===== Main content area ===== */

.site-main{
  background: #ffffff;
}

.site-main__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--pad-x);
}

.site-main__inner > *:first-child{
  margin-top: 0;
}

.site-main__inner p{
  line-height: 1.6;
}

.site-main__inner h1,
.site-main__inner h2,
.site-main__inner h3{
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  font-family: 'Lato-Bold';
}

/* Standard pages: 65/35 layout */
.page-layout{
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.page-layout__main{
  flex: 0 0 65%;
  min-width: 0;
}

.page-layout__info{
  flex: 0 0 35%;
  min-width: 0;
}

/* Smooth scrolling for anchor links */
html{
  scroll-behavior: smooth;
}

/* Flashing animation: on 0.75s, off 0.25s */
@keyframes livePulse{
  0%   { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ===== Hero ===== */

.hero{
  position: relative;
  width: 100%;
  height: 750px;
  max-height: 100vh;
  overflow: hidden;
}

.hero__box{
  max-width: 70%;
}

.hero__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__media--image{
  background-size: cover;
  background-position: center;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,.38);
}

.hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  color: #fff;
}

.hero__box{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__h2{
  margin: 0;
  font-weight: 800;
  font-size: 60px;
  line-height: 1.08;
  font-family: 'Lato-Bold', system-ui, sans-serif;
}

.hero__p{
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  max-width: 720px;
}

.hero__cta{
  display: inline-block;
  background: var(--cta);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
}

.hero__cta:hover,
.hero__cta:focus-visible{
  filter: brightness(.95);
}

.hero__rating{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
}

.hero__rating-text{
  opacity: 0.95;
}

.hero__google-g{
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.hero__stars{
  color: #fbbc04;
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 1;
}

/* ===== Home band under hero ===== */
.home-band{
  width: 100%;
  background: #f7f7f4; /* very slightly off-white */
}

.home-band__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--pad-x);
}

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

.home-band__col{
  position: relative;
  padding: 6px 18px;
}

.home-band__h3{
  margin: 0 0 8px;
  font-family: 'Lato-Bold', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #111827;
}

.home-band__p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(17,24,39,.78);
}

.home-band__col p{
  line-height: 1.6;
  margin: 0.6em 0 0;
}

/* faint vertical divider (50% height, vertically centred) */
.home-band__col:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(0,0,0,0.10);
}
/* ===== Content image sizing helpers ===== */

/* Default large image: full container */
.wp-block-image img,
.entry-content img{
  max-width: 100%;
  height: auto;
}

/* Medium image: 60% width, centred */
img.size-spire-medium{
  display: block;
  width: 60%;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

/* Small image: 30% width, centred */
img.size-spire-small{
  display: block;
  width: 30%;
  max-width: 30%;
  margin-left: auto;
  margin-right: auto;
}

/* Content CTA (fix vertical centring) */
a.content-cta{
  display: inline-grid !important;
  place-items: center !important;
  height: 46px !important;
  padding: 0px 22px 10px !important;     /* NO vertical padding */
  box-sizing: border-box !important;
  background: var(--cta) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-family: 'Lato-Bold', system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 0.5 !important;      /* keep tight */
  white-space: nowrap !important;
}
a.content-cta:hover,
a.content-cta:focus-visible{
  filter: brightness(.95);
  text-decoration: none;
}

/* Keyboard focus outline (consistent with other CTAs) */
a.content-cta:focus-visible{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

.steps-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.step-card{
  background: #fff;
  border: 1px solid rgba(9,48,85,.14);
  border-radius: 16px;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.step-num{
  color: #093055;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1px;
}

.step-body{
  display: flex;
  align-items: center;
}

.step-text{
  margin: 0;
  color: rgba(0,0,0,.85);
  font-size: 16px;
  line-height: 1.45;
}

.step-link{
  color: #093055;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(9,48,85,.25);
}

.step-link:hover{
  border-bottom-color: rgba(9,48,85,.6);
}

/* ===== Three Bands template ===== */

.spire-band{
  width: 100%;
  padding: 54px 0;
}

.spire-band__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.spire-band__grid{
  display: grid;
  gap: 28px;
  align-items: center;
}

.spire-band__grid--two{
  grid-template-columns: 1fr 1fr;
}

.spire-band__grid--one{
  grid-template-columns: 1fr;
}

.spire-band__col > *:first-child{
  margin-top: 0;
}

/* Background colours (edit these three to your preferred palette) */
.spire-band--one{
  background: #ffffff;
}

.spire-band--two{
  background: #F2FBF4;
}

.spire-band--three{
  background: #ffffff;
}

/* Media column helpers */
.spire-band__col--media img{
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Section 2 list: 2 columns on desktop, 1 on mobile */
.spire-band--two ul{
  columns: 2;
  column-gap: 34px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.spire-band--two li{
  break-inside: avoid;
	list-style: none;
  margin: 0 0 10px;
  padding-left: 30px;         /* space for the tick icon */
  position: relative;
}

.spire-band--two li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;                 /* aligns tick with first line */
  color: var(--tick, #7f9960);/* uses your cmp-apple tick if present */
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}

/* Button (supports your <a class="btn btn-white">...) */
.btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Lato-Bold', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  line-height: 1;
}

.btn-white{
  background: #ffffff;
  color: var(--nav);
  border: 1px solid rgba(9,48,85,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.btn-white:hover,
.btn-white:focus-visible{
  filter: brightness(.98);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 900px){

  .spire-band{
    padding: 38px 0;
  }

  .spire-band__grid--two{
    grid-template-columns: 1fr;
  }

  /* Ensure Section 1: image comes AFTER text on mobile (already does)
     Section 3: keep image first then text (already does) */
  .spire-band--two ul{
    columns: 1;
  }
	  .spire-band--three .spire-band__grid--two{
    display: flex;
    flex-direction: column;
  }

  /* if your markup is image then text, this flips them on mobile */
  .spire-band--three .spire-band__col--media{
    order: 2;
  }

  .spire-band--three .spire-band__col:not(.spire-band__col--media){
    order: 1;
  }
}

@media (max-width: 900px){
  .steps-cards{
    grid-template-columns: 1fr;
  }
  .step-card{
    grid-template-columns: 52px 1fr;
  }
  .step-num{
    font-size: 40px;
  }
}



/* Mobile: stack */
@media (max-width: 900px){
  .home-band__cols{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-band__col{
    padding: 10px 0;
  }

  .home-band__col:not(:last-child)::after{
    display: none;
  }

  .home-band__h3{
    font-size: 17px;
  }
}

.index-below-reviews{
  margin-top: 28px;
}


/* ===== Contact page panels ===== */

.contact-panels{
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.contact-panels__left{
  width: 30%;
}

.contact-panels__right{
  width: 70%;
}

/* Critical fix: remove top margin from first rendered content */
.contact-panels__left *:first-child,
.contact-panels__right *:first-child{
  margin-top: 0;
}

/* ===== Contact Form 7 (Spire layout – Complete CSS) ===== */

:root{
  --cta: #789a59;   /* CTA green */
  --nav: #093055;   /* navigation blue */
}

/* Outer wrapper */
.wpcf7 .spire-form{
  max-width: 760px;
  margin: 0 auto;
  padding: 38px 34px 34px;
  background: var(--nav);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  position: relative;
}

/* Header */
.wpcf7 .spire-form__head{
  text-align: center;
  margin-bottom: 22px;
}

.wpcf7 .spire-form__title{
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  font-family: 'Lato-Bold', system-ui, sans-serif;
  font-weight: 600;
  color: #fff;
}

.wpcf7 .spire-form__sub{
  margin: 0;
  font-size: 18px;
  opacity: .9;
}

/* Grid */
.wpcf7 .spire-form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.wpcf7 .spire-field{ margin: 0; }
.wpcf7 .spire-field--full{ grid-column: 1 / -1; }

/* Hide labels */
.wpcf7 .spire-field label{ display: none !important; }

/* Ensure CF7 wrappers behave */
.wpcf7 .spire-form .wpcf7-form-control-wrap{ display:block; }

/* Inputs + Select */
.wpcf7 .spire-form input[type="text"],
.wpcf7 .spire-form input[type="email"],
.wpcf7 .spire-form input[type="tel"],
.wpcf7 .spire-form input[type="date"],
.wpcf7 .spire-form textarea,
.wpcf7 .spire-form select{
  width: 100%;
  box-sizing: border-box;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: #fff;
  color: #0f172a;
  font: inherit;
  line-height: 1.4;
  outline: 0;
  appearance: none;
}

/* Select caret */
.wpcf7 .spire-form select{
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15,23,42,.55) 50%),
    linear-gradient(135deg, rgba(15,23,42,.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Date field (same height) */
.wpcf7 .spire-form .spire-date{
  min-height: 48px;
}

/* Textarea */
.wpcf7 .spire-form textarea{
  min-height: 170px;
  resize: vertical;
}

/* Focus states */
.wpcf7 .spire-form input:focus,
.wpcf7 .spire-form textarea:focus,
.wpcf7 .spire-form select:focus{
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 0 0 4px rgba(120,154,89,.25);
}

/* Placeholder text */
.wpcf7 .spire-form ::placeholder{
  color: rgba(15,23,42,.55);
}

/* Privacy */
.wpcf7 .spire-privacy{
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}

.wpcf7 .spire-privacy .wpcf7-form-control-wrap{ display:inline; }

.wpcf7 .spire-privacy label{
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-weight: 400;
}

.wpcf7 .spire-privacy input[type="checkbox"]{
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--cta);
}

.wpcf7 .spire-privacy a{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Submit Button */
.wpcf7 .spire-actions{
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.wpcf7 .spire-form input[type="submit"]{
  background: var(--cta);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  line-height: 1;
}

.wpcf7 .spire-form input[type="submit"]:hover,
.wpcf7 .spire-form input[type="submit"]:focus-visible{
  filter: brightness(.95);
}

.wpcf7 .spire-form input[type="submit"]:focus-visible{
  outline: 2px solid rgba(255,255,255,.5);
  outline-offset: 2px;
}

/* Validation + Response */
.wpcf7-not-valid-tip{
  font-size: 12.5px;
  margin-top: 8px;
  color: #ffe08a;
}

.wpcf7-response-output{
  margin: 16px 0 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid rgba(120,154,89,.45);
  background: rgba(255,255,255,.92);
  color: var(--cta) !important;
}

/* Locations template grid */
.locations-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-card {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.location-card__thumb {
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.06);
  display: block;
  overflow: hidden;
}

.location-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-card__body {
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px !important; /* override theme */
}

.location-card__body > *:first-child {
  margin-top: 0 !important;
}
.location-card__body > *:last-child {
  margin-bottom: 0 !important;
}

.location-card__title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1;
	font-size: 1.1rem;   /* smaller */
}

.location-card__title a {
  color: #000 !important;
  text-decoration: none;
}
.location-card__title a:hover,
.location-card__title a:visited {
  color: #000 !important;
}

.location-card__more {
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
	font-size: 0.9rem;   /* smaller */
}

/* Youtube Responsive centered iframe wrapper */
.site-main__inner iframe {
  display: block;
  margin: 20px auto;
  max-width: 100%;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin: 40px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.comparison-table thead th {
  background: #093055;
  color: #fff;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.comparison-table thead th:first-child {
  background: transparent;
  box-shadow: none;
}

.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 500;
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-size: 1.2rem;
}

.tick {
  color: #7f9960;
  font-weight: 700;
  font-size: 1.3rem;
}

.dash {
  color: #ccc;
  font-weight: 600;
  font-size: 1.2rem;
}

.price-row td {
  font-weight: 700;
  font-size: 1.1rem;
  background: #f7f9fb;
}

/* Screen-reader only utility */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.cmp-apple{
  --blue:#093055;
  --tick:#7f9960;
  --dash:#cfd6de;
  --line: rgba(9, 48, 85, .14);           /* faint outline */
  --rowA: rgba(9, 48, 85, .028);          /* alternating rows */
  --rowB: rgba(9, 48, 85, .012);
  --glass: rgba(255,255,255,.72);

  margin: 44px 0;
}

.cmp-apple__table{
  width:100%;
  border-collapse: separate;
  border-spacing:0;
  background: #fff;
  border: 1px solid var(--line);          /* faint outline */
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 10px 30px rgba(0,0,0,.06);
}

/* Header */
.cmp-apple__table thead th{
  padding: 18px 18px;
  font-weight: 600;
  letter-spacing: .2px;
  text-align: center;
  background: var(--blue);
  color:#fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.cmp-apple__table thead th:first-child{
  text-align:left;
  width: 52%;
  background:
    linear-gradient(180deg, rgba(9,48,85,.0), rgba(9,48,85,.0)),
    transparent;
  color: transparent; /* visually blank */
  border-bottom: 1px solid var(--line);
}

/* Column dividers in header for crispness */
.cmp-apple__table thead th:not(:first-child){
  border-left: 1px solid rgba(255,255,255,.14);
}

/* Body rows */
.cmp-apple__table tbody tr:nth-child(odd){
  background: var(--rowA);
}
.cmp-apple__table tbody tr:nth-child(even){
  background: var(--rowB);
}

.cmp-apple__table tbody th,
.cmp-apple__table tbody td{
  padding: 16px 18px;
  border-bottom: 1px solid rgba(9, 48, 85, .08);
}

.cmp-apple__table tbody tr:last-child th,
.cmp-apple__table tbody tr:last-child td{
  border-bottom: 0;
}

.cmp-apple__table tbody th{
  text-align:left;
  font-weight: 560;
  color: rgba(0,0,0,.88);
}

/* Center value columns + add subtle vertical dividers */
.cmp-apple__table tbody td{
  text-align:center;
  width: 24%;
  border-left: 1px solid rgba(9, 48, 85, .08);
}

/* Icons */
.cmp-apple__icon{
  display:inline-grid;
  place-items:center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(127,153,96,.12);
  color: var(--tick);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 1px 0 rgba(0,0,0,.04);
}

.cmp-apple__dash{
  display:inline-grid;
  place-items:center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(207,214,222,.22);
  color: var(--dash);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

/* Price row */
.cmp-apple__price{
  background:
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.55));
}
.cmp-apple__price th,
.cmp-apple__price td{
  padding-top: 18px;
  padding-bottom: 18px;
}

.cmp-apple__priceval{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(9, 48, 85, .10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  font-weight: 700;
  color: rgba(0,0,0,.9);
}

/* Green CTA row */
.cmp-apple__cta th,
.cmp-apple__cta td {
  background: #7f9960;
  border-bottom: 0 !important;
  padding: 0;
  text-align: center;
}

/* Simple white CTA links */
.cmp-apple__cta-link {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.2px;
  transition: opacity 0.2s ease;
}

.cmp-apple__cta-link:hover {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile: single column */
@media (max-width: 900px){
  .wpcf7 .spire-form{
    padding: 32px 18px 22px;
    border-radius: 16px;
  }

  .wpcf7 .spire-form__title{
    font-size: 32px;
  }

  .wpcf7 .spire-form__grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== Footer ===== */

.site-footer{
  color: var(--text);
  background: linear-gradient(90deg, var(--header-grad-a), var(--header-grad-b));
}

.site-footer__divider{
  height: 1px;
  background: rgba(255,255,255,.22);
}

/* Base inner wrapper */
.site-footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
}

/* Top footer: 3 columns in required order
   1) Address left
   2) Nav centred between
   3) Social right */
.site-footer__inner--top{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  column-gap: 40px;
  padding-top: 22px;
  padding-bottom: 22px;
}

/* 1) Address */
.site-footer__brand{
  justify-self: start;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__address{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0.95;
}

.site-footer__copyright{
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* 2) Footer nav (left aligned text, but column centred) */
.site-footer__nav{
  justify-self: center;
  text-align: left;
}

.site-footer__nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer__nav-list a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.02em;
}

.site-footer__nav-list a:hover,
.site-footer__nav-list a:focus-visible{
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* 3) Social */
.site-footer__social{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.icon-link{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}

.icon-link:hover,
.icon-link:focus-visible{
  background: rgba(255,255,255,.18);
  outline: none;
}

/* Bottom footer */
.site-footer__inner--bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 18px;
}

.site-footer__links{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-footer__links a,
.site-footer__credit a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer__links a:hover,
.site-footer__credit a:hover,
.site-footer__links a:focus-visible,
.site-footer__credit a:focus-visible{
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer__credit{
  margin-left: auto;
}

/* ===== Mobile ===== */

@media (max-width: 900px){

  /* Header mobile */
  .site-header__inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .site-header__brand{ order: 1; }

  .site-header__toggle{
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .cta-desktop{ display: none; }
  .cta-mobile{ display: inline; }

  .site-header__cta{
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .site-header__actions{ order: 4; width: auto; }

  /* Off-canvas panel */
  .site-nav{
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(var(--nav-w), 86vw);
    padding: 22px;
    background: var(--cta);
    transform: translateX(110%);
    transition: transform 260ms ease;
    z-index: 1000;
    box-shadow: -18px 0 40px rgba(0,0,0,.35);
  }

  .nav-is-open .site-nav{ transform: translateX(0); }

  .site-nav__close{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 16px;
  }

  .site-nav__list{
    flex-direction: column;
    gap: 14px;
  }

  .site-nav__list a{
    font-size: 16px;
    display: inline-block;
    padding: 10px 8px;
    color: #ffffff;
  }

  /* Main padding mobile */
  .site-main__inner{
    padding: 32px var(--pad-x);
  }

  .page-layout{
    flex-direction: column;
  }

  .page-layout__main,
  .page-layout__info{
    flex: 0 0 auto;
    width: 100%;
  }

  .wpcf7 form{
    max-width: 100%;
  }
	
	.contact-panels{
    flex-direction: column;
  }
  .contact-panels__left,
  .contact-panels__right{
    flex: 0 0 auto;
    width: 100%;
  }

  /* Hero mobile */
  .hero{
    position: relative;
    overflow: hidden;
    height: 520px;
  }

  .hero__box{
    max-width: 100%;
  }

  .hero__h2{ font-size: 40px; }
  .hero__p{ font-size: 18px; }

  .hero__stars{
    font-size: 16px;
    letter-spacing: 1.5px;
  }
.home-band__cols{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-band__col{
    padding: 10px 0;
  }

  .home-band__col:not(:last-child)::after{
    display: none;
  }

  .home-band__h3{
    font-size: 17px;
  }

	.comparison-table td,
  .comparison-table th {
    padding: 12px;
    font-size: 0.95rem;
  }
	.cmp-apple__table thead th:first-child{ width:auto; }
  .cmp-apple__table tbody th{ font-weight: 540; }
	
  .site-footer__inner--top{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 16px;
    column-gap: 0;
  }

  .site-footer__brand{
    order: 4;
    justify-self: center;
    text-align: center;
    align-items: center;
  }

  .site-footer__nav{
    order: 1;
    justify-self: center;
    text-align: center;
    width: 100%;
  }

  .site-footer__nav-list{
    justify-items: center;
    gap: 8px;
  }

  .site-footer__social{
    order: 2;
    justify-self: center;
  }

  .site-footer__inner--bottom{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .site-footer__links{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .site-footer__credit{
    margin-left: 0;
  }
 .wpcf7 .spire-form{
    padding: 28px 18px 22px;
    border-radius: 16px;
  }
  .wpcf7 .spire-form__title{ font-size: 30px; }
  .wpcf7 .spire-form__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
	.cmp-apple{ margin: 32px 0; }
  .cmp-apple__table{ border-radius: 14px; }
  .cmp-apple__table thead th{ padding: 14px 12px; font-size: .98rem; }
  .cmp-apple__table tbody th,
  .cmp-apple__table tbody td{ padding: 12px; }
  .cmp-apple__icon, .cmp-apple__dash{ width: 30px; height: 30px; }
}