/* ========================================
   DESIGN SYSTEM — Jovie Service Page
   ======================================== */

@font-face {
  font-family: 'Relative Book Bold';
  src: url('https://www.jovie.com/app/uploads/2022/12/Relative-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Helvetica Bold';
  src: url('https://www.jovie.com/app/uploads/2022/12/Helvetica-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Relative Book';
  src: url('https://www.jovie.com/app/uploads/2022/12/Relative-Book.ttf') format('truetype');
}

:root {
  --orange: #F16B22;
  --orange-dark: #d95b15;
  --orange-light: rgba(241,107,34,0.1);
  --navy: #1A475E;
  --navy-light: #236278;
  --text: #5A5758;
  --text-dark: #000000;
  --text-secondary: #54595F;
  --text-muted: #888888;
  --bg: #FFFFFF;
  --bg-light: #F3F3F3;
  --bg-warm: #F3EFEE;
  --border: #E1E0E5;
  --border-light: #ECEBED;
  --teal: #8CD5DF;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-sm: 5px;
  --radius-lg: 12px;
  --radius-pill: 25px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --font: 'Helvetica', sans-serif;
  --font-heading: 'Helvetica Bold', sans-serif;
  --font-accent: 'Relative Book Bold', sans-serif;
  --max-width: 1340px;
  --content-gap: 32px;
  --rail-width: 260px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ========================================
   HEADER
   ======================================== */

#header-1 { margin: 0 auto; }
#header-1 a { text-decoration: none; color: inherit; }
#nav-1 ul { display: flex; padding: 0; margin: 0; width: auto !important; margin-left: 0 !important; justify-content: flex-end !important; gap: 8px; }
#nav-1 ul li { display: inline-block; width: auto !important; }
#nav-1 ul li a {
  font-family: 'Relative Book Bold', Sans-serif !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  text-transform: capitalize !important;
  color: rgb(26, 71, 94) !important;
  white-space: nowrap;
  width: auto !important;
  margin: 0 !important;
  padding: 0 12px !important;
}
#a-1 span,
#a-2 span,
#a-3 span {
  font-family: 'Relative Book Bold', Sans-serif;
}
#div-7 { width: 100% !important; }
#nav-1 { width: 100% !important; }

body.page-location-service-template .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
  font-family: var(--font-accent);
}

body.page-location-service-template .btn:hover {
  text-decoration: none;
}

body.page-location-service-template .btn-primary {
  background: var(--orange);
  color: #fff;
}

body.page-location-service-template .btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
}

body.page-location-service-template .btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}

body.page-location-service-template .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ========================================
   BREADCRUMB
   ======================================== */

body.page-location-service-template .breadcrumb-wrap {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

body.page-location-service-template .breadcrumb-inner {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 15px;
}

body.page-location-service-template .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  list-style: none;
  flex-wrap: wrap;
}

body.page-location-service-template .breadcrumb a {
  color: var(--text);
}

body.page-location-service-template .breadcrumb a:hover {
  color: var(--orange);
}

body.page-location-service-template .breadcrumb .sep {
  color: var(--text-muted);
  font-size: 11px;
}

body.page-location-service-template .breadcrumb .current {
  color: var(--orange);
  font-weight: 500;
}

/* ========================================
   PAGE HEADER
   ======================================== */

body.page-location-service-template .page-header-wrap {
  background: #8CD5DF;
}

body.page-location-service-template .page-header {
  max-width: 1550px;
  margin: 0 auto;
  padding: 48px 15px;
  color: #5A5758;
}

body.page-location-service-template .page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  font-family: var(--font-heading);
}

body.page-location-service-template .page-header .sub {
  font-size: 16px;
  line-height: 26px;
  color: #5A5758;
  max-width: 680px;
}

/* ========================================
   MAIN LAYOUT
   ======================================== */

body.page-location-service-template .main-wrap {
  max-width: 1550px;
  margin: 0 auto;
  padding: 32px 40px 64px;
  display: grid;
  grid-template-columns: 1fr var(--rail-width);
  gap: var(--content-gap);
  align-items: start;
}

body.page-location-service-template .content-col {
  flex: 1;
  min-width: 0;
}

body.page-location-service-template .right-rail {
  width: var(--rail-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 20px;
  align-self: start;
}

/* Ensure no ancestor breaks position: sticky on the right rail
   (any overflow/transform on a sticky ancestor breaks the sticking). */
body.page-location-service-template .main-wrap {
  position: relative;
  overflow: visible !important;
  isolation: isolate;
}
body.page-location-service-template .right-rail {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 20px !important;
  align-self: start !important;
  height: fit-content;
  overflow-y: auto;
}

/* Belt-and-braces: force html/body to allow sticky on this template */
body.page-location-service-template,
html:has(body.page-location-service-template) {
  overflow: visible !important;
  overflow-x: clip !important;
}

/* ========================================
   RIGHT RAIL — Services Nav
   ======================================== */

body.page-location-service-template .rail-box {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

body.page-location-service-template .rail-box-header {
  background: var(--navy);
  padding: 16px 18px 12px;
  border-bottom: none;
}

body.page-location-service-template .rail-box-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-family: var(--font-accent);
}

body.page-location-service-template .rail-box-header .sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

body.page-location-service-template .services-nav {
  list-style: none;
}

body.page-location-service-template .services-nav li {
  border-bottom: 1px solid var(--border-light);
}

body.page-location-service-template .services-nav li:last-child {
  border-bottom: none;
}

body.page-location-service-template .services-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
}

