/* Palm Beach Garage Door Service & Repair */
:root {
  --navy: #0a1a33;
  --navy-2: #12305c;
  --blue: #1565d8;
  --blue-bright: #2b8cff;
  --red: #d42a2a;
  --red-dark: #b01f1f;
  --ink: #16202e;
  --muted: #5a6678;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(10, 26, 51, .08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar { background: var(--navy); color: #cfe0ff; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar strong { color: #fff; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { height: 56px; width: auto; }
.brand span { font-weight: 800; font-size: 16px; line-height: 1.15; max-width: 210px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; line-height: 1.1; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0f53b5; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn svg { width: 18px; height: 18px; }
.header-call { white-space: nowrap; }

.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: flex; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; box-shadow: var(--shadow); }
.menu-panel a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1d4f9a 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 19px; color: #d6e4ff; max-width: 620px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-weight: 600; color: #e6efff; font-size: 15px; }
.hero-badges li::before { content: "\2713"; color: #5fd38d; font-weight: 900; margin-right: 6px; }
.hero-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-card img { border-radius: 10px; }
.hero.small { padding: 40px 0 44px; }
.hero.small .wrap { grid-template-columns: 1fr; }
.crumbs { font-size: 14px; color: #a9c2ea; margin-bottom: 10px; }
.crumbs a { color: #d6e4ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Trust strip */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-weight: 700; color: var(--navy); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--blue); }

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 13px; color: var(--blue); margin-bottom: 8px; display: block; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.card .more { font-weight: 700; text-decoration: none; }
.card-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(10,26,51,.14); }
.icon { width: 46px; height: 46px; border-radius: 10px; background: #e8f1ff; color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 26px; height: 26px; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }

.content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside .card { box-shadow: var(--shadow); }
.aside-cta { background: var(--navy); color: #fff; border: 0; }
.aside-cta h3 { color: #fff; }
.aside-cta p { color: #cfe0ff; }
.aside-cta .btn { width: 100%; margin-top: 8px; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }

.areas { columns: 3; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.areas li { break-inside: avoid; padding: 6px 0; }
.areas a { font-weight: 700; text-decoration: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.pills li { background: #e8f1ff; color: var(--navy-2); border-radius: 999px; padding: 4px 12px; font-size: 15px; font-weight: 600; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }

/* Storm band */
.band { background: linear-gradient(135deg, var(--blue) 0%, #0d3f8f 100%); color: #fff; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: 6px; }
.band p { color: #dbe8ff; margin: 0; max-width: 680px; }

.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #cfe0ff; font-size: 18px; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: 15px; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #c7d1df; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid #bcd6ff; border-color: var(--blue); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #071225; color: #b9c7de; padding: 48px 0 90px; font-size: 15px; }
.site-footer .grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #dbe6f7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .phone { font-size: 22px; font-weight: 800; color: #fff; }
.legal { border-top: 1px solid #1d2c47; margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.social { display: flex; gap: 12px; margin-top: 12px; }

/* Mobile call bar */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 8px; gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.1); }
.callbar .btn { flex: 1; padding: 14px 10px; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .content { grid-template-columns: 1fr; }
  .aside { position: static; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar .hide-sm { display: none; }
  .brand img { height: 44px; }
  .brand span { display: none; }
  .header-call { display: none; }
  .hero { padding: 36px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero .actions .btn { flex: 1 1 100%; }
  section { padding: 44px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .areas { columns: 2; }
  .form .row { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .callbar { display: flex; }
}
