/*
Theme Name: Steve Ballina Agency
Theme URI: https://steveballinaagency.com/
Author: Apis Digitech
Author URI: https://apisdigitech.com/
Description: Single-page insurance agency theme for Steve Ballina Agency. Bootstrap 5 + CMB2. Converted from the original Weebly HTML build with pixel-parity preserved.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sba
Tags: one-page, business, custom-menu, custom-logo, responsive
*/

/* ==========================================================================
   1. Design tokens (from original build)
   ========================================================================== */
:root {
  --navy: #0b2545;
  --blue: #1f7a8c;
  --gold: #d6a94b;
  --light: #f5f7fa;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(11, 37, 69, 0.12);
  --radius: 18px;
}

/* ==========================================================================
   2. Bootstrap 5 collision resets
   Bootstrap is enqueued BEFORE this file. These three class names exist in
   both codebases; the original values win. Remove this block only if you
   also rename the corresponding classes in the template parts.
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

.card {
  display: block;
}

.sba-card {
  display: block;
}

/* ==========================================================================
   3. Base
   ========================================================================== */
* {
  box-sizing: border-box;
}

/*
 * Page canvas.
 *
 * The original block sat inside a Weebly div[align="center"], so every text
 * node in the page inherited centre alignment — headings, card copy, form
 * labels, footer columns, the hero eyebrow pill, the review buttons. Flex and
 * grid children (nav, hero buttons, FAQ summary rows) are unaffected, which is
 * why those stay left. Remove this one rule to left-align the whole site.
 */
.site-wrap {
  text-align: center;
}

/* Form controls keep their native alignment, as they do in the original. */
.site-wrap input,
.site-wrap select,
.site-wrap textarea {
  text-align: left;
}

/* Editorial pages stay readable. */
.page-shell .entry-content {
  text-align: left;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
#main {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
  clip: auto;
  width: auto;
  height: auto;
}

/* ==========================================================================
   4. Topbar
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--white);
  font-weight: 700;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-sep {
  opacity: 0.6;
}

.social-icon {
  color: #fff;
  font-size: 18px;
  transition: 0.25s ease;
}

.social-icon:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   5. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.sba-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-size: 22px;
}

.brand img {
  display: block;
  max-height: 46px;
  width: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.navlinks ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlinks a {
  color: var(--navy);
  text-decoration: none;
}

.navlinks .current-menu-item > a {
  color: var(--blue);
}

/* =========================
   Dropdown
   ========================= */

.navlinks .primary-menu > li {
  position: relative;
}

/* Submenu hidden by default */
.navlinks .primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;

  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;

  min-width: 210px;
  margin: 0;
  padding: 8px 0;

  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Show submenu on hover */
.navlinks .primary-menu > li:hover > .sub-menu {
  display: flex;
}

/* Dropdown items */
.navlinks .primary-menu .sub-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Dropdown links */
.navlinks .primary-menu .sub-menu a {
  display: block;
  width: 100%;
  padding: 10px 16px;

  color: var(--navy);
  white-space: nowrap;
}

/* Dropdown hover */
.navlinks .primary-menu .sub-menu li:hover > a {
  color: var(--blue);
  background: rgba(0, 0, 0, 0.04);
}

/* Keep parent highlighted when dropdown is active */
.navlinks .primary-menu > li.menu-item-has-children:hover > a {
  color: var(--blue);
}

/* Dropdown indicator */
.navlinks .primary-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  vertical-align: 3px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

/* Rotate icon when dropdown is open/hovered */
.navlinks .primary-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(225deg);
  vertical-align: -1px;
}

/* 
==========================
==========================
==========================
==========================
========================== */

/* Mobile trigger — hidden on desktop, shown where .navlinks is suppressed */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
}

.sba-offcanvas {
  background: var(--navy);
  color: var(--white);
}

