:root {
  --white: #ffffff;
  --ink: #2b2b2b;
  --tan: #b99b78;
  --tan-dark: #a68663;
  --yellow: #f2b705;
  --overlay: rgba(20, 14, 8, 0.62);
  --font: "Urbanist", "Segoe UI", Arial, sans-serif;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #f5f5f5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 420px;
  padding: 14px 22px 64px;
  color: var(--white);
  overflow: hidden;
  /* Fallback colour if the image is missing */
  background: linear-gradient(135deg, #5a4630, #2a1f14);
}

/* Banner image (placed in the HTML) */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark overlay on top of the image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

/* ---------- Navbar ---------- */
.navbar {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 18px 0 22px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; max-width: 140px; display: block; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--tan-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--tan);
  border-radius: 4px;
  transition: background .2s;
}
.btn-quote:hover { background: var(--tan-dark); }
.btn-quote svg { width: 11px; height: 11px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: transparent;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: #f1ece5; border-color: var(--tan); }
.icon-btn svg { width: 16px; height: 16px; }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 8px 20px 20px;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}
.mobile-menu li:last-child a { border-bottom: 0; }
.mobile-menu .btn-quote { margin-top: 14px; width: 100%; justify-content: center; height: 44px; }

/* ---------- Hero content ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 56px auto 0;
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.breadcrumb span:last-child { color: #d9d2c8; font-weight: 500; }
.breadcrumb svg { width: 11px; height: 11px; opacity: .8; }

.hero h1 {
  margin-top: 14px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .2px;
}
.hero h1::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--yellow);
}

.hero p {
  margin: 22px auto 0;
  max-width: 300px;
  font-size: 11.5px;
  line-height: 1.7;
  font-weight: 500;
  color: #ece7df;
}

/* ---------- Desktop-only / mobile-only ---------- */
.menu-toggle { display: none; }

@media (min-width: 901px) {
  .hero p { max-width: 400px; }
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-quote, .nav-actions .search-btn { display: none; }
  .menu-toggle { display: grid; }
  .nav-actions { gap: 8px; }
}

@media (max-width: 600px) {
  .hero { min-height: 380px; padding: 10px 12px 48px; }
  .navbar { height: 58px; padding: 0 12px 0 14px; }
  .logo img { height: 40px; }
  .hero-content { margin-top: 44px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 12.5px; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================
   Blog listing section
   ========================================================= */
.blog-section {
  padding: 56px 22px 72px;
  background: #fafafa;
}

.blog-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

/* ---------- Post cards ---------- */
.blog-posts { display: grid; gap: 28px; }

.post-card {
  padding: 16px 16px 22px;
  background: #f1f1f1;
}

.post-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7.5;
  overflow: hidden;
  background: linear-gradient(135deg, #5a4630, #2a1f14);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.post-thumb:hover img { transform: scale(1.04); }

.post-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  background: var(--yellow);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 500;
  color: #666;
}
.meta-item { display: inline-flex; align-items: center; gap: 5px; }
.meta-item svg { width: 12px; height: 12px; }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }

.post-title {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
.post-title a { transition: color .2s; }
.post-title a:hover { color: var(--tan-dark); }

.post-excerpt {
  margin-top: 10px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 500;
  color: #777;
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
}
.post-more:hover { color: var(--tan-dark); }
.post-more svg { width: 11px; height: 11px; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 22px; }

.widget {
  padding: 22px 20px;
  background: #f1f1f1;
}

.widget-title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--yellow);
}

/* Search */
.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #e3e3e3;
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  font: 500 11px var(--font);
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}
.search-form input::placeholder { color: #999; }
.search-form button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--yellow);
  background: transparent;
  border: 0;
}
.search-form button svg { width: 14px; height: 14px; }
.search-form:focus-within { border-color: var(--tan); }

/* Categories */
.cat-list { display: grid; gap: 8px; list-style: none; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  background: var(--white);
  border: 1px solid #e6e6e6;
  transition: border-color .2s, color .2s;
}
.cat-list a:hover { color: var(--tan-dark); border-color: var(--tan); }
.cat-list svg { width: 9px; height: 9px; }

