/*
Theme Name:  RSN Orion
Theme URI:   https://roadsafetynetwork.com.au
Description: WordPress theme for Road Safety Network — converted from the Orion reference HTML prototype. Features fixed transparent-to-dark navbar, full-screen video heroes, capability card grids, pill tags, and a comprehensive contact form.
Author:      Road Safety Network
Author URI:  https://roadsafetynetwork.com.au
Version: 2.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rsn-orion
Tags:        custom-menu, custom-logo, full-width-template, post-thumbnails
*/

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════ */
:root {
  --black:      #1a1a1a;
  --tomato:     #E06020;
  --white:      #ffffff;
  --light-grey: #d6d1ca;

  --font-base: 'Montserrat', sans-serif;

  --section-py: 6rem;
  --container-max: 1200px;
  --container-px: 2rem;
}

/* ═══════════════════════════════════════════════════════
   RESET / BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* WordPress alignment helpers */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.wp-caption { max-width: 100%; }

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */
.heading-style-h1 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
}

.heading-style-h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
}

.heading-style-h3 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
}

.heading-style-extra-large {
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 6rem;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.button {
  display: inline-block;
  border: 2px solid var(--tomato);
  text-transform: uppercase;
  border-radius: 8rem;
  padding: .75rem 1.5rem;
  font-weight: 500;
  font-family: var(--font-base);
  font-size: .875rem;
  letter-spacing: .06em;
  background: transparent;
  color: var(--tomato);
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
}
.button:hover {
  background: var(--tomato);
  color: var(--white);
}

.button.is-reverse {
  border-color: var(--white);
  color: var(--white);
}
.button.is-reverse:hover {
  background: var(--white);
  color: var(--black);
}

/* ═══════════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════════ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 1rem 0 .5rem;
  background: transparent;
  transition: background .3s ease;
}
.navbar.scrolled {
  background: var(--black);
}

.navbar-inner {
  max-width: 100%;
  margin-inline: 0;
  padding-inline-start: 0;
  padding-inline-end: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

/* WordPress wp_nav_menu list reset */
.navbar-menu ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.navbar-menu li { margin: 0; }

.nav-link {
  display: inline-block;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-link:hover {
  border-bottom-color: var(--white);
  color: var(--tomato);
}

.nav-link.active,
.navbar-menu .current-menu-item > .nav-link,
.navbar-menu .current_page_item > .nav-link {
  color: var(--tomato);
  border-bottom-color: var(--tomato);
}

.nav-link.contact {
  border: 1px solid var(--tomato);
  border-radius: 8rem;
  padding: .5rem 1rem;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: .1em;
}
.nav-link.contact:hover,
.nav-link.contact.active {
  background: var(--tomato);
  color: var(--white);
  border-color: var(--tomato);
}

.navbar-search {
  margin-left: 1rem;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  opacity: .85;
  transition: opacity .2s;
}
.navbar-search:hover { opacity: 1; color: var(--tomato); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.62);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--container-px);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Home hero specific */
.hero-logo-img {
  width: clamp(280px, 55vw, 620px);
  height: auto;
  display: block;
  margin-inline: auto;
  pointer-events: none;
  user-select: none;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--light-grey);
  max-width: 640px;
}

.hero-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(214,209,202,.85);
  max-width: 620px;
}

/* Sub-page large title */
.hero-page-title {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--tomato);
}

/* Arrow / button rows */
.hero-button-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-button-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
}

.hero-arrow {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--tomato);
  background: transparent;
  color: var(--tomato);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.hero-arrow:hover {
  background: var(--tomato);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════
   SECTION: WHO WE ARE (home page)
═══════════════════════════════════════════════════════ */
.section-who {
  background: var(--black);
  color: var(--white);
  padding: var(--section-py) 0;
}

.section-who .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-who .who-heading {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
}
.section-who .who-heading em {
  color: var(--tomato);
  font-style: normal;
}

.section-who .who-body p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-grey);
  margin-bottom: 1.5rem;
}
.section-who .who-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════
   SECTION: CORE CAPABILITIES / SERVICES
═══════════════════════════════════════════════════════ */
.section-capabilities {
  background: var(--light-grey);
  padding: var(--section-py) 0;
}

