/* Site layer on top of the theme (style.css). Brand: navy + gold from the logo. */
:root {
  --navy: #14275e;
  --navy-dark: #0c1a42;
  --gold: #c9b46b;
  --gold-light: #efe6c2;
  --ink: #1b1f2a;
  --muted: #5b6475;
  --smoke: #f4f5f8;
  --line: #e2e5ec;
  --danger: #b42318;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(16, 28, 64, .08);
  --shadow-hover: 0 12px 32px rgba(16, 28, 64, .14);

  /* Re-point the theme's accent from bright blue to the brand navy */
  --theme-color: var(--navy);
  --title-color: var(--ink);
}

body { color: #2f3442; background: #fff; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
img { max-width: 100%; height: auto; }
.narrow { max-width: 960px; }
.small-muted { color: var(--muted); font-size: 14px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- buttons */
.btn-brand, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 15px;
  line-height: 1.2; border: 2px solid transparent; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn-brand { background: var(--gold); color: var(--navy-dark); }
.btn-brand:hover { background: #d8c584; color: var(--navy-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-brand:disabled { opacity: .7; cursor: wait; transform: none; }
.link-arrow { font-weight: 700; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.topbar { background: var(--navy-dark); color: #d7dcea; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: 4px; }
.topbar-phones { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-label { color: #aab3cc; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social img { opacity: .85; }
.topbar-social a:hover img { opacity: 1; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line), 0 4px 18px rgba(16, 28, 64, .05); }
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-logo img { width: 182px; height: auto; display: block; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; color: var(--ink); font-family: var(--title-font); font-weight: 600; font-size: 16px; border-radius: 6px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); background: var(--smoke); }
.site-nav .fa-chevron-down { font-size: 10px; margin-left: 4px; }
.site-nav .has-dropdown { position: relative; }
.site-nav .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 180px; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.site-nav .has-dropdown:hover .dropdown, .site-nav .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.header-cta { white-space: nowrap; }
.menu-button { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-size: 20px; }

.th-menu-wrapper .mobile-logo { background: #fff; border-bottom: 1px solid var(--line); }
.th-menu-wrapper .th-menu-area { border-right-color: var(--gold); }
.mobile-menu-cta { padding: 20px 24px 0; display: grid; gap: 12px; }
.mobile-menu-phone { color: var(--navy); font-weight: 600; white-space: nowrap; font-size: 15px; }

@media (max-width: 1199px) {
  .site-nav a { padding: 10px 10px; font-size: 15px; }
}
@media (max-width: 991px) {
  .site-nav, .header-cta { display: none; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .site-header-inner { min-height: 70px; }
  .site-logo img { width: 150px; }
  .topbar-hours { display: none; }
}
@media (max-width: 575px) {
  .topbar { display: none; }
}

/* Sticky call / quote bar on phones */
.mobile-actions { display: none; }
@media (max-width: 767px) {
  .mobile-actions {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16, 28, 64, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: 12px; font-weight: 600; color: var(--navy); }
  .mobile-actions i { font-size: 17px; }
  .mobile-actions-quote { background: var(--gold); color: var(--navy-dark) !important; }
  body { padding-bottom: 64px; }
  .scroll-top { bottom: 80px !important; }
}

/* ---------------------------------------------------------------- shared sections */
.section { padding: 90px 0; }
.section-smoke { background: var(--smoke); }
.section-dark { background: var(--navy) linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #dfe4f2; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-family: var(--title-font); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #9a8540; margin-bottom: 10px; }
.section-dark .eyebrow { color: var(--gold); }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin-bottom: 14px; }
.section-dark .section-title { color: #fff; }
.section-dark p { color: #c5cce0; }
.lead-muted { color: var(--muted); font-weight: 500; margin-top: -6px; }
@media (max-width: 767px) { .section { padding: 60px 0; } }

.page-banner { background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 70%, #22397a 100%); border-bottom: 4px solid var(--gold); padding: 64px 0 56px; }
.page-banner h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.page-banner p { max-width: 720px; margin: 0; font-size: 17px; color: #d3d9ea; }

.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: "\f00c"; font-family: var(--icon-font); font-weight: 900; color: var(--gold); position: absolute; left: 0; top: 1px; }

.icon-list { list-style: none; padding: 0; margin: 0 0 18px; }
.icon-list li { display: flex; gap: 12px; padding: 7px 0; align-items: baseline; }
.icon-list li > i { color: var(--gold); width: 18px; text-align: center; flex: none; }
.icon-list small { color: var(--muted); }
.icon-list-lg li { font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.icon-list-lg li:last-child { border-bottom: 0; }

.info-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); height: 100%; }
.info-panel h2 { font-size: 22px; margin-bottom: 14px; }
.info-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-panel { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy); color: #dfe4f2; border-radius: var(--radius); padding: 36px 40px; }
.cta-panel h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-panel p { margin: 0; max-width: 560px; }
.cta-panel-light { background: var(--smoke); color: var(--ink); border: 1px solid var(--line); }
.cta-panel-light h2 { color: var(--ink); }
.cta-phones { display: flex; flex-wrap: wrap; gap: 12px; }

.simple-table { width: 100%; border-collapse: collapse; }
.simple-table th, .simple-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.simple-table th { font-weight: 600; color: var(--ink); width: 45%; }
.simple-table tr:last-child th, .simple-table tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- home page */
.hero-7 { padding-right: 0; }
.hero-7 .hero-shape { background: var(--gold); }
.hero-style7 .hero-subtitle { color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-size: 16px; margin-bottom: 20px; }
.hero-style7 .hero-title { font-size: clamp(34px, 5vw, 64px); line-height: 1.1; margin-bottom: 22px !important; }
.hero-style7 .hero-text { max-width: 580px; margin-bottom: 30px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slider-7 .th-hero-slide { padding: 170px 0 210px; }
@media (max-width: 991px) { .hero-slider-7 .th-hero-slide { padding: 90px 0 140px; } }
@media (max-width: 767px) {
  .hero-actions { justify-content: center; }
  .hero-7 .slick-dots { display: none !important; }
}

.quick-quotes { position: relative; z-index: 5; margin-top: -70px; }
.quick-quotes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-quote-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.quick-quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
.quick-quote-card img { border-radius: 50%; flex: none; }
.quick-quote-card strong { display: block; font-family: var(--title-font); font-size: 19px; }
.quick-quote-card small { color: var(--navy); font-weight: 600; font-size: 14px; }
@media (max-width: 991px) { .quick-quotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
  .quick-quotes { margin-top: -40px; }
  .quick-quote-card { flex-direction: column; text-align: center; padding: 16px 10px; gap: 8px; }
  .quick-quote-card img { width: 48px; height: 48px; }
  .quick-quote-card strong { font-size: 16px; }
}

.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-badge { position: absolute; right: -10px; bottom: -20px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow-hover); }
.about-badge strong { display: block; font-family: var(--title-font); font-size: 26px; color: var(--gold); }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.about-phones { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.about-phones span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.about-phones a { font-weight: 700; }
.about-phones small { font-weight: 400; color: var(--muted); }
@media (max-width: 575px) { .about-badge { right: 10px; bottom: 10px; padding: 12px 16px; } .about-badge strong { font-size: 20px; } }

.mission { margin: 80px auto 0; max-width: 860px; text-align: center; padding: 40px 32px; border-top: 3px solid var(--gold); background: var(--smoke); border-radius: 0 0 var(--radius) var(--radius); }
.mission h3 { font-size: 24px; margin-bottom: 14px; }
.mission p { margin: 0; color: #444b5a; line-height: 1.75; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 28px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .2s, transform .2s, border-color .2s;
}
.product-card:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); transform: translateY(-3px); color: #fff; }
.product-card img { border-radius: 50%; background: #fff; }
.product-card strong { font-family: var(--title-font); font-size: 18px; }
.product-action { font-size: 14px; color: var(--gold); font-weight: 600; }
.product-action.muted { color: #b8c0d8; }

.carriers { padding: 56px 0; border-bottom: 1px solid var(--line); }
.carriers-title { text-align: center; font-size: 18px; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.carrier-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.carrier-track { display: flex; width: max-content; animation: carrier-scroll 60s linear infinite; }
.carrier-track:hover { animation-play-state: paused; }
.carrier-track img { height: 56px; width: auto; margin: 0 28px; object-fit: contain; }
@keyframes carrier-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .carrier-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .carrier-track img[aria-hidden="true"] { display: none; }
}

.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.team-grid > .team-card { flex: 0 1 210px; }
.team-grid-3 { max-width: 840px; margin: 0 auto; }
.team-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; display: block; }
.team-card figcaption { padding: 16px 12px 18px; }
.team-card strong { display: block; font-family: var(--title-font); font-size: 18px; color: var(--ink); }
.team-card span { color: var(--muted); font-size: 14px; }

.location-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.location-card-photo { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.location-card-body { padding: 26px 28px 28px; }
.location-card h3 { font-size: 24px; margin-bottom: 12px; }
.location-hero-photo { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; max-height: 460px; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------------------------------------------------------------- quotes */
.quote-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.quote-type-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quote-type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--gold); color: var(--ink); }
.quote-type-card img { border-radius: 50%; }
.quote-type-card h2 { font-size: 22px; margin: 6px 0 0; }
.quote-type-card p { color: var(--muted); margin: 0 0 6px; flex: 1; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.quote-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 991px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { position: static; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px 30px; margin: 0 0 20px; box-shadow: 0 2px 8px rgba(16, 28, 64, .04); }
.form-card legend { float: left; width: 100%; font-family: var(--title-font); font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.form-card legend + * { clear: both; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; flex: none; }
.form-hint { color: var(--muted); margin: -8px 0 18px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-field.wide { grid-column: 1 / -1; }
.form-field[hidden] { display: none; }
.form-field label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.form-field .req { color: var(--danger); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; height: auto; min-height: 48px; padding: 11px 14px; font-size: 16px; line-height: 1.4;
  border: 1px solid #cfd4df; border-radius: 6px; background: #fff; color: var(--ink); margin: 0;
  transition: border-color .15s, box-shadow .15s;
}
.quote-form textarea { min-height: 96px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 39, 94, .15); outline: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; margin: 6px 0 0; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; background: #fef3f2; border: 1px solid #fda29b; color: #7a271a; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.form-alert i { margin-top: 4px; }
.form-notice { background: var(--gold-light); border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #4a4126; margin-bottom: 20px; }
.form-notice i { margin-right: 6px; }
.quote-form .btn-brand { margin-top: 22px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .quote-form .btn-brand { width: 100%; }
}

.aside-phone { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.aside-phone i { width: 38px; height: 38px; border-radius: 50%; background: var(--smoke); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.aside-phone span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.aside-phone strong { font-size: 17px; color: var(--navy); }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: block; padding: 8px 0; font-weight: 600; }

.thank-you { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 32px; box-shadow: var(--shadow); }
.thank-you-icon { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ec; color: #1e7b45; font-size: 30px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.thank-you .lead { max-width: 560px; margin: 0 auto 24px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-dark); color: #b9c1d8; padding-top: 64px; font-size: 15px; }
.site-footer a { color: #e6e9f2; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { background: #fff; border-radius: 8px; padding: 8px 12px; width: 200px; margin-bottom: 18px; }
.footer-member { font-size: 13px; color: #8d97b3; }
.footer-title { font-size: 18px; color: #fff; margin-bottom: 16px; }
.footer-title a { color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { display: flex; gap: 10px; margin-bottom: 10px; align-items: baseline; }
.footer-list li > span { display: block; }
.footer-list i { color: var(--gold); width: 16px; flex: none; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom { margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; text-align: center; color: #8d97b3; }
.site-footer p { color: #b9c1d8; }
[id] { scroll-margin-top: 100px; }
