/*
Theme Name:  Hoolit Landscaping
Theme URI:   https://landscapingscottishborders.co.uk
Author:      Hoolit Landscaping
Author URI:  https://landscapingscottishborders.co.uk
Description: Custom theme for Hoolit Landscaping — Scottish Borders. High-ticket hard landscaping: patios, driveways, decking, walling, fencing, tree work. Palette: Peat / Moss / Stone / Gold. Fonts: Cormorant Garamond + Outfit.
Version:     2.0.0
License:     Private
Text Domain: hoolit
*/

/* ================================================================
   HOOLIT LANDSCAPING — PRODUCTION THEME
   Version: 1.0.0
   Fonts: Cormorant Garamond (headings), Outfit (body)
   Palette: Peat / Moss / Stone / Gold
================================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { transition: color 0.2s; }
button { cursor: pointer; font-family: inherit; }

/* ── DESIGN TOKENS ── */
:root {
  --stone:    #F2EDE4;
  --pale:     #F7F4EE;
  --white:    #FDFCF8;
  --mist:     #EAE6DF;
  --peat:     #1E2A1A;
  --peat-75:  rgba(30,42,26,0.75);
  --peat-10:  rgba(30,42,26,0.10);
  --peat-07:  rgba(30,42,26,0.07);
  --moss:     #3B5C35;
  --fern:     #5E8A54;
  --sage:     #7FA688;
  --gold:     #B8963E;
  --gold-lt:  rgba(184,150,62,0.15);
  --ink:      #1a1a18;
  --slate:    #5a5a52;
  --muted:    rgba(90,90,82,0.7);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --pad-x: 3.5rem;
  --pad-y: 6rem;

  --shadow-card:  0 2px 30px rgba(30,42,26,0.07);
  --shadow-float: 0 8px 40px rgba(0,0,0,0.12);
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--peat);
}
h1 { font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; }
p  { font-weight: 300; line-height: 1.75; color: var(--slate); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.7rem;
  display: block;
}

/* ── UTILITIES ── */
.text-peat  { color: var(--peat); }
.text-slate { color: var(--slate); }
.text-gold  { color: var(--gold); }
.text-white { color: #fff; }
.italic     { font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.9rem;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-peat   { background: var(--peat); color: #fff; }
.btn-peat:hover { background: var(--moss); color: #fff; }
.btn-dark   { background: var(--peat); color: #fff; }
.btn-dark:hover { opacity: 0.85; }
.btn-outline {
  background: none;
  border: 1.5px solid var(--peat);
  color: var(--peat);
  padding: calc(0.9rem - 1.5px) calc(1.9rem - 1.5px);
}
.btn-outline:hover { background: var(--peat); color: #fff; }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(253,252,248,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--peat-07);
  transition: box-shadow 0.3s;
}
#nav.scrolled { box-shadow: 0 2px 20px rgba(30,42,26,0.08); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--peat);
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}
.nav-logo sup {
  font-family: var(--font-body);
  font-size: 0.55em;
  color: var(--gold);
  vertical-align: super;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--peat); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-phone {
  font-size: 0.85rem;
  color: var(--moss);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-phone:hover { color: var(--peat); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: 4.5rem;
  background: var(--stone);
  position: relative;
  overflow: hidden;
}
.hero-left {
  padding: 5rem 3rem 4rem var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.kicker-line { width: 32px; height: 1.5px; background: var(--gold); flex-shrink: 0; }
.kicker-text {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
#hero h1 { margin-bottom: 1.5rem; }
#hero h1 em { font-style: italic; color: var(--moss); }
.hero-sub {
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-proof {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--peat-10);
}
.proof-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--peat);
  line-height: 1;
}
.proof-label {
  font-size: 0.75rem;
  color: var(--slate);
  margin-top: 0.2rem;
  letter-spacing: 0.03em;
}
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-panel {
  flex: 1;
  background: linear-gradient(165deg, var(--peat) 0%, var(--moss) 55%, var(--fern) 100%);
  position: relative;
  overflow: hidden;
}
/*
  TO SWAP IN A REAL PHOTO:
  .hero-panel { background: url('/wp-content/uploads/hero.jpg') center/cover no-repeat; }
  Add inside .hero-panel: <div class="hero-overlay"></div>
  .hero-overlay { position:absolute;inset:0;background:rgba(30,42,26,0.5); }
*/
.panel-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, white 0, white 1px, transparent 0, transparent 14px),
    repeating-linear-gradient(90deg, white 0, white 1px, transparent 0, transparent 14px);
}
.panel-glow {
  position: absolute;
  top: 15%; left: 5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,150,62,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.panel-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
}
.panel-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin-bottom: 2rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
}
.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.panel-tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 0.35rem 0.75rem;
}
.avail-card {
  background: rgba(253,252,248,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(6px);
}
.avail-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6FCF6F;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.avail-status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.avail-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.avail-sub { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * { animation: fadeUp 0.6s ease both; }
.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.2s; }
.hero-left > *:nth-child(3) { animation-delay: 0.3s; }
.hero-left > *:nth-child(4) { animation-delay: 0.4s; }
.hero-left > *:nth-child(5) { animation-delay: 0.5s; }

/* ── TRUST STRIP ── */
#trust {
  background: var(--peat);
  padding: 1.1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 300;
}
.trust-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.1); }

