/* Best Roofing Experts — Jacksonville, FL. Shared stylesheet.
   Palette: navy #10243A, roofing blue #1E4E78, orange #F28C28,
   light bg #F4F7FA, dark text #202B36, muted #64748B. Inter font. Mobile-first. */
:root {
  --jx-navy: #10243A;
  --jx-blue: #1E4E78;
  --jx-orange: #F28C28;
  --jx-orange-dark: #D9730D;
  --jx-bg: #F4F7FA;
  --jx-ink: #202B36;
  --jx-muted: #64748B;
  --jx-line: #DCE4EC;
  --jx-card: #ffffff;
  --jx-radius: 14px;
  --jx-shadow: 0 8px 30px rgba(16,36,58,0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--jx-ink); background: #fff; line-height: 1.6; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jx-blue); }
a:hover { color: var(--jx-orange-dark); }
h1, h2, h3 { color: var(--jx-navy); line-height: 1.2; }
section { scroll-margin-top: 84px; }
.jx-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.jx-eyebrow {
  display: inline-block; color: var(--jx-orange-dark); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 0.5rem;
}
.jx-h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75rem; }
.jx-lead { color: var(--jx-muted); font-size: 1.08rem; margin: 0 0 1.5rem; max-width: 46rem; }
.jx-section { padding: 3.25rem 0; }
.jx-section--tint { background: var(--jx-bg); }

