/*
 Theme Name:   Bence Blinds
 Theme URI:    https://benceblinds.com
 Description:  Child theme for Bence Blinds -- window blinds, closet systems, shower enclosures, framed mirrors, and locks & bath hardware installation. Ported design/structure from the client's existing static site (navy/silver palette, Playfair Display + Montserrat), not ojji-base's shared Bootstrap component system -- same "own visual layer over ojji-base's PHP backbone" approach as design-studio.
 Template:     ojji-base
 Version:      1.0.0
 Text Domain:  benceblinds
*/

/* ===========================================================
   Bence Blinds -- ported verbatim from the client's original
   static site (css/style.css), brand: navy #152a4d / #0f1f3a,
   silver #b9c1cc, off-white #f7f8fa. Deliberately NOT based on
   ojji-base's Bootstrap classes -- this is its own component
   system, same as design-studio's `--ds-*` approach (see that
   theme's own comment for the rationale). Bootstrap/FA still
   load underneath (ojji-base's own enqueue), unused by this
   theme's markup, same reason design-studio leaves them in
   place rather than deregistering a dependency WP's resolver
   needs intact.
   =========================================================== */

:root {
  --navy-dark: #0f1f3a;
  --navy: #152a4d;
  --navy-light: #1f3a68;
  --silver: #b9c1cc;
  --silver-light: #e7eaef;
  --bg: #f7f8fa;
  --white: #ffffff;
  --text: #22293a;
  --text-muted: #5a6272;
  --shadow: 0 10px 30px rgba(15, 31, 58, 0.08);
  --radius: 8px;
  --max-width: 1180px;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  transition: color 0.15s ease;
}

.social-link svg,
.social-link i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.social-link:hover {
  color: var(--white);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15, 31, 58, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-icon {
  height: 40px;
  width: auto;
}

.brand-wordmark {
  height: 28px;
  width: auto;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a.current-menu-item {
  background: var(--silver-light);
  color: var(--navy-dark);
}

/* ---------- Services dropdown ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "\25BE";
  font-size: 0.7rem;
  margin-left: 2px;
}

.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  background: var(--silver-light);
  color: var(--navy-dark);
}

.nav-dropdown .dropdown-menu {
  display: none;
  flex-direction: column;
  min-width: 220px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(15, 31, 58, 0.16);
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
}

.nav-dropdown[open] .dropdown-menu {
  display: flex;
}

.nav-dropdown .dropdown-menu a {
  padding: 10px 12px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-dropdown .dropdown-menu a:hover {
  background: var(--silver-light);
}

@media (min-width: 721px) {
  .nav-dropdown:hover .dropdown-menu {
    display: flex;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.bb-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.bb-btn-primary {
  background: var(--navy);
  color: var(--white) !important;
}

.bb-btn-primary:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow);
}

.bb-btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white) !important;
}

.bb-btn-outline:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.bb-btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy) !important;
}

.bb-btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--navy) !important;
  transition: background 0.15s ease, transform 0.12s ease;
}

.btn-pill:hover {
  background: var(--silver-light);
  transform: translateY(-1px);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: background 0.15s ease;
}

.phone-pill:hover {
  background: var(--navy-light);
}

/* ---------- Hero (home) ---------- */
.hero-redesign {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--navy-dark);
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 35%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0) 75%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  height: 100%;
  padding: 70px 0 70px max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
}

.hero-brand-block {
  text-align: left;
}

.hero-brand-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.hero-brand-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.4;
  margin: 24px 0 0;
}

.hero-quote-card {
  background: rgba(15, 31, 58, 0.88);
  color: var(--white);
  border-radius: 3px;
  padding: 36px 40px;
  text-align: left;
  width: 420px;
  max-width: 90vw;
  flex-shrink: 0;
}

.hero-quote-card p {
  margin: 0 0 22px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
}

.hero-quote-card .btn-pill {
  background: var(--navy);
  color: var(--white) !important;
  border: 2px solid var(--white);
}

.hero-quote-card .btn-pill:hover {
  background: var(--navy-light);
}

/* ---------- Icon row (category quick-links) ---------- */
.icon-row-section {
  padding: 56px 0 20px;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.icon-row-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--navy-dark);
}

.icon-row .icon-row-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: -10px;
  width: 2px;
  background: rgba(15, 31, 58, 0.28);
}

.icon-row-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.7rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-row-item:hover .icon-row-circle {
  background: var(--navy-light);
  transform: translateY(-3px);
}

.icon-row-label-bold {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-dark);
}

/* ---------- Full-bleed category photo strip ---------- */
.photo-strip {
  display: flex;
  width: 100%;
  gap: 10px;
  padding: 0;
  background: var(--bg);
}

.photo-strip-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-strip-item:hover img {
  transform: scale(1.06);
}

.photo-strip-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 8px;
  background: rgba(15, 31, 58, 0.88);
  color: var(--white);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Why Choose Us ---------- */
