/* ==========================================================================
   Brandywine Technical Partners — Site Stylesheet
   --------------------------------------------------------------------------
   This file is organised top-to-bottom so you can find things quickly:

     1.  Design tokens (colours, spacing, type) ....... :root
     2.  Reset & base element styles
     3.  Layout helpers (.container, .grid, .split)
     4.  Buttons
     5.  Site header & navigation
     6.  Hero sections
     7.  Content sections & section headings
     8.  Cards (feature, product, tutorial, link)
     9.  Logo strips / customer logos
     10. Lists, pills, tables, accordions
     11. Media blocks (audio players, video embeds)
     12. Call-to-action bands
     13. Site footer
     14. Utilities
     15. Responsive breakpoints

   Tweaking tips
     • Almost every colour and size is a variable in section 1. Change it
       there once and it updates everywhere.
     • Nothing here is minified or auto-generated — edit freely.
     • There are no CSS frameworks and no build step. Just save and refresh.
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   These match the colours pulled from the live brandywinetech.com theme.
   ========================================================================== */

:root {

  /* --- Brand colours ---------------------------------------------------- */
  --blue-deep:      #01519f;   /* primary brand blue  (buttons, links)      */
  --blue-deeper:    #013a72;   /* hover state for the primary blue          */
  --blue-bright:    #1babef;   /* secondary/accent blue (highlights)        */
  --blue-tint:      #e8f4fd;   /* very light blue used for soft backgrounds */

  --ink:            #14171c;   /* near-black used for dark sections         */
  --ink-soft:       #1f242c;   /* slightly lifted dark, for dark cards      */
  --text:           #393939;   /* default body text                         */
  --text-muted:     #666f7a;   /* secondary text, captions                  */

  --surface:        #ffffff;   /* page background                           */
  --surface-alt:    #f5f7fa;   /* alternating section background            */
  --surface-grey:   #ededed;   /* light grey from the original theme        */
  --line:           #e2e6ec;   /* hairline borders                          */

  --accent-pink:    #ef1a65;   /* theme accent 1 (used sparingly)           */
  --accent-yellow:  #efec1a;   /* theme accent 2 (used sparingly)           */

  /* --- Typography ------------------------------------------------------- */
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --size-xs:   0.8125rem;  /* 13px */
  --size-sm:   0.9375rem;  /* 15px */
  --size-base: 1.0625rem;  /* 17px */
  --size-lg:   1.25rem;    /* 20px */
  --size-xl:   1.75rem;    /* 28px */
  --size-2xl:  2.25rem;    /* 36px */
  --size-3xl:  3rem;       /* 48px */
  --size-4xl:  3.75rem;    /* 60px */

  /* --- Spacing scale ---------------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* --- Shape & depth ---------------------------------------------------- */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.06);
  --shadow:    0 4px 16px rgba(20, 23, 28, 0.08);
  --shadow-lg: 0 18px 48px rgba(20, 23, 28, 0.14);

  /* --- Layout ----------------------------------------------------------- */
  --container-width: 1180px;
  --header-height: 78px;
}


/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  /* Offset anchor jumps so headings don't hide behind the sticky header. */
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--size-3xl); }
h2 { font-size: var(--size-2xl); }
h3 { font-size: var(--size-lg); }
h4 { font-size: var(--size-base); }

p { margin: 0 0 var(--space-4); }

a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--blue-bright); }

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-7) 0;
}

/* Keyboard focus ring — visible, but only for keyboard users. */
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Screen-reader-only text (used for icon labels and skip links). */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* "Skip to content" link — appears when tabbed to. */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 200;
  background: var(--blue-deep);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: var(--space-4); color: #fff; }


/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

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

/* Simple equal-width grids. The number is the column count on desktop;
   they all collapse gracefully on smaller screens (see section 15). */
.grid        { display: grid; gap: var(--space-5); }
.grid--2     { grid-template-columns: repeat(2, 1fr); }
.grid--3     { grid-template-columns: repeat(3, 1fr); }
.grid--4     { grid-template-columns: repeat(4, 1fr); }
.grid--5     { grid-template-columns: repeat(5, 1fr); }

/* Two-column "text beside image" layout. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--wide-left  { grid-template-columns: 1.15fr 0.85fr; }
.split--wide-right { grid-template-columns: 0.85fr 1.15fr; }


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

/* Solid blue — the main call to action. */
.btn--primary {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-deeper);
  border-color: var(--blue-deeper);
  color: #fff;
}