/* ---------- header ---------- */
.jx-header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--jx-line);
}
.jx-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px; min-height: 66px;
  display: flex; align-items: center; gap: 1rem;
}
.jx-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.jx-brand-name { color: var(--jx-navy); font-weight: 800; font-size: 1.12rem; line-height: 1.1; }
.jx-brand-name small { display: block; color: var(--jx-muted); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.04em; }
.jx-nav { display: none; align-items: center; gap: 0.25rem; margin-left: auto; }
.jx-nav > a {
  color: var(--jx-ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 0.7rem; border-radius: 8px;
}
.jx-nav > a:hover, .jx-nav > a[aria-current="page"] { color: var(--jx-blue); background: var(--jx-bg); }
.jx-dropdown { position: relative; }
.jx-dropbtn {
  display: inline-flex; align-items: center; gap: 0.3rem; color: var(--jx-ink);
  text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.55rem 0.7rem; border-radius: 8px;
}
.jx-dropbtn:hover { color: var(--jx-blue); background: var(--jx-bg); }
.jx-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--jx-line); border-radius: 12px;
  box-shadow: var(--jx-shadow); padding: 0.5rem; z-index: 70;
}
.jx-dropdown:hover .jx-dropdown-menu, .jx-dropdown:focus-within .jx-dropdown-menu { display: block; }
.jx-dropdown-menu a {
  display: block; padding: 0.55rem 0.7rem; border-radius: 8px; text-decoration: none;
  color: var(--jx-ink); font-size: 0.94rem; font-weight: 500;
}
.jx-dropdown-menu a:hover { background: var(--jx-bg); color: var(--jx-blue); }
.jx-dropdown-menu a.jx-dropdown-all { color: var(--jx-orange-dark); font-weight: 700; }
.jx-header-cta { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.jx-nav + .jx-header-cta { margin-left: 0.5rem; }
.jx-header-hours { display: none; color: var(--jx-muted); font-size: 0.8rem; font-weight: 600; }
@media (min-width: 1024px) { .jx-header-hours { display: inline; } }
.jx-burger {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--jx-line); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--jx-navy); margin-left: auto;
}
.jx-header-cta + .jx-burger { margin-left: 0; }
@media (min-width: 1024px) {
  .jx-nav { display: flex; }
  .jx-burger, .jx-mobile-nav { display: none !important; }
  .jx-header-cta { margin-left: 0; }
}
.jx-mobile-nav {
  display: none; background: #fff; border-top: 1px solid var(--jx-line);
  padding: 0.5rem 20px 1.25rem; max-height: calc(100vh - 66px); overflow-y: auto;
}
.jx-mobile-nav.open { display: block; }
.jx-mobile-nav a { display: block; padding: 0.65rem 0; color: var(--jx-ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--jx-line); }
.jx-mobile-nav a:hover { color: var(--jx-blue); }
.jx-mnav-top { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; }
.jx-mnav-title { font-weight: 800; color: var(--jx-navy); }
.jx-mnav-close { background: none; border: 1px solid var(--jx-line); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; color: var(--jx-navy); }
.jx-mobile-hours { color: var(--jx-muted); font-size: 0.85rem; font-weight: 600; margin: 0.25rem 0 0.75rem; }
.jx-mnav-group { border-bottom: 1px solid var(--jx-line); }
.jx-mnav-group summary { padding: 0.65rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.jx-mnav-group summary::-webkit-details-marker { display: none; }
.jx-mnav-links { padding: 0 0 0.75rem 0.75rem; }
.jx-mnav-links a { border-bottom: none; padding: 0.4rem 0; font-weight: 500; font-size: 0.95rem; }
.jx-mnav-call { margin-top: 1rem; }

/* ---------- buttons ---------- */
.jx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 800; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.jx-btn svg { flex-shrink: 0; }
.jx-btn--call { background: var(--jx-orange); color: #fff; box-shadow: 0 6px 20px rgba(242,140,40,0.4); }
.jx-btn--call:hover { background: var(--jx-orange-dark); color: #fff; }
.jx-btn--ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.jx-btn--ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }
.jx-btn--white { background: #fff; color: var(--jx-navy); }
.jx-btn--white:hover { background: #E8EEF4; color: var(--jx-navy); }
.jx-btn--sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.jx-callbtn {
  display: inline-flex; align-items: center; gap: 0.45rem; background: var(--jx-orange);
  color: #fff; font-weight: 800; text-decoration: none; padding: 0.6rem 1rem; border-radius: 999px;
  font-size: 0.95rem; white-space: nowrap;
}
.jx-callbtn:hover { background: var(--jx-orange-dark); color: #fff; }
.jx-callbtn-short { display: none; }
@media (max-width: 520px) {
  .jx-callbtn-text { display: none; }
  .jx-callbtn-short { display: inline; }
}

/* ---------- hero ---------- */
.jx-hero {
  background: linear-gradient(135deg, #10243A 0%, #16324F 55%, #1E4E78 100%);
  color: #fff; padding: 3rem 0 3.5rem; position: relative; overflow: hidden;
}
.jx-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C360,110 1080,10 1440,60 L1440,90 L0,90 Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}
.jx-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .jx-hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.jx-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(242,140,40,0.16);
  border: 1px solid rgba(242,140,40,0.45); color: #FDBA7A; font-weight: 700; font-size: 0.85rem;
  padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.jx-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jx-orange); }
.jx-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 0.9rem; }
.jx-hero-sub { font-size: 1.13rem; color: #CDD9E6; max-width: 38rem; margin: 0 0 1.5rem; }
.jx-hero-sub a { color: #fff; font-weight: 700; }
.jx-transparency {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-left: 4px solid var(--jx-orange); border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0 0 1.5rem;
}
.jx-transparency p { margin: 0; color: #E4ECF3; font-size: 0.98rem; }
.jx-transparency strong { color: #fff; }
.jx-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.4rem; }
.jx-hero-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.jx-hero-ticks li { display: flex; align-items: center; gap: 0.45rem; color: #CDD9E6; font-size: 0.94rem; font-weight: 600; }
.jx-hero-ticks svg { color: var(--jx-orange); flex-shrink: 0; }
.jx-hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.jx-hero-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .jx-hero-img img { aspect-ratio: 4 / 3.4; } }

/* ---------- breadcrumbs ---------- */
.jx-crumbs { font-size: 0.86rem; color: var(--jx-muted); padding: 1rem 0 0; }
.jx-crumbs a { color: var(--jx-muted); text-decoration: none; }
.jx-crumbs a:hover { color: var(--jx-blue); }
.jx-crumbs strong { color: var(--jx-ink); font-weight: 600; }

/* ---------- prose ---------- */
.jx-prose { max-width: 780px; }
.jx-prose h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }
.jx-prose h2:first-child { margin-top: 0; }
.jx-prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.jx-prose p { margin: 0 0 1rem; line-height: 1.75; }
.jx-prose ul, .jx-prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; line-height: 1.7; }
.jx-prose li { margin-bottom: 0.45rem; }
.jx-prose li::marker { color: var(--jx-orange-dark); font-weight: 700; }
.jx-prose strong { color: var(--jx-navy); }
.jx-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 0.97rem; }
.jx-prose th, .jx-prose td { border: 1px solid var(--jx-line); padding: 0.65rem 0.85rem; text-align: left; }
.jx-prose th { background: var(--jx-navy); color: #fff; }
.jx-prose tr:nth-child(even) td { background: var(--jx-bg); }
.jx-figure { margin: 2rem 0; }
.jx-figure img { width: 100%; border-radius: var(--jx-radius); aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--jx-shadow); }
.jx-figure figcaption { color: var(--jx-muted); font-size: 0.85rem; margin-top: 0.5rem; }

/* ---------- cards ---------- */
.jx-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px) { .jx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jx-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.jx-card {
  background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: var(--jx-radius);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--jx-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.jx-card:hover { transform: translateY(-3px); box-shadow: var(--jx-shadow); }
.jx-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.jx-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.jx-card h3 { margin: 0 0 0.45rem; font-size: 1.18rem; }
.jx-card p { margin: 0; color: var(--jx-muted); font-size: 0.97rem; flex: 1; }
.jx-card-link { color: var(--jx-orange-dark); font-weight: 700; font-size: 0.95rem; margin-top: 0.85rem; }
.jx-card--text { padding: 1.25rem 1.35rem; }
.jx-card--text h3 { font-size: 1.12rem; }

/* ---------- about split ---------- */
.jx-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .jx-split { grid-template-columns: 1fr 1fr; } }
.jx-split img { width: 100%; border-radius: var(--jx-radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--jx-shadow); }

/* ---------- steps ---------- */
.jx-steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; counter-reset: step; }
@media (min-width: 800px) { .jx-steps { grid-template-columns: repeat(3, 1fr); } }
.jx-step {
  background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: var(--jx-radius);
  padding: 1.5rem 1.35rem 1.4rem; position: relative;
}
.jx-step::before {
  counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--jx-orange); color: #fff;
  font-weight: 800; font-size: 1.15rem; margin-bottom: 0.85rem;
}
.jx-step h3 { margin: 0 0 0.4rem; font-size: 1.12rem; }
.jx-step p { margin: 0; color: var(--jx-muted); font-size: 0.97rem; }

