/* ReliaBee Air Electric Plumbing — preview sample
   Palette + type taken from reliabee.com (teal #1c545d, yellows #f5b800/#fed103,
   Epunda Slab headings, Barlow body). */

@font-face {
  font-family: 'Epunda Slab';
  src: url('assets/epunda-slab-var.woff2') format('woff2');
  font-weight: 400 800;
  font-display: block;
}
@font-face {
  font-family: 'Barlow';
  src: url('assets/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Barlow';
  src: url('assets/barlow-500.woff2') format('woff2');
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: 'Barlow';
  src: url('assets/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-display: block;
}
@font-face {
  font-family: 'Barlow';
  src: url('assets/barlow-700.woff2') format('woff2');
  font-weight: 700;
  font-display: block;
}

:root {
  --teal: #1c545d;
  --teal-deep: #12373e;
  --teal-ink: #0c272c;
  --yellow: #f5b800;
  --yellow-bright: #fed103;
  --ink: #1a1a1a;
  --body: #3c4a4d;
  --cream: #faf7ef;
  --cream-deep: #f3eede;
  --line: #e4ddc9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 55, 62, 0.10);
  --font-head: 'Epunda Slab', 'Georgia', serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--teal-ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: var(--teal); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

.kicker {
  display: inline-block;
  font: 700 13px/1.5 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6d00;
  background: rgba(245, 184, 0, 0.16);
  border: 1px solid rgba(245, 184, 0, 0.45);
  padding: 7px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 18px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderOut 0.9s ease 0.55s forwards;
}
.loader img {
  width: min(240px, 58vw);
  height: auto;
  background: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: loaderLogo 0.5s ease both;
}
@keyframes loaderLogo {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes loaderOut {
  to { opacity: 0; visibility: hidden; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(18, 55, 62, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.header-logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font: 600 15px/1 var(--font-body);
  color: var(--teal-ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: var(--teal); border-color: var(--yellow); }
.header-call {
  margin-left: 26px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 16px/1 var(--font-body);
  text-decoration: none;
  border-radius: 10px;
  padding: 15px 24px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn svg { flex: none; }
.btn-yellow {
  background: var(--yellow);
  color: var(--teal-ink);
  box-shadow: 0 6px 18px rgba(245, 184, 0, 0.35);
}
.btn-yellow:hover { transform: translateY(-2px); background: var(--yellow-bright); box-shadow: 0 10px 24px rgba(245, 184, 0, 0.45); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { transform: translateY(-2px); background: var(--teal-deep); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--yellow-bright); color: var(--yellow-bright); }
.btn-ghost-dark { background: transparent; color: var(--teal); border-color: rgba(28, 84, 93, 0.4); }
.btn-ghost-dark:hover { transform: translateY(-2px); border-color: var(--teal); }
.btn-big { font-size: 18px; padding: 18px 30px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(245, 184, 0, 0.16), transparent 60%),
    linear-gradient(168deg, var(--teal-deep) 0%, var(--teal) 58%, #256671 100%);
  color: #e9f1f0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  /* honeycomb motif from their brand decals, kept very quiet */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17Z M28 66 54 81v30L28 126 2 111V81Z' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  padding: 86px 0 92px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.hero h1 .hl { color: var(--yellow-bright); }
.hero-sub { margin-top: 20px; font-size: 19px; max-width: 560px; color: #d7e4e2; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-rating {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 18px;
  border-radius: 12px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.hero-rating:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
.hero-rating .stars { color: var(--yellow-bright); font-size: 18px; letter-spacing: 2px; }
.hero-rating strong { font-size: 17px; }
.hero-rating span { font-size: 14px; color: #cfdedd; }
.hero-badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: #c4d6d4; }
.hero-badges li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--yellow-bright); flex: none; }
.hero-media { position: relative; }
.hero-media .photo-main {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.12);
}
.hero-media .photo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(12, 39, 44, 0.85);
  color: #fff;
  font: 600 13px/1.4 var(--font-body);
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--teal-ink); color: #cfdedd; }
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 38px;
  justify-content: center;
  list-style: none;
  padding: 16px 22px;
  font: 600 14.5px/1.4 var(--font-body);
}
.trustbar li { display: flex; align-items: center; gap: 9px; }
.trustbar svg { color: var(--yellow); flex: none; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(18, 55, 62, 0.16);
  border-color: rgba(245, 184, 0, 0.7);
}
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(28, 84, 93, 0.09);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-card h3 { font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.svc-card > p { font-size: 15.5px; margin-bottom: 14px; }
.svc-card ul { list-style: none; margin-top: auto; }
.svc-card li {
  font-size: 15px;
  padding: 7px 0 7px 26px;
  border-top: 1px dashed var(--line);
  position: relative;
}
.svc-card li::before {
  content: '';
  position: absolute;
  left: 2px; top: 14px;
  width: 14px; height: 14px;
  background: var(--yellow);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.svc-journeys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.journey {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.journey:hover { transform: translateY(-3px); border-color: rgba(28, 84, 93, 0.45); }
.journey h4 { font-size: 17px; margin-bottom: 6px; }
.journey p { font-size: 14.5px; }
.svc-cta { margin-top: 40px; text-align: center; }
.svc-cta p { margin-bottom: 16px; font-size: 18px; color: var(--teal-ink); font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews { background: linear-gradient(180deg, var(--teal-deep), var(--teal-ink)); color: #dce8e6; }
.reviews .section-head h2 { color: #fff; }
.reviews .section-head p { color: #b9cdca; }
.review-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 34px;
}
.review-count { font: 800 64px/1 var(--font-head); color: var(--yellow-bright); min-width: 150px; }
.review-stats .meta strong { display: block; color: #fff; font-size: 20px; }
.review-stats .meta .stars { color: var(--yellow-bright); font-size: 22px; letter-spacing: 3px; }
.review-stats .meta span { font-size: 15px; color: #b9cdca; }
.review-stats .btn { margin-left: auto; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.review-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); }
.review-card .stars { color: var(--yellow-bright); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.review-card blockquote { font-size: 15.5px; line-height: 1.62; color: #e6efee; }
.review-card figcaption { margin-top: 16px; font: 600 14.5px/1.4 var(--font-body); color: #fff; }
.review-card figcaption span { display: block; font-weight: 400; font-size: 13px; color: #9fb7b4; }
.reviews-foot { margin-top: 30px; text-align: center; font-size: 15px; color: #b9cdca; }
.reviews-foot a { color: var(--yellow-bright); }

/* ---------- Plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 55, 62, 0.15); }
.plan.featured { border: 2px solid var(--yellow); position: relative; }
.plan .flag {
  position: absolute;
  top: -14px; left: 26px;
  background: var(--yellow);
  color: var(--teal-ink);
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 99px;
}
.plan h3 { font-size: 24px; }
.plan .tag { font-size: 14.5px; margin: 6px 0 14px; }
.plan .price { font: 800 40px/1 var(--font-head); color: var(--teal); }
.plan .price small { font: 600 15px/1 var(--font-body); color: var(--body); }
.plan .prepay { font-size: 14px; margin-top: 6px; }
.plan ul { list-style: none; margin: 18px 0 22px; }
.plan li {
  font-size: 15px;
  padding: 7px 0 7px 26px;
  position: relative;
  border-top: 1px dashed var(--line);
}
.plan li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--teal);
  font-weight: 700;
}
.plan li.no::before { content: '—'; color: #b3b3a6; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 26px; text-align: center; font-size: 15px; }

/* ---------- Offers ---------- */
.offers { background: var(--cream-deep); }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer {
  background: var(--white);
  border: 1px dashed rgba(28, 84, 93, 0.5);
  border-radius: 12px;
  padding: 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.offer:hover { transform: translateY(-3px); border-color: var(--yellow); }
.offer h3 { font-size: 17.5px; margin-bottom: 8px; }
.offer p { font-size: 14.5px; margin-bottom: 12px; }
.offer a { font: 700 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--teal); }
.offer a:hover { color: #8a6d00; }

/* ---------- Service area ---------- */
.area-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.area-map img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.area-list span {
  font: 600 13.5px/1 var(--font-body);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--teal-ink);
  padding: 8px 12px;
  border-radius: 99px;
}
.area-copy p + p { margin-top: 14px; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy p + p { margin-top: 14px; }
.about-facts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
}
.fact strong { display: block; font: 700 16px/1.3 var(--font-body); color: var(--teal-ink); margin-bottom: 3px; }

/* ---------- Final CTA ---------- */
.final {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(245, 184, 0, 0.18), transparent 55%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #dce8e6;
  text-align: center;
}
.final h2 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; }
.final p { max-width: 620px; margin: 16px auto 0; font-size: 18px; }
.final .hero-cta { justify-content: center; }
.final .hours { margin-top: 26px; font-size: 15px; color: #b9cdca; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-ink); color: #a9c0bd; font-size: 14.5px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding: 56px 0 40px;
}
.footer h4 { color: #fff; font: 700 15px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: #cfdedd; text-decoration: none; transition: color 0.15s ease; }
.footer a:hover { color: var(--yellow-bright); }
.footer-brand img {
  height: 84px;
  width: auto;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}
.footer-brand p { max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 26px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* ---------- Quote modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 18px 18px;
  background: rgba(12, 39, 44, 0.72);
}
.modal.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 30px 28px;
  position: relative;
  animation: modalIn 0.22s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-card h3 { font-size: 24px; margin-bottom: 6px; }
.modal-card > p { font-size: 15px; margin-bottom: 18px; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--body);
  cursor: pointer;
  padding: 6px;
}
.modal-close:hover { color: var(--teal-ink); }
.field { margin-bottom: 14px; }
.field label { display: block; font: 600 14px/1 var(--font-body); color: var(--teal-ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: 400 15.5px/1.5 var(--font-body);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  background: var(--cream);
}
.field input:focus, .field textarea:focus { outline: 2px solid rgba(245, 184, 0, 0.6); border-color: var(--yellow); }
.modal-note { margin-top: 14px; font-size: 13.5px; color: #7a7a6e; }
.modal-note a { color: var(--teal); font-weight: 600; }

/* ---------- Reveal animations (only when JS is running) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .loader { animation-delay: 0.1s; animation-duration: 0.2s; }
  .btn, .svc-card, .review-card, .plan, .journey, .offer { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .svc-grid, .review-grid, .plans-grid { grid-template-columns: 1fr 1fr; }
  .svc-journeys, .offer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 70px; }
  .hero-media { max-width: 560px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}

@media (max-width: 660px) {
  .section { padding: 60px 0; }
  .svc-grid, .review-grid, .plans-grid, .svc-journeys, .offer-grid { grid-template-columns: 1fr; }
  .area-inner, .about-inner { grid-template-columns: 1fr; }
  .header-logo img { height: 44px; }
  .header-call { margin-left: auto; padding: 12px 16px; font-size: 15px; }
  .header-call .call-label { display: none; }
  .review-stats { padding: 22px; }
  .review-stats .btn { margin-left: 0; }
  .review-count { font-size: 52px; min-width: 0; }
  .about-facts { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { width: 100%; }
}
