/* ==========================================================================
   Lawnscape Xpress — Spring Offer Landing Page
   Stylesheet
   ========================================================================== */

:root {
  --dark-green: #075c14;
  --dark-green-2: #054210;
  --mid-green: #0d7a1f;
  --bright-green: #63b602;
  --bright-green-2: #7fce1c;
  --light-green: #eaf7e2;
  --light-green-2: #f4fbef;
  --white: #ffffff;
  --ink: #16281a;
  --ink-soft: #3c4f41;
  --border-soft: #d9ecd0;
  --shadow-sm: 0 2px 10px rgba(7, 92, 20, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 92, 20, 0.12);
  --shadow-lg: 0 20px 50px rgba(7, 92, 20, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --font: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--dark-green);
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark-green-2);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-green);
  background: var(--light-green);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Visually-hidden helper for accessible labels/skip link */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--dark-green);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Focus states for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bright-green-2);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--dark-green);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--dark-green-2);
  color: var(--white);
}

.btn-call {
  background: var(--white);
  color: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-call:hover {
  background: var(--light-green);
  color: var(--dark-green);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.1rem;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--dark-green-2);
}

.brand img {
  height: 54px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--dark-green-2);
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--border-soft);
}

.call-link:hover {
  border-color: var(--dark-green);
  background: var(--light-green);
}

.call-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  padding: 56px 0 72px;
  background: linear-gradient(160deg, var(--light-green) 0%, var(--light-green-2) 45%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 182, 2, 0.25), rgba(99, 182, 2, 0) 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--dark-green-2);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.badge svg {
  width: 16px;
  height: 16px;
  color: var(--bright-green);
  flex-shrink: 0;
}

.badge.badge-expiry {
  color: var(--dark-green-2);
  border-color: var(--bright-green);
  background: var(--light-green);
}

.hero-offer-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  column-gap: 8px;
  background: linear-gradient(135deg, var(--bright-green), var(--mid-green));
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-offer-pill strong {
  font-size: 1.3rem;
  white-space: nowrap;
}

.hero-offer-pill span {
  white-space: nowrap;
}

.claim-info .hero-offer-pill {
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--mid-green);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-fineprint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
}

.hero-art-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.hero-art-frame img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------------------------
   Offer strip
   ------------------------------------------------------------------------- */
.offer-strip {
  background: var(--dark-green);
  padding: 0;
}

.offer-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.offer-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 18px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.offer-strip-item:last-child {
  border-right: none;
}

.offer-strip-item .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offer-strip-item svg {
  width: 24px;
  height: 24px;
  color: var(--bright-green-2);
}

.offer-strip-item strong {
  display: block;
  font-size: 1.05rem;
}

.offer-strip-item span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   Services
   ------------------------------------------------------------------------- */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--light-green-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bright-green), var(--mid-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   Gallery
   ------------------------------------------------------------------------- */
.gallery {
  background: linear-gradient(180deg, var(--light-green-2), var(--white));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--border-soft);
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery-caption {
  padding: 14px 16px;
}

.gallery-caption strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-green-2);
}

.gallery-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 30px;
}

/* -------------------------------------------------------------------------
   QR section
   ------------------------------------------------------------------------- */
.qr-section {
  background: var(--dark-green);
  position: relative;
  overflow: hidden;
}

.qr-section::before {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 182, 2, 0.28), rgba(99, 182, 2, 0) 70%);
}

.qr-card {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.qr-card img {
  width: 190px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}

.qr-copy h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.qr-copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

/* -------------------------------------------------------------------------
   Enquiry form
   ------------------------------------------------------------------------- */
.claim-section {
  background: var(--light-green-2);
}

.claim-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.claim-info {
  position: sticky;
  top: 100px;
}

.claim-info .hero-offer-pill {
  margin-bottom: 20px;
}

.claim-info ul {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.claim-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
}

.claim-info li svg {
  width: 20px;
  height: 20px;
  color: var(--bright-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-alert.error {
  background: #fdecec;
  color: #9b1c1c;
  border: 1px solid #f3b7b7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-green-2);
}

.form-field .req {
  color: #c0392b;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--bright-green);
  box-shadow: 0 0 0 4px rgba(99, 182, 2, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.radio-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.radio-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--dark-green);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
}

.consent-row input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--dark-green);
  flex-shrink: 0;
}

.consent-row label {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Honeypot field — hidden from sighted users and screen readers, but present in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footnote {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 16px;
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark-green-2);
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--bright-green-2);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

/* -------------------------------------------------------------------------
   Thank-you page
   ------------------------------------------------------------------------- */
.thankyou-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--light-green) 0%, var(--light-green-2) 45%, var(--white) 100%);
  padding: 80px 20px;
}

.thankyou-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
}

.thankyou-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bright-green), var(--mid-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.thankyou-icon svg {
  width: 38px;
  height: 38px;
  color: var(--white);
}

.thankyou-card h1 {
  font-size: 1.9rem;
}

.thankyou-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.thankyou-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* -------------------------------------------------------------------------
   Mobile navigation toggle
   ------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--dark-green-2);
}

/* -------------------------------------------------------------------------
   Responsive breakpoints
   ------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .claim-wrap {
    grid-template-columns: 1fr;
  }

  .claim-info {
    position: static;
  }

  .offer-strip .container {
    grid-template-columns: 1fr;
  }

  .offer-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .offer-strip-item:last-child {
    border-bottom: none;
  }

  .qr-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 680px) {
  section {
    padding: 52px 0;
  }

  .header-actions .call-link span {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-card {
    padding: 28px 22px;
  }

  .thankyou-card {
    padding: 38px 24px;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 0.95rem;
  }

  .qr-card {
    padding: 30px 22px;
  }
}

/* Keep the official footer logo in full colour and clearly visible. */
.footer-brand img {
  height: 85px !important;
  width: auto !important;
  filter: none !important;
}
