/* Fixes and additions layered over the Webflow export. Loaded after the Webflow CSS. */

/* Mobile menu: links were white on the white menu panel. */
@media screen and (max-width: 991px) {
  .nav-menu .nav-link { color: var(--rod-black, #1a1b1f); }
}

/* Visible keyboard focus. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #167bf6;
  outline-offset: 2px;
}

.rod-x-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Form messages written by js/site.js */
.w-form-fail[role="alert"] { line-height: 1.5; }

/* Sticky call and book bar on phones */
.rod-x-callbar { display: none; }
@media screen and (max-width: 767px) {
  .rod-x-callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(26, 27, 31, .96);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
  }
  .rod-x-callbar a {
    flex: 1; display: block; text-align: center; text-decoration: none;
    font-family: Open Sans, Arial, sans-serif; font-weight: 700; font-size: 15px;
    padding: 12px 8px; border-radius: 8px; color: #fff;
  }
  .rod-x-callbar .rod-x-callbar-call { background: #fff; color: #1a1b1f; }
  .rod-x-callbar .rod-x-callbar-book { background: var(--rod-red, #e82127); }
  body { padding-bottom: 72px; }
}

/* Shared section styles for pages and sections added after the export */
.rod-x-section { padding: 72px 0; font-family: Open Sans, Arial, sans-serif; background: #fff; }
.rod-x-section.rod-x-alt { background: var(--rod-offwhite, #f5f5f7); }
.rod-x-section.rod-x-dark { background: var(--rod-black, #1a1b1f); color: #fff; }
.rod-x-section h2 { line-height: 1.2; }
.rod-x-eyebrow {
  display: block; text-align: center; color: var(--rod-red, #e82127);
  font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.rod-x-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.rod-x-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rod-border, #e4e5e3);
  border-radius: 12px; padding: 24px 22px; color: var(--rod-black, #1a1b1f); text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
a.rod-x-card:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.rod-x-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.25; color: inherit; }
.rod-x-card p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #55565b; flex: 1; }
.rod-x-card .rod-x-more { color: var(--rod-red, #e82127); font-weight: 700; font-size: 14px; }
.rod-x-card-tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #86868b; margin-bottom: 6px; }
.rod-x-dark .rod-x-card { background: #26272c; border-color: #3a3b40; color: #fff; }
.rod-x-dark .rod-x-card p { color: #c9c9cd; }

.rod-x-hero {
  padding: 140px 0 72px; background: var(--rod-black, #1a1b1f) center / cover no-repeat;
  color: #fff; font-family: Open Sans, Arial, sans-serif; position: relative;
}
.rod-x-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 12, .62); }
.rod-x-hero .rod-container { position: relative; }
.rod-x-hero h1 { font-size: 46px; line-height: 1.12; font-weight: 800; margin: 0 0 16px; max-width: 760px; color: #fff; }
.rod-x-hero p { font-size: 18px; line-height: 1.55; max-width: 640px; margin: 0 0 28px; color: #e6e6e8; }
.rod-x-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.rod-x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rod-x-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; }
.rod-x-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--rod-red, #e82127) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rod-x-two { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.rod-x-two h2 { font-size: 30px; font-weight: 800; margin: 0 0 14px; }
.rod-x-two p { font-size: 16px; line-height: 1.6; color: #44454a; }
.rod-x-dark .rod-x-two p { color: #d0d0d4; }
.rod-x-note { font-size: 14px; color: #6a6b70; margin-top: 18px; }
.rod-x-compare { border-left: 4px solid var(--rod-red, #e82127); background: #fff; border-radius: 0 12px 12px 0; padding: 20px 22px; }

/* Quote form on added pages */
.rod-x-form { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.08); color: var(--rod-black, #1a1b1f); }
.rod-x-form h2, .rod-x-form h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.rod-x-form .rod-x-form-sub { margin: 0 0 18px; color: #55565b; font-size: 15px; }
.rod-x-form label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.rod-x-form .rod-x-field { margin-bottom: 14px; }
.rod-x-form input[type="text"], .rod-x-form input[type="tel"], .rod-x-form input[type="email"],
.rod-x-form select, .rod-x-form textarea {
  width: 100%; border: 1px solid #c9cacd; border-radius: 8px; padding: 11px 12px; font-size: 16px;
  font-family: inherit; background: #fff; color: inherit; height: auto; margin: 0;
}
.rod-x-form textarea { min-height: 110px; resize: vertical; }
.rod-x-form .rod-x-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.rod-x-form input[type="submit"] { width: 100%; }
.rod-x-form .w-form-done, .rod-x-form .w-form-fail { border-radius: 8px; padding: 16px; }
.rod-x-form .w-form-done { background: #e9f7ee; color: #1d5b33; }
.rod-x-form .w-form-fail { background: #fdecec; color: #8a1c1c; }
.rod-x-hp { position: absolute; left: -9999px; }

@media screen and (max-width: 991px) {
  .rod-x-two { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  .rod-x-section { padding: 52px 0; }
  .rod-x-hero { padding: 110px 0 52px; }
  .rod-x-hero h1 { font-size: 32px; }
  .rod-x-hero p { font-size: 16px; }
  .rod-x-form .rod-x-row { grid-template-columns: 1fr; }
  .rod-x-form { padding: 20px; }
  .rod-x-btns .rod-btn { flex: 1 1 100%; }
}

/* Native FAQ accordions on added pages */
.rod-x-faqs { display: grid; gap: 12px; margin-top: 24px; }
.rod-x-faq { background: #fff; border: 1px solid var(--rod-border, #e4e5e3); border-radius: 10px; padding: 0 20px; }
.rod-x-faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; font-size: 16px; position: relative;
}
.rod-x-faq summary::-webkit-details-marker { display: none; }
.rod-x-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--rod-red, #e82127); }
.rod-x-faq[open] summary::after { content: "\2212"; }
.rod-x-faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #44454a; }
.rod-x-section a:not(.rod-btn):not(.rod-x-card) { color: inherit; text-decoration: underline; }

.rod-x-checks { border: 0; padding: 0; margin: 0 0 14px; }
.rod-x-checks legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.rod-x-check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; font-size: 15px !important; margin: 0 0 8px !important; }
.rod-x-check input { width: 18px; height: 18px; margin: 0; }

/* Contact details block on the contact page */
.rod-x-contact {
  display: grid; gap: 14px 28px; grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left; margin: 18px 0 26px; padding: 22px; border: 1px solid var(--rod-border, #e4e5e3);
  border-radius: 12px; background: #fff; font-family: Open Sans, Arial, sans-serif; font-size: 16px; color: #1a1b1f;
}
.rod-x-contact a { color: inherit; font-weight: 700; }
.rod-x-contact-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #86868b; margin-bottom: 4px; }
@media screen and (max-width: 767px) { .rod-x-contact { grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; } }
h1.gs-desc { margin-top: 0; line-height: 1.2; }

/* Stop stray Webflow elements (nav extras, announcement bar) from widening phone pages */
html, body { overflow-x: clip; }
iframe { max-width: 100%; }

/* Keep the desktop nav on one line on small laptops */
@media screen and (min-width: 992px) {
  .nav-link { white-space: nowrap; }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .nav-link { font-size: 13px; }
  .nav-menu-a .nav-link-wrap, .nav-menu-b .nav-link-wrap { padding-left: 7px; padding-right: 7px; }
  .brand-logo-wrap { margin-right: 12px; }
}
