/* ==========================================================================
   Tropical Inspections — Faithful Visual Migration
   Matches original sage green hero + dark forest green band aesthetic
   ========================================================================== */

:root {
  --sage:        #9DAA8E;
  --sage-dark:   #8C9A7E;
  --forest:      #0E433A;
  --forest-deep: #093530;
  --green-700:   #0E433A;
  --green-600:   #155449;
  --green-500:   #1E6557;
  --green-100:   #E2EAE3;
  --ink:         #232927;
  --ink-soft:    #4D5550;
  --muted:       #6E7770;
  --paper:       #FFFFFF;
  --cream:       #F7F4ED;
  --rule:        #D9D9D4;
  --error:       #CD4B3F;

  --font-display: "DM Serif Display", "Playfair Display", Georgia, serif;
  --font-body:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --container-wide: 1280px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--green-700);
  line-height: 1.15;
  margin: 0 0 0.4em;
  letter-spacing: -0.005em;
}

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

/* ----- HEADER ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(14, 67, 58, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px 28px;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 0;
}
.brand img {
  width: 60px; height: 60px;
  object-fit: contain;
}
.nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-700);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover {
  background: var(--green-500);
  color: #fff;
  transform: translateY(-1px);
}
.btn-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: rgba(255,255,255,0.22); color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--green-700);
  cursor: pointer;
  padding: 6px;
}
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px 24px;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links.open a { padding: 12px; }
  .nav .btn { display: none; }
}

/* ----- HERO HOME (sage green block matching original) ----- */
.hero-home {
  background: var(--sage);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 14vw, 160px) 24px clamp(90px, 16vw, 180px);
  position: relative;
  overflow: hidden;
}
.hero-home h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}
.hero-home h1::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  bottom: 4px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-home p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #fff;
  margin: 18px 0 0;
  font-weight: 300;
  letter-spacing: 0.005em;
}
.hero-home p + p { margin-top: 4px; }

/* ----- INNER PAGE HERO ----- */
.hero-inner {
  background: var(--green-700);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: clamp(110px, 16vw, 200px) 24px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

/* ----- HERO HOME with video ----- */
.hero-home {
  position: relative;
  overflow: hidden;
}
.hero-home-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: rgba(157, 170, 142, 0.72);
  z-index: 1;
}
.hero-home > h1, .hero-home > p {
  position: relative;
  z-index: 2;
}
@media (max-width: 720px) {
  .hero-home-video { display: none; }
  .hero-home-overlay { background: var(--sage); }
}
.hero-inner h1 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0;
  line-height: 1.1;
}

/* ----- SECTION ----- */
.section { padding: clamp(70px, 10vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }

/* ----- SERVICES GRID ----- */
.services-heading {
  text-align: center;
  margin: 0 0 48px;
}
.services-heading h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--green-700);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--green-700);
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
.service {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.service-icon {
  color: var(--green-700);
  width: 56px; height: 56px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-label {
  font-weight: 600;
  color: var(--green-700);
  font-size: 1.05rem;
  line-height: 1.3;
  font-family: var(--font-body);
}

/* ----- WHY BAND (dark forest green) ----- */
.why-band {
  background: var(--forest);
  color: #fff;
  padding: clamp(60px, 8vw, 90px) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}
.why-logo-wrap {
  text-align: center;
}
.why-logo-wrap img {
  width: clamp(180px, 25vw, 260px);
  height: auto;
  margin-inline: auto;
  display: block;
}
.why-band h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
  margin: 0 0 16px;
}
.why-band p {
  color: rgba(255,255,255,.88);
  font-size: 1.02rem;
  margin: 0;
  max-width: 620px;
}

/* ----- ABOUT ALAN SPLIT ----- */
.alan {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .alan { grid-template-columns: 1fr; gap: 24px; max-width: 480px; }
}
.alan-photo {
  width: 220px; height: 220px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(14,67,58,0.18);
}
.alan-photo img { width: 100%; height: 100%; object-fit: cover; }
.alan h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-700);
  text-transform: uppercase;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.alan p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0 0 1em;
}

/* ----- FOOTER ----- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--rule);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .brand img { width: 70px; height: 70px; }
.footer-brand p {
  color: #2a64b3;
  font-size: 0.95rem;
  max-width: 280px;
  margin: 20px 0;
}
.footer-social { display: flex; gap: 16px; margin-top: 4px; }
.footer-social a {
  color: #2a64b3;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 4px 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #2a64b3; font-size: 0.95rem; }
.footer ul a.active { color: var(--muted); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; color: var(--ink); }
.footer-contact strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.footer-contact a { color: var(--ink); }

.footer-credit {
  margin-top: 56px;
  background: var(--forest);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}
.footer-credit-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-credit-inner img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-copy {
  text-align: center;
  background: var(--forest);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 0 16px 16px;
}

/* ----- SERVICES PAGE PRICE LISTS ----- */
.price-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.price-block { margin-bottom: 56px; }
.price-block h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--green-700);
  margin: 0 0 6px;
}
.price-block .price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 22px;
  font-style: italic;
}
.price-block .price-intro {
  font-size: 0.95rem;
  margin: 0 0 6px;
  color: var(--ink-soft);
}
.price-block .price-intro strong { color: var(--green-700); }

.price-list {
  list-style: none;
  padding: 0; margin: 0;
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-size: 0.98rem;
  position: relative;
}
.price-list li + li { border-top: 1px dotted var(--rule); }
.price-list .label {
  color: var(--green-700);
  font-weight: 600;
  white-space: nowrap;
}
.price-list .dots {
  flex: 1;
  border-bottom: 1px dotted #888;
  transform: translateY(-4px);
  min-width: 20px;
}
.price-list .value {
  color: var(--green-700);
  font-weight: 600;
  white-space: nowrap;
}
.price-list .value a { color: var(--green-700); text-decoration: underline; }
.price-list .value.contact { font-size: 0.92rem; }

.price-foot {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 40px;
}
.price-foot strong { display: block; color: var(--green-700); font-size: 1.15rem; font-family: var(--font-display); margin-bottom: 8px; }

/* ----- PROSE PAGES (buyers/sellers/about) ----- */
.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 2.2em 0 0.4em;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0 0 1em;
}
.prose strong { color: var(--green-700); font-weight: 700; }
.prose ul {
  list-style: none;
  padding: 0;
  margin: 1em 0 1.4em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 6px; top: 0.6em;
  width: 6px; height: 6px;
  background: var(--green-700);
  border-radius: 50%;
}
.prose .closing {
  text-align: center;
  font-family: var(--font-display);
  color: var(--green-700);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  line-height: 1.3;
  margin: 64px auto 0;
  max-width: 780px;
}

/* ----- CONTACT FORM ----- */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.contact-intro {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 36px;
  font-size: 1rem;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--error); margin-left: 2px; }
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fff;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-700); }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.name-row > div .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.checkbox-list { display: flex; flex-direction: column; gap: 8px; }
.checkbox-list label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  margin: 0;
}
.checkbox-list input[type=checkbox] {
  width: 16px; height: 16px;
  accent-color: var(--green-700);
}
.submit-btn {
  background: #2a64b3;
  color: #fff;
  border: 0;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s ease;
}
.submit-btn:hover { background: #1e4f95; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