/* ---------- problems ---------- */
.jx-problems { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; counter-reset: prob; }
@media (min-width: 800px) { .jx-problems { grid-template-columns: repeat(2, 1fr); } }
.jx-problem {
  background: var(--jx-card); border: 1px solid var(--jx-line); border-left: 4px solid var(--jx-orange);
  border-radius: var(--jx-radius); padding: 1.35rem 1.4rem;
}
.jx-problem h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.jx-problem h3::before {
  counter-increment: prob; content: counter(prob) ". "; color: var(--jx-orange-dark); font-weight: 800;
}
.jx-problem p { margin: 0 0 0.6rem; color: var(--jx-muted); font-size: 0.97rem; }
.jx-problem p:last-child { margin-bottom: 0; }
.jx-fix-label {
  display: inline-block; color: var(--jx-orange-dark); font-weight: 800; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.07em; margin-right: 0.4rem;
}

/* ---------- cost block ---------- */
.jx-cost-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 800px) { .jx-cost-grid { grid-template-columns: repeat(3, 1fr); } }
.jx-cost-card {
  background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: var(--jx-radius);
  padding: 1.5rem 1.35rem; text-align: center;
}
.jx-cost-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.jx-cost-range { font-size: 1.5rem; font-weight: 800; color: var(--jx-blue); margin: 0 0 0.5rem; }
.jx-cost-card p { margin: 0; color: var(--jx-muted); font-size: 0.94rem; }
.jx-cost-note { color: var(--jx-muted); font-size: 0.9rem; margin-top: 1.25rem; }

/* ---------- areas ---------- */
.jx-areas { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px) { .jx-areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jx-areas { grid-template-columns: repeat(3, 1fr); } }
.jx-area {
  background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: var(--jx-radius);
  padding: 1.25rem 1.35rem;
}
.jx-area h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.jx-area p { margin: 0; color: var(--jx-muted); font-size: 0.96rem; }
.jx-area p a { font-weight: 600; }