.section-alt {
  background: var(--white);
  padding: 70px 0;
}

.why-choose-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--navy-dark);
  text-align: center;
  margin: 0 0 26px;
  position: relative;
}

.why-choose-heading::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  border-radius: 1px;
  background: var(--navy);
  margin: 26px auto 0;
}

.why-choose-icons-col {
  padding-bottom: 34px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 3px 320px;
  gap: 40px;
  align-items: center;
}

.why-choose-divider {
  align-self: stretch;
  width: 3px;
  border-radius: 2px;
  background: var(--silver);
}

.why-choose-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.why-choose-icons .icon-row-item {
  position: relative;
}

.why-choose-icons .icon-row-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: -10px;
  width: 2px;
  background: rgba(15, 31, 58, 0.28);
}

.why-choose-icons .icon-row-circle {
  width: 74px;
  height: 74px;
  font-size: 3.2rem;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.why-choose-icons .icon-row-item:hover .icon-row-circle {
  background: var(--navy);
  color: var(--white);
}

.why-choose-icons .icon-row-label-bold {
  display: block;
}

.why-choose-contact {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-choose-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.why-choose-contact a i {
  width: 18px;
  text-align: center;
  color: var(--silver);
}

.why-choose-contact .btn-pill {
  justify-content: center;
  margin-top: 6px;
}

/* ---------- Sub-page hero (category pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

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

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 31, 58, 0.74), rgba(21, 42, 77, 0.64));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 2.6rem;
  font-family: var(--font-serif);
}

.page-hero p {
  color: var(--silver-light);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.bb-section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-light);
}

.section-head h2 {
  font-size: 2rem;
  margin: 10px 0 14px;
  color: var(--navy-dark);
  font-family: var(--font-serif);
}

.section-head p {
  color: var(--text-muted);
}

/* ---------- Feature list (category pages) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.feature-list .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.info-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}

.info-panel h3 {
  margin-top: 0;
  font-family: var(--font-serif);
}

.info-panel p {
  color: var(--silver-light);
}

.info-panel-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand-logos-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-light);
  margin-bottom: 14px;
}

.brand-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
}

.brand-logos-row a {
  display: inline-flex;
  flex: 0 1 auto;
  max-width: calc(50% - 15px);
  transition: opacity 0.15s ease;
}

.brand-logos-row a:hover {
  opacity: 0.65;
}

.brand-logos-row img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 140px);
  max-height: 50px;
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-copy h2 {
  color: var(--navy-dark);
  font-size: 1.8rem;
  margin: 10px 0 18px;
  font-family: var(--font-serif);
}

.about-copy p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.about-copy ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  padding: 0;
}

.about-copy ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}

.about-copy ul li i {
  color: var(--navy);
  margin-top: 4px;
}

.owner-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  text-align: center;
}

.owner-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-photo i {
  font-size: 64px;
  color: var(--navy-light);
}

.owner-name {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.3rem;
  font-family: var(--font-serif);
}

.owner-title {
  display: block;
  margin: 4px 0 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.owner-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  padding: 0;
}

.owner-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.92rem;
}

.owner-contact i {
  width: 18px;
  text-align: center;
  color: var(--navy);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: var(--radius);
  padding: 46px;
  text-align: center;
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-inline: auto;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
}

.cta-banner p {
  color: var(--silver-light);
  margin: 0 0 24px;
}

/* ---------- Quote / Contact form ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: flex-start;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

/* Ojji Forms markup (.ojji-form__*) restyled to match the site's original
   boxed, navy-accented look -- same restyling-not-dependency pattern
   ojji-base/style.css uses for this plugin's classes. */
.form-card .ojji-form__field {
  margin-bottom: 18px;
}

.form-card .ojji-form__field > label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.form-card .ojji-form__field input:not([type="checkbox"]),
.form-card .ojji-form__field select,
.form-card .ojji-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--silver-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
}

.form-card .ojji-form__field textarea {
  min-height: 130px;
}

.form-card .ojji-form__checkboxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.form-card .ojji-form__checkboxes label {
  background: var(--bg);
  border: 1.5px solid var(--silver-light);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  flex: 1 1 calc(50% - 5px);
  cursor: pointer;
}

.form-card .ojji-form__checkboxes input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}

