/* Round Rock HVAC Services
   Identity: slate teal ink, one hot coral reserved for the phone and primary calls to action.
   Type: Bricolage Grotesque (display) + Instrument Sans (body).
   Layout: dark full-width hero with a flush photo band, margin headings beside the prose,
   ruled service list, hairline sections, 4px corners. */
:root {
  --ink: #0e3b43;        /* deep slate teal: headings, hero, footer */
  --ink-2: #082a30;      /* darker teal: top bar, footer base */
  --paper: #fbfcfb;      /* page */
  --tint: #e2eeee;       /* pale teal panel */
  --tint-2: #f0f6f6;
  --coral: #c43d28;      /* phone and primary CTA only */
  --coral-dark: #9f2e1c;
  --coral-light: #ff9279; /* coral on the dark hero */
  --text: #162427;
  --muted: #4a6064;
  --line: #cddbdb;
  --white: #ffffff;
  --radius: 4px;
  --max: 1120px;
  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17.5px; line-height: 1.62; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.06; margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); font-weight: 700; line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }

/* Top bar: what no other Round Rock shop says */
.avail { background: var(--ink-2); color: #e6f0f0; font-size: .92rem; }
.avail .wrap { display: flex; flex-wrap: wrap; gap: 4px 26px; align-items: center; min-height: 38px; }
.avail .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral-light); margin-right: 8px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.015em; color: var(--ink); text-decoration: none; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: .01em; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 26px; align-items: center; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink); font-size: .98rem; }
.nav a:hover { text-decoration: underline; }
.nav details { position: relative; }
.nav summary { cursor: pointer; list-style: none; font-weight: 500; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav details[open] .menu { display: grid; }
.nav .menu { display: none; position: absolute; top: 160%; left: -14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0; min-width: 300px; box-shadow: 0 14px 34px rgba(8,42,48,.14); }
.nav .menu a { padding: 9px 18px; }
.nav .menu a:hover { background: var(--tint-2); text-decoration: none; }
.nav-toggle { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 13px 22px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-heat { background: var(--coral); color: #fff; }
.btn-heat:hover { background: var(--coral-dark); color: #fff; }
.btn-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: #fff; }
.header-cta { padding: 11px 18px; }

/* Hero: full-width dark field, left aligned, photo band flush underneath */
.hero { background: var(--ink); color: #dcebec; padding: 64px 0 0; }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: .35em; }
.hero .lede { max-width: 62ch; font-size: 1.2rem; color: #d3e5e6; }
.hero .lede p { margin: 0 0 .8em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 34px; }
.hero .btn-heat { background: var(--coral-light); color: #08262c; }
.hero .btn-heat:hover { background: #ffb0a0; color: #08262c; }
.hero .btn-ink { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ink:hover { background: #fff; color: var(--ink); }
.promise { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.promise li { border-top: 1px solid rgba(255,255,255,.28); padding: 14px 0 28px; margin: 0; font-size: .98rem; line-height: 1.4; color: #e8f2f2; }
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 0 -22px; }
.band .photo { margin: 0; }
.band .photo img { max-width: none; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 0; }

/* Trust row */
.trust { background: var(--tint); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
.trust div { flex: 1 1 190px; padding: 18px 20px; border-left: 1px solid #bfd3d3; font-size: .93rem; color: var(--ink); line-height: 1.3; }
.trust div:first-child { border-left: 0; padding-left: 0; }
.trust b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }

/* Page head for inner pages */
.crumbs { background: var(--paper); font-size: .88rem; padding: 14px 0 0; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: #8aa0a3; }
.crumbs a { color: var(--muted); }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 34px 0 40px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; }
.page-head .lede { max-width: 66ch; font-size: 1.14rem; color: var(--text); }
.page-head .lede p { margin: 0 0 .8em; }
.page-head .actions { margin-top: 18px; }

/* Content: headings sit in a left margin column beside the copy */
.section { padding: 52px 0 28px; }
.content .prose { display: grid; grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr); column-gap: 52px; }
.content .prose > * { grid-column: 2; max-width: 68ch; }
.content .prose > h2 { grid-column: 1; max-width: none; margin: 1.5rem 0 0; padding-top: 14px; border-top: 3px solid var(--ink); font-size: clamp(1.25rem, 2vw, 1.55rem); align-self: start; }
.content .prose > h2:first-child { margin-top: 0; }
.content .prose > h3 { margin-top: .4em; }
.content .prose > h2 + h3, .content .prose > h2 + p { margin-top: 1.5rem; }
.content .prose > .intro { grid-column: 1 / -1; max-width: 68ch; }
.content .prose > .tbl, .content .prose > .gallery, .content .prose > .services { max-width: none; }
.content .prose > .services { grid-column: 1 / -1; }
.content .prose > h2 + .services, .content .prose > h2 + .tbl { margin-top: 1.5rem; }
.content .prose > h2:not(:first-child) { margin-top: 2.6rem; }
.content ul, .content ol { padding-left: 1.2rem; }
.content ul li::marker { color: var(--coral); }

/* Services: a ruled list, not cards */
.services { list-style: none; padding: 0 !important; margin: 0 0 1.5em; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.services li { margin: 0; border-top: 1px solid var(--line); position: relative; }
.services a { display: block; padding: 16px 30px 16px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.services a::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--coral); border-right: 2px solid var(--coral); transform: translateY(-50%) rotate(45deg); }
.services a:hover { color: var(--coral-dark); }
.services span { display: block; padding: 0 30px 16px 0; margin-top: -10px; color: var(--muted); font-size: .96rem; }

/* Sequences: numbers earn their place here */
.content ol { list-style: none; counter-reset: step; padding-left: 0 !important; }
.content ol > li { counter-increment: step; position: relative; padding: 14px 0 14px 58px; border-top: 1px solid var(--line); margin: 0; }
.content ol > li:last-child { border-bottom: 1px solid var(--line); }
.content ol > li::before { content: counter(step); position: absolute; left: 0; top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--coral); }

/* FAQ */
.faq { background: var(--tint-2); border-top: 1px solid var(--line); padding: 52px 0 56px; }
.faq .wrap > h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); max-width: 860px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 44px 17px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 500; color: var(--coral); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 44px 16px 0; color: var(--text); }

/* CTA band */
.cta { background: var(--coral); color: #fff; padding: 46px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .3em; }
.cta p { margin: 0; max-width: 56ch; font-size: 1.08rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-heat { background: #fff; color: var(--coral-dark); }
.cta .btn-heat:hover { background: var(--tint); color: var(--coral-dark); }
.cta .btn-ink { color: #fff; border-color: #fff; }
.cta .btn-ink:hover { background: #fff; color: var(--coral-dark); }

/* Footer */
.site-footer { background: var(--ink-2); color: #c8dcde; padding: 52px 0 0; font-size: .96rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.site-footer a { color: #e6f1f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.legal { margin-top: 38px; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .88rem; color: #a9c2c5; }
.legal .wrap { display: block; }
.callbar { display: none; }

/* Photos */
.photo { margin: 1.5em 0; }
.photo img { display: block; width: 100%; max-width: 720px; height: auto; border-radius: 2px; background: var(--tint-2); }
.prose > .photo img { width: auto; max-width: 100%; max-height: 520px; }
.photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 1.5em 0; }
.gallery .photo { margin: 0; }
.gallery .photo img { max-width: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
.gallery .photo figcaption { font-size: .82rem; padding: 6px 2px 0; }

/* Tables: real data; stacked rows on phones */
.tbl { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tbl:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .96rem; line-height: 1.45; }
.tbl th, .tbl td { padding: .75rem .95rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody td:first-child { font-weight: 600; color: var(--ink); }
.tbl tbody tr:nth-child(even) td { background: var(--tint-2); }

@media (max-width: 1000px) {
  .promise { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-toggle[open] .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 22px 18px; gap: 10px; box-shadow: 0 12px 24px rgba(8,42,48,.12); }
  .nav-toggle summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; padding: 8px 0; color: var(--ink); }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav .menu { position: static; display: grid; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .header-cta { display: none; }
  .content .prose { display: block; }
  .content .prose > * { max-width: none; }
  .content .prose > h2 { margin-top: 2.2rem; }
  .services { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; margin: 0 -22px; }
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
  .promise { grid-template-columns: 1fr; }
  .promise li { padding: 12px 0 14px; }
  .trust div { flex-basis: 50%; border-left: 0; padding: 14px 10px 14px 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  body { padding-bottom: 58px; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--coral); color: #fff; justify-content: center; padding: 14px 16px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
  .callbar:hover { color: #fff; }
  .tbl { overflow: visible; border: 0; background: transparent; }
  .tbl table, .tbl tbody, .tbl tr, .tbl td { display: block; min-width: 0; width: 100%; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { margin: 0 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
  .tbl td { border-bottom: 1px solid var(--line); padding: .6rem .9rem; }
  .tbl tbody tr:nth-child(even) td { background: transparent; }
  .tbl tbody tr td:first-child { background: var(--tint); color: var(--ink); font-weight: 700; }
  .tbl td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .15rem; }
  .tbl tbody tr td:last-child { border-bottom: 0; }
}