.sba-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sba-offcanvas .offcanvas-title {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.sba-offcanvas .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.sba-offcanvas ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.sba-offcanvas ul a {
  display: block;
  padding: 14px 4px;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.sba-offcanvas ul a:hover {
  color: var(--gold);
}

.sba-offcanvas .button {
  margin-top: 22px;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */
.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  border: 2px solid var(--navy);
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
}

.button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.sba-button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none !important;
  border: 2px solid var(--navy);
  margin-top: 10px;
}

.sba-button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff !important;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 90px 5% 70px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(24px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   8. Quote form card
   ========================================================================== */
.quote-card {
  background: var(--white);
  color: var(--text);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-card h2 {
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.15;
}

.quote-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 18px;
}

.quote-card input,
.quote-card select,
.quote-card textarea {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
}

.mobile-safe-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
}

.mobile-safe-form label {
  display: block !important;
  color: #0b2545 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  margin: 0 0 5px !important;
}

.mobile-safe-form input,
.mobile-safe-form select,
.mobile-safe-form textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin-bottom: 13px !important;
  padding: 13px 14px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  -webkit-appearance: none;
  appearance: none;
}

.mobile-safe-form textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

.quote-submit-button {
  display: block !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 20px !important;
  border-radius: 999px !important;
  border: 2px solid #0b2545 !important;
  background: #0b2545 !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-align: center !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative !important;
  z-index: 10 !important;
}

.quote-submit-button:hover,
.quote-submit-button:active {
  background: #1f7a8c !important;
  border-color: #1f7a8c !important;
}

/* Honeypot */
.sba-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
}

/* ==========================================================================
   9. Trust strip + page frame
   The source opens a second .trust-strip <div> that is never closed, so it
   wraps every section below it. Its 5% side padding is what insets the grey
   bands from the viewport edges, and its white background is what shows
   through the unclassed sections. .page-frame is that wrapper.
   ========================================================================== */
.trust-strip {
  background: var(--white);
  padding: 22px 5%;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.trust-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
  color: var(--navy);
  font-weight: 900;
}

/* ==========================================================================
   10. Section shell
   ========================================================================== */
section {
  padding: 30px 5%;
}

.section-light {
  background: var(--light);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-head h2 {
  color: var(--navy);
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* ==========================================================================
   11. Service cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.06);
}

.card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 22px;
}

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

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  text-align: left;
}

/* ==========================================================================
   12. Split / why-us
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.photo-block {
  border-radius: 26px;
  min-height: 420px;
  background-color: var(--light);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.check > span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: none;
  font-weight: 900;
}

/* ==========================================================================
   13. Team + reviews grids
   ========================================================================== */
.team-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 34px;
  font-weight: 900;
}

/* Team section only - does not affect reviews/location/CTA */
.sba-team-grid-fixed {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.sba-team-grid-fixed .sba-team-card {
  text-align: center !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 26px !important;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.07) !important;
  border: 1px solid #e5e7eb !important;
  min-height: auto !important;
}

.sba-team-grid-fixed .sba-team-photo {
  width: 150px !important;
  height: 150px !important;
  border-radius: 22px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto 16px !important;
  border: 5px solid #ffffff !important;
  box-shadow: 0 14px 34px rgba(11, 37, 69, 0.16) !important;
}

.sba-team-grid-fixed .sba-team-card h3 {
  color: #0b2545 !important;
  margin: 0 0 6px !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
}

.sba-team-grid-fixed .sba-team-card p {
  color: #6b7280 !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

@media screen and (max-width: 900px) {
  .sba-team-grid-fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 600px) {
  .sba-team-grid-fixed {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   14. Reviews
   NOTE: the original markup used .sba-card with no matching rule, so the
   review blocks rendered unstyled. Card styling restored here to match the
   surrounding sections. Delete this block to reproduce the original exactly.
   ========================================================================== */
.sba-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.06);
}

.sba-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 22px;
}

.sba-card p {
  color: var(--muted);
  margin: 0 0 8px;
}

.sba-rating {
  font-size: 34px;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 900;
  margin: 8px 0 2px;
}

.sba-stars {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  transition: 0.25s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--muted);
  text-align: left;
}

.faq-content p {
  margin: 0 0 16px;
}

.faq-content ul {
  margin: 0 0 16px 20px;
}

.faq-content li {
  margin-bottom: 10px;
}

@media (max-width: 700px) {
  .faq-item summary {
    font-size: 16px;
    padding: 18px;
  }

  .faq-content {
    padding: 0 18px 18px;
  }
}

/* ==========================================================================
   16. CTA
   ========================================================================== */
.cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 30px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   17. Location map
   ========================================================================== */
