/* ==========================================================================
   Aart's Property Care — site styles
   Mobile-first, no frameworks, system fonts for performance.
   ========================================================================== */

:root {
  --green: #1e6b34;
  --green-dark: #14522a;
  --green-light: #e8f2ea;
  --blue: #1f5f8b;
  --blue-light: #e7f0f7;
  --ink: #1c2620;
  --muted: #55635a;
  --line: #dde5df;
  --bg: #ffffff;
  --bg-alt: #f5f8f5;
  --cta: #d97706;
  --cta-dark: #b45f05;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(28, 38, 32, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); }

p { margin: 0 0 1em; }

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover { color: var(--green-dark); }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.35rem 1rem;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { flex: none; }

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.25rem 1rem;
}

.site-nav.open { display: block; }

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

.site-nav a {
  display: block;
  padding: 0.65rem 0.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.site-nav li:last-child a { border-bottom: 0; }

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--green); }

.btn.header-cta { display: none; }

@media (max-width: 419px) {
  .brand-tag { display: none; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: none;
  }

  .site-nav ul {
    display: flex;
    gap: 1.4rem;
  }

  .site-nav a {
    border: 0;
    padding: 0.25rem 0;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--green);
  }

  .btn.header-cta { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cta-dark);
  color: #fff;
}

.btn-outline {
  border-color: currentColor;
  color: var(--green);
  background: transparent;
}

.hero .btn-outline { color: #fff; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  color: #fff;
  display: grid;
  align-items: center;
  min-height: 62vh;
  padding: 4rem 0;
  isolation: isolate;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 32, 20, 0.82) 0%, rgba(13, 32, 20, 0.55) 55%, rgba(13, 32, 20, 0.3) 100%);
  z-index: -1;
}

.hero .container { max-width: 900px; margin-inline: auto; }

.hero .kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 46ch;
  color: #eef4ef;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 3.5rem 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-head .kicker,
.kicker-dark {
  display: inline-block;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body p { color: var(--muted); }

.card-body .btn { margin-top: auto; align-self: flex-start; }

.card h3 a {
  text-decoration: none;
  color: inherit;
}

.card h3 a:hover { color: var(--green); }

/* Checklists */

.checklist {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 2rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* Split feature rows */

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split.flip > .split-media { order: 2; }
}

/* Steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.step p { color: var(--muted); margin: 0; }

/* Stat / trust bar */

.trust {
  display: grid;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 700px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}

.trust strong {
  display: block;
  font-size: 1.35rem;
  color: var(--green-dark);
}

.trust span { color: var(--muted); font-size: 0.92rem; }

/* FAQ */

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 0.8rem;
  padding: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.25rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}

.faq details[open] summary::after { content: "\2212"; }

.faq .faq-a {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
}

/* Gallery */

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}

.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.gallery figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Before / after pairs */

.ba-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.ba-pair figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.ba-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba-pair.ba-portrait img { aspect-ratio: 4 / 5; }

.ba-pair figcaption {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(18, 36, 26, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.ba-pair figure.ba-after figcaption { background: var(--green); }

@media (max-width: 480px) {
  .ba-pair { grid-template-columns: 1fr; }
}

/* Area cards */

.area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.area-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.area-card ul {
  columns: 2;
  padding-left: 1.2rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

/* CTA band */

.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 { color: #fff; }

.cta-band p {
  color: #dcebe0;
  max-width: 52ch;
  margin-inline: auto;
}

.cta-band .btn-primary { margin-top: 0.8rem; }

.cta-band .phone-big {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 850px) {
  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.contact-list li:last-child { border-bottom: 0; }

.contact-list svg { flex: none; margin-top: 0.2rem; }

.contact-list strong { display: block; }

.contact-list span, .contact-list a { color: var(--muted); }

form .field { margin-bottom: 1.1rem; }

form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

form input,
form select,
form textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid #b9c6bd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.form-note { font-size: 0.88rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #12241a;
  color: #c8d6cc;
  padding: 3rem 0 5.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer { padding-bottom: 3rem; }
}

.site-footer h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin-bottom: 0.9rem;
}

.site-footer a { color: #e8f0ea; }

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

.site-footer li { padding: 0.25rem 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: #9db3a4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Mobile floating call button */

.call-fab {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

@media (min-width: 900px) {
  .call-fab { display: none; }
}

/* Breadcrumbs */

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.9rem 0 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

/* Utility */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
