/* ===========================================================
   Raise My Land Value — brand stylesheet
   Northgate Enterprise Limited
   Palette, typography and components shared across all pages.
   =========================================================== */

:root {
  /* Brand colours */
  --forest:        #1C4634; /* primary deep green  */
  --forest-dark:   #123023; /* headers / footer    */
  --forest-700:    #285C45; /* hover / secondary   */
  --sage:          #6F8C7D; /* muted green text     */
  --gold:          #C0913B; /* warm gold accent     */
  --gold-soft:     #D9B86A; /* light gold           */
  --cream:         #F8F5EF; /* page background      */
  --surface:       #FFFFFF; /* cards                */
  --stone:         #E7E1D5; /* borders / dividers   */
  --ink:           #1E241F; /* body text            */
  --muted:         #5C6660; /* secondary text       */

  --radius:   14px;
  --radius-sm: 9px;
  --shadow:   0 18px 40px -24px rgba(18, 48, 35, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(18, 48, 35, 0.4);
  --maxw: 1120px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--forest-dark);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.3px; }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1.1rem; }
a { color: var(--forest-700); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button.primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.button.primary:hover { background: var(--forest-700); transform: translateY(-2px); }
.button.gold { background: var(--gold); color: var(--forest-dark); }
.button.gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--forest); border-color: var(--stone); }
.button.secondary:hover { border-color: var(--forest); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { height: 42px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.97rem;
  position: relative; padding: 4px 0;
}
.site-nav a:hover { color: var(--forest); }
.site-nav a.cta { color: var(--forest); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--forest-dark); margin: 5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 78% -10%, rgba(192,145,59,0.16), transparent 60%),
    linear-gradient(180deg, #FBF9F4 0%, var(--cream) 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.7rem; }

.letter-flag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(28,70,52,0.07); border: 1px solid rgba(28,70,52,0.14);
  color: var(--forest); font-weight: 600; font-size: 0.92rem;
  padding: 0.55rem 1rem; border-radius: 50px; margin-bottom: 1.4rem;
}
.letter-flag svg { flex: none; }

/* Hero card */
.hero-card {
  background: var(--surface); border: 1px solid var(--stone);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem;
}
.hero-card h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  position: relative; padding: 0.5rem 0 0.5rem 2rem;
  border-bottom: 1px solid var(--stone); font-weight: 500;
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(192,145,59,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C0913B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 6vw, 5rem) 0; }
.section.alt { background: linear-gradient(180deg, #fff 0%, #FBF9F4 100%); border-block: 1px solid var(--stone); }
.section-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.3rem 1rem; background: var(--surface); border: 1px solid var(--stone); border-radius: var(--radius); }
.stat .num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; color: var(--forest); line-height: 1; }
.stat .label { font-size: 0.92rem; color: var(--muted); margin-top: 0.4rem; }

/* Card grid */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--stone);
  border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm);
}
.card h3 { color: var(--forest-dark); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(28,70,52,0.08); margin-bottom: 1rem;
}
.card .ico svg { stroke: var(--forest); }

/* Numbered steps */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--stone);
  border-radius: var(--radius); padding: 2.2rem 1.7rem 1.7rem; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 1.7rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: #fff;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}

/* ---------- Offer / agreement types ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.offer {
  background: var(--surface); border: 1px solid var(--stone); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem 1.6rem;
}
.offer h3 { margin-bottom: 0.4rem; }
.offer p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.member { background: var(--surface); border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.member-top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.member-top img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--stone); }
.member-top h3 { margin: 0; }
.member-top .role { color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.member p { font-size: 0.98rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Reassurance / why-us list ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(28,70,52,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231C4634' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.checklist strong { color: var(--forest-dark); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest-dark); color: #EAF0EC; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-band p { color: #C5D2CA; }

/* ---------- Contact + form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: start; }
.contact-details { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.contact-details .row { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-details .row .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.contact-details .row .ico svg { stroke: var(--gold-soft); }
.contact-details strong { display: block; color: #fff; }
.contact-details a, .contact-details span { color: #C5D2CA; text-decoration: none; }
.contact-details a:hover { color: #fff; }

.form-card { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); color: var(--ink); }
.form-card h3 { color: var(--forest-dark); }
.form-card label { display: block; font-weight: 600; font-size: 0.9rem; margin: 1rem 0 0.35rem; }
.form-card label .req { color: var(--gold); }
.form-card input, .form-card textarea {
  width: 100%; padding: 0.8rem 0.95rem; border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm); font: inherit; font-size: 0.98rem; background: #FCFBF8; color: var(--ink);
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(28,70,52,0.12); }
.form-card .button { width: 100%; margin-top: 1.3rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.cta-band .form-success { display: none; background: var(--surface); border: 1px solid var(--stone); border-top: 4px solid var(--gold); color: var(--ink); padding: 1.7rem; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 500; line-height: 1.55; }
.cta-band .form-success.show { display: block; }
.cta-band .form-success strong { display: block; font-family: var(--font-serif); font-size: 1.18rem; color: var(--forest-dark); margin-bottom: 0.45rem; }
.cta-band .form-success a { color: var(--forest-700); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 0.4rem 1.4rem; margin-bottom: 0.9rem;
}
.faq details[open] { border-color: var(--forest-700); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; position: relative;
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--forest-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold); font-family: var(--font-sans); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.1rem; margin: 0; color: var(--muted); }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--forest); }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: linear-gradient(180deg, #FBF9F4 0%, var(--cream) 100%); padding: clamp(2.6rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--stone); }
.page-hero p.lead { max-width: 680px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: #B9C7BE; padding: 3rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { color: #fff; font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-brand img { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-grid a { color: #B9C7BE; text-decoration: none; display: block; margin-bottom: 0.55rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 0.94rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding-top: 1.4rem; font-size: 0.85rem; color: #8FA399; }
.footer-bottom a { color: #8FA399; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .grid.cols-3, .steps.cols-3, .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Collapse nav to a hamburger before it starts to wrap */
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--stone); padding: 1rem 24px 1.4rem;
    gap: 0.4rem; transform: translateY(-135%); transition: transform 0.25s ease; box-shadow: var(--shadow);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--stone); }
}
@media (max-width: 640px) {
  .stats, .grid.cols-3, .grid.cols-2, .steps.cols-3, .offer-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