/* Bright blue — used for secondary emphasis. */
.btn--accent {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: #04212f;
}
.btn--accent:hover { background: #0f97d6; border-color: #0f97d6; color: #04212f; }

/* Outlined — sits on light backgrounds. */
.btn--outline {
  background: transparent;
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}
.btn--outline:hover { background: var(--blue-deep); color: #fff; }

/* White / ghost — for use on dark or photographic backgrounds. */
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--blue-deep);
}
.btn--light:hover { background: var(--blue-tint); color: var(--blue-deeper); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn--sm  { padding: 0.55rem 1.15rem; font-size: var(--size-xs); }
.btn--lg  { padding: 1rem 2.1rem;     font-size: var(--size-base); }
.btn--block { display: flex; width: 100%; }

/* A row of buttons that wraps neatly on narrow screens. */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
}
.btn-row--center { justify-content: center; }


/* ==========================================================================
   5. SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-height);
}

.site-logo img {
  height: 42px;
  width: auto;
}

/* --- Primary navigation ------------------------------------------------- */

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: var(--space-2) 0;
  color: var(--ink);
  font-size: var(--size-sm);
  font-weight: 600;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--blue-deep); }

/* Underline marker for the current page (desktop nav only — on mobile the
   nav is a stacked list and a full-width underline reads as a divider). */
@media (min-width: 861px) {
  .main-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 0 var(--blue-bright);
  }
}

/* --- Dropdown submenus -------------------------------------------------- */

.has-submenu { position: relative; }

.has-submenu > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: var(--space-2) 0;
  font: inherit;
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.has-submenu > button:hover { color: var(--blue-deep); }

/* Marks the dropdown whose section you are currently inside. */
.has-submenu > button[aria-current="true"] { color: var(--blue-deep); }
.has-submenu > button::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.has-submenu.is-open > button::after { transform: translateY(1px) rotate(-135deg); }

/* Note the `.main-nav` prefix: it is there so this rule beats the
   `.main-nav ul { display: flex }` rule above, which would otherwise force
   the closed dropdown to stay visible. */
.main-nav .submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -1rem;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  display: none;              /* hidden until JS adds .is-open to the parent */
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.main-nav .has-submenu.is-open .submenu { display: flex; }

.submenu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
}
.submenu a:hover { background: var(--blue-tint); }

/* --- Right-hand header actions ------------------------------------------ */

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header-phone {
  font-weight: 700;
  font-size: var(--size-sm);
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue-deep); }

/* --- Mobile menu toggle (hamburger) ------------------------------------- */

.nav-toggle {
  display: none;             /* shown at the mobile breakpoint */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Thin brand stripe under the header. */
.brand-stripe {
  height: 4px;
  background: linear-gradient(90deg,
              var(--blue-deep) 0%,
              var(--blue-bright) 55%,
              var(--blue-deep) 100%);
}


/* ==========================================================================
   6. HERO SECTIONS
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(430px, 58vh, 620px);
  padding: var(--space-7) 0;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.96) 43%,
      rgba(232, 244, 253, 0.74) 67%,
      rgba(232, 244, 253, 0.96) 100%),
    url("/assets/img/concierge-phone.jpg") right center / auto 118% no-repeat,
    var(--blue-tint);
  overflow: hidden;
}

.hero__inner {
  min-height: inherit;
  display: flex;
  align-items: center;
}

.hero__content {
  width: min(100%, 680px);
}

.hero h1 {
  font-size: var(--size-4xl);
  margin-bottom: var(--space-4);
}

.hero__lede {
  font-size: var(--size-lg);
  color: #46505c;
  max-width: 60ch;
}

/* Three short phrases under the hero: One Number / Any Device / ... */
.hero__taglines {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(1, 81, 159, 0.15);
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
}

/* The small pill above a heading, e.g. "Fleet Mobile by Brandywine". */
.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow--on-dark {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Compact hero used on interior pages. */
.page-hero {
  padding: var(--space-8) 0 var(--space-7);
  background: linear-gradient(160deg, #f7fbff 0%, #eef5fc 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero p  { color: var(--text-muted); font-size: var(--size-lg); max-width: 68ch; margin-bottom: 0; }

/* Breadcrumb trail on interior pages. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  font-size: var(--size-xs);
  color: var(--text-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.5; }


/* ==========================================================================
   7. CONTENT SECTIONS
   ========================================================================== */

.section        { padding: var(--space-9) 0; }
.section--tight { padding: var(--space-7) 0; }
.section--alt   { background: var(--surface-alt); }
.section--tint  { background: var(--blue-tint); }

.section--dark {
  background: var(--ink);
  color: #cfd6de;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark a  { color: var(--blue-bright); }

/* Heading block that sits above a grid of cards. */
.section-head { max-width: 68ch; margin-bottom: var(--space-7); }
.section-head p { color: var(--text-muted); font-size: var(--size-lg); margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section--dark .section-head p { color: #a9b4c0; }

/* Long-form article body — used on legal and tutorial pages. */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-7); font-size: var(--size-xl); }
.prose h3 { margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: var(--space-2); }
.prose > *:first-child { margin-top: 0; }


/* ==========================================================================
   8. CARDS
   ========================================================================== */

/* --- Feature card: icon, title, description ----------------------------- */

.feature-card {
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c9dbef;
}
.feature-card h3 { margin-bottom: var(--space-2); }
.feature-card p  { margin-bottom: 0; color: var(--text-muted); font-size: var(--size-sm); }

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius);
  background: var(--blue-tint);
}
.feature-card__icon img { width: 34px; height: 34px; object-fit: contain; }

.section--dark .feature-card {
  background: var(--ink-soft);
  border-color: #2b323c;
}
.section--dark .feature-card p { color: #a9b4c0; }
.section--dark .feature-card__icon { background: rgba(27, 171, 239, 0.16); }

/* --- Product card: photo, category, name, blurb ------------------------- */

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-card__media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: var(--surface-alt);
}
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; }

.product-card__body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: var(--space-2);
}
.product-card__body h3 { font-size: var(--size-base); margin-bottom: var(--space-2); }
.product-card__body p  { font-size: var(--size-sm); color: var(--text-muted); margin-bottom: var(--space-4); }
.product-card__body .btn { margin-top: auto; align-self: flex-start; }

/* --- Link card: a whole card that is one big link ----------------------- */

.link-card {
  display: block;
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-bright);
  color: inherit;
}
.link-card h3 { margin-bottom: var(--space-2); }
.link-card p  { margin-bottom: 0; color: var(--text-muted); font-size: var(--size-sm); }
.link-card__more {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--size-sm);
  font-weight: 700;
  color: var(--blue-deep);
}
.link-card__more::after { content: " →"; }