.section-capabilities .cap-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-capabilities .cap-header .heading-style-h2 {
  color: var(--black);
  margin-bottom: 1rem;
}
.section-capabilities .cap-intro {
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cap-card {
  background: var(--white);
  border-radius: .75rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.cap-card-icon {
  width: 2.8rem; height: 2.8rem;
  background: var(--tomato);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cap-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

.cap-card p {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
}

.cap-grid .cap-card:last-child:nth-child(3n+2) {
  grid-column: 2;
}

/* ═══════════════════════════════════════════════════════
   SECTION: RSN ADVANTAGE
═══════════════════════════════════════════════════════ */
.section-advantage {
  background: var(--black);
  color: var(--white);
  padding: var(--section-py) 0;
}

.section-advantage .adv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-advantage .adv-heading {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section-advantage .adv-heading em {
  color: var(--tomato);
  font-style: normal;
}

.section-advantage .adv-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-grey);
}

/* Pill tags */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.pill {
  display: inline-block;
  padding: .6rem 1.25rem;
  border: 1.5px solid rgba(224,96,32,.5);
  border-radius: 8rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--light-grey);
  letter-spacing: .03em;
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════
   SECTION: INTRO (white, centred text)
═══════════════════════════════════════════════════════ */
.section-intro {
  background: var(--white);
  padding: var(--section-py) 0;
}
.section-intro .intro-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-intro .section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: .75rem;
  display: block;
}
.section-intro .intro-inner p {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: .75rem;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   CUSTOMERS PAGE
═══════════════════════════════════════════════════════ */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.customer-card {
  background: var(--white);
  border-radius: .75rem;
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.customer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
}

.customer-logo {
  display: block;
  margin-inline: auto;
  max-height: 70px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.customer-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}

.customer-services-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tomato);
  margin: 0 0 .15rem;
  line-height: 1.2;
}

.customer-desc {
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.65;
  color: #666;
}

.section-customers {
  background: var(--light-grey);
  padding: var(--section-py) 0;
}

.section-customers .cust-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ═══════════════════════════════════════════════════════
   LOCATIONS PAGE — MAP
═══════════════════════════════════════════════════════ */
.section-map {
  background: var(--white);
  padding: var(--section-py) 0;
}

.section-map .map-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-map .map-header .heading-style-h2 {
  color: var(--black);
  margin-bottom: 1rem;
}

.map-frame-wrap {
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  margin-bottom: 2rem;
}

.map-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.map-address {
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: #555;
}
.map-address a {
  color: var(--tomato);
  transition: color .2s;
}
.map-address a:hover { color: var(--black); }
.map-address .sep { margin: 0 .5rem; color: var(--light-grey); }

/* ═══════════════════════════════════════════════════════
   WHO WE ARE PAGE — Subsections
═══════════════════════════════════════════════════════ */
.wwa-subsection {
  padding: var(--section-py) 0;
}
.wwa-subsection:nth-child(even) { background: var(--light-grey); }
.wwa-subsection:nth-child(odd) { background: var(--white); }

.wwa-subsection .wwa-inner {
  max-width: 820px;
  margin-inline: auto;
}

.wwa-subsection .heading-style-h2 {
  color: var(--black);
  margin-bottom: 1.5rem;
}

.wwa-subsection p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════ */
.section-contact {
  background: var(--white);
  padding: var(--section-py) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.contact-info h2 em {
  color: var(--tomato);
  font-style: normal;
}

.contact-info p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 2.4rem;
  height: 2.4rem;
  background: var(--tomato);
  border-radius: .4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  flex-shrink: 0;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.contact-detail-label {
  font-family: var(--font-base);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tomato);
}

.contact-detail-value {
  font-family: var(--font-base);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--black);
}

.contact-detail-value a {
  color: var(--black);
  transition: color .2s;
}
.contact-detail-value a:hover { color: var(--tomato); }

/* Form panel */
.contact-form-wrap {
  background: var(--light-grey);
  border-radius: 1rem;
  padding: 2.5rem 2.25rem;
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: .4rem;
}

.contact-form-wrap .form-intro {
  font-size: .95rem;
  font-weight: 300;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--black);
}

.form-group label .required-star { color: var(--tomato); margin-left: .15rem; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid rgba(26,26,26,.2);
  border-radius: .5rem;
  padding: .7rem 1rem;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--tomato);
  box-shadow: 0 0 0 3px rgba(224,96,32,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(26,26,26,.35);
  font-weight: 300;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.human-check-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-error-msg {
  font-size: .82rem;
  color: #c0392b;
  font-weight: 400;
  display: none;
  margin-top: .25rem;
}
.form-error-msg.visible { display: block; }

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}

.btn-submit {
  display: inline-block;
  border: 2px solid var(--tomato);
  text-transform: uppercase;
  border-radius: 8rem;
  padding: .85rem 2.5rem;
  font-weight: 600;
  font-family: var(--font-base);
  font-size: .9rem;
  letter-spacing: .08em;
  background: var(--tomato);
  color: var(--white);
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
  align-self: flex-start;
}
.btn-submit:hover {
  background: transparent;
  color: var(--tomato);
}

