/* =============================================================
   Night Owl Audio — Shared Stylesheet
   Covers: all pages (homepage, weddings, and future pages)
   No #id selectors — classes only.
   ============================================================= */


/* ── Colour tokens ─────────────────────────────────────────── */
:root {
  --color-brand:        #954db3;
  --color-brand-hover:  #ae5cd0;
  --color-bg-section:   #f7f7f7;
  --color-border:       #dddddd;
  --color-border-dark:  #d1d1d1;
  --color-white:        #ffffff;
}


/* ── Reset / base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  color: #333;
}

h1 { font-size: 38px; font-weight: 700; margin: 0 0 8px; }
h2 { font-size: 26px; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 22px; font-weight: 600; color: var(--color-brand); margin: 0 0 8px; }
h4, h5, h6 { margin: 0 0 8px; }
p  { line-height: 1.7; margin: 0 0 12px; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-header { visibility: hidden; padding: 0; height: 0; overflow: hidden; }
.container   { max-width: 1320px; margin: 0 auto; padding: 0 16px; width: 100%; }


/* ══════════════════════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════════════════════ */
.top-bar {
  background: #333333;
  border-bottom: 1px solid #222;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-icons { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social-icons a { color: #ccc; font-size: 16px; }
.social-icons a:hover { color: var(--color-white); }

.contact-links { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.contact-links a { color: #ccc; }
.contact-links a:hover { color: var(--color-white); }


/* ══════════════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo-image { height: 36px; width: auto; }

.main-nav { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--color-brand); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  z-index: 200;
}
.main-nav > li:hover .nav-dropdown { display: block; }
.nav-dropdown li a { display: block; padding: 8px 16px; font-size: 13px; color: #444; }
.nav-dropdown li a:hover { color: var(--color-brand); background: var(--color-bg-section); }

/* Mobile burger button */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger-btn span { display: block; width: 24px; height: 2px; background: #333; }

@media (max-width: 991.98px) {
  .main-nav   { display: none; }
  .burger-btn { display: flex; }
}


/* ══════════════════════════════════════════════════════════════
   HERO — IMAGE SLIDER  (homepage)
══════════════════════════════════════════════════════════════ */
.section-hero { margin: 0; padding: 0; overflow: hidden; }

.hero-slider { position: relative; width: 100%; height: 411px; background: #111; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.slider-dots li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .3s;
}
.slider-dots li.active { background: var(--color-white); }

@media (max-width: 1199.98px) { .hero-slider { height: 280px; } }
@media (max-width: 991.98px)  { .hero-slider { height: 197px; } }
@media (max-width: 767.98px)  { .hero-slider { height: 130px; } }
@media (max-width: 575.98px)  { .hero-slider { height: 91px;  } }


/* ══════════════════════════════════════════════════════════════
   HERO — VIDEO BANNER  (interior pages, e.g. Weddings)
   Full-width breakout from container
══════════════════════════════════════════════════════════════ */
.section-hero-video {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  background: #111;
}
.hero-video-wrap { position: relative; width: 100%; height: 411px; overflow: hidden; }
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1199.98px) { .hero-video-wrap { height: 280px; } }
@media (max-width: 991.98px)  { .hero-video-wrap { height: 197px; } }
@media (max-width: 767.98px)  { .hero-video-wrap { display: none; } }


/* ══════════════════════════════════════════════════════════════
   HERO — STATIC IMAGE  (any page)
   Full-width breakout, same proportions as slider and video.
   Usage:
     <div class="hero-image"
          style="background-image: url('/images/your-photo.jpg');">
     </div>
══════════════════════════════════════════════════════════════ */
.hero-image {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  height: 411px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
}

@media (max-width: 1199.98px) { .hero-image { height: 280px; } }
@media (max-width: 991.98px)  { .hero-image { height: 197px; } }
@media (max-width: 767.98px)  { .hero-image { height: 130px; } }
@media (max-width: 575.98px)  { .hero-image { height: 91px;  } }


/* ══════════════════════════════════════════════════════════════
   BRAND BANNER  (purple heading bars)
══════════════════════════════════════════════════════════════ */
.section-brand-banner {
  background-color: var(--color-brand);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-brand);
  border-bottom: 1px solid var(--color-brand);
}
.section-brand-banner .banner-title {
  margin: 20px 0;
  padding: 0;
  color: var(--color-white);
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 767.98px) {
  .section-brand-banner { padding-bottom: 20px; }
}


/* ══════════════════════════════════════════════════════════════
   SERVICES GRID  (homepage — 5 cards)
══════════════════════════════════════════════════════════════ */
.section-services { padding: 0; margin: 0; width: 100%; }

.services-row { display: flex; flex-wrap: wrap; gap: 0; }

.service-card-wrap { flex: 0 0 20%; max-width: 20%; }
@media (max-width: 767.98px) { .service-card-wrap { flex: 0 0 100%; max-width: 100%; } }
@media (max-width: 575.98px) { .service-card-wrap { flex: 0 0 100%; max-width: 100%; } }

.service-card {
  padding: 20px;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 360px;
}
.service-card:last-child { border-right: none; }

.service-card img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  margin-bottom: 10px;
}

.service-card-title {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin: 0 0 12px;
}
@media (max-width: 1199.98px) { .service-card-title { font-size: 18px; } }

.service-card-text {
  font-size: 14px;
  text-align: center;
  color: #555;
  flex: 1;
  margin-bottom: 0;
}

.service-card-spacer { height: 30px; flex-shrink: 0; }


/* ══════════════════════════════════════════════════════════════
   2-COLUMN CONTENT LAYOUT  (interior pages)
   .col       — equal halves (50/50)
   .col-narrow — fixed 300px (e.g. sidebar, image, callout)
   .col-wide   — fills remaining space
══════════════════════════════════════════════════════════════ */
.two-col-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.two-col-layout .col        { flex: 1; min-width: 0; }
.two-col-layout .col-narrow { flex: 0 0 300px; min-width: 0; }
.two-col-layout .col-wide   { flex: 1; min-width: 0; }

@media (max-width: 767.98px) {
  .two-col-layout             { flex-direction: column; }
  .two-col-layout .col-narrow { flex: 0 0 100%; }
}


/* ══════════════════════════════════════════════════════════════
   IMAGE GRID  (responsive tiled logo / image grid)
   Auto-wraps columns; minimum cell width 120px.
   Usage: wrap any number of <a><img></a> pairs in .image-grid
══════════════════════════════════════════════════════════════ */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.image-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  aspect-ratio: 1;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  overflow: hidden;
}