/* ==========================================================================
   9. LOGO STRIPS
   ========================================================================== */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
}
.logo-strip img {
  max-height: 38px;
  width: auto;
  opacity: 0.72;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.logo-strip img:hover { opacity: 1; filter: grayscale(0); }

/* Customer logos sit in white tiles so mixed-background logos read well. */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  align-items: center;
}
.customer-grid figure {
  margin: 0;
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.customer-grid img { max-height: 52px; width: auto; object-fit: contain; }


/* ==========================================================================
   10. LISTS, PILLS, TABLES, ACCORDIONS
   ========================================================================== */

/* Checklist with a blue tick before each item. */
.check-list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: var(--space-3);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 9px; height: 16px;
  border-right: 3px solid var(--blue-bright);
  border-bottom: 3px solid var(--blue-bright);
  transform: rotate(45deg);
}
.section--dark .check-list li::before { border-color: var(--blue-bright); }

/* Rounded "chips" — used for industries and short keyword lists. */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-list li {
  padding: 0.6rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pill-list--center { justify-content: center; }

/* Simple data table. */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--size-sm);
}
.table th,
.table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table th { background: var(--surface-alt); font-weight: 700; color: var(--ink); }

/* Accordion built on <details> — no JavaScript required. */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.accordion + .accordion { margin-top: var(--space-3); }

.accordion > summary {
  padding: var(--space-4) var(--space-5);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue-deep);
  flex-shrink: 0;
}
.accordion[open] > summary::after { content: "–"; }
.accordion[open] > summary { border-bottom: 1px solid var(--line); }

.accordion__body { padding: var(--space-5); }
.accordion__body > *:last-child { margin-bottom: 0; }


/* ==========================================================================
   11. MEDIA BLOCKS
   ========================================================================== */

/* Audio sample row — used on Music on Hold, Ringtones and Voiceovers. */
.audio-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.audio-list li {
  padding: var(--space-4) var(--space-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.audio-list h3 { font-size: var(--size-base); margin-bottom: var(--space-3); }
.audio-list audio { width: 100%; }

/* Responsive 16:9 wrapper for YouTube / Vimeo iframes. */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Card wrapper for a video plus its title. */
.video-card { display: flex; flex-direction: column; gap: var(--space-3); }
.video-card h3 { font-size: var(--size-base); margin: 0; }

/* Framed screenshot / photo. */
.figure-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.figure-frame figcaption {
  padding: var(--space-3) var(--space-5);
  font-size: var(--size-xs);
  color: var(--text-muted);
}


/* ==========================================================================
   12. CALL-TO-ACTION BANDS
   ========================================================================== */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-8);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-deep) 0%, #0a6fc4 55%, var(--blue-bright) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-band p  { color: rgba(255, 255, 255, 0.9); margin-bottom: 0; max-width: 56ch; }