/* ── SERVICES ── */
#services {
  padding: var(--pad-y) var(--pad-x);
  background: var(--white);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.services-header-right { max-width: 420px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--peat-07);
}

/* ── QUALITY STATEMENT ── */
#quality {
  padding: var(--pad-y) var(--pad-x);
  background: var(--peat);
}
.quality-inner {
  max-width: 680px;
}
.quality-left h2 { color: #fff; margin-bottom: 1.25rem; }
.quality-left p  { color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; font-size: 0.95rem; }
.quality-left .btn-peat { margin-top: 0.75rem; }
/* quality-right removed */
.svc-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.svc-card:hover { background: var(--stone); }
.svc-card:hover .svc-cta { opacity: 1; transform: translateY(0); }
.svc-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: rgba(30,42,26,0.04);
  position: absolute;
  top: 0.5rem; right: 1rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.svc-icon {
  width: 44px; height: 44px;
  background: var(--peat);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.svc-card h3 { margin-bottom: 0.75rem; }
.svc-card p  { font-size: 0.88rem; }
.svc-list {
  list-style: none;
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.svc-list li {
  font-size: 0.78rem;
  color: var(--slate);
  padding-left: 1rem;
  position: relative;
  font-weight: 300;
}
.svc-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.svc-cta {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--moss);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

/* ── LEAD CAPTURE ── */
#lead {
  background: var(--stone);
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.lead-left h2 { margin-bottom: 1rem; }
.lead-intro   { margin-bottom: 2rem; font-size: 0.95rem; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.contact-row { display: flex; align-items: center; gap: 0.85rem; }
.contact-icon {
  width: 36px; height: 36px;
  background: var(--peat);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.68rem;
  color: var(--slate);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
  display: block;
}
.contact-val { font-size: 0.9rem; color: var(--peat); font-weight: 500; }
.contact-val a { color: var(--peat); text-decoration: none; }
.contact-val a:hover { color: var(--moss); }
.review-block {
  background: var(--white);
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
}
.review-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.review-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--peat);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.review-attr { font-size: 0.75rem; color: var(--slate); }
.form-card {
  background: var(--white);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--peat);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.form-sub { font-size: 0.83rem; color: var(--slate); margin-bottom: 1.5rem; font-weight: 300; }
.form-note { font-size: 0.7rem; color: var(--slate); text-align: center; margin-top: 0.65rem; }

/* Forminator overrides — match site style */
.form-card .forminator-custom-form { font-family: var(--font-body) !important; }
.form-card .forminator-field input,
.form-card .forminator-field select,
.form-card .forminator-field textarea {
  border: 1.5px solid rgba(30,42,26,0.14) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  background: var(--white) !important;
}
.form-card .forminator-field input:focus,
.form-card .forminator-field select:focus,
.form-card .forminator-field textarea:focus {
  border-color: var(--moss) !important;
  box-shadow: none !important;
  outline: none !important;
}
.form-card .forminator-btn-submit {
  background: var(--peat) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  padding: 0.95rem 1.5rem !important;
  width: 100% !important;
  transition: background 0.2s !important;
}
.form-card .forminator-btn-submit:hover { background: var(--moss) !important; }
.form-card .forminator-label { font-size: 0.68rem !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: var(--peat) !important; font-weight: 500 !important; }

/* ── WHY HOOLIT ── */
#why {
  padding: var(--pad-y) var(--pad-x);
  background: var(--peat);
}
#why .eyebrow { color: var(--gold); }
.why-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
#why h2 { color: #fff; max-width: 400px; }
.why-sub-text { color: rgba(255,255,255,0.5); font-size: 0.9rem; max-width: 340px; line-height: 1.7; font-weight: 300; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item {
  padding: 2rem 1.75rem;
  border-left: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.why-item:hover { background: rgba(255,255,255,0.03); }
.why-n { font-family: var(--font-display); font-size: 3rem; color: var(--gold); font-weight: 600; line-height: 1; margin-bottom: 1rem; opacity: 0.7; }
.why-title { font-family: var(--font-display); font-size: 1.1rem; color: #fff; font-weight: 600; margin-bottom: 0.5rem; }
.why-body { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; }

/* ── AREAS ── */
#areas { padding: var(--pad-y) var(--pad-x); background: var(--pale); }
.areas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.areas-panel {
  background: linear-gradient(145deg, var(--moss) 0%, var(--peat) 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 320px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.areas-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 20px 20px;
}
.area-row { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 300; position: relative; z-index: 1; }
.area-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.area-featured { color: #fff; font-weight: 500; }
.areas-right h2 { margin-bottom: 1rem; }
.areas-right p  { margin-bottom: 1.5rem; font-size: 0.95rem; }
.areas-note { background: var(--white); padding: 1rem 1.25rem; border-left: 3px solid var(--moss); font-size: 0.83rem; color: var(--slate); line-height: 1.6; }
.areas-note strong { color: var(--peat); font-weight: 500; }

/* ── CTA BAND ── */
#cta-band {
  background: var(--gold);
  padding: 3.5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
#cta-band h2 { color: var(--peat); max-width: 520px; }
.cta-right { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }
.cta-tel { color: var(--peat); font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.cta-tel:hover { opacity: 0.75; }

/* ── FOOTER ── */
footer {
  background: #141A11;
  color: rgba(255,255,255,0.55);
  padding: 3.5rem var(--pad-x) 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 0.65rem; display: block; text-decoration: none; }
.footer-brand span { color: var(--gold); }
.footer-desc { font-size: 0.83rem; line-height: 1.7; font-weight: 300; max-width: 240px; }
.footer-col h4 { font-family: var(--font-body); color: #fff; font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.83rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.73rem; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 0.5rem; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  :root { --pad-x: 1.75rem; --pad-y: 4rem; }
  #hero          { grid-template-columns: 1fr; min-height: auto; }
  .hero-right    { min-height: 380px; }
  .hero-left     { padding: 5rem 1.75rem 2.5rem; }
  #lead          { grid-template-columns: 1fr; gap: 3rem; }
  .areas-inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  #nav           { padding: 1rem 1.5rem; }
  .nav-links     { display: none; }
  #trust         { padding: 1rem 1.75rem; gap: 0.5rem; }
  .trust-sep     { display: none; }
  #cta-band      { flex-direction: column; align-items: flex-start; }
  .cta-right     { align-items: flex-start; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-proof    { flex-wrap: wrap; gap: 1.25rem; }
}
