/* Da Costa Stukadoor & Onderhoudsbedrijf
   Values ported verbatim from the signed-off design in
   project/Da Costa Website.dc.html */

:root {
  --lime: #94C83F;
  --lime-ink: #1c2410;
  --dark: #24261f;
  --cream: #F6F4EF;
  --ink: #1b1d17;
  --body: #4b4e43;
  --muted: #6f7562;
  --accent: #5f8118;
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'Archivo', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-family: var(--sans);
  color: var(--dark);
}

a { color: #3a3f2a; text-decoration: none; }
a:hover { color: var(--accent); }
input, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #a5a29a; }

img { max-width: 100%; }
[hidden] { display: none !important; }

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 92px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.section--werkwijze { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Deterministic 2-up rows ----------
   Grid auto-fit derives its column count from container width and kept
   stranding orphan items mid-range; flex with an explicit 50% basis does
   not. See chats/chat1.md. */
.row-2up { display: flex; flex-wrap: wrap; gap: var(--gap, 16px); }
.row-2up > * {
  flex: 1 1 calc(50% - (var(--gap, 16px) / 2));
  min-width: min(100%, 280px);
}
.dienstenrow { --gap: 16px; margin-top: 36px; }
.steprow { --gap: 28px; margin-top: 40px; }
.galleryrow { --gap: 20px; }
.galleryrow--first { margin-top: 34px; }
.galleryrow--second { margin-top: 20px; }
.reviewrow { --gap: 20px; margin-top: 34px; }
.footer__cols { --gap: 32px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow--on-dark { color: var(--lime); }

.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12;
  color: var(--ink); margin: 14px 0 0;
}
.section-title--on-dark { color: #fff; }

.sectionhead {
  display: flex; flex-wrap: wrap; gap: 16px 40px;
  align-items: baseline; justify-content: space-between;
}
.sectionhead__note {
  font-size: 16px; line-height: 1.65; color: var(--body);
  max-width: 430px; margin: 0;
}
.sectionhead__note--sm {
  font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 380px;
}
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 600; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn--outline { border: 1px solid #c6c4bb; color: var(--dark); }
.btn--outline:hover { color: var(--dark); }
.btn--lime { background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.btn--lime:hover { color: var(--lime-ink); }
.btn--dark-on-lime { background: var(--lime-ink); color: #fff; }
.btn--dark-on-lime:hover { color: #fff; }
.btn--outline-dark { border: 1px solid var(--lime-ink); color: var(--lime-ink); }
.btn--outline-dark:hover { color: var(--lime-ink); }

/* Ghost variants carry a 1px border, so their padding is 1px tighter
   than the solid variant beside them, which keeps both the same height. */
.btn--nav-solid { padding: 12px 20px; font-size: 14px; }
.btn--nav-ghost { padding: 11px 18px; font-size: 14px; border-color: #cfcdc4; }
.btn--hero-solid { padding: 16px 26px; font-size: 15px; }
.btn--hero-ghost { padding: 15px 24px; font-size: 15px; }
.btn--about-solid { padding: 15px 24px; font-size: 15px; }
.btn--about-ghost { padding: 14px 22px; font-size: 15px; }
.btn--reviews-ghost { padding: 12px 18px; font-size: 14px; }
.btn--cta-solid { padding: 16px 26px; font-size: 15px; }
.btn--cta-ghost { padding: 15px 24px; font-size: 15px; }
.btn--sent-solid { padding: 14px 22px; font-size: 14.5px; }
.btn--sent-ghost { padding: 13px 20px; font-size: 14.5px; }
.btn--submit {
  padding: 16px; font-size: 15.5px; border: none;
  cursor: pointer; width: 100%;
}

/* ---------- Utility bar ---------- */
.utilbar { background: var(--lime); color: var(--lime-ink); }
.utilbar__inner {
  padding-top: 10px; padding-bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 600;
}
.utilbar a { color: var(--lime-ink); }
.utilbar__links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.langswitch { display: flex; gap: 4px; align-items: center; }
.langswitch__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid transparent; padding: 3px 8px;
  font-size: 13px; font-weight: 600; color: var(--lime-ink);
  cursor: pointer; opacity: .7;
}
.langswitch__btn:hover { opacity: 1; }
.langswitch__btn[aria-pressed="true"] {
  opacity: 1; background: rgba(255, 255, 255, .45); border-color: rgba(28, 36, 16, .25);
}
.langswitch__btn svg {
  display: block; width: 21px; height: 14px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}

/* ---------- Header ---------- */
.siteheader {
  position: sticky; top: 0; z-index: 30;
  background: #fff; border-bottom: 1px solid #e7e5de;
}
.siteheader__inner {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  align-items: center; justify-content: space-between;
}
.siteheader__logo { display: block; }
.siteheader__logo img { display: block; height: 44px; width: auto; }
.nav {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  font-size: 14.5px; font-weight: 500; color: #3a3d33;
}
.siteheader__cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); border-bottom: 1px solid #e7e5de; }
.hero__inner {
  padding-top: clamp(34px, 5vw, 66px);
  padding-bottom: clamp(40px, 5vw, 60px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4vw, 56px); align-items: start;
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.2vw, 62px); line-height: 1.06;
  letter-spacing: -.015em; color: var(--ink);
  margin: 18px 0 0; text-wrap: pretty;
}
.hero__lead {
  font-size: 17px; line-height: 1.65; color: var(--body);
  max-width: 520px; margin: 20px 0 0; text-wrap: pretty;
}
.checklist {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; gap: 11px; font-size: 15.5px; color: #3c3f35;
}
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist__mark {
  width: 10px; height: 10px; background: var(--lime);
  margin-top: 6px; flex: 0 0 auto;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid #e2e0d8;
  font-size: 13.5px; color: #5d6052;
}
.hero__meta a { color: #5d6052; }
.hero__meta-strong { font-weight: 600; }

/* ---------- Quote form card ---------- */
.quotecard {
  background: #fff; border: 1px solid #dedcd3;
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 12px 34px rgba(30, 32, 24, .06);
}
.quotecard__title {
  font-family: var(--serif); font-size: clamp(24px, 2.4vw, 29px);
  color: var(--ink); line-height: 1.2;
}
.quotecard__text {
  font-size: 14.5px; line-height: 1.6; color: #5d6052; margin: 9px 0 0;
}
.formgrid { display: grid; gap: 12px; margin-top: 20px; }
.field {
  display: grid; gap: 6px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
  border: 1px solid #d5d3ca; padding: 13px 14px; font-size: 15px;
  color: var(--dark); background: #fff;
  text-transform: none; letter-spacing: normal; font-weight: 400;
}
.field textarea { resize: vertical; }
.field-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.formerror {
  background: #fdf2f0; border: 1px solid #edd2cc; color: #8a3a26;
  padding: 11px 13px; font-size: 13.5px;
}
.formnote { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.formnote a { color: var(--accent); font-weight: 600; }

.sent__check {
  width: 44px; height: 44px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--lime-ink);
}
.sent__title {
  font-family: var(--serif); font-size: 26px;
  color: var(--ink); margin-top: 18px;
}
.sent__text { font-size: 15px; line-height: 1.65; color: var(--body); margin: 10px 0 0; }
.sent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sent__actions--mail { margin-top: 10px; }
.sent__label {
  margin-top: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.sent__hint { font-size: 13.5px; line-height: 1.55; color: var(--accent); margin: 12px 0 0; }
.btn--as-button { background: #fff; cursor: pointer; line-height: inherit; }
.linkbutton {
  margin-top: 18px; background: none; border: none; padding: 0;
  font-size: 13.5px; color: var(--muted);
  text-decoration: underline; cursor: pointer;
}

/* ---------- Diensten ---------- */
.card { background: #fff; border: 1px solid #e2e0d8; padding: 28px 26px 30px; }
.card__num { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--lime); }
.card__title { font-family: var(--serif); font-size: 25px; color: var(--ink); margin-top: 12px; }
.card__text { font-size: 15px; line-height: 1.65; color: var(--body); margin: 10px 0 0; }

/* ---------- Werkwijze ---------- */
.werkwijze { background: var(--dark); color: #fff; }
.step { border-top: 2px solid #43463b; padding-top: 20px; }
.step--first { border-top-color: var(--lime); }
.step__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--lime); }
.step__title { font-size: 21px; font-weight: 600; margin-top: 10px; }
.step__text { font-size: 15px; line-height: 1.7; color: #b9bbb0; margin: 10px 0 0; }

/* ---------- Gallery ---------- */
.figure { margin: 0; }
.figure__img {
  display: block; width: 100%; object-fit: cover; background: #eceae3;
}
.figure__img--lg { height: clamp(240px, 34vw, 420px); }
.figure__img--sm { height: clamp(220px, 28vw, 360px); }
.figure__caption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Reviews ---------- */
.reviews {
  background: var(--cream);
  border-top: 1px solid #e7e5de; border-bottom: 1px solid #e7e5de;
}
.reviews__links { display: flex; flex-wrap: wrap; gap: 10px; }
.review-card {
  background: #fff; border: 1px solid #dedcd3; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.review-card--featured { flex: 1 1 100%; }
.review-card__stars { color: #7aa62c; letter-spacing: 3px; font-size: 14px; }
.review-card__quote {
  font-family: var(--serif); font-size: 19px; line-height: 1.5;
  color: var(--ink); margin: 0;
}
.review-card__quote--featured { max-width: 820px; }
.review-card__by { margin-top: auto; font-size: 13px; color: var(--muted); }
.reviews__foot {
  display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center;
  margin-top: 26px; font-size: 13.5px; color: var(--muted);
}
.reviews__score { font-weight: 600; color: #5d6052; }

/* ---------- Over Antonio ---------- */
.antonio {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.antonio__portrait { min-width: 0; }
.antonio__portrait img {
  display: block; width: 100%; height: clamp(300px, 40vw, 520px);
  object-fit: cover; object-position: center 22%; background: #eceae3;
}
.antonio__text {
  font-size: 17px; line-height: 1.7; color: var(--body);
  margin: 18px 0 0; max-width: 520px; text-wrap: pretty;
}
.antonio__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- CTA banner ---------- */
.ctabanner { background: var(--lime); color: var(--lime-ink); }
.ctabanner__inner {
  padding-top: clamp(34px, 4vw, 54px); padding-bottom: clamp(34px, 4vw, 54px);
  display: flex; flex-wrap: wrap; gap: 24px 40px;
  align-items: center; justify-content: space-between;
}
.ctabanner__title {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.15;
}
.ctabanner__text { font-size: 16px; line-height: 1.6; margin: 10px 0 0; max-width: 560px; }
.ctabanner__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #c9cbc1; }
.footer__cols {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(26px, 3vw, 34px);
}
.footer__cols > * { min-width: min(100%, 200px); }
.footer__logo { display: block; height: 40px; width: auto; background: #fff; padding: 9px 12px; }
.footer__blurb { font-size: 14.5px; line-height: 1.7; margin: 16px 0 0; max-width: 280px; }
.footer__heading {
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--lime);
}
.footer__list { display: grid; gap: 8px; margin-top: 14px; font-size: 14.5px; }
.footer__list a { color: #c9cbc1; }
.footer__name { color: #fff; font-weight: 600; }
.footer__bottom {
  padding-top: 18px; padding-bottom: clamp(30px, 4vw, 44px);
  border-top: 1px solid #3a3d33;
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 13px; color: #8e9186;
}

/* ---------- Sticky call bar ---------- */
.callbar {
  position: sticky; bottom: 0; z-index: 40; background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
}
.callbar a { text-align: center; padding: 15px; font-size: 15px; font-weight: 600; }
.callbar__call { color: #fff; }
.callbar__call:hover { color: #fff; }
.callbar__wa { background: var(--lime); color: var(--lime-ink); }
.callbar__wa:hover { color: var(--lime-ink); }