/* Recent posts */
.recent-list { display: grid; gap: 16px; list-style: none; }
.recent-list li { display: flex; align-items: center; gap: 12px; }
.recent-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: linear-gradient(135deg, #5a4630, #2a1f14);
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-list time {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 500;
  color: #888;
}
.recent-title {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
}
.recent-title:hover { color: var(--tan-dark); }

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a {
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 500;
  color: #555;
  background: var(--white);
  border: 1px solid #e6e6e6;
  transition: background .2s, color .2s, border-color .2s;
}
.tag-list a:hover { color: var(--white); background: var(--tan); border-color: var(--tan); }

/* Social share */
.share-list { display: flex; gap: 8px; }
.share-list a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e6e6e6;
  transition: background .2s, color .2s, border-color .2s;
}
.share-list a:hover { color: var(--white); background: var(--tan); border-color: var(--tan); }
.share-list svg { width: 13px; height: 13px; }

/* ---------- Blog responsive ---------- */
@media (max-width: 991px) {
  .blog-container { grid-template-columns: minmax(0, 1fr); }
  .post-excerpt { max-width: none; }
}

@media (max-width: 600px) {
  .blog-section { padding: 36px 12px 48px; }
  .blog-posts { gap: 20px; }
  .post-card { padding: 12px 12px 18px; }
  .post-title { font-size: 19px; }
  .widget { padding: 18px 16px; }
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 15px 0 0;
    background: #ffffff;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.site-footer * {
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    max-width: 998px;
    margin: 0 auto;
    padding: 0;
}

/* ==========================================
   TOP ROW
========================================== */

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 108px;
    gap: 30px;
}

.footer-logo {
    width: 150px;
    flex-shrink: 0;
}

.footer-logo a {
    display: block;
    width: 100%;
}

.footer-logo img {
    display: block;
    width: 145px;
    height: 105px;
    object-fit: contain;
    object-position: top center;
}

/* NEWSLETTER */

.footer-newsletter {
    display: flex;
    align-items: center;
    width: 400px;
    height: 44px;
    margin-top: 24px;
    padding: 4px;

    border-radius: 4px;
    background: #f5f5f5;
}

.footer-newsletter input {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 100%;
    padding: 0 10px;

    border: none;
    outline: none;
    background: transparent;

    color: #333333;
    font-family: inherit;
    font-size: 11px;
}

.footer-newsletter input::placeholder {
    color: #555555;
    opacity: 1;
}

.footer-newsletter button {
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;

    border: none;
    border-radius: 3px;
    background: #bea17c;
    color: #292929;

    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-newsletter button:hover {
    background: #ad8d66;
}

/* ==========================================
   MAIN FOOTER COLUMNS
========================================== */

.footer-main {
    display: grid;
    grid-template-columns: 1.45fr 0.82fr 0.82fr 1fr;
    column-gap: 45px;

    min-height: 277px;
    padding: 0 0 26px;
}

/* INDIVIDUAL COLUMN */

.footer-column {
    min-width: 0;
    padding-top: 48px;
}

.footer-column h3 {
    margin: 0;
    color: #333333;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* SMALL BEIGE LINE */

.footer-heading-line {
    display: block;
    width: 27px;
    height: 2px;
    margin: 12px 0 20px;
    background: #c5a984;
}

/* ABOUT COLUMN DIVIDER */

.footer-about {
    position: relative;
    padding-right: 28px;
}

.footer-about::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: #eeeeee;
}

/* ABOUT TEXT */

.footer-about-description {
    margin: 0 0 15px;
    color: #666666;
    font-size: 11.5px;
    line-height: 1.6;
}

.footer-about p:not(.footer-about-description) {
    margin: 0 0 10px;
    color: #555555;
    font-size: 11px;
    line-height: 1.4;
}

/* FOOTER LINKS */

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 17px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin: 0;
    padding: 0;
}

.footer-column ul a {
    color: #808080;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul a:hover {
    color: #b69a75;
}

/* ==========================================
   BOTTOM COPYRIGHT ROW
========================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 20px;
}

.footer-copyright {
    margin: 0;
    color: #555555;
    font-size: 10px;
    line-height: 1.5;
}

/* SOCIAL ICONS */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 17px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 13px;
    height: 18px;

    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: #b69a75;
}

