/* RI Construction LLC — live site styles. Heritage Teal (Direction A from the approved draft). */
body {
  --bg: #f6f3ec;
  --surface: #fffdf8;
  --surface-2: #efe9db;
  --ink: #1d2422;
  --ink-soft: #4c5754;
  --line: #ddd5c3;
  --brand: #0d4f4a;
  --brand-deep: #093b37;
  --brand-ink: #ffffff;
  --accent: #c07a24;
  --accent-ink: #ffffff;
  --hero-shade: rgba(6, 38, 35, 0.78);
  --header-bg: #0d4f4a;
  --header-ink: #f2ede1;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(29, 36, 34, 0.12);
}
@media (prefers-color-scheme: dark) {
  body {
    --bg: #10181a;
    --surface: #182224;
    --surface-2: #1f2d2e;
    --ink: #ece7da;
    --ink-soft: #a9b3ad;
    --line: #33413f;
    --brand: #14665e;
    --brand-deep: #0d4f4a;
    --accent: #d18a35;
    --header-bg: #0b3532;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
h1, h2, h3, .cond {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0 0 1em; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Site header ---------- */
.site-header {
  background: var(--header-bg); color: var(--header-ink);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 14px rgba(0,0,0,0.25);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.wordmark { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--header-ink); flex: none; }
.logo-chip {
  display: inline-flex; background: #ffffff; border-radius: 8px;
  padding: 5px 9px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3); line-height: 0;
}
.logo-chip img { height: 56px; width: auto; }
.wordmark-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.05; white-space: nowrap; }
.wordmark-name {
  font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700;
  font-size: 28px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--header-ink);
}
.wordmark-sub {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--header-ink); opacity: 0.82;
}
footer .logo-chip { margin-bottom: 16px; }
footer .logo-chip img { height: 64px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  color: var(--header-ink); display: inline-flex; align-items: center;
  padding: 9px 12px; border-radius: 8px; letter-spacing: 0.02em; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,0.12); }