.image-grid a:hover {
  border-color: var(--color-brand);
  box-shadow: 0 4px 16px rgba(149, 77, 179, 0.15);
  transform: translateY(-3px);
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter .2s;
}

.image-grid a:hover img {
  filter: grayscale(0%);
}


/* ══════════════════════════════════════════════════════════════
   IMAGE MODAL  (full-size polaroid lightbox)
══════════════════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.modal-overlay.open {
  display: flex;
}

/* The polaroid card itself */
.modal-content {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  background: var(--color-white);
  padding: 16px 16px 64px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.5),
    0 6px 20px rgba(0,0,0,.3);
  border-radius: 2px;
  cursor: default;
  /* Let the image dictate width, but never overflow the screen */
  max-width: min(90vw, 900px);
  animation: modal-in .25s ease;
}

.modal-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 1px;
  filter: saturate(0.95) contrast(1.04);
  box-shadow: inset 0 0 12px rgba(0,0,0,.15);
  outline: 1px solid rgba(0,0,0,.08);
}

/* Caption area — matches polaroid-caption styling */
.modal-caption {
  text-align: center;
  margin-top: 0;
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
}

.modal-caption-title {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px;
}

.modal-caption-sub {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #777;
  line-height: 1.5;
}

/* Close button sits above the top-right corner of the card */
.modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.modal-close:hover { opacity: 1; }

@keyframes modal-in {
  from { opacity: 0; transform: scale(.92) rotate(-1deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0deg);  }
}


/* ══════════════════════════════════════════════════════════════
   POLAROID  (image + caption in a polaroid-style card)
   Usage: wrap any <img> and optional caption in .polaroid
   Can be used standalone or inside .polaroid-grid for a gallery.

   Single:
     <div class="polaroid">
       <img src="..." alt="...">
       <p>Caption text</p>
     </div>

   Grid:
     <div class="polaroid-grid">
       <div class="polaroid"> ... </div>
       <div class="polaroid polaroid--rotate-left"> ... </div>
       <div class="polaroid polaroid--rotate-right"> ... </div>
     </div>
══════════════════════════════════════════════════════════════ */
.polaroid {
  display: inline-flex;
  flex-direction: column;
  background: var(--color-white);
  padding: 12px 12px 40px;
  box-shadow: 0 4px 6px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  border-radius: 2px;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: default;
  max-width: 260px;
}