.footer-socials svg {
    display: block;
    width: 12px;
    height: 12px;

    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-socials a:nth-child(2) svg,
.footer-socials a:nth-child(3) svg {
    fill: none;
}

.footer-socials .social-dot {
    fill: currentColor;
    stroke: none;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {
    .footer-container {
        width: calc(100% - 48px);
    }

    .footer-main {
        column-gap: 28px;
        grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
    }

    .footer-about {
        padding-right: 20px;
    }

    .footer-newsletter {
        width: 40%;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {
    .site-footer {
        padding: 24px 0 12px;
    }

    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        min-height: auto;
        padding-bottom: 30px;
    }

    .footer-logo {
        width: 135px;
    }

    .footer-logo img {
        width: 130px;
        height: 95px;
    }

    .footer-newsletter {
        width: 100%;
        max-width: 420px;
        height: 44px;
        margin-top: 0;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 28px;

        min-height: auto;
        padding-bottom: 30px;
    }

    .footer-column {
        padding-top: 0;
    }

    .footer-about {
        padding-right: 0;
    }

    .footer-about::after {
        display: none;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-heading-line {
        margin: 10px 0 15px;
    }

    .footer-about-description {
        font-size: 11px;
    }

    .footer-about p:not(.footer-about-description) {
        overflow-wrap: anywhere;
        font-size: 10.5px;
    }

    .footer-column ul {
        gap: 14px;
    }

    .footer-column ul a {
        font-size: 11px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        min-height: 38px;
        padding-top: 12px;
        border-top: 1px solid #eeeeee;
    }

    .footer-copyright {
        font-size: 10px;
    }

    .footer-socials {
        gap: 13px;
    }
}

/* SMALL PHONES */

@media (max-width: 360px) {
    .footer-container {
        width: calc(100% - 28px);
    }

    .footer-main {
        column-gap: 16px;
    }

    .footer-column h3 {
        font-size: 13px;
    }

    .footer-column ul a {
        font-size: 10px;
    }

    .footer-newsletter button {
        padding: 0 10px;
    }
}


/* =========================================
   FOOTER SOCIAL MEDIA ICONS FIX
========================================= */

.site-footer .footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.site-footer .footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    color: #c7a47c;
    background: transparent;
    border: 1px solid #c7a47c;
    border-radius: 50%;

    text-decoration: none;
    visibility: visible;
    opacity: 1;

    transition: background 0.25s ease, color 0.25s ease;
}

.site-footer .footer-socials a svg {
    display: block;
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    visibility: visible;
    opacity: 1;
}

.site-footer .footer-socials a svg .social-dot {
    fill: currentColor;
    stroke: none;
}

.site-footer .footer-socials a:hover {
    background: #c7a47c;
    color: #ffffff;
}

/* MOBILE */

@media (max-width: 600px) {
    .site-footer .footer-socials {
        justify-content: center;
        gap: 14px;
    }

    .site-footer .footer-socials a {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .site-footer .footer-socials a svg {
        width: 20px;
        height: 20px;
    }
}


/* ==========================================
   HEADER FIX: NARROWER NAVBAR + LEFT DESCRIPTION
========================================== */

/* Navbar width */
.hero .navbar {
    width: calc(100% - 60px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* Move hero content to the bottom-left */
.hero .hero-content {
    position: absolute;
    left: max(30px, calc((100% - 1180px) / 2));
    bottom: 42px;
    width: calc(100% - 60px);
    max-width: 520px;
    margin: 0;
    text-align: left;
}

/* Breadcrumb alignment */
.hero .breadcrumb {
    justify-content: flex-start;
}

/* Heading alignment */
.hero .hero-content h1 {
    text-align: left;
}

.hero .hero-content h1::after {
    margin-left: 0;
    margin-right: 0;
}

/* Description alignment */
.hero .hero-content p {
    max-width: 480px;
    margin: 16px 0 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   TABLET
========================================== */
@media (max-width: 900px) {
    .hero .navbar {
        width: calc(100% - 24px);
    }

    .hero .hero-content {
        left: 24px;
        bottom: 32px;
        width: calc(100% - 48px);
        max-width: 520px;
    }

    .hero .hero-content p {
        max-width: 440px;
    }
}

/* ==========================================
   MOBILE
========================================== */
@media (max-width: 600px) {
    .hero {
        min-height: 400px;
        padding-bottom: 28px;
    }

    .hero .navbar {
        width: 100%;
    }

    .hero .hero-content {
        left: 20px;
        bottom: 28px;
        width: calc(100% - 40px);
        margin: 0;
        text-align: left;
    }

    .hero .breadcrumb {
        font-size: 12px;
    }

    .hero .hero-content h1 {
        font-size: 32px;
        text-align: left;
    }

    .hero .hero-content h1::after {
        margin: 12px 0 0;
    }

    .hero .hero-content p {
        max-width: 100%;
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.6;
        text-align: left;
    }
}






/* =========================================
   NAVBAR FIX — PREVENT LEFT/RIGHT CUTTING
   Add at the VERY BOTTOM of blog.css
========================================= */

.hero {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.navbar {
    position: relative;
    width: 100%;
    max-width: 1240px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow: visible;
    box-sizing: border-box;
}

/* Logo stays on the left */
.navbar .logo {
    flex: 0 0 auto;
    min-width: 0;
}

.navbar .logo img {
    display: block;
    width: 120px;
    max-width: 100%;
    height: 46px;
    object-fit: contain;
}

/* Navigation links stay between logo and buttons */
.navbar .nav-links {
    position: static;
    left: auto;
    transform: none;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 24px);
    list-style: none;
    white-space: nowrap;
}

.navbar .nav-links li {
    flex: 0 0 auto;
}

.navbar .nav-links a {
    white-space: nowrap;
    font-size: 13px;
}

/* Quote, search and menu buttons stay on the right */
.navbar .nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 0;
}

/* Medium desktop screens */
@media (min-width: 901px) and (max-width: 1100px) {
    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar {
        padding-left: 12px;
        padding-right: 12px;
        gap: 10px;
    }

    .navbar .logo img {
        width: 100px;
        height: 42px;
    }

    .navbar .nav-links {
        gap: 10px;
    }

    .navbar .nav-links a {
        font-size: 12px;
    }

    .navbar .nav-actions {
        gap: 6px;
    }
}

/* Tablet and mobile */
@media (max-width: 900px) {
    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar {
        width: 100%;
        padding: 0 12px;
        gap: 8px;
    }

    .navbar .nav-links {
        display: none;
    }

    .navbar .nav-actions .btn-quote,
    .navbar .nav-actions .search-btn {
        display: none;
    }

    .navbar .nav-actions .menu-toggle {
        display: grid;
        flex: 0 0 auto;
    }

    .navbar .logo img {
        width: 110px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar {
        padding-left: 10px;
        padding-right: 10px;
        height: 58px;
    }

    .navbar .logo img {
        width: 105px;
        height: 38px;
    }
}




/* =========================================
   DEFINITIVE NAVBAR WIDTH AND ALIGNMENT FIX
========================================= */

.hero .navbar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Logo */
.hero .navbar .logo {
    flex: 0 0 auto;
}

.hero .navbar .logo img {
    display: block;
    width: 120px;
    height: 46px;
    max-width: 100%;
    object-fit: contain;
}

/* Navigation links */
.hero .navbar .nav-links {
    position: static !important;
    left: auto !important;
    transform: none !important;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.8vw, 26px);
    list-style: none;
}

.hero .navbar .nav-links a {
    font-size: 14px;
    white-space: nowrap;
}

/* Buttons on the right */
.hero .navbar .nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Desktop: use almost the entire available screen width */
@media (min-width: 901px) {
    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Smaller desktop screens */
@media (min-width: 901px) and (max-width: 1100px) {
    .hero .navbar {
        padding-left: 14px;
        padding-right: 14px;
        gap: 10px;
    }

    .hero .navbar .logo img {
        width: 100px;
    }

    .hero .navbar .nav-links {
        gap: 10px;
    }

    .hero .navbar .nav-links a {
        font-size: 12px;
    }

    .hero .navbar .btn-quote {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 11px;
    }
}

/* Mobile and tablet */
@media (max-width: 900px) {
    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero .navbar {
        width: 100% !important;
        padding: 0 14px;
        height: 60px;
        gap: 8px;
    }

    .hero .navbar .nav-links {
        display: none !important;
    }

    .hero .navbar .nav-actions .btn-quote,
    .hero .navbar .nav-actions .search-btn {
        display: none !important;
    }

    .hero .navbar .nav-actions .menu-toggle {
        display: grid !important;
        flex: 0 0 38px;
    }

    .hero .navbar .logo img {
        width: 110px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero .navbar {
        height: 58px;
        padding: 0 10px;
    }

    .hero .navbar .logo img {
        width: 105px;
        height: 38px;
    }
}