.mailto-note {
  font-size: .88rem;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
}
.mailto-note a {
  color: var(--tomato);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mailto-note a:hover { color: var(--black); }

.form-success-banner {
  display: none;
  background: #e8f5e9;
  border: 1.5px solid #81c784;
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  font-size: .95rem;
  font-weight: 400;
  color: #2e7d32;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════
   PRIVACY / POLICY PAGE
═══════════════════════════════════════════════════════ */
.policy-section {
  padding: var(--section-py) 0;
}
.policy-section:nth-child(even) { background: var(--light-grey); }
.policy-section:nth-child(odd) { background: var(--white); }

.policy-inner {
  max-width: 820px;
  margin-inline: auto;
}

.policy-inner .heading-style-h2 {
  color: var(--black);
  margin-bottom: 1.25rem;
}

.policy-inner .heading-style-h3 {
  color: var(--black);
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-size: 1.4rem;
}
.policy-inner .heading-style-h3:first-of-type { margin-top: 0; }

.policy-inner p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1.1rem;
}
.policy-inner p:last-child { margin-bottom: 0; }

.policy-inner ul.policy-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.policy-inner ul.policy-list li {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
  margin-bottom: .4rem;
}

/* ═══════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════ */
.section-search {
  background: var(--white);
  padding: var(--section-py) 0;
}

.search-inner {
  max-width: 720px;
  margin-inline: auto;
}

.search-form-wrap {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.search-form-wrap input[type="search"] {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid rgba(26,26,26,.2);
  border-radius: .5rem;
  padding: .7rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-form-wrap input[type="search"]:focus {
  border-color: var(--tomato);
  box-shadow: 0 0 0 3px rgba(224,96,32,.15);
}

.search-results article {
  border-bottom: 1px solid rgba(26,26,26,.1);
  padding: 1.5rem 0;
}
.search-results article:last-child { border-bottom: none; }
.search-results article h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: .4rem; }
.search-results article h2 a { color: var(--black); transition: color .2s; }
.search-results article h2 a:hover { color: var(--tomato); }
.search-results article p { font-size: .95rem; color: #555; font-weight: 300; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════
   SERVICE DETAIL PAGES
═══════════════════════════════════════════════════════ */
.section-service-detail {
  background: var(--white);
  padding: var(--section-py) 0;
}
.service-detail-inner {
  max-width: 820px;
  margin-inline: auto;
}
.service-detail-inner p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1.25rem;
}
.service-detail-inner p:last-child { margin-bottom: 0; }
.service-detail-inner h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.service-detail-inner h3:first-child { margin-top: 0; }
.service-detail-inner strong { font-weight: 600; color: var(--black); }

.section-service-cta {
  background: var(--light-grey);
  padding: var(--section-py) 0;
  text-align: center;
}
.service-cta-inner {
  max-width: 640px;
  margin-inline: auto;
}
.service-cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1rem;
}
.service-cta-inner p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Service-page breadcrumb trail */
.service-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--tomato);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2rem;
  transition: color .2s;
}
.service-back-link:hover { color: var(--black); }
.service-back-link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: #111111;
  color: var(--light-grey);
  padding: 5rem 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand img {
  width: 9rem;
  height: auto;
  margin-bottom: 1.5rem;
}
.footer-brand address {
  font-style: normal;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--light-grey);
}
.footer-brand address a {
  color: var(--light-grey);
  transition: color .2s;
}
.footer-brand address a:hover { color: var(--tomato); }

.footer-col h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-brand h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul li a {
  font-size: .9rem;
  font-weight: 300;
  color: var(--light-grey);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--tomato); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(214,209,202,.6);
}
.footer-bottom a {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(214,209,202,.6);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--tomato); }

/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-py: 4rem; }

  .hamburger { display: flex; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--container-px);
    gap: .25rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu ul { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .nav-link { width: 100%; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-link.contact { border-radius: 0; border: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .navbar-search { margin-left: 0; padding: .75rem 0; }

  .hero-logo-img { width: clamp(220px, 75vw, 440px); }
  .hero-page-title { font-size: clamp(3rem, 15vw, 6rem); }

  .section-who .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-advantage .adv-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 700px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid .cap-card:last-child:nth-child(3n+2) { grid-column: 1; }
  .customer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .human-check-row { grid-column: 1; }
  .form-submit-row { grid-column: 1; }

  .heading-style-h2 { font-size: 2rem; }
  .heading-style-h3 { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1000px) {
  .customer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid .cap-card:last-child:nth-child(3n+2) { grid-column: auto; }
}