.map-card {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */
.site-footer {
  background: #071a31;
  color: var(--white);
  padding: 52px 5% 26px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.site-footer a,
.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.fineprint {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* ==========================================================================
   19. Interior pages (non front-page fallback)
   ========================================================================== */
.page-shell {
  padding: 78px 5%;
}

.page-shell .entry-title {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 22px;
}

.page-shell .entry-content {
  max-width: 820px;
}

.page-shell .entry-content a {
  color: var(--navy);
  font-weight: 700;
}

/* ==========================================================================
   20. Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .navlinks {
    display: none;
  }

  .sba-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .cards,
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero {
    padding-top: 62px;
  }

  .quote-card {
    margin-top: 12px;
  }

  .hero-actions {
    justify-content: center;
  }

  .check div {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid div:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    display: block !important;
  }

  .quote-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }

  .hero {
    padding-bottom: 60px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 560px) {
  .cards,
  .trust-inner {
    grid-template-columns: 1fr;
  }

  section {
    padding: 30px 3%;
  }

  .trust-strip {
    padding: 22px 3%;
  }

  .hero {
    padding: 60px 3%;
  }

  .cta {
    padding: 32px;
  }

  .sba-nav {
    gap: 10px;
  }

  .button {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 12px;
  }

  .sba-nav {
    padding: 16px 10px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-toggle {
    height: 40px;
  }

  .topbar {
    gap: 5px;
  }

  .sba-button {
    font-size: 12px;
    padding: 10px 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .faq-top-content h1 {
    margin: 0 0 20px;
    font-size: 24px;
  }

  .eyebrow {
    font-size: 11px;
    text-align: center;
  }
}

/* =========================================================
   Inner page styles — append to style.css
   Uses existing tokens: --navy --blue --gold --light --text
   --muted --white --border --shadow --radius
   ========================================================= */

/* Page hero (shorter than homepage hero, no quote card) */
.page-hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 74px 5% 66px;
  text-align: left;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Heading */
.page-hero h1 {
  font-size: clamp(24px, 4.6vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
  max-width: 960px;
  width: 100%;
  font-weight: 900;
  color: var(--white);
}

/* Intro text */
.page-hero p {
  font-size: 19px;
  line-height: 1.6;
  max-width: 820px;
  width: 100%;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Light button */
.button.light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* Breadcrumb */
.crumbs {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 14px 5%;
  font-size: 14px;
  color: var(--muted);
}

.crumbs-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.crumbs a {
  color: var(--navy);
  font-weight: 700;
}

.crumbs a:hover {
  color: var(--blue);
}

.crumbs span {
  margin: 0 8px;
  color: var(--border);
}

/* Section backgrounds */
.section-white {
  background: var(--white);
}

/* Long-form copy */
/* .prose {
  max-width: 900px;
} */

.prose p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--navy);
}

.prose ul,
.prose ol {
  color: var(--muted);
  font-size: 17px;
  padding-left: 20px;
  margin: 0 0 18px;
}

.prose li {
  margin-bottom: 10px;
}

.prose a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

/* Checkmark feature list */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0 22px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  color: var(--navy);
  font-weight: 700;
}

.feature-list li i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: none;
}

@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: 1fr;
  }

  .photo-block {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 54px 3% 48px;
  }

  .prose h2 {
    font-size: 24px;
  }
}

.wpcf7-not-valid-tip:not(:nth-child(1)):not(:nth-child(2)) {
  display: none;
}

/* ================================= */
/* ================================= */
/* ================================= */
/* ================================= */
/* ================================= */
/* ================================= */
/* Thank you Page CSS */

.sba-thankyou-page {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  overflow-x: hidden;
}

.sba-thankyou-topbar {
  background: #0b2545;
  color: #ffffff;
  padding: 10px 5%;
  font-size: 14px;
}

.sba-thankyou-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.sba-thankyou-topbar a {
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
}

.sba-thankyou-nav {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.06);
}

.sba-thankyou-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.sba-thankyou-logo {
  color: #0b2545 !important;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none !important;
}

.sba-thankyou-nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.sba-thankyou-nav-links a {
  color: #0b2545 !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 14px;
}

.sba-thankyou-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(214, 169, 75, 0.22),
      transparent 28%
    ),
    linear-gradient(120deg, rgba(11, 37, 69, 0.96), rgba(31, 122, 140, 0.82)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  padding: 86px 5%;
  color: #ffffff;
}

