/* ===========================================================
   VIGALANT — Independent Property Inspections, Algarve
   Design tokens — matched to the live Wix site
   =========================================================== */
:root {
  --navy: #0F3549;        /* headings, nav, footer bg, primary brand color */
  --navy-soft: #173244;   /* footer bg variant */
  --slate: #3A5A60;       /* body copy */
  --cream: #F5F0ED;       /* page background */
  --tan: #E2D8CB;         /* solid accent block color */
  --taupe: #D9CFC2;       /* textured band background (pricing hero) */
  --line: #D8D0C4;        /* hairline rule on cream */
  --line-dark: #2C4759;   /* hairline rule on navy */

  --serif: "Fahkwang", "Iowan Old Style", ui-serif, Georgia, serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; color: var(--slate); font-weight: 300; font-size: 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--tan); }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 240, 237, 0.92);
  backdrop-filter: blur(6px);
}
header.site.on-image {
  position: absolute;
  width: 100%;
  background: transparent;
}
header.site .bar {
  max-width: 1360px;
  margin: 0 auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand .logo-img { height: 48px; width: auto; flex: none; }
nav.primary { display: flex; align-items: center; gap: 40px; }
nav.primary a {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 300;
  color: currentColor;
  opacity: 0.85;
  transition: opacity .2s;
}
nav.primary a:hover, nav.primary a[aria-current="page"] { opacity: 1; }
nav.primary svg { opacity: 0.85; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.primary { display: none; }
}

/* ---------- buttons: circular outline badge ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  color: var(--navy);
  transition: background .2s, color .2s, border-color .2s;
  padding: 10px;
}
.btn:hover { background: var(--navy); color: var(--cream); }
.btn.brass { border-color: var(--navy); }
.btn.small { width: auto; height: auto; border-radius: 999px; padding: 14px 30px; }
.on-dark .btn { border-color: var(--cream); color: var(--cream); }
.on-dark .btn:hover { background: var(--cream); color: var(--navy); }
.btn-row { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- hero: full-bleed photo, overlaid nav & headline ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 480px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}
.hero .hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--navy);
}
.hero h1 {
  font-size: clamp(22px, 2.9vw, 40px);
  line-height: 1.2;
  font-weight: 300;
  color: var(--navy);
  max-width: none;
  white-space: nowrap;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .hero h1 { white-space: normal; font-size: clamp(24px, 6vw, 32px); max-width: 20ch; }
}
.hero .scroll-cue {
  margin: 34px auto 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

/* ---------- sections ---------- */
section { padding: 90px 0; }
section.tight { padding: 60px 0; }
.hairline { border: none; border-top: 1px solid var(--line); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .art { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .art { order: -1; }
}
.split .art img { aspect-ratio: 4/5; object-fit: cover; }
.split .copy { text-align: center; max-width: 46ch; margin: 0 auto; }
.split .copy .btn { margin: 30px auto 0; }

h2.section-title {
  font-size: 50px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 22px;
}
@media (max-width: 700px) {
  h2.section-title { font-size: 34px; }
}
.center { text-align: center; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.section-lede { font-size: 17px; max-width: 62ch; margin-bottom: 8px; }

/* ---------- checklist ---------- */
ul.checklist { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 16px; text-align: left; }
ul.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
ul.checklist li:last-child { border-bottom: none; }
ul.checklist li .mark {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  position: relative;
  margin-top: 3px;
}
ul.checklist li .mark::after {
  content: "";
  position: absolute;
  left: 4px; top: 2px;
  width: 5px; height: 9px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(40deg);
}
ul.checklist li b { color: var(--navy); font-weight: 500; }
ul.checklist li span.body { color: var(--slate); }

/* ---------- deliverable note ---------- */
.deliverable {
  margin-top: 26px;
  padding: 22px 26px;
  background: var(--tan);
  font-size: 15px;
  text-align: left;
}
.deliverable b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 8px; font-family: var(--sans); }

/* ---------- testimonial band ---------- */
.testimonial-band {
  background: var(--navy);
  color: var(--cream);
  padding: 100px 0;
  text-align: center;
}
.testimonial-band blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 26px;
  color: var(--cream);
}
.testimonial-band cite {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan);
}