.main-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.35);
  font-weight: 700; padding: 9px 15px; border-radius: 999px; font-size: 15.5px; white-space: nowrap;
}
.header-call:hover { background: rgba(255,255,255,0.2); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 8px; color: #fff; padding: 8px 10px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 16.5px; padding: 13px 22px; border-radius: var(--radius);
  border: 2px solid transparent; font-family: inherit; line-height: 1.2;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-light:hover { background: rgba(255,255,255,0.22); }
.btn[disabled] { opacity: 0.65; cursor: wait; }

/* ---------- Promo / REO / FAQ ---------- */
.promo-banner { background: var(--accent); color: #fff; }
.promo-banner .wrap { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.promo-banner .price { font-family: "Barlow Condensed", sans-serif; font-size: 44px; font-weight: 700; line-height: 1; background: #fff; color: var(--brand-deep); padding: 8px 14px 5px; border-radius: 8px; white-space: nowrap; }
.promo-banner h2 { font-size: 27px; color: #fff; }
.promo-banner p { margin: 3px 0 0; color: rgba(255,255,255,.92); max-width: 42em; }
.promo-banner .btn { margin-left: auto; background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.promo-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.promo-card .txt { padding: 30px; }
.promo-card .side { background: var(--brand-deep); color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.promo-card .side .big { font-family: "Barlow Condensed", sans-serif; font-size: 58px; font-weight: 700; line-height: 1; }
.promo-card .side p { color: rgba(255,255,255,.88); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; color: var(--ink); }
.faq details p { color: var(--ink-soft); margin: 10px 0 0; }
.area-line { color: var(--ink-soft); font-size: 15.5px; }
.insp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.insp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.insp .icon { width: 26px; height: 26px; color: var(--brand); }
.insp h4 { font-family: "Barlow Condensed", sans-serif; font-size: 20px; text-transform: uppercase; margin: 8px 0 5px; }
.insp p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .insp-grid { grid-template-columns: repeat(2, 1fr); } }
.note-line { font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
@media (max-width: 900px) { .promo-card { grid-template-columns: 1fr; } .promo-banner .btn { margin-left: 0; } }

/* ---------- Winterization booking form ---------- */
.book-wrap { max-width: 860px; margin: 0 auto; }
.book-price-strip {
  display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center;
  background: var(--brand-deep); color: #fff; border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 28px;
}
.book-price-strip .big-price {
  font-family: "Barlow Condensed", sans-serif; font-size: 56px; font-weight: 700; line-height: 1;
  background: #fff; color: var(--brand-deep); padding: 8px 16px 5px; border-radius: 8px; white-space: nowrap;
}
.book-price-strip h3 { font-size: 28px; color: #fff; margin: 0; }
.book-price-strip p { margin: 4px 0 0; color: rgba(255,255,255,.9); font-size: 15.5px; max-width: 34em; }
.book-card { border-radius: 0 0 var(--radius) var(--radius); }
.timing-box {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.timing-box > label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.timing-box .hint { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 12px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font-weight: 600; font-size: 15px; color: var(--ink);
}
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand); color: #fff; }
.choice input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; flex: none; }
.choice:has(input:checked) input { accent-color: #fff; }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .choice { flex: 1 1 auto; justify-content: center; } .book-price-strip { padding: 20px; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(100deg, var(--hero-shade) 30%, rgba(0,0,0,0.25) 75%); }
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 84px; max-width: 1180px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 74px); font-weight: 700; max-width: 13em; }
.hero h1 em { font-style: normal; color: #f0b46a; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21.5px); max-width: 34em; color: #f0ece1; margin: 20px 0 30px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip { background: var(--brand-deep); color: #e9f0ec; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 34px; padding-top: 14px; padding-bottom: 14px; font-size: 15.5px; font-weight: 600; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .icon { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface-2); }
.sec-head { max-width: 46em; margin-bottom: 34px; }
.sec-head h1, .sec-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; color: var(--brand-deep); }
@media (prefers-color-scheme: dark) { .sec-head h1, .sec-head h2 { color: var(--ink); } }
.sec-head p { color: var(--ink-soft); font-size: 18px; margin-top: 10px; }
.rule { width: 58px; height: 4px; background: var(--accent); margin-bottom: 16px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step .num { font-family: "Barlow Condensed", sans-serif; font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; }
.step h3 { font-size: 23px; margin: 10px 0 8px; color: var(--ink); }
.step p { color: var(--ink-soft); margin: 0; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: left; font: inherit; color: var(--ink); text-decoration: none;
  display: flex; flex-direction: column; gap: 8px; transition: border-color 0.15s ease, transform 0.15s ease;
}
.svc:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc .icon { width: 30px; height: 30px; color: var(--brand); }
.svc h3 { font-size: 21px; }
.svc p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.svc .go { margin-top: auto; font-weight: 700; font-size: 14.5px; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.svc .go .icon { width: 16px; height: 16px; color: var(--accent); }

/* photo features */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card .cap { position: relative; width: 100%; padding: 60px 26px 24px; background: linear-gradient(transparent, rgba(8, 20, 18, 0.88)); }
.photo-card h3 { font-size: 27px; }
.photo-card p { color: #e6e1d2; margin: 6px 0 0; font-size: 16px; }

/* quote hub */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.hub-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hub-card .hub-head { padding: 26px 28px 6px; }
.hub-card .hub-head .icon { width: 34px; height: 34px; color: var(--accent); }
.hub-card h3 { font-size: 29px; margin-top: 10px; color: var(--ink); }
.hub-card .hub-head p { color: var(--ink-soft); margin-top: 8px; }
form.quote-form { padding: 10px 28px 28px; display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 20px; text-align: center;
  color: var(--ink-soft); cursor: pointer; background: var(--bg); display: block; position: relative;
}
.drop:hover, .drop:focus-within { border-color: var(--accent); color: var(--ink); }
.drop .icon { width: 30px; height: 30px; color: var(--accent); margin: 0 auto 6px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .fname { font-weight: 700; color: var(--brand); word-break: break-all; }
.thumb { margin: 12px auto 0; max-height: 150px; border-radius: 8px; display: none; }
.dest-note { display: flex; gap: 9px; align-items: flex-start; background: var(--surface-2); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; color: var(--ink-soft); }
.dest-note .icon { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.dest-note strong { color: var(--ink); }
.form-done { display: none; margin: 0 28px 28px; border: 1.5px solid var(--brand); background: var(--surface-2); border-radius: var(--radius); padding: 20px 22px; }
.form-done h4 { margin: 0 0 6px; font-family: "Barlow Condensed", sans-serif; font-size: 22px; text-transform: uppercase; }
.form-done p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.form-error { display: none; margin: 0 28px 28px; border: 1.5px solid #b3402a; background: var(--surface-2); border-radius: var(--radius); padding: 16px 20px; font-size: 15.5px; color: var(--ink); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* services page detail rows */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.svc-detail .txt { padding: 32px; }
.svc-detail h3 { font-size: 29px; color: var(--ink); }
.svc-detail .txt p { color: var(--ink-soft); margin-top: 10px; }
.svc-detail img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.svc-detail.noimg { grid-template-columns: 1fr; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-list span { font-size: 13.5px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }

/* work gallery */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-grid .photo-card { min-height: 300px; }

/* about / contact */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 26px; align-items: start; }
.fact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.fact-card h3 { font-size: 24px; margin-bottom: 14px; }
.fact-row { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.fact-row:first-of-type { border-top: none; }
.fact-row .icon { color: var(--accent); margin-top: 2px; }
.fact-row strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.fact-row a { font-weight: 700; font-size: 18px; text-decoration: none; }
.fact-row a:hover { text-decoration: underline; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list .icon { color: var(--brand); width: 20px; height: 20px; margin-top: 3px; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.cta-band h2 { font-size: clamp(27px, 3.6vw, 38px); }
.cta-band p { margin: 6px 0 0; color: rgba(255,255,255,0.85); max-width: 38em; }
.cta-band .btn { margin-left: auto; }

/* footer */
footer { background: var(--brand-deep); color: #cfd8d2; padding: 46px 0 110px; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
footer h4 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; font-size: 19px; margin: 0 0 12px; }
footer a { color: #cfd8d2; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .fine { border-top: 1px solid rgba(255,255,255,0.16); margin-top: 34px; padding-top: 18px; font-size: 14px; color: rgba(230,230,220,0.65); display: flex; flex-wrap: wrap; gap: 6px 26px; }

/* mobile call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none;
  background: var(--header-bg); border-top: 2px solid var(--accent);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.mobile-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 700; font-size: 15.5px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 9px; padding: 11px 6px;
}
.mobile-bar a.primary { background: var(--accent); border-color: var(--accent); }
.mobile-bar .icon { width: 18px; height: 18px; }

@media (max-width: 900px) {
  main { padding-bottom: 84px; }
  main a, main button, main input, main select, main textarea { scroll-margin-bottom: 110px; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 17px; margin: 14px 0 22px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hub, .duo, .split, .svc-detail, .work-grid { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--header-bg); flex-direction: column; padding: 10px 16px 16px; box-shadow: 0 18px 24px rgba(0,0,0,0.3); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: left; padding: 13px; }
  .burger { display: block; }
  .header-call { display: none; }
  .wordmark { gap: 9px; }
  .site-header .logo-chip img { height: 44px; }
  .wordmark-name { font-size: 21px; letter-spacing: 0.05em; }
  .wordmark-sub { font-size: 9.5px; letter-spacing: 0.24em; }
  .mobile-bar { display: grid; }
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; }
  .cta-band .btn { margin-left: 0; }
  .field-row { grid-template-columns: 1fr; }
}
