/* Florence Epoxy Flooring: "showroom floor" theme.
   Plain CSS, no build step. Stone background, charcoal ink, logo blue accent. */

:root {
  --stone:      #f5f2ec;  /* page background */
  --stone-2:    #ebe5d9;  /* alternate bands, footer */
  --paper:      #fffdf9;  /* raised surfaces */
  --ink:        #1f252c;  /* text, dark bands (matches the logo tile) */
  --ink-soft:   #4b525a;  /* secondary text */
  --line:       #d6cebf;  /* hairlines */
  --accent:     #1d5f9f;  /* links, buttons (logo blue, darkened for contrast) */
  --accent-dk:  #164a7c;  /* hover */
  --accent-lt:  #9ccbf3;  /* links on dark bands */
  --logo-blue:  #3d8fd8;  /* decorative only, never text on light */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
  --gut: clamp(18px, 4vw, 40px);
  --r-lg: 32px;   /* large soft corners (images, panels) */
  --r-md: 20px;   /* cards */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--logo-blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band--alt { background: var(--stone-2); }
.band--dark { background: var(--ink); color: #e9edf1; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark a { color: var(--accent-lt); }
.kicker { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; }
.band--dark .kicker { color: #c3cbd3; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.band--dark .lead { color: #d3d9df; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band--dark .btn--line, .btn--line-light { color: #fff; border-color: #fff; background: transparent; }
.band--dark .btn--line:hover, .btn--line-light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- header ---------- */
.top { background: var(--stone); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand span { font: 600 1.18rem/1.1 var(--serif); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 30px rgba(31,37,44,.12); }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.nav .sub a { padding: 9px 18px; }
.nav__call { margin-left: 8px; }
.nav__call a { background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 20px; }
.nav__call a:hover { background: var(--accent); color: #fff; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 18px; max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--stone-2); }
  .nav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: none; }
  .nav__call { margin: 12px 0 0; }
  .nav__call a { text-align: center; border: 0; }
  .top__in { position: relative; }
}

/* ---------- home hero (split, image bleeds right) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.hero__text { padding: clamp(48px, 7vw, 96px) var(--gut); padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); align-self: center; }
.hero__text .lead { max-width: 34em; }
.hero__img { position: relative; min-height: 320px; }
.hero__img picture, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img img { border-radius: 280px 0 0 280px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 30px 0 0; font-size: .95rem; color: var(--ink-soft); }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--logo-blue); margin-right: 9px; vertical-align: middle; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .hero__img img { border-radius: 0 0 var(--r-lg) var(--r-lg); }
}

/* ---------- finish swatches ---------- */
.swatches { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 28px; align-items: center; }
.swatch { text-align: center; margin: 0; }
.swatch img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 4px solid var(--paper); box-shadow: 0 6px 18px rgba(31,37,44,.15); }
.swatch figcaption { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .swatches > div:first-child { grid-column: 1 / -1; }
  .swatch img { width: 92px; height: 92px; }
}

/* ---------- two-column intro with sticky heading ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.duo__head { position: sticky; top: 104px; }
.duo__head picture img { margin-top: 26px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 140px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo__head { position: static; } }

/* ---------- numbered service index ---------- */
.index { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: svc; }
.index li { counter-increment: svc; }
.index li + li { border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 40px; gap: 20px; align-items: center; padding: 22px 18px; margin: 6px 0; border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: background .15s; }
.index a:hover { background: var(--paper); }
.index a::before { content: counter(svc, decimal-leading-zero); align-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--accent); font: 600 1rem var(--serif); color: var(--accent); }
.index h3 { margin: 0; font-size: 1.45rem; }
.index p { margin: 0; color: var(--ink-soft); }
.index .arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.1rem; transition: transform .15s; }
.index a:hover h3 { color: var(--accent); }
.index a:hover .arrow { transform: translateX(4px); }
@media (max-width: 760px) {
  .index a { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 18px 8px; }
  .index a::before { width: 40px; height: 40px; grid-row: span 2; align-self: start; }
  .index p { grid-column: 2; }
  .index .arrow { display: none; }
}

/* ---------- process steps ---------- */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; padding: 26px 24px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--logo-blue); color: var(--ink); font: 600 1.5rem/1 var(--serif); margin-bottom: 16px; }
.band:not(.band--dark) .steps li { background: var(--paper); box-shadow: 0 6px 20px rgba(31,37,44,.06); }
.band:not(.band--dark) .steps li::before { background: var(--accent); color: #fff; }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .97rem; }
.band--dark .steps p { color: #cfd6dc; }
.process-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r-lg); margin-top: 8px; }