/* ---------- full-bleed banner (hours / location) ---------- */
.banner {
  position: relative;
  padding: 100px 0;
  color: var(--navy);
  overflow: hidden;
}
.banner img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner .wrap { position: relative; z-index: 1; }
.banner h2.section-title { text-align: left; max-width: 20ch; }

/* ---------- hours / location table ---------- */
.report-table {
  width: 100%;
  max-width: 380px;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 15px;
}
.report-table td { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.report-table td:last-child { text-align: right; color: var(--navy); }
.report-table td:first-child { color: var(--slate); }

/* ---------- pricing ---------- */
.pricing-hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}
.pricing-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pricing-hero .wrap { position: relative; z-index: 1; }
.pricing-hero h1 { font-size: clamp(32px, 4vw, 46px); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 24px; }
.pricing-hero p { max-width: 62ch; margin: 0 auto; color: var(--navy); }

.price-panel { padding: 70px 0; text-align: center; }
.price-panel h3.section-title { font-size: clamp(26px, 3vw, 36px); }
.price-panel > .wrap > p { max-width: 62ch; margin: 0 auto 30px; }
.price-panel img { margin: 30px auto; max-width: 720px; }
.addons {
  font-size: 15px;
  display: grid;
  gap: 8px;
  color: var(--slate);
  margin: 24px 0 32px;
}
.addons span { color: var(--navy); }

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
.logistics-grid .item { border-top: 1px solid var(--line); padding-top: 20px; }
.logistics-grid .item-icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--navy); }
.logistics-grid .item-icon svg { width: 100%; height: 100%; }
.logistics-grid h4 { font-size: 17px; margin-bottom: 10px; font-weight: 500; }
.logistics-grid p { font-size: 15px; margin-bottom: 0; }
@media (max-width: 860px) { .logistics-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-col { padding: 70px 60px; }
.contact-form-col .wrap-inner { max-width: 420px; }
.contact-image-col { display: flex; }
.contact-image-col img { width: 50%; height: auto; min-height: 480px; object-fit: cover; }

.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--slate);
  padding: 8px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; color: var(--navy); }
.checkbox-row input { width: 16px; height: 16px; accent-color: var(--navy); }

.contact-info {
  padding: 70px 0 0;
}
.contact-info h3 { font-size: 22px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info .row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:first-of-type { border-top: 1px solid var(--line); }
.contact-info .row span.label { display: block; font-size: 20px; font-family: var(--serif); color: var(--navy); margin-bottom: 4px; }
.contact-info .row span.value { font-size: 15.5px; color: var(--slate); }

/* ---------- footer ---------- */
footer.site {
  background: var(--navy);
  color: var(--cream);
  padding: 30px 0 18px;
  text-align: center;
}
footer.site .foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 18px;
  text-align: left;
}
footer.site .brand { margin: 0; }
footer.site .brand .footer-logo { height: 100px; width: auto; }
footer.site .foot-links-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
footer.site .foot-links-inline a { margin-bottom: 0; }
footer.site h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
}
footer.site a { display: block; margin-bottom: 5px; font-size: 13.5px; color: var(--cream); opacity: .8; }
footer.site a:hover { opacity: 1; }
footer.site .foot-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 12px;
  color: var(--cream);
  opacity: .6;
}
@media (max-width: 860px) { footer.site .foot-top { flex-direction: column; gap: 36px; align-items: center; } }

/* ---------- collage layouts (overlapping images) ---------- */
.collage-about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.collage-about .text-col { padding-top: 10px; }
.collage-about .btn { position: relative; z-index: 3; margin: 30px 0 -78px; }
.collage-about .accent-img { position: relative; z-index: 1; width: 74%; }
.collage-about .accent-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.collage-about .main-img { width: 86%; margin-left: auto; }
.collage-about .main-img img { width: 100%; height: 100%; min-height: 700px; aspect-ratio: 3/4.7; object-fit: cover; }
@media (max-width: 860px) {
  .collage-about { grid-template-columns: 1fr; }
  .collage-about .main-img { order: -1; }
  .collage-about .btn { margin: 30px 0; }
}