/* ---------- resources list ---------- */
.jx-links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.jx-links li a {
  display: block; background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: 10px;
  padding: 0.8rem 1rem; text-decoration: none; font-weight: 600; color: var(--jx-ink);
}
.jx-links li a:hover { border-color: var(--jx-orange); color: var(--jx-blue); }

/* ---------- FAQ ---------- */
.jx-faq { margin-top: 1.8rem; display: grid; gap: 0.8rem; }
.jx-faq details {
  background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: 12px; padding: 0.2rem 1.1rem;
}
.jx-faq summary {
  cursor: pointer; font-weight: 700; color: var(--jx-navy); padding: 0.95rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.jx-faq summary::-webkit-details-marker { display: none; }
.jx-faq summary::after { content: "+"; color: var(--jx-orange-dark); font-size: 1.4rem; font-weight: 800; flex-shrink: 0; }
.jx-faq details[open ] summary::after { content: "–"; }
.jx-faq details p { margin: 0 0 1rem; color: var(--jx-muted); line-height: 1.7; }

/* ---------- CTA band ---------- */
.jx-cta-band {
  background: linear-gradient(135deg, #10243A 0%, #1E4E78 100%); color: #fff;
  border-radius: 18px; padding: 2.5rem 1.75rem; text-align: center;
}
.jx-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 0.75rem; }
.jx-cta-band p { color: #CDD9E6; max-width: 42rem; margin: 0 auto 1.5rem; font-size: 1.05rem; }
.jx-cta-band p a { color: #fff; font-weight: 700; }
.jx-cta-hours { margin: 1.25rem 0 0; font-size: 0.92rem; color: #9FB4C8; font-weight: 600; }

/* ---------- big phone card (contact) ---------- */
.jx-phone-card {
  background: var(--jx-bg); border: 1px solid var(--jx-line); border-left: 4px solid var(--jx-orange);
  border-radius: var(--jx-radius); padding: 1.5rem; text-align: center; margin: 1.5rem 0 2rem;
}
.jx-phone-card p { margin: 0 0 0.5rem; color: var(--jx-muted); font-weight: 600; }
.jx-phone-card a { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--jx-navy); text-decoration: none; }
.jx-phone-card a:hover { color: var(--jx-blue); }

/* ---------- footer ---------- */
.jx-footer { background: var(--jx-navy); color: #B8C6D4; padding: 3rem 0 0; margin-top: 1rem; }
.jx-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 800px) { .jx-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.jx-footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; }
.jx-footer p { font-size: 0.95rem; line-height: 1.7; }
.jx-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 0.85rem; }
.jx-footer ul { list-style: none; margin: 0; padding: 0; }
.jx-footer li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.jx-footer li a { color: #B8C6D4; text-decoration: none; }
.jx-footer li a:hover { color: #fff; }
.jx-footer-phone {
  display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 800;
  font-size: 1.15rem; text-decoration: none; margin: 0.5rem 0 1rem;
}
.jx-footer-phone:hover { color: #FDBA7A; }
.jx-disclaimer { font-size: 0.86rem !important; color: #8FA3B5; }
.jx-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.1rem 0; }
.jx-footer-bottom .jx-container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.88rem; color: #8FA3B5; }

/* ---------- sticky mobile call bar ---------- */
.jx-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--jx-orange);
  transform: translateY(110%); transition: transform 0.25s ease; box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
}
.jx-callbar.is-visible { transform: translateY(0); }
.jx-callbar-link {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  color: #fff; text-decoration: none; padding: 0.8rem 1rem;
}
.jx-callbar-link:hover { color: #fff; }
.jx-callbar-text { display: flex; flex-direction: column; line-height: 1.2; }
.jx-callbar-label { font-size: 0.8rem; opacity: 0.92; font-weight: 600; }
.jx-callbar-number { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; }
@media (min-width: 900px) { .jx-callbar { display: none; } }
.jx-callbar-link:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
body.jx-bar-active { padding-bottom: 64px; }
@media (min-width: 900px) { body.jx-bar-active { padding-bottom: 0; } }