/* ---------- reasons list ---------- */
.reasons { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 48px; }
.reasons li { padding-left: 38px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.reasons h3 { font-size: 1.12rem; margin-bottom: .3em; }
.reasons p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- area chips ---------- */
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 40px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; background: var(--paper); }
.chips a:hover { background: var(--ink); color: #fff; }
.band--dark .chips a { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.band--dark .chips a:hover { background: #fff; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 72px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { background: var(--paper); border-radius: var(--r-md); padding: 0 22px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(31,37,44,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font: 600 1.12rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--stone-2); font: 400 1.35rem/1 var(--sans); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA panel ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); color: #e9edf1;
  width: min(calc(var(--max) - 2 * var(--gut)), calc(100% - 2 * var(--gut))); margin: clamp(40px, 6vw, 72px) auto; border-radius: var(--r-lg); overflow: hidden; }
.cta__text { padding: clamp(40px, 6vw, 72px); }
.cta__text h2 { color: #fff; }
.cta__text p { color: #d3d9df; }
.cta__text a:not(.btn) { color: var(--accent-lt); }
.cta__img { position: relative; min-height: 260px; }
.cta__img picture, .cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta--solo { grid-template-columns: 1fr; }
.small { font-size: .9rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta__img { min-height: 220px; } }

/* ---------- inner-page hero ---------- */
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.phero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.phero picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 160px; }
@media (max-width: 860px) { .phero { grid-template-columns: 1fr; } .phero picture { order: -1; } .phero picture img { aspect-ratio: 16 / 9; border-radius: var(--r-lg); } }

/* location hero: flake-speckle background */
.lhero { background-color: var(--ink); color: #fff; padding: clamp(56px, 8vw, 100px) 0; border-radius: 0 0 var(--r-lg) var(--r-lg);
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0 1.5px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(61,143,216,.30) 0 1.5px, transparent 2px),
    radial-gradient(circle at 45% 85%, rgba(255,255,255,.07) 0 2px, transparent 2.5px);
  background-size: 26px 26px, 34px 34px, 41px 41px; }
.lhero h1 { color: #fff; max-width: 16em; }
.lhero .lead { color: #d3d9df; max-width: 38em; }
.lhero .kicker, .lhero .crumbs, .lhero .crumbs a { color: #c3cbd3; }
.lhero .crumbs li + li::before { color: #6b747d; }

/* ---------- main + aside layout ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 100px; background: var(--paper); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 10px 30px rgba(31,37,44,.08); }
.aside h2 { font-size: 1.3rem; }
.aside ul { list-style: none; padding: 0; margin: 0 0 20px; }
.aside li { padding: 8px 0; border-bottom: 1px solid var(--stone-2); font-size: .96rem; }
.aside .btn { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }

/* option grid (open, no boxes) */
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px 36px; margin-top: 30px; }
.opts > div { background: var(--paper); border-radius: var(--r-md); padding: 22px 22px 24px; box-shadow: 0 4px 14px rgba(31,37,44,.05); }
.opts h3 { font-size: 1.15rem; }
.opts p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

.table-wrap { overflow-x: auto; margin-top: 22px; border-radius: var(--r-md); box-shadow: 0 4px 14px rgba(31,37,44,.05); }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .97rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; }

.figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-lg); }

/* area cards on the Service Areas hub */
.area-cards { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.area-cards li { background: var(--paper); border-radius: var(--r-md); padding: 24px 24px 26px; box-shadow: 0 4px 14px rgba(31,37,44,.05); }
.area-cards h3 { font-size: 1.25rem; margin-bottom: .45em; }
.area-cards h3 a { color: var(--ink); text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.area-cards h3 a::after { content: "\2192"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font: 400 1rem var(--sans); }
.area-cards h3 a:hover { color: var(--accent); }
.area-cards p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- contact / estimate ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.info { list-style: none; padding: 0; margin: 26px 0; }
.info li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.info .big { font: 600 1.4rem var(--serif); text-decoration: none; }
.form-box { background: var(--paper); border-radius: var(--r-lg); padding: 18px; min-width: 0; box-shadow: 0 10px 30px rgba(31,37,44,.08); }
.form-box iframe { display: block; width: 100%; min-height: 929px; }
@media (max-width: 600px) { .form-box { padding: 6px; } }

/* ---------- article pages ---------- */
.article { padding: clamp(44px, 7vw, 84px) 0; }
.article .updated { font-size: .9rem; color: var(--ink-soft); }
.qa h2 { font-size: 1.4rem; margin-top: 1.6em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.center { text-align: center; }

/* ---------- footer ---------- */
.foot { background: var(--stone-2); border-radius: 40px 40px 0 0; padding: 64px 0 30px; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot__title { font: 600 1.05rem var(--serif); margin: 0 0 12px; color: var(--ink); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 7px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot p { color: var(--ink-soft); }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot__brand img { width: 34px; height: 34px; }
.foot__base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; }
  .callbar a { border-radius: 999px; box-shadow: 0 6px 18px rgba(31,37,44,.25); }
  .callbar a { text-align: center; padding: 15px 8px; font-weight: 600; text-decoration: none; color: #fff; background: var(--ink); }
  .callbar a + a { background: var(--accent); }
  body { padding-bottom: 72px; }
}