.form-card .ojji-form__submit {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  background: var(--navy);
  color: var(--white) !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.form-card .ojji-form__submit:hover {
  background: var(--navy-light);
}

.form-card .ojji-form__error-banner {
  font-size: 0.9rem;
  color: #a6332f;
  background: #fdecea;
  border: 1px solid #f3c2bf;
  border-radius: 8px;
  padding: 12px 14px;
}

.form-card .ojji-form__success {
  font-size: 0.95rem;
  color: #1e6b34;
  background: #e6f4ea;
  border: 1px solid #b7ddc3;
  border-radius: 8px;
  padding: 12px 14px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-list .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-list .icon-circle i {
  font-size: 18px;
  color: var(--navy);
  line-height: 1;
}

.contact-info-list strong {
  display: block;
  color: var(--navy-dark);
}

.contact-info-list a {
  color: var(--text-muted);
}

.contact-info-list a:hover {
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--silver-light);
  padding: 20px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}

.footer-brand .brand-icon {
  height: 46px;
}

.footer-brand .brand-wordmark {
  height: 32px;
}

.footer-brand .brand-sub {
  color: var(--silver);
}

.site-footer p {
  color: var(--silver);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-col h4,
.footer-col .eyebrow {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.footer-col a {
  color: var(--silver);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom-end {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-login {
  color: var(--silver);
  opacity: 0.45;
  font-size: 0.8rem;
  transition: opacity 0.2s;
}

.footer-login:hover,
.footer-login:focus {
  opacity: 1;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--silver);
}

/* ---------- Footer tagline band (decorative, home page) ---------- */
.footer-tagline-band {
  background: var(--navy);
  padding: 26px 24px;
  text-align: center;
}

.footer-tagline-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 460px;
  margin: 0 auto 6px;
}

.footer-tagline-line::before,
.footer-tagline-line::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.footer-tagline-band-main {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  margin: 0;
}

.footer-tagline-band-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0;
}

/* ---------- Job board (ojji-jobs) restyle ---------- */
.ojji-jobs-search {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 32px;
  border-color: var(--silver-light);
}

.ojji-jobs-search__field label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
}

.ojji-jobs-search__submit {
  font-family: var(--font-sans);
}

.ojji-job-card {
  background: var(--white);
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.ojji-job-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.ojji-job-card__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.ojji-job-card__title {
  margin: 0;
}

.ojji-job-card__title a {
  color: var(--navy-dark);
  font-family: var(--font-sans);
  font-weight: 700;
}

.ojji-job-card__summary {
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 10px 0 16px;
}

.ojji-job-apply-btn,
.ojji-job-card .bb-btn {
  background: var(--navy);
  color: var(--white) !important;
}

/* Icon-only share row on the single job page -- round icon buttons instead
   of text links/button, same color treatment as .icon-circle elsewhere. */
.ojji-job-single__share a,
.ojji-job-single__share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--silver-light);
  color: var(--navy) !important;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ojji-job-single__share a:hover,
.ojji-job-single__share button:hover {
  background: var(--navy);
  color: var(--white) !important;
}

/* ---------- Updates portal ([benceblinds_updates]) ---------- */
.updates-portal__intro {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 24px;
}

#benceblinds-updates-login {
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

#benceblinds-updates-login label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

#benceblinds-updates-login input[type="text"],
#benceblinds-updates-login input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--silver-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  margin-bottom: 18px;
}

#benceblinds-updates-login p:has(> input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

#benceblinds-updates-login input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

#benceblinds-updates-login input[type="submit"]:hover {
  background: var(--navy-light);
}

.updates-portal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
}

.updates-portal__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.updates-portal__card h3 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
}

.updates-portal__card p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.updates-portal__logout {
  margin-top: 24px;
}

.updates-portal__logout a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .updates-portal__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery (ojji-gallery) restyle ---------- */
.ojji-gallery__item {
  border-radius: 8px;
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .feature-grid,
  .quote-layout,
  .about-grid,
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 34px;
    padding: 50px 24px;
  }

  .hero-quote-card {
    width: 100%;
    max-width: 100%;
  }

  .hero-scrim {
    background: rgba(255, 255, 255, 0.88);
  }

  .icon-row,
  .why-choose-icons {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

  .icon-row-item::after {
    display: none;
  }

  .why-choose-divider {
    width: 100%;
    height: 3px;
    margin: 34px 0;
  }

  .photo-strip {
    flex-wrap: wrap;
  }

  .photo-strip-item {
    flex: 1 1 calc(33.333% - 7px);
    aspect-ratio: 1 / 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    box-shadow: 0 12px 24px rgba(15, 31, 58, 0.12);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 12px;
    background: var(--bg);
    display: flex;
  }

  .hero-quote-card {
    padding: 26px 22px;
  }

  .icon-row,
  .why-choose-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-strip-item {
    flex: 1 1 calc(50% - 5px);
  }

  .form-card .ojji-form__checkboxes label {
    flex: 1 1 100%;
  }
}

@media (max-width: 520px) {
  .cta-banner {
    padding: 32px 22px;
  }
}

/* ---------- How-to guide links (front-end manage pages + Updates portal) ---------- */
.bb-guide-link {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.bb-guide-link a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-guide-link a i {
  color: #b88a2e;
  margin-right: 6px;
}

.updates-portal__card .bb-guide-link {
  margin: 16px 0 0;
}

.ojji-gallery-upload__intro > span,
.ojji-jobs-manage__intro > span {
  flex: 1 1 auto;
}