.polaroid:hover {
  transform: scale(1.04) rotate(0deg) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.18), 0 4px 8px rgba(0,0,0,.12);
}

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.9) contrast(1.05);
  box-shadow: inset 0 0 8px rgba(0,0,0,.15);
  outline: 1px solid rgba(0,0,0,.08);
}

.polaroid-caption {
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.4;
}

.polaroid-caption-title {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.polaroid-caption-sub {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #777;
  font-style: italic;
  line-height: 1.5;
}

/* Optional rotation variants for a natural scattered look */
.polaroid--rotate-left  { transform: rotate(-3deg); }
.polaroid--rotate-right { transform: rotate(3deg);  }
.polaroid--rotate-slight-left  { transform: rotate(-1.5deg); }
.polaroid--rotate-slight-right { transform: rotate(1.5deg);  }

/* Grid layout for multiple polaroids */
.polaroid-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-end;
  padding: 24px 0;
}


/* ══════════════════════════════════════════════════════════════
   CTA BUTTON
══════════════════════════════════════════════════════════════ */
.btn-brand {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-white);
  background-color: var(--color-brand);
  padding: 10px 20px;
  border-radius: 4px;
  text-align: center;
  transition: background-color .2s;
}
.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
  color: var(--color-white);
  background-color: var(--color-brand-hover);
}
.btn-brand-wrapper { text-align: center; margin-top: auto; padding-top: 10px; }


/* ══════════════════════════════════════════════════════════════
   AFFILIATIONS  (homepage)
══════════════════════════════════════════════════════════════ */
.section-affiliations { padding: 50px 0 30px; }

.affiliations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.affiliation-col {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767.98px) { .affiliation-col { flex: 0 0 100%; max-width: 100%; } }

.affiliation-col img { max-width: 260px; height: auto; margin: 0 auto; }


/* ══════════════════════════════════════════════════════════════
   PAGE TITLE  (interior pages)
══════════════════════════════════════════════════════════════ */
.section-page-title { padding: 24px 0 0; }
.section-page-title h1 { margin-bottom: 0; }
.section-divider {
  border: none;
  border-bottom: 1px solid #ccc;
  margin: 15px 0;
}


/* ══════════════════════════════════════════════════════════════
   3-COLUMN CONTENT LAYOUT  (interior pages)
   sidebar | text | right-column (videos etc.)
══════════════════════════════════════════════════════════════ */
.section-content { padding: 24px 0 40px; }

.content-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Left: sub-nav */
.sidebar-nav { flex: 0 0 200px; }
.sidebar-nav ul { list-style: none; margin: 0; padding: 0; }
.sidebar-nav ul li a {
  display: block;
  padding: 5px 15px;
  color: var(--color-brand);
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li.active a {
  background-color: var(--color-brand);
  color: var(--color-white);
}

/* Hide sidebar on mobile — .section-mobile-subnav takes over below 992px */
@media (max-width: 991.98px) { .sidebar-nav { display: none; } }

/* Middle: main text */
.content-text { flex: 1; min-width: 0; }

/* Right: videos / media */
.content-videos { flex: 0 0 340px; min-width: 0; }

/* Stack on tablet and below */
@media (max-width: 1199.98px) {
  .content-layout  { flex-wrap: wrap; }
  .sidebar-nav     { flex: 0 0 100%; order: 2; }
  .content-text    { flex: 0 0 100%; order: 3; }
  .content-videos  { flex: 0 0 100%; order: 4; }
}

/* Video embeds */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 24px;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-embed-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #444; }


/* ══════════════════════════════════════════════════════════════
   MOBILE SUB-NAV BUTTONS  (interior pages, shown < 992px)
══════════════════════════════════════════════════════════════ */
.section-mobile-subnav { padding: 16px 0 0; }
.mobile-subnav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
/* Hidden on desktop, visible when sidebar is hidden */
@media (min-width: 992px) { .section-mobile-subnav { display: none; } }


/* ══════════════════════════════════════════════════════════════
   REVIEWS CALLOUT
══════════════════════════════════════════════════════════════ */
.section-reviews { padding: 10px 0 30px; }
.reviews-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.reviews-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-brand);
  text-align: center;
}
.review-logo { display: flex; align-items: center; }
.review-logo img { width: 50px; height: 50px; }


/* ══════════════════════════════════════════════════════════════
   INFO BAND  (footer contact strip, shared across all pages)
══════════════════════════════════════════════════════════════ */
.section-info-band {
  background-color: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 30px 0;
}