.services-stagger { text-align: center; }
.services-stagger .intro { max-width: 62ch; margin: 0 auto 50px; }
.stagger-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.stagger-row .col-a img { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-top: 60px; }
.stagger-row .col-b img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.stagger-row .btn { justify-self: center; }
@media (max-width: 760px) {
  .stagger-row { grid-template-columns: 1fr 1fr; }
  .stagger-row .col-a img { margin-top: 0; }
  .stagger-row .btn { grid-column: 1 / -1; margin: 20px auto 0; }
}

.collage-mgmt {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.collage-mgmt .main-img { position: relative; z-index: 1; }
.collage-mgmt .main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.collage-mgmt .accent-img {
  position: relative;
  z-index: 2;
  width: 56%;
  margin-top: -90px;
  margin-left: -70px;
}
.collage-mgmt .accent-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 6px solid var(--cream); }
@media (max-width: 860px) {
  .collage-mgmt { grid-template-columns: 1fr; }
  .collage-mgmt .accent-img { margin-left: 0; width: 70%; }
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.location-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 620px) { .location-grid { grid-template-columns: 1fr; } }
.page-hero {
  padding: 70px 0 46px;
  text-align: left;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- testimonial carousel (light, bleed image) ---------- */
.testimonial-carousel { padding: 90px 0 100px; text-align: center; }
.testimonial-carousel .section-title { margin-bottom: 50px; }
.tc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.tc-quote {
  padding-left: max(32px, calc((100% - 1180px) / 2 + 32px));
  padding-right: 70px;
  text-align: left;
}
.tc-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 26px;
}
.tc-quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 30px;
}
.tc-nav { display: flex; align-items: center; gap: 22px; }
.tc-nav button {
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
}
.tc-nav button:hover { opacity: 1; }
.tc-dots { display: flex; gap: 8px; }
.tc-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); display: inline-block; cursor: pointer; }
.tc-dots span.active { background: var(--navy); }
.tc-image img { width: 100%; display: block; }
@media (max-width: 860px) {
  .tc-row { grid-template-columns: 1fr; }
  .tc-quote { padding: 0 32px 40px; }
}

/* ---------- plain full-bleed image banner (section divider) ---------- */
.image-banner img { width: 100%; display: block; max-height: 480px; object-fit: cover; }

/* ---------- header logo: icon + separately styled wordmark ---------- */
.brand .icon-img { height: 56px; width: auto; flex: none; }
.brand .wordmark {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.brand .wordmark b { font-weight: 700; }

/* ---------- services 3-column (images + right-aligned text) ---------- */
.services-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 46px;
}
.services-3col .img-col img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.services-3col .text-col-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.services-3col .text-col-right .section-lede { text-align: right; }
@media (max-width: 860px) {
  .services-3col { grid-template-columns: 1fr 1fr; }
  .services-3col .text-col-right { grid-column: 1 / -1; text-align: center; align-items: center; margin-top: 20px; }
  .services-3col .text-col-right .section-lede { text-align: center; }
}

/* ---------- testimonial band on-dark nav override ---------- */
.testimonial-band .tc-nav button { color: var(--cream); }
.testimonial-band .tc-dots span { background: rgba(249,248,243,0.3); }
.testimonial-band .tc-dots span.active { background: var(--cream); }

/* ---------- services page: image stretches to match description height ---------- */
.split.stretch { align-items: stretch; }
.split.stretch .art { display: flex; }
.split.stretch .art img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* ---------- pricing: slate logistics panel ---------- */
.price-panel.slate {
  background: #B5C2C6;
}
.price-panel.slate p { color: #6B7280; }
.price-panel.slate h4 { color: var(--navy); }

/* ---------- pricing: add-ons row (bullets left, button right) ---------- */
.addons-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  margin-top: 34px;
}
.addons-col h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
}
.addons-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: center; }
.addons-list li { font-size: 14px; color: var(--slate); }
.addons-list li span { color: var(--navy); }
.addons-row .btn { flex: none; }