body.page-location-service-template .services-nav a:hover {
  background: var(--bg-light);
  color: var(--orange);
  text-decoration: none;
}

body.page-location-service-template .services-nav .active a {
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
  border-left: 3px solid var(--orange);
}

body.page-location-service-template .services-nav .divider {
  border-bottom: 1px solid var(--border);
  margin: 0;
  padding: 0;
  height: 0;
}

/* ========================================
   RIGHT RAIL — Why Families Choose Jovie
   ======================================== */

body.page-location-service-template .rail-box-orange .rail-box-header {
  background: var(--navy);
  border-bottom: none;
}

body.page-location-service-template .rail-box-orange .rail-box-header h3 {
  color: #fff;
}

body.page-location-service-template .why-list {
  list-style: none;
  padding: 14px 16px;
}

body.page-location-service-template .why-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  line-height: 1.5;
}

body.page-location-service-template .why-list li:last-child {
  border-bottom: none;
}

body.page-location-service-template .why-list strong {
  color: var(--text-dark);
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

body.page-location-service-template .why-list span {
  color: var(--text);
  font-size: 12px;
}

/* ========================================
   RIGHT RAIL — Contact
   ======================================== */

body.page-location-service-template .contact-box-body {
  padding: 16px 18px;
}

body.page-location-service-template .contact-box-body .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

body.page-location-service-template .contact-info {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

body.page-location-service-template .contact-info a {
  color: var(--orange);
}

body.page-location-service-template .contact-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

body.page-location-service-template .contact-btn:hover {
  background: var(--navy-light);
  color: #fff;
  text-decoration: none;
}

/* ========================================
   CONTENT — Service Intro
   ======================================== */

body.page-location-service-template .section {
  margin-bottom: 40px;
  padding: 0 25px;
}

body.page-location-service-template .section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
  font-family: var(--font-heading);
}

body.page-location-service-template .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

body.page-location-service-template .intro-text p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
}

body.page-location-service-template .intro-text .note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

body.page-location-service-template .intro-text .note a {
  font-weight: 600;
}

body.page-location-service-template .intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

body.page-location-service-template .intro-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================================
   CONTENT — Contact Form
   ======================================== */

body.page-location-service-template .form-section {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
}

body.page-location-service-template .form-section .form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 6px;
  font-family: var(--font-accent);
}

body.page-location-service-template .form-section h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #5a5758;
}

body.page-location-service-template .form-section .form-intro {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 26px;
}

body.page-location-service-template .form-group {
  margin-bottom: 18px;
}

body.page-location-service-template .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

body.page-location-service-template .form-group label .req {
  color: var(--orange);
}

body.page-location-service-template .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

body.page-location-service-template .radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}

body.page-location-service-template .radio-group label:hover {
  border-color: var(--orange);
}

body.page-location-service-template .radio-group input[type="radio"] {
  accent-color: var(--orange);
}

body.page-location-service-template .radio-group input[type="radio"]:checked + span {
  color: var(--orange);
  font-weight: 500;
}

body.page-location-service-template .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

body.page-location-service-template .form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s;
}

body.page-location-service-template .form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241,107,34,0.1);
}

body.page-location-service-template .form-input::placeholder {
  color: var(--text-muted);
}

body.page-location-service-template .form-submit {
  margin-top: 8px;
}

body.page-location-service-template .form-submit .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

