/* Arrow Plumbing and Gas — per-site stylesheet.
   Palette derived from the brief's real photos:
   - Charcoal (#1f1d1b)  : the black logo badge + Chris's cap
   - Warm stone (#8c7c60): Chris's khaki work shirt + the cedar timber fence
   - Timber gold (#c4843c): the sunlit cedar palings (boldest warm tone)
   - Cream (#f7f3ec)     : light surface to keep it warm, not clinical
   - Eucalypt (#5f7355) : the palm/banana foliage behind Chris (subtle tie-in) */

:root {
  --charcoal: #1f1d1b;
  --charcoal-soft: #2c2a27;
  --stone: #8c7c60;
  --stone-deep: #6f6147;
  --gold: #c4843c;
  --gold-deep: #a96c28;
  --eucalypt: #5f7355;
  --cream: #f7f3ec;
  --cream-deep: #efe7d8;
  --ink: #211f1c;
  --ink-soft: #4a463f;
  --line: #e2d8c6;
  --white: #ffffff;

  --maxw: 1160px;
  --gut: clamp(1.1rem, 4vw, 2.4rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px -18px rgba(31, 29, 27, 0.45);
  --shadow-sm: 0 6px 20px -10px rgba(31, 29, 27, 0.35);

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.section { padding: clamp(3.2rem, 8vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--deep { background: var(--cream-deep); }
.section--ink { background: var(--charcoal); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p { color: rgba(247, 243, 236, 0.78); }

.section__head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.85rem, 4.4vw, 2.7rem); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.22rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--charcoal); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-deep); color: var(--white); }
.btn--dark { background: var(--charcoal); color: var(--cream); }
.btn--dark:hover { background: var(--charcoal-soft); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(247,243,236,0.55); }
.btn--ghost-light:hover { background: var(--cream); color: var(--charcoal); }
.btn--lg { min-height: 54px; padding: 1rem 1.85rem; font-size: 1.05rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

/* ---------- Logo lockup ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.logo:hover { text-decoration: none; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-transform: uppercase;
}
.logo__name span { color: var(--gold-deep); }
.logo__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-deep);
  margin-top: 4px;
}
.site-footer .logo__name { color: var(--cream); }
.site-footer .logo__sub { color: rgba(247,243,236,0.6); }

/* ---------- Nav ---------- */
.nav-toggle { display: none; }
.nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-btn span,
.nav-btn span::before,
.nav-btn span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-btn span::before { position: absolute; top: -7px; }
.nav-btn span::after { position: absolute; top: 7px; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a.navlink {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.4rem 0;
  position: relative;
}
.site-nav a.navlink:hover { color: var(--gold-deep); text-decoration: none; }
.site-nav a.navlink[aria-current="page"] { color: var(--gold-deep); }
.site-nav a.navlink[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta { margin-left: 0.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  background: var(--charcoal);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(20,18,16,0.94) 0%, rgba(20,18,16,0.78) 42%, rgba(20,18,16,0.30) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.4rem, 9vw, 6.4rem);
  max-width: 640px;
}
.hero__inner .eyebrow { color: var(--gold); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 6.4vw, 4rem);
  margin-bottom: 0.55em;
}
.hero p.lead { color: rgba(247, 243, 236, 0.88); margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 1.7rem; }

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--charcoal-soft);
  color: var(--cream);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  justify-content: center;
  align-items: center;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.trust__row span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust__row svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- Generic grid ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.6vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Service cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; color: var(--gold-deep); }
.card h3 { font-size: 1.22rem; }
.card p { font-size: 0.98rem; }
.card__link {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__link::after { content: "→"; transition: transform 0.15s ease; }
.card__link:hover { text-decoration: none; }
.card__link:hover::after { transform: translateX(3px); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 0.6em; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--charcoal);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.step p { font-size: 0.95rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--charcoal); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-tall { grid-row: span 1; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review .stars { margin-bottom: 0.7rem; }
.review p { font-size: 1rem; color: var(--ink); font-style: italic; }
.review__by {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.review__by span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--stone-deep); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.6rem 2.4rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-band p { color: rgba(247,243,236,0.82); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Featurelist ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1d1b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(2.8rem, 7vw, 4.6rem) 0;
  border-bottom: 4px solid var(--gold);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5.2vw, 3rem); margin-bottom: 0.35em; }
.page-hero p { color: rgba(247,243,236,0.82); max-width: 600px; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.crumbs { font-family: var(--font-display); font-size: 0.82rem; color: rgba(247,243,236,0.6); margin-bottom: 1rem; letter-spacing: 0.04em; }
.crumbs a { color: rgba(247,243,236,0.85); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--cream-deep);
  display: grid; place-items: center;
}
.contact-list .ci svg { width: 22px; height: 22px; color: var(--gold-deep); }
.contact-list .ct strong { display: block; font-family: var(--font-display); color: var(--charcoal); font-size: 1.05rem; }
.contact-list .ct a { color: var(--ink-soft); }
.contact-list .ct span { color: var(--stone-deep); font-size: 0.92rem; }

.note {
  background: var(--cream-deep);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  font-size: 0.96rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(247,243,236,0.78); padding-top: clamp(2.8rem, 6vw, 4rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}
.footer-grid p { color: rgba(247,243,236,0.7); font-size: 0.96rem; }
.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(247,243,236,0.78); font-size: 0.96rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bar {
  border-top: 1px solid rgba(247,243,236,0.14);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(247,243,236,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav-btn { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.6rem var(--gut) 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle:checked ~ .nav-btn span { background: transparent; }
  .nav-toggle:checked ~ .nav-btn span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle:checked ~ .nav-btn span::after { transform: rotate(-45deg); top: 0; }
  .site-nav a.navlink { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a.navlink[aria-current="page"]::after { display: none; }
  .nav-cta { margin: 0.9rem 0 0; }
  .nav-cta .btn { width: 100%; }

  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .btn-row .btn { width: 100%; }
}

@media (min-width: 1280px) {
  .hero__inner { max-width: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
