/* Industry-standard clean CSS – cards, grids, buttons */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: #1e1e1e;
  background: #f5f0e8;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #2c3e2d url('../images/hero-optimised.jpg') center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 2.5rem 1.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: 2.6rem;
  font-weight: 700;
  border: none;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.25rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ===== NAV ===== */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: #fff;
  border-bottom: 3px solid #ffd700;
}

.main-nav a {
  color: #1e1e1e;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

.main-nav a.active,
.main-nav a:hover {
  font-weight: 700;
  color: #000;
}

/* ===== LAYOUT ===== */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: #efe9df;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1.75rem;
  border-bottom: none;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 2.25rem 2rem;
}

.card-sm {
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.card-cta {
  text-align: center;
  background: #fff;
  border: 2px solid #ffd700;
}

.card h2 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
  border-bottom: 3px solid #ffd700;
  padding-bottom: 0.4rem;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  border-bottom: none;
  color: #1a1a1a;
}

.card p {
  margin: 0 0 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

/* ===== STEPS ===== */
.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: #ffd700;
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* ===== LISTS ===== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e5c4e;
  font-weight: 700;
}

/* ===== PRICING ===== */
.price-grid {
  margin: 1.5rem 0;
}

.price-item {
  background: #f9f6f0;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid #ffd700;
}

.price-item strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.15rem;
  color: #000;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: #ffd700;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

/* ===== MISC ===== */
.note {
  text-align: center;
  margin-top: 1.75rem;
  font-style: italic;
  color: #555;
}

.contact {
  font-size: 1.15rem;
  margin: 1.25rem 0;
}

hr {
  border: none;
  border-top: 1px solid #e0d8c8;
  margin: 2rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 55vh;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.75rem 1.4rem;
  }
  .section {
    padding: 2.25rem 0;
  }
}

/* ===== MOBILE HERO: text beneath image ===== */
@media (max-width: 768px) {
  .hero {
    display: block;
    min-height: auto;
    background: none;
    color: #1e1e1e;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    content: "";
    display: block;
    width: 100%;
    height: 55vw;
    max-height: 320px;
    background: #2c3e2d url('../images/hero-optimised.jpg') center / cover no-repeat;
  }

  .hero-content {
    position: static;
    padding: 1.75rem 1.25rem 2rem;
    text-align: center;
    background: #fff;
  }

  .hero h1 {
    color: #1a1a1a;
    text-shadow: none;
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
  }

  .hero p {
    color: #444;
    text-shadow: none;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
}

/* ===== MOBILE HERO: image on top, text beneath ===== */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    background: none;
    color: #1e1e1e;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    content: "";
    display: block;
    order: -1;                    /* forces image to the top */
    width: 100%;
    height: 55vw;
    max-height: 340px;
    background: #2c3e2d url('../images/hero-optimised.jpg') center / cover no-repeat;
  }

  .hero-content {
    position: static;
    order: 1;
    padding: 1.75rem 1.25rem 2rem;
    text-align: center;
    background: #fff;
  }

  .hero h1 {
    color: #1a1a1a;
    text-shadow: none;
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
  }

  .hero p {
    color: #444;
    text-shadow: none;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
}

/* ===== HERO CONTACT FORM CARD ===== */
.hero-form {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  max-width: 380px;
  width: 100%;
  text-align: left;
  color: #1e1e1e;
}

.hero-form h1 {
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  color: #1a1a1a;
  text-shadow: none;
  border: none;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.hero-form textarea {
  min-height: 90px;
  resize: vertical;
}

.hero-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
}

/* Desktop: form on the left of the hero */
@media (min-width: 769px) {
  .hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1500px;
    width: 100%;
    padding: 2rem 1.5rem;
  }
  .hero-form {
    margin-left: 0;
  }
}

/* Mobile: form below the image */
@media (max-width: 768px) {
  .hero-form {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1e2b1f;
  color: #e8e8e8;
  padding: 3rem 0 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: #cfd8cf;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: #ffd700;
}

.footer-col p {
  color: #cfd8cf;
  margin: 0 0 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: #a9b3a9;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== STICKY CALL BAR ===== */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #ffd700;
  color: #1a1a1a;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 1rem 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}

.sticky-call:hover {
  background: #f0c800;
}

body {
  padding-bottom: 4rem;
}

@media (max-width: 480px) {
  .sticky-call {
    font-size: 1.1rem;
    padding: 0.9rem 0.5rem;
  }
}

/* ===== PREVENT LAYOUT JUMP: always reserve scrollbar space ===== */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

/* ===== STANDALONE CONTACT FORM (contact.html) ===== */
.contact-form {
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

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