body.page-location-service-template .form-legal {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ========================================
   CONTACT FORM — Gravity Forms, scoped to .services-gf wrapper
   ============================================================

   GF #6 is wrapped in <div class="services-gf"> from contact-form.php.
   Every rule here is prefixed with:
     body.page-location-service-template .services-gf .gform_wrapper
   for a 4-class specificity chain. Combined with !important on the
   conflicting properties, this beats the .single_gf_form snippet rules
   (loaded site-wide from elementor-snippets) which set floating absolute
   labels, pill-shaped grey inputs, and a navy uppercase submit button.

   Visual reference: jovie-nannies-rework.html (CSS lines 487-610,
   HTML lines 1466-1529). GF classes are kept as-is; this only adds
   visual rules — no markup or behavior changes.
   ======================================== */

/* ----- Wrapper baseline ----- */
body.page-location-service-template .services-gf .gform_wrapper {
  font-family: var(--font);
}
body.page-location-service-template .services-gf .gform_wrapper .gform_body,
body.page-location-service-template .services-gf .gform_wrapper .gform-body {
  padding: 0;
  margin: 0;
}

/* ----- Field grid (2-column on desktop, 1-column on mobile via media query
   below). .gfield--width-half / .gf_left_half / .gf_right_half collapse the
   span so half-width fields render side-by-side. ----- */
body.page-location-service-template .services-gf .gform_wrapper .gform_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield {
  grid-column: 1 / -1;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield--width-half,
body.page-location-service-template .services-gf .gform_wrapper .gf_left_half,
body.page-location-service-template .services-gf .gform_wrapper .gf_right_half {
  grid-column: span 1;
}

/* ----- Labels: undo absolute floating from .single_gf_form snippet, render
   block-level above input. Required asterisk = orange. ----- */
body.page-location-service-template .services-gf .gform_wrapper .gfield_label,
body.page-location-service-template .services-gf .gform_wrapper legend.gfield_label,
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex .gform-field-label--type-sub {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--text-dark) !important;
  text-transform: none !important;
  pointer-events: auto !important;
  border-bottom: none !important;
  display: block !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_required,
body.page-location-service-template .services-gf .gform_wrapper .gfield_required_asterisk {
  color: var(--orange) !important;
  margin-left: 3px !important;
  background: transparent !important;
}

/* Sub-label required asterisk — snippet positions ::after absolutely at
   left:14% which creates "First        *" gap. Pull it inline. */
body.page-location-service-template .services-gf .gform_wrapper .gform-field-label--type-sub {
  position: relative !important;
  display: inline-block !important;
  padding-right: 12px !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gform-field-label--type-sub::after {
  position: static !important;
  display: inline !important;
  left: auto !important;
  top: auto !important;
  margin-left: 2px !important;
}

/* Reset the floating-label-on-empty behavior */
body.page-location-service-template .services-gf .gform_wrapper input:placeholder-shown:not(:focus) + label,
body.page-location-service-template .services-gf .gform_wrapper textarea:placeholder-shown:not(:focus) + label,
body.page-location-service-template .services-gf .gform_wrapper select[value=""]:not(:focus) + label {
  top: auto !important;
  margin-top: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  position: static !important;
}

/* services-template.php JS moves the <label> INSIDE .ginput_container after
   the input for any field with class .full-gf-field-single (the floating-
   label pattern). Since we render labels as static blocks now, the visual
   order becomes [input][label]. Fix with column-reverse flex so the label
   renders ABOVE the input visually. */
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container,
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container_email,
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container_phone,
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container_text {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 6px !important;
}
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container > label,
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container > .gfield_label,
body.page-location-service-template .services-gf .gform_wrapper .full-gf-field-single .ginput_container > .gform-field-label {
  display: block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  line-height: 1.4 !important;
}

/* ----- Field description (helper text) ----- */
body.page-location-service-template .services-gf .gform_wrapper .gfield_description {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-top: 4px !important;
  position: static !important;
  padding: 0 !important;
}

/* ----- Text-like inputs: undo pill + grey from snippet, match client mockup
   (white rectangle with subtle border, orange focus ring). ----- */
body.page-location-service-template .services-gf .gform_wrapper input[type="text"],
body.page-location-service-template .services-gf .gform_wrapper input[type="email"],
body.page-location-service-template .services-gf .gform_wrapper input[type="tel"],
body.page-location-service-template .services-gf .gform_wrapper input[type="number"],
body.page-location-service-template .services-gf .gform_wrapper input[type="url"],
body.page-location-service-template .services-gf .gform_wrapper select,
body.page-location-service-template .services-gf .gform_wrapper textarea {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px !important;
  font-family: var(--font) !important;
  color: var(--text-dark) !important;
  background-color: #fff !important;
  background-image: none !important;
  box-sizing: border-box !important;
  text-align: left !important;
  line-height: 1.4 !important;
  min-height: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.page-location-service-template .services-gf .gform_wrapper input::placeholder,
body.page-location-service-template .services-gf .gform_wrapper textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 1 !important;
  font-size: 14px !important;
  text-indent: 0 !important;
}
body.page-location-service-template .services-gf .gform_wrapper input:focus,
body.page-location-service-template .services-gf .gform_wrapper select:focus,
body.page-location-service-template .services-gf .gform_wrapper textarea:focus {
  outline: none !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(241,107,34,0.1) !important;
}
/* show-plc snippet bumps the placeholder off position; reset */
body.page-location-service-template .services-gf .gform_wrapper .show-plc input::placeholder {
  top: auto !important;
  position: static !important;
  color: var(--text-muted) !important;
  font-size: 14px !important;
}

/* ----- Plugin icon backgrounds on inputs (.pin_icon_input, .phone_icon_input,
   .email_icon_input, .person_icon_input, .select_icon_input) — these are
   added by a 3rd-party plugin that injects SVG icons as input background.
   Reset so layout matches the plain client mockup. ----- */
body.page-location-service-template .services-gf .gform_wrapper .pin_icon_input,
body.page-location-service-template .services-gf .gform_wrapper .phone_icon_input,
body.page-location-service-template .services-gf .gform_wrapper .email_icon_input,
body.page-location-service-template .services-gf .gform_wrapper .person_icon_input,
body.page-location-service-template .services-gf .gform_wrapper .select_icon_input {
  background-image: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .pin_icon_input::before,
body.page-location-service-template .services-gf .gform_wrapper .pin_icon_input::after,
body.page-location-service-template .services-gf .gform_wrapper .phone_icon_input::before,
body.page-location-service-template .services-gf .gform_wrapper .phone_icon_input::after,
body.page-location-service-template .services-gf .gform_wrapper .email_icon_input::before,
body.page-location-service-template .services-gf .gform_wrapper .email_icon_input::after,
body.page-location-service-template .services-gf .gform_wrapper .person_icon_input::before,
body.page-location-service-template .services-gf .gform_wrapper .person_icon_input::after,
body.page-location-service-template .services-gf .gform_wrapper .select_icon_input::before,
body.page-location-service-template .services-gf .gform_wrapper .select_icon_input::after {
  content: none !important;
  display: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .pin_icon_input input,
body.page-location-service-template .services-gf .gform_wrapper .phone_icon_input input,
body.page-location-service-template .services-gf .gform_wrapper .email_icon_input input,
body.page-location-service-template .services-gf .gform_wrapper .person_icon_input input,
body.page-location-service-template .services-gf .gform_wrapper .person_icon_input .name_first input,
body.page-location-service-template .services-gf .gform_wrapper .name_icon_input input,
body.page-location-service-template .services-gf .gform_wrapper .select_icon_input select {
  background-image: none !important;
  padding-left: 14px !important;
}

/* ----- enter_location_gf / location_load_area / location_field pseudo-elements
   — neutralize decorative chrome the location-finder plugin adds ----- */
body.page-location-service-template .services-gf .gform_wrapper .enter_location_gf::before,
body.page-location-service-template .services-gf .gform_wrapper .enter_location_gf::after,
body.page-location-service-template .services-gf .gform_wrapper .location_load_area::before,
body.page-location-service-template .services-gf .gform_wrapper .location_load_area::after,
body.page-location-service-template .services-gf .gform_wrapper .location_field::before,
body.page-location-service-template .services-gf .gform_wrapper .location_field::after,
body.page-location-service-template .services-gf .gform_wrapper .force_cursor_placement::before,
body.page-location-service-template .services-gf .gform_wrapper .force_cursor_placement::after {
  content: none !important;
  background: none !important;
}

/* ----- pc_image_choice plugin (image-card radio renderer) — disable so our
   standard card style below is used, not the plugin's. ----- */
body.page-location-service-template .services-gf .gform_wrapper .pc_image_choice .gfield_radio,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio.pc_image_choice {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body.page-location-service-template .services-gf .gform_wrapper .pc_image_choice .gfield_radio label,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio.pc_image_choice label {
  width: auto !important;
  height: auto !important;
  background-image: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .pc_image_choice .gfield_radio label img,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio.pc_image_choice label img {
  display: none !important;
}

/* ----- Radio cards (faithful match to jovie-nannies-rework.html lines 533-565)
   Card = the .gchoice wrapper (contains <input> + <label> as siblings).
   Radio dot stays visible (orange accent). Hover turns border orange.
   Checked state changes ONLY the inner <span> text — no border/bg change. */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio {
  list-style: none !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body.page-location-service-template .services-gf .gform_wrapper .single_gf_form .gfield.gf_list_inline .gfield_radio {
  margin-left: 0 !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  background: #fff !important;
  cursor: pointer;
  margin: 0 !important;
  transition: border-color 0.15s !important;
  line-height: 1 !important;
  position: relative !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice:hover {
  border-color: var(--orange) !important;
}
/* Make the entire card clickable. The <label for="choice_X"> already toggles
   the radio, so we stretch its hit area across the whole .gchoice via an
   absolute ::before overlay. The label MUST stay position: static so that
   ::before's `inset: 0` resolves to .gchoice (the nearest positioned
   ancestor), not the label's own text box. The overlay is transparent, so
   the radio dot stays visible underneath; clicks on the overlay route to
   the label via the `for` attribute and toggle the input. */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice > label::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
}
/* Radio dot — explicit size, no implicit browser margin */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio input[type="radio"] {
  accent-color: var(--orange) !important;
  position: static !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  pointer-events: auto !important;
  vertical-align: middle !important;
}
/* Label inside the card — plain inline (no own box/gap) so the radio + text
   stay tight together. Color: var(--text) (medium gray, matches mockup). */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gform-field-label,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio label,
body.page-location-service-template .services-gf .gform_wrapper .gfield-choice-input + label {
  position: static !important;
  display: inline !important;
  align-items: initial !important;
  gap: 0 !important;
  margin: 0 !important;
  left: auto !important;
  top: auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  cursor: pointer;
  line-height: 1 !important;
  pointer-events: auto !important;
  white-space: nowrap !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio label i {
  display: none !important;
}
/* Span inside the label — visible text. Title-case trick: lowercase the GF
   source ("WITHIN DAYS") then uppercase the first letter → "Within days".
   display: inline-block is required for ::first-letter to apply. */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio label > span {
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  vertical-align: middle !important;
  display: inline-block !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio label > span::first-letter {
  text-transform: uppercase !important;
}
/* Keep ASAP fully uppercase — abbreviation, not a sentence */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice:has(input[value="ASAP" i]) label > span {
  text-transform: uppercase !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice:has(input[value="ASAP" i]) label > span::first-letter {
  text-transform: uppercase !important;
}
/* Checked state — span text orange + weight 500. Three selector variants
   for browser compat (legacy adjacent-sibling, modern :has). */
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio input[type="radio"]:checked ~ label span,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio input[type="radio"]:checked + label span,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice:has(input[type="radio"]:checked) label span {
  color: var(--orange) !important;
  font-weight: 500 !important;
}

/* ----- Checkbox labels (basic inline-flex layout) ----- */
body.page-location-service-template .services-gf .gform_wrapper .gfield_checkbox label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

/* ----- Name compound (form #6 field 10): only First + Last shown,
   Prefix/Middle/Suffix are isHidden in admin — reinforce here. Lay out as
   two equal columns. Round both inputs (snippet pills them halfway). ----- */
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex .name_prefix,
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex .name_middle,
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex .name_suffix {
  display: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex.ginput_container_name {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex.ginput_container_name > span {
  padding: 0 !important;
  position: relative !important;
}
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex.ginput_container_name input {
  width: 100% !important;
}
body.page-location-service-template .services-gf .gform_wrapper #input_6_10_3,
body.page-location-service-template .services-gf .gform_wrapper #input_6_10_6 {
  border-radius: var(--radius-sm) !important;
  margin-left: 0 !important;
}

/* ----- Phone compound (form #6 field 15): keep multi-part inputs inline ----- */
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex.ginput_container_phone {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}
body.page-location-service-template .services-gf .gform_wrapper .ginput_complex.ginput_container_phone input {
  flex: 1 !important;
}

/* ----- Hide GF system fields and noise:
     .hidden-field      — form #6 fields 28, 29, 37
     .gform_hidden      — any other hidden GF field
     .gfield--type-honeypot / .gform_validation_container — anti-spam honeypot
     .gform_required_legend / p.gform_required_legend — "* indicates required..."
     .loader_loactions / .loader_single_form — the spinner GIF inside field 25
     .gfield--type-html .gfield_label — HTML fields use their own content
  ----- */
body.page-location-service-template .services-gf .gform_wrapper .hidden-field,
body.page-location-service-template .services-gf .gform_wrapper .gfield.hidden-field,
body.page-location-service-template .services-gf .gform_wrapper .gform_hidden,
body.page-location-service-template .services-gf .gform_wrapper .gfield--type-honeypot,
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_container,
body.page-location-service-template .services-gf .gform_wrapper .gform_required_legend,
body.page-location-service-template .services-gf .gform_wrapper p.gform_required_legend,
body.page-location-service-template .services-gf .gform_wrapper .loader_loactions,
body.page-location-service-template .services-gf .gform_wrapper .loader_single_form,
body.page-location-service-template .services-gf .gform_wrapper .gforms-loader,
body.page-location-service-template .services-gf .gform_wrapper .gform_html_loader,
body.page-location-service-template .services-gf .gform_wrapper [class*="loader"],
body.page-location-service-template .services-gf .gform_wrapper [class*="loading"]:not(input):not(textarea),
body.page-location-service-template .services-gf .gform_wrapper [class*="spinner"] {
  display: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield--type-html .gfield_label {
  display: none !important;
}

/* ----- HTML-type field content (e.g. "Phone Number Note") — small + muted */
body.page-location-service-template .services-gf .gform_wrapper .gf_html_text_area {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gf_html_text_area strong {
  font-weight: 400 !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield--type-html,
body.page-location-service-template .services-gf .gform_wrapper .gfield--type-html p {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
}

/* ----- Submit button — undo navy uppercase pill from snippet, make orange
   full-width button matching client mockup ----- */
body.page-location-service-template .services-gf .gform_wrapper .gform_footer,
body.page-location-service-template .services-gf .gform_wrapper .gform-footer {
  margin-top: 8px !important;
  padding: 0 !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gform_button,
body.page-location-service-template .services-gf .gform_wrapper input[type="submit"].gform_button,
body.page-location-service-template .services-gf .gform_wrapper .gform_footer input[type="submit"],
body.page-location-service-template .services-gf .gform_wrapper .gform_footer button[type="submit"] {
  width: 100% !important;
  padding: 12px !important;
  font-size: 16px !important;
  background: var(--orange) !important;
  background-color: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-color: var(--orange) !important;
  border-width: 0 !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-accent) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-shadow: none !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-appearance: none;
          appearance: none;
}
body.page-location-service-template .services-gf .gform_wrapper .gform_button:hover,
body.page-location-service-template .services-gf .gform_wrapper .gform_footer input[type="submit"]:hover,
body.page-location-service-template .services-gf .gform_wrapper .gform_footer button[type="submit"]:hover {
  background: var(--orange-dark) !important;
  background-color: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
}

/* ----- CAPTCHA wrapper (don't transform/scale) ----- */
body.page-location-service-template .services-gf .gform_wrapper .gfield--type-captcha .ginput_recaptcha {
  transform: none !important;
}

/* ----- Validation messages + error state -----
   gravity-theme default renders inline .gfield_validation_message as a boxed
   alert (border + background + padding + circle-error icon). On this template
   we want plain inline red text so the form stays minimal. Strip the box +
   icon and reset to a single-line message. */
body.page-location-service-template .services-gf .gform_wrapper .gfield_validation_message,
body.page-location-service-template .services-gf .gform_wrapper .validation_message {
  color: #d9344f !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  margin-top: 6px !important;
  padding: 0 !important;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gfield_validation_message::before,
body.page-location-service-template .services-gf .gform_wrapper .validation_message::before {
  content: none !important;
  display: none !important;
}
/* Hide the inline circle-error icon glyph that gravity-theme injects */
body.page-location-service-template .services-gf .gform_wrapper .gfield_validation_message .gform-icon,
body.page-location-service-template .services-gf .gform_wrapper .validation_message .gform-icon {
  display: none !important;
}

body.page-location-service-template .services-gf .gform_wrapper .gfield_error input,
body.page-location-service-template .services-gf .gform_wrapper .gfield_error select,
body.page-location-service-template .services-gf .gform_wrapper .gfield_error textarea {
  border-color: #d9344f !important;
}

/* Top-of-form summary banner ("There was a problem with your submission...").
   gravity-theme injects a circle-error icon via a custom icon font; on this
   page the icon renders clipped because of competing icon-font CSS. Hide the
   icon and use a flat banner — the heading text is enough. */
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_errors {
  background: rgb(251 89 0 / 12%) !important;
  border: 1px solid rgba(217,52,79,0.3) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
  color: #d95b15 !important;
  font-size: 14px !important;
}
body.page-location-service-template .gform_wrapper.gravity-theme .gform_validation_errors:focus {
  outline: 2px solid #d95b15;
  outline-offset: 2px;
}
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_errors > h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #d95b15 !important;
  background: none !important;
  border: 0 !important;
  display: block !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_errors .gform-icon,
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_errors h2::before {
  display: none !important;
  content: none !important;
}
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_errors ol,
body.page-location-service-template .services-gf .gform_wrapper .gform_validation_errors ul {
  margin: 6px 0 0 18px !important;
  padding: 0 !important;
  font-size: 13px !important;
}

/* When a field is in error state, gravity-theme can also restyle the
   .gfield_description (helper text like "Phone format: (###) ###-####")
   as a boxed alert. Keep it as plain muted text. */
body.page-location-service-template .services-gf .gform_wrapper .gfield_error .gfield_description,
body.page-location-service-template .services-gf .gform_wrapper .gfield_error .ginput_complex .gfield_description {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  color: #d95b15 !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

/* ----- Post-submit confirmation message ----- */
body.page-location-service-template .services-gf .gform_confirmation_message {
  background: rgba(241,107,34,0.08) !important;
  border: 1px solid var(--orange) !important;
  border-radius: var(--radius-sm) !important;
  padding: 14px 18px !important;
  color: var(--text-dark) !important;
  font-size: 15px !important;
}

/* ============================================================
   Mobile responsive — single column + tighter radio cards
   ============================================================ */
@media (max-width: 768px) {
  /* Tighter radio card spacing on tablet+phone */
  body.page-location-service-template .services-gf .gform_wrapper .gfield_radio {
    gap: 6px !important;
  }
  body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice {
    font-size: 12px !important;
    padding: 5px 10px !important;
  }
  body.page-location-service-template .services-gf .gform_wrapper .gfield_radio label,
body.page-location-service-template .services-gf .gform_wrapper .gfield_radio label span {
    font-size: 12px !important;
  }
}
@media (max-width: 600px) {
  /* Collapse the 2-column field grid + name row to single column */
  body.page-location-service-template .services-gf .gform_wrapper .gform_fields {
    grid-template-columns: 1fr !important;
  }
  body.page-location-service-template .services-gf .gform_wrapper .gfield--width-half,
body.page-location-service-template .services-gf .gform_wrapper .gf_left_half,
body.page-location-service-template .services-gf .gform_wrapper .gf_right_half {
    grid-column: 1 / -1;
  }
  body.page-location-service-template .services-gf .gform_wrapper .ginput_complex.ginput_container_name {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  /* Radio cards: 2-per-row layout on small phones */
  body.page-location-service-template .services-gf .gform_wrapper .gfield_radio .gchoice {
    flex: 1 1 auto !important;
    justify-content: center !important;
    min-width: calc(50% - 4px) !important;
  }
}


/* ========================================
   CONTENT — How It Works
   ======================================== */

body.page-location-service-template .section-label {
  font-size: 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--font-accent);
}

body.page-location-service-template .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.page-location-service-template .step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

body.page-location-service-template .step-card:hover {
  box-shadow: var(--shadow-md);
}

body.page-location-service-template .step-number {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 14px;
  font-family: var(--font-heading);
}

body.page-location-service-template .step-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

body.page-location-service-template .step-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ========================================
   CONTENT — FAQ
   ======================================== */

body.page-location-service-template .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-location-service-template .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

body.page-location-service-template .faq-item .faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font);
  transition: background 0.15s;
  border-radius: 0;
}

body.page-location-service-template .faq-item .faq-question:hover,
body.page-location-service-template .faq-item .faq-question:focus,
body.page-location-service-template .faq-item .faq-question:focus-visible {
  background: var(--bg-light);
  color: var(--text-dark);
  outline: none;
}

body.page-location-service-template .faq-item .faq-question .icon {
  font-size: 18px;
  color: var(--orange);
  transition: transform 0.2s;
  flex-shrink: 0;
}

body.page-location-service-template .faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

body.page-location-service-template .faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--text);
  line-height: 26px;
}

body.page-location-service-template .faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   CONTENT — Blog / Articles
   ======================================== */

body.page-location-service-template .article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.page-location-service-template .acard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; gap: 12px; box-shadow: var(--shadow-sm); }
body.page-location-service-template .aimg { width: 120px; height: 120px; border-radius: 7px; flex-shrink: 0; overflow: hidden; }
body.page-location-service-template .aimg img { width: 100%; height: 100%; object-fit: cover; }
body.page-location-service-template .ameta { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
body.page-location-service-template .acard h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 5px; }
body.page-location-service-template .acard a { font-size: 14px; color: var(--orange); text-decoration: none; font-weight: 600; }

body.page-location-service-template .mobile-services-nav {
  display: none;
}

body.page-location-service-template .mobile-why-jovie {
  display: none;
}

body.page-location-service-template .mobile-contact-strip {
  display: none;
}

/* Mobile sticky bottom bar */
body.page-location-service-template .mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 900;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
body.page-location-service-template .mobile-sticky-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
}
body.page-location-service-template .mobile-sticky-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
body.page-location-service-template .mobile-sticky-contact svg { flex-shrink: 0; }
body.page-location-service-template .mobile-sticky-btn {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-accent);
}

/* ========================================
   FOOTER
   ======================================== */

body.page-location-service-template .footer-section a { text-decoration: none; color: inherit; }
body.page-location-service-template .footer-section ul { padding: 0; }
body.page-location-service-template .footer-bottom a { text-decoration: none; color: inherit; }

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  body.page-location-service-template .main-wrap {
    padding: 20px 16px 48px;
  }
  body.page-location-service-template .section {
    margin-left: 0;
    padding: 0 16px;
  }
  body.page-location-service-template .right-rail {
    width: 220px;
  }
  body.page-location-service-template .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.page-location-service-template .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   RESPONSIVE — 768px
   ======================================== */

@media (max-width: 768px) {
  html,
body { overflow-x: hidden; }

  body.page-location-service-template .right-rail {
    display: none;
  }

  body.page-location-service-template .main-wrap {
    display: block;
    flex-direction: column;
    padding: 20px 16px 48px;
  }

  body.page-location-service-template .page-header {
    padding: 32px 16px;
  }

  body.page-location-service-template .page-header h1 {
    font-size: 26px;
  }

  body.page-location-service-template .page-header .sub {
    font-size: 15px;
  }

  body.page-location-service-template .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.page-location-service-template .intro-image {
    order: -1;
  }

  body.page-location-service-template .form-row {
    grid-template-columns: 1fr;
  }

  body.page-location-service-template .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.page-location-service-template .step-card {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  body.page-location-service-template .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  body.page-location-service-template .section {
    margin-left: 0;
    padding: 0 16px;
  }

  body.page-location-service-template .section h2 {
    font-size: 20px;
  }

  body.page-location-service-template .article-grid {
    grid-template-columns: 1fr;
  }

  body.page-location-service-template .form-section {
    padding: 20px;
  }

  body.page-location-service-template .form-section h2 {
    font-size: 19px;
  }

  body.page-location-service-template .breadcrumb-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 110px !important;
  }
  body.page-location-service-template .breadcrumb-wrap::-webkit-scrollbar { display: none; }

  body.page-location-service-template .breadcrumb {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  /* Mobile contact strip before footer */
  body.page-location-service-template .mobile-contact-strip {
    display: block;
    background: var(--navy);
    color: #fff;
    padding: 24px 16px;
    text-align: center;
  }

  body.page-location-service-template .radio-group {
    gap: 6px;
  }

  body.page-location-service-template .radio-group label {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* Mobile services nav pill strip */
  body.page-location-service-template .mobile-services-nav {
    display: flex !important;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.page-location-service-template .mobile-services-nav::-webkit-scrollbar { display: none; }
  body.page-location-service-template .mobile-services-nav a {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-light);
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
  }
  body.page-location-service-template .mobile-services-nav a.active {
    background: var(--orange-light);
    color: var(--navy);
    font-weight: 700;
    border-color: var(--orange);
  }

  body.page-location-service-template .mobile-sticky-bar { display: flex !important; }
  body { padding-bottom: 90px; }

  body.page-location-service-template .mobile-contact-strip p.label { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-family: var(--font-accent); }
  body.page-location-service-template .mobile-contact-strip .addr { font-size: 13px; color: #fff; line-height: 1.5; margin-bottom: 10px; }
  body.page-location-service-template .mobile-contact-strip .clink { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 9px; }
  body.page-location-service-template .mobile-contact-strip .clink a { font-size: 14px; color: #fff; text-decoration: none; font-weight: 500; }
  body.page-location-service-template .mobile-contact-strip .social-row { display: flex; justify-content: center; gap: 6px; margin: 10px 0; }
  body.page-location-service-template .mobile-contact-strip .sicon { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
  body.page-location-service-template .mobile-contact-strip hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 12px 0; }
  body.page-location-service-template .mobile-contact-strip .call-btn { display: block; background: var(--orange); color: #fff; font-size: 15px; font-weight: 400; padding: 12px 16px; border-radius: var(--radius-sm); text-align: center; text-decoration: none; font-family: var(--font-accent); }

  /* Mobile Why Jovie section */
  body.page-location-service-template .mobile-why-jovie {
    display: block;
    background: var(--orange);
    padding: 28px 20px;
  }
  body.page-location-service-template .mobile-why-header {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-family: var(--font-accent);
  }
  body.page-location-service-template .mobile-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  body.page-location-service-template .mobile-why-list li {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 14px;
  }
  body.page-location-service-template .mobile-why-list li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
  }
  body.page-location-service-template .mobile-why-list li span {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  body.page-location-service-template .page-header h1 {
    font-size: 21px;
  }

  body.page-location-service-template .radio-group label {
    flex: 1 1 auto;
    justify-content: center;
    min-width: calc(50% - 4px);
  }
}

@media (min-width: 769px) {
  body.page-location-service-template .mobile-services-nav { display: none !important; }
  body.page-location-service-template .mobile-contact-strip { display: none !important; }
  body.page-location-service-template .mobile-why-jovie { display: none !important; }
  body.page-location-service-template .mobile-sticky-bar { display: none !important; }
}

/* ========================================
   HEADER — DivMagic Export Overrides
   ======================================== */

@media (max-width: 767px) {
  #header-1 {
    display: none !important; padding-top: 0px !important; padding-right: 20px !important; padding-bottom: 0px !important; padding-left: 20px !important;
  }
  #div-1 {
    min-height: 80px !important;
  }
  #div-2 {
    width: 30% !important;
  }
  #div-4 {
    width: 70% !important;
  }
  #div-6 {
    display: none !important;
  }
  #nav-1 {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  #header-1 {
    padding-top: 25px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important;
    width: 100% !important; max-width: 100% !important;
  }
  #div-1 {
    min-height: 0px !important; width: 100% !important;
  }
  #div-3 {
    margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 10px !important;
  }
  #div-5 {
    align-items: center !important; justify-content: flex-end !important; padding-top: 0px !important; padding-right: 18px !important; padding-bottom: 0px !important; padding-left: 0px !important;
  }
  #a-1 {
    padding-top: 10px !important; padding-right: 21px !important; padding-bottom: 10px !important; padding-left: 21px !important;
  }
  #a-2 {
    padding-top: 10px !important; padding-right: 21px !important; padding-bottom: 10px !important; padding-left: 21px !important;
  }
  #a-3 {
    padding-top: 10px !important; padding-right: 21px !important; padding-bottom: 10px !important; padding-left: 21px !important;
  }
  #div-7 {
    padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 15px !important; padding-left: 0px !important;
  }
  #a-4 {
    padding: 0px !important;
  }
  #a-5 {
    padding: 0px !important;
  }
  #a-6 {
    padding: 0px !important;
  }
  #a-7 {
    padding: 0px !important;
  }
}
@media (min-width: 768px) {
  #div-2 {
    width: 15% !important;
  }
  #div-4 {
    width: 85% !important;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  #div-2 {
    width: 25% !important;
  }
  #div-4 {
    width: 75% !important;
  }
}
@media (max-width: 767px) {
  #img-1 {
    margin-top: -3.4px !important;
  }
}
@media (min-width: 1128px) {
  #img-1 {
    width: 200px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  #div-6 {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #header-1 {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* ========================================
   FOOTER — DivMagic Export Overrides
   ======================================== */

@media (max-width: 1024px) {
  #ft-section-1 {
    padding-top: 15px !important; padding-right: 20px !important; padding-bottom: 10px !important; padding-left: 20px !important;
  }
  #ft-div-1 {
    max-width: 1024px !important; margin: 0 auto !important;
  }
  #ft-div-3 {
    margin-top: 0% !important; margin-right: 15% !important; margin-bottom: 0% !important; margin-left: 0% !important;
  }
  #ft-div-4 {
    margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 23px !important; margin-left: 0px !important;
  }
}
@media (max-width: 767px) {
  #ft-section-1 {
    margin-top: 0px !important; margin-bottom: 0px !important; padding-top: 30px !important; padding-right: 20px !important; padding-bottom: 0px !important; padding-left: 20px !important; height: auto !important;
  }
  #ft-div-1 {
    max-width: 767px !important; margin: 0 auto !important; flex-wrap: wrap !important; height: auto !important;
  }
  #ft-div-2 {
    width: 100% !important;
  }
  #ft-div-3 {
    margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 20px !important; margin-left: 0px !important; padding: 0px !important;
  }
  #ft-img-1 {
    width: 200px !important;
  }
  #ft-a-1 {
    width: auto !important;
  }
  #ft-a-2 {
    width: auto !important;
  }
  #ft-div-5 {
    width: 100% !important;
  }
  #ft-div-6 {
    padding: 0px !important;
  }
  #ft-div-7 {
    width: 100% !important;
  }
  #ft-div-8 {
    padding: 0px !important;
  }
  #ft-div-9 {
    margin-top: 12px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important;
  }
  #ft-div-10 {
    width: 100% !important;
  }
  #ft-div-11 {
    padding: 0px !important;
  }
  #ft-div-12 {
    margin-top: 10px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important;
  }
}
@media (min-width: 768px) {
  #ft-div-2 {
    width: 20% !important;
  }
  #ft-div-5 {
    width: 20% !important;
  }
  #ft-div-7 {
    width: 30% !important;
  }
  #ft-div-10 {
    width: 30% !important;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  #ft-div-2 {
    width: 35% !important;
  }
  #ft-div-5 {
    width: 20% !important;
  }
  #ft-div-7 {
    width: 20% !important;
  }
  #ft-div-10 {
    width: 20% !important;
  }
}
@media (max-width: 1024px) {
  #ft-bottom-1 {
    padding-top: 10px !important; padding-right: 20px !important; padding-bottom: 10px !important; padding-left: 20px !important;
  }
  #ft-bottom-div-1 {
    max-width: 1024px !important; min-height: 0px !important; margin: 0 auto !important;
  }
}
@media (max-width: 767px) {
  #ft-bottom-1 {
    padding: 20px !important;
  }
  #ft-bottom-div-1 {
    max-width: 767px !important; margin: 0 auto !important; flex-wrap: wrap !important; height: auto !important;
  }
  #ft-bottom-div-2 {
    width: 100% !important;
  }
  #ft-bottom-div-3 {
    padding: 0px !important; margin: 0px !important;
  }
  #ft-bottom-div-4 {
    margin-top: -10px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important;
  }
  #ft-bottom-div-5 {
    margin: -10px !important;
  }
  #ft-bottom-div-6 {
    width: 100% !important;
  }
  #ft-bottom-div-7 {
    margin-top: 20px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important;
  }
  #ft-bottom-div-8 {
    margin-top: -10px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important;
  }
  #ft-bottom-li-1 {
    justify-content: center !important;
  }
  #ft-bottom-a-1 {
    justify-content: center !important;
  }
  #ft-bottom-li-2 {
    justify-content: center !important;
  }
  #ft-bottom-a-2 {
    justify-content: center !important;
  }
}
@media (min-width: 768px) {
  #ft-bottom-div-2 {
    width: 50% !important;
  }
  #ft-bottom-div-6 {
    width: 50% !important;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  #ft-bottom-div-2 {
    width: 70% !important;
  }
  #ft-bottom-div-6 {
    width: 30% !important;
  }
}