.cta-band .btn-row { margin: 0; }

/* Smaller inline prompt, e.g. "Questions? Email us." */
.contact-panel {
  padding: var(--space-6);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-bright);
  border-radius: var(--radius);
}
.contact-panel h3 { margin-bottom: var(--space-2); }
.contact-panel p:last-child { margin-bottom: 0; }


/* ==========================================================================
   13. SITE FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #a9b4c0;
  padding-top: var(--space-8);
  font-size: var(--size-sm);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}

.site-footer h4 {
  color: #fff;
  font-size: var(--size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a  { color: #a9b4c0; }
.site-footer a:hover { color: #fff; }

.footer-logo {
  display: inline-block;
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}
.footer-logo img { height: 36px; width: auto; }

.footer-bottom {
  border-top: 1px solid #262c35;
  padding: var(--space-5) 0;
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--size-xs);
}
.footer-bottom__inner nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }


/* ==========================================================================
   14. UTILITIES
   ========================================================================== */

.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.mt-0  { margin-top: 0; }
.mt-5  { margin-top: var(--space-5); }
.mt-6  { margin-top: var(--space-6); }
.mt-7  { margin-top: var(--space-7); }
.mb-0  { margin-bottom: 0; }
.mb-5  { margin-bottom: var(--space-5); }
.mb-6  { margin-bottom: var(--space-6); }


/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   Everything above is written desktop-first; these blocks adapt it downward.
   ========================================================================== */

/* --- Large tablets and small laptops ------------------------------------ */
@media (max-width: 1024px) {

  :root { --size-4xl: 3rem; --size-3xl: 2.5rem; --size-2xl: 2rem; }

  .grid--4, .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .customer-grid     { grid-template-columns: repeat(4, 1fr); }
  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.97) 56%,
        rgba(232, 244, 253, 0.80) 82%,
        rgba(232, 244, 253, 0.96) 100%),
      url("/assets/img/concierge-phone.jpg") right center / auto 88% no-repeat,
      var(--blue-tint);
  }
  .hero__inner { min-height: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile: the navigation collapses behind the hamburger -------------- */
@media (max-width: 860px) {

  .nav-toggle { display: flex; }

  /* The nav becomes a full-width panel that drops below the header. */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4) var(--space-5) var(--space-6);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a,
  .has-submenu > button { width: 100%; padding: var(--space-4) 0; font-size: var(--size-base); }
  .has-submenu > button { justify-content: space-between; }

  /* Submenus become inline expanding lists rather than floating panels. */
  .main-nav .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 var(--space-3) var(--space-4);
    min-width: 0;
  }

  .header-phone { display: none; }

  /* Keep the header's quote button on one line next to the hamburger. */
  .header-actions { gap: var(--space-3); }
  .header-actions .btn { padding: 0.5rem 0.9rem; }
  .site-logo img { height: 34px; }

  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; gap: var(--space-6); }
  .customer-grid { grid-template-columns: repeat(3, 1fr); }
  .audio-list    { grid-template-columns: 1fr; }
  .section       { padding: var(--space-8) 0; }
  .hero {
    padding: var(--space-6) 0;
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.97) 62%,
        rgba(232, 244, 253, 0.84) 100%),
      url("/assets/img/concierge-phone.jpg") right top / auto 46% no-repeat,
      var(--blue-tint);
  }
  .hero__content { width: min(100%, 620px); }
  .hero__lede { font-size: var(--size-base); }
  .hero__taglines { margin-top: var(--space-5); padding-top: var(--space-4); gap: var(--space-4); }
}

@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.97) 70%,
        rgba(232, 244, 253, 0.96) 100%),
      url("/assets/img/concierge-phone.jpg") right top / auto 34% no-repeat,
      var(--blue-tint);
  }
}

/* --- Small phones ------------------------------------------------------- */
@media (max-width: 560px) {

  :root { --size-4xl: 2.35rem; --size-3xl: 2rem; --size-2xl: 1.65rem; }

  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .customer-grid     { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .cta-band          { padding: var(--space-6); }
  .hero {
    padding: var(--space-5) 0;
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.98) 72%,
        rgba(232, 244, 253, 0.96) 100%),
      url("/assets/img/concierge-phone.jpg") right top / auto 24% no-repeat,
      var(--blue-tint);
  }
  .hero h1 { margin-bottom: var(--space-3); }
  .btn               { width: 100%; }
  .btn-row .btn      { width: auto; flex: 1 1 auto; }
}


/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; }
}