.info-band-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.info-band-col { flex: 0 0 25%; max-width: 25%; padding: 0 16px; }
@media (max-width: 767.98px) {
  .info-band-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
}

/* Logo column: logo centred with social icons below */
.info-band-logo { display: flex; flex-direction: column; align-items: center; }
.info-band-logo img { max-width: 180px; }

.info-band-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}
.info-band-socials img { width: 30px; height: 30px; }

/* Contact column */
.contact-block h4 { font-weight: 700; margin: 0 0 10px; }
.contact-block p  { margin: 0 0 8px; font-size: 14px; }
.contact-block a  { color: #333; }
.contact-block a:hover { color: var(--color-brand); }

.contact-item {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-brand);
}
.contact-item:hover { color: var(--color-brand-hover); }
.contact-item .fas,
.contact-item .far { margin-right: 6px; }


/* ══════════════════════════════════════════════════════════════
   SITE FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #333333;
  border-top: 1px solid #222;
  padding: 16px 0;
  font-size: 13px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-copyright { color: #ccc; }

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #ccc; }
.footer-links a:hover { color: var(--color-white); }


/* ══════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
══════════════════════════════════════════════════════════════ */
.scroll-up {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-brand);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 999;
}
.scroll-up.visible { opacity: 1; pointer-events: auto; }
.scroll-up:hover { background: var(--color-brand-hover); }


/* ══════════════════════════════════════════════════════════════
   OFF-CANVAS MENU
══════════════════════════════════════════════════════════════ */
.offcanvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
}
.offcanvas-overlay.open { display: block; }

.offcanvas-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  max-width: 90vw;
  background: var(--color-white);
  z-index: 400;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.offcanvas-menu.open { transform: translateX(0); }

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}
.offcanvas-header .logo-image { height: 32px; }

.close-offcanvas {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.close-offcanvas span { display: block; width: 22px; height: 2px; background: #333; }
.close-offcanvas span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.close-offcanvas span:nth-child(2) { opacity: 0; }
.close-offcanvas span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.offcanvas-nav { list-style: none; margin: 0; padding: 12px 0; flex: 1; }
.offcanvas-nav li { border-bottom: 1px solid var(--color-border); }
.offcanvas-nav > li > a {
  display: block;
  flex: 1;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}
.offcanvas-nav > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.offcanvas-nav > li > a:hover,
.offcanvas-nav > li.active > a { color: var(--color-brand); }

/* Separate toggle button next to the link */
.offcanvas-toggle-btn {
  background: none;
  border: none;
  border-left: 1px solid var(--color-border);
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: background .2s, color .2s;
}
.offcanvas-toggle-btn:hover {
  background: var(--color-bg-section);
  color: var(--color-brand);
}

.menu-toggler::after { content: '▼'; font-size: 11px; }
.offcanvas-nav > li.expanded > a .menu-toggler::after { content: '▲'; }
.offcanvas-nav > li.expanded .offcanvas-toggle-btn .menu-toggler::after { content: '▲'; }

.offcanvas-submenu {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  background: var(--color-bg-section);
}
.offcanvas-nav > li.expanded .offcanvas-submenu { display: block; }
.offcanvas-submenu li a {
  display: block;
  padding: 10px 20px 10px 32px;
  font-size: 13px;
  color: #555;
}
.offcanvas-submenu li a:hover { color: var(--color-brand); }

.offcanvas-footer {
  padding: 20px 16px;
  border-top: 1px solid var(--color-border);
}
.offcanvas-footer .social-icons { justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════════════════════════ */
.contact-form { max-width: 640px; margin-top: 1rem; }
 
.field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin-bottom: 1.1rem;
}
 
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
 
.field label {
    font-weight: 600;
    font-size: .9375rem;
    color: #333;
}
 
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: .5rem .75rem;
    border: 2px solid #aaaaaa;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: .9375rem;
    color: #333;
    background: var(--color-white);
    transition: border-color .15s, box-shadow .15s;
}
 
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(149,77,179,.12);
}
 
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2rem;
}
 
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #dc2626; }
 
.field .error { font-size: .8125rem; color: #dc2626; }
 
.required { color: #dc2626; }
.required-note { font-size: .8125rem; color: #777; margin-bottom: 1rem; }
 
.alert-success {
    padding: .75rem 1rem;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.alert-error {
    padding: .75rem 1rem;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.alert-warning {
    padding: .75rem 1rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #78350f;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.alert-info {
    padding: .75rem 1rem;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e3a8a;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}
 
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
}