.sba-thankyou-container {
  max-width: 1180px;
  margin: 0 auto;
}

.sba-thankyou-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.sba-thankyou-badge {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 20px;
}

.sba-thankyou-hero h1 {
  color: #ffffff !important;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
}

.sba-thankyou-hero p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 20px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 0 28px;
}

.sba-thankyou-card {
  background: #ffffff;
  color: #1f2937;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.sba-thankyou-card h2 {
  color: #0b2545 !important;
  font-size: 32px;
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.04em;
}

.sba-thankyou-card p {
  color: #6b7280 !important;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.sba-thankyou-checklist {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.sba-thankyou-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #f5f7fa;
  border: 1px solid #e5e7eb;
}

.sba-thankyou-check span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f7a8c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex: none;
}

.sba-thankyou-button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.sba-thankyou-button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: #0b2545;
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none !important;
  border: 2px solid #0b2545;
  text-align: center;
  transition: 0.2s ease;
}

.sba-thankyou-button:hover {
  background: #1f7a8c;
  border-color: #1f7a8c;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.sba-thankyou-button.gold {
  background: #d6a94b;
  border-color: #d6a94b;
  color: #0b2545 !important;
}

.sba-thankyou-button.light {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b2545 !important;
}

.sba-thankyou-section {
  padding: 72px 5%;
}

.sba-thankyou-section h2 {
  color: #0b2545 !important;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
  font-weight: 900;
}

.sba-thankyou-section-intro {
  color: #6b7280 !important;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 34px;
}

.sba-thankyou-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sba-thankyou-service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.07);
}

.sba-thankyou-service-card h3 {
  color: #0b2545 !important;
  font-size: 22px;
  margin: 0 0 10px;
}

.sba-thankyou-service-card p {
  color: #6b7280 !important;
  line-height: 1.65;
  margin: 0 0 18px;
}

.sba-thankyou-location {
  background: #ffffff;
}

.sba-thankyou-location-card {
  background: #0b2545;
  color: #ffffff;
  border-radius: 28px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(11, 37, 69, 0.16);
}

.sba-thankyou-location-card h2 {
  color: #ffffff !important;
  margin: 0 0 8px;
}

.sba-thankyou-location-card p {
  color: rgba(255, 255, 255, 0.84) !important;
  margin: 0;
  line-height: 1.7;
}

.sba-thankyou-footer {
  background: #071a31;
  color: #ffffff;
  padding: 36px 5%;
  text-align: center;
}

.sba-thankyou-footer p,
.sba-thankyou-footer a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
}
.error404 .page-shell{
  min-height: 60vh;
}
.error404 .page-shell .entry-content{
  max-width: 100%;
  text-align: center;
}
@media screen and (max-width: 992px) {
  .sba-thankyou-grid,
  .sba-thankyou-location-card {
    grid-template-columns: 1fr;
  }

  .sba-thankyou-service-grid {
    grid-template-columns: 1fr;
  }

  .sba-thankyou-nav-links {
    display: none;
  }

  #menu-primary-menu-1 > .menu-item-has-children {
    position: relative;
  }

  #menu-primary-menu-1 .sub-menu {
    display: none;
    position: static !important;
    width: 100%;
    margin: 0;
    padding: 0 0 0 15px;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #menu-primary-menu-1 > .menu-item-has-children.active > .sub-menu {
    display: block !important;
  }

  #menu-primary-menu-1 .sub-menu li {
    width: 100%;
  }

  #menu-primary-menu-1 .sub-menu li a {
    display: block;
    padding: 12px 10px;
  }

  /* Arrow */
  #menu-primary-menu-1 > .menu-item-has-children > a {
    position: relative;
    padding-right: 35px;
  }

  #menu-primary-menu-1 > .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease;
  }

  #menu-primary-menu-1 > .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .sba-offcanvas ul a {
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  .sba-thankyou-hero {
    padding: 62px 5%;
  }

  .sba-thankyou-card {
    padding: 24px;
  }

  .sba-thankyou-button-row {
    flex-direction: column;
  }

  .sba-thankyou-button {
    width: 100%;
  }

  .sba-thankyou-location-card {
    padding: 28px;
  }
}
