/* Greenway Driveways & Patios — 1-page demo (Basic)
   Same brand as the 5-page demo: limestone ground, granite text,
   hedge green, sandstone accent. Font is shared from that site. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("https://greenway-demo.pages.dev/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --stone: #f3f3ef;
  --paper: #ffffff;
  --granite: #1c2320;
  --slate: #4f5954;
  --mist: #c5ccc7;
  --hedge: #1f3d2c;
  --hedge-2: #2b5640;
  --buff: #c8a066;
  --buff-2: #b38a4f;
  --buff-ink: #7a5b29;
  --buff-tint: #f8f2e6;
  --field: #8c938b;
  --wa: #157a43;
  --wa-2: #0f6236;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1100px;
  --r: 6px;
  --section: clamp(56px, 9vw, 96px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--granite);
  background: var(--stone);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 800; font-stretch: 90%; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.5rem); font-weight: 800; font-stretch: 92%; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--hedge); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--granite);
  outline-offset: 3px;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--granite); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Demo bar */
.demo-bar { background: var(--granite); color: #e9ece9; font-size: .875rem; }
.demo-bar p { margin: 0; padding: 8px 0; }
.demo-bar a { color: #fff; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid #e3e5df; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--granite); margin-right: auto; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.2rem; font-stretch: 90%; }
.brand-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
.nav { display: none; gap: 22px; }
.nav a { color: var(--granite); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; }
.nav a:hover { color: var(--hedge-2); text-decoration: underline; text-underline-offset: 4px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--granite); text-decoration: none; }
@media (min-width: 900px) { .nav { display: flex; } .header-phone { display: inline-flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r);
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, border-color .15s;
}
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--buff); color: var(--granite); }
.btn-accent:hover { background: var(--buff-2); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-light:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--hedge); border-color: var(--hedge); }
.btn-outline:hover { background: var(--hedge); color: #fff; }
.btn-dark { background: var(--hedge); color: #fff; }
.btn-dark:hover { background: var(--hedge-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--hedge); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,20,16,.88) 0%, rgba(12,20,16,.7) 55%, rgba(12,20,16,.35) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(56px, 11vw, 120px); }
.hero h1 { max-width: 15ch; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 40ch; color: #eef1ee; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--buff); stroke-width: 3; }

/* Sections */
.section { padding-block: var(--section); }
.alt { background: var(--paper); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--buff-ink); margin-bottom: .6em; }
.eyebrow-light { color: var(--buff); }
.small { font-size: .9rem; color: var(--slate); margin-top: 20px; }

/* Services */
.cards { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--paper); border: 1px solid #e3e5df; border-radius: var(--r); padding: 24px; }
.card p { color: var(--slate); margin-bottom: .6em; }
.card-icon { width: 40px; height: 40px; margin-bottom: 14px; fill: none; stroke: var(--hedge); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card .price { color: var(--granite); font-weight: 700; font-size: .92rem; margin: 0; }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--mist); }
.gallery figcaption { padding-top: 10px; font-size: .95rem; color: var(--slate); }
.gallery figcaption strong { display: block; color: var(--granite); font-size: 1.02rem; }

/* Reviews */
.reviews { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .reviews { grid-template-columns: auto 1fr; gap: 40px; } }
.reviews-stars { width: 150px; height: 30px; fill: var(--buff); stroke: var(--buff-2); stroke-width: 1; }
.reviews p { max-width: 52ch; }
.demo-note { background: var(--buff-tint); border-left: 4px solid var(--buff); padding: 12px 14px; border-radius: 0 var(--r) var(--r) 0; font-size: .92rem; color: var(--granite); margin-top: 18px; }

/* Quote */
.quote { display: grid; gap: 40px; }
@media (min-width: 900px) { .quote { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 56px; } }
.form { margin-top: 24px; }
.form .demo-note { margin: 0 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 400; color: var(--slate); }
input, select, textarea {
  font: inherit; color: var(--granite); background: #fff;
  border: 2px solid var(--field); border-radius: var(--r);
  padding: 11px 12px; min-height: 48px; width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--hedge); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: #e7f1ea; border: 2px solid var(--hedge-2); font-weight: 600; }

.contact-card { background: var(--hedge); color: #fff; border-radius: var(--r); padding: 28px; display: grid; gap: 12px; }
.contact-card h3 { font-size: 1.4rem; margin: 0; }
.contact-card p { color: #dfe7e1; margin: 0 0 6px; }
.contact-card .btn-dark { background: #fff; color: var(--hedge); }
.contact-card .btn-dark:hover { background: var(--stone); }
.contact-card a:focus-visible { outline-color: #fff; }
.facts { margin: 12px 0 0; display: grid; gap: 14px; }
.facts dt { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.facts dt .icon { color: var(--buff); }
.facts dd { margin: 2px 0 0 calc(1.15em + 8px); color: #dfe7e1; font-size: .95rem; }

/* Footer */
.site-footer { background: var(--granite); color: #d7dcd8; padding-top: 48px; font-size: .95rem; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; } }
.footer-name { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .3em; }
.footer-demo { color: #b9c1bc; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; }
.site-footer a:focus-visible { outline-color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-block: 18px; }
.footer-base p { margin: 0; font-size: .85rem; color: #b9c1bc; }

/* Mobile call / WhatsApp bar */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--paper); border-top: 1px solid #dcdfd8; padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; font-weight: 700; text-decoration: none; color: var(--hedge); }
.mobile-bar .mobile-bar-wa { background: var(--wa); color: #fff; }
.mobile-bar .mobile-bar-quote { background: var(--buff); color: var(--granite); }
.mobile-bar a:focus-visible { outline-offset: -4px; }
body { padding-bottom: 56px; }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }
