/* =================================================================
   DJ Did It — Odd Jobs & Hauling
   Brand palette + one consistent type scale. Mobile-first.
   ================================================================= */

:root {
  /* Palette (from the DJ Did It logo) */
  --ink:        #0E1A1F; /* primary dark background */
  --surface:    #1C4A47; /* secondary surfaces */
  --cyan:       #3BB6C4; /* primary buttons, links, highlights */
  --emerald:    #2E9E6B; /* secondary accents, success */
  --offwhite:   #F4F6F5; /* light section backgrounds */
  --slate:      #A9BFC2; /* muted captions */

  --cyan-ink:   #0a8190; /* darker cyan for text-on-light contrast */
  --line:       rgba(169, 191, 194, 0.22);

  /* Type scale — ONE scale, no conflicting overrides */
  --h1: clamp(2.6rem, 6vw, 3.75rem);   /* 56–60px */
  --h2: clamp(2.05rem, 4vw, 2.75rem);  /* 38–44px */
  --h3: clamp(1.375rem, 2vw, 1.5rem);  /* 22–24px */
  --body: 1.0625rem;                   /* 17px */
  --eyebrow: 0.95rem;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 38px rgba(14, 26, 31, 0.16);
  --shadow-sm: 0 6px 18px rgba(14, 26, 31, 0.10);
  --maxw: 1140px;
  --header-h: 74px;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Anton", "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p  { margin: 0 0 1rem; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.eyebrow {
  font-size: var(--eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--emerald);
  margin: 0 0 0.75rem;
}
.eyebrow--center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--ink); padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  --bg: var(--cyan); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-family: "Open Sans", sans-serif;
  padding: 0.85rem 1.5rem; border: 2px solid transparent;
  border-radius: 999px; cursor: pointer; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: var(--shadow-sm); text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:disabled,
.btn-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}
.btn:disabled:hover,
.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}
.btn-primary { --bg: var(--cyan); --fg: var(--ink); }
.btn-ghost {
  --bg: transparent; --fg: currentColor;
  border-color: currentColor; box-shadow: none;
}
.btn-ghost:hover { background: rgba(59, 182, 196, 0.12); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 26, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 182, 196, 0.25);
  color: var(--offwhite);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--offwhite); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.04em;
  font-size: 1.4rem; color: var(--cyan);
}
.brand-text small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }

.site-nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0;
}
.nav-menu a { color: var(--offwhite); font-weight: 600; }
.nav-menu a.btn-primary { color: var(--ink); }
.nav-menu a:not(.btn):hover { color: var(--cyan); text-decoration: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; margin: -8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--cyan); border-radius: 2px; transition: 0.2s; }

/* ----------------------------- Hero ----------------------------- */
.hero {
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(59,182,196,0.18), transparent 60%),
    radial-gradient(800px 460px at 0% 110%, rgba(46,158,107,0.16), transparent 55%),
    var(--ink);
  color: var(--offwhite);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy h1 { color: #fff; margin-bottom: 0.5rem; }
.hero-copy .lead { font-size: 1.2rem; color: var(--slate); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1.6rem 0 1.2rem; }
.hero-copy .btn-ghost { color: var(--offwhite); }
.hero-trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.92rem; color: var(--slate);
}
.hero-trust li { position: relative; padding-left: 1.4rem; }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 0 3px rgba(46,158,107,0.25);
}

.hero-media { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.hero-media-label {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-media .photo-slot--sm { aspect-ratio: 4 / 5; min-height: 100%; }

/* Photo-background hero variant — centered content */
.hero--photo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 64vh, 600px); display: flex; align-items: center;
  text-align: center;
}
.hero--photo .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: -2;
}
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,26,31,0.60) 0%, rgba(14,26,31,0.55) 45%, rgba(14,26,31,0.74) 100%);
}
/* override the desktop 2-column hero grid so content centers across the full width */
.hero--photo .hero-grid { display: block; width: 100%; }
.hero--photo .hero-copy { max-width: 740px; margin-inline: auto; }
.hero--photo .hero-copy .lead { max-width: 46ch; margin-inline: auto; }
.hero--photo .hero-cta { justify-content: center; }
.hero--photo .hero-trust { justify-content: center; }
@media (max-width: 760px) {
  .hero--photo::after {
    background: linear-gradient(180deg, rgba(14,26,31,0.66) 0%, rgba(14,26,31,0.55) 40%, rgba(14,26,31,0.82) 100%);
  }
}

/* --------------------------- Photo slots --------------------------- */
.photo-slot {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 0.25rem; padding: 1rem;
  background:
    repeating-linear-gradient(45deg, rgba(169,191,194,0.10) 0 12px, transparent 12px 24px),
    var(--surface);
  border: 2px dashed rgba(59,182,196,0.5);
  border-radius: var(--radius); color: var(--offwhite); overflow: hidden;
}
.photo-slot span {
  font-family: "Anton", sans-serif; letter-spacing: 0.06em; font-size: 0.95rem;
  text-transform: uppercase; color: var(--cyan);
}
.photo-slot small { font-size: 0.72rem; color: var(--slate); word-break: break-all; }
.photo-slot--filled { padding: 0; border: none; object-fit: cover; width: 100%; height: 100%; }

/* ----------------------------- Sections ----------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--light { background: var(--offwhite); }
.section.section--about { background: #e3eae9; border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--offwhite); }
.section--book { background: linear-gradient(180deg, #16302e, var(--surface)); color: var(--offwhite); }
.section-title { text-align: center; }
.section--light .section-title { color: var(--ink); }
.section-intro {
  text-align: center; max-width: 56ch; margin: 0 auto 2.5rem; color: var(--slate);
}
.section--light .section-intro { color: #4a5a5c; }

/* ----------------------------- Services ----------------------------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card {
  --accent: var(--cyan);
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius); padding: 2rem 1.85rem 1.85rem;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--accent);
  display: flex; flex-direction: column; min-height: 340px;
  color: #fff; background: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,26,31,0.55) 0%, rgba(14,26,31,0.80) 55%, rgba(14,26,31,0.93) 100%);
}
.card--lawn { --accent: var(--emerald); }
.card--landscaping { --accent: var(--cyan); }
.card--hauling { --accent: var(--emerald); }
.card--pets { --accent: var(--cyan); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(59,182,196,0.14); color: var(--cyan-ink);
}
.card-icon svg { width: 32px; height: 32px; }
.card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.9rem; }
.card h3::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--accent); border-radius: 2px; margin-top: 0.6rem;
}
.paw { width: 0.92em; height: 0.92em; display: inline-block; vertical-align: -0.1em; }
.card-subtitle {
  display: block; font-family: "Open Sans", sans-serif;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
  text-transform: none; color: #eaf0f0; margin-top: 0.3rem;
}
.card-list { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.card-list li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; color: #eaf0f0; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 0.65rem; height: 0.65rem; border-radius: 3px; background: var(--emerald);
}

/* ----------------------------- Gallery ----------------------------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.gallery-tile {
  margin: 0; aspect-ratio: 4 / 3; justify-content: flex-end; align-items: flex-start;
  text-align: left;
}
.gallery-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(14,26,31,0.85));
  font-size: 0.85rem; font-weight: 600; color: #fff;
}
.gallery-tile--feature { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.gallery-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius);
}

/* Before/after step sequence */
.gallery--steps { grid-template-columns: 1fr 1fr; }
.gallery-tile--step {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; background: var(--ink);
}
.step-num {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.9rem; height: 1.9rem; padding: 0 0.55rem;
  font-family: "Anton", sans-serif; font-size: 0.8rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink);
  background: var(--cyan); border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.step-num--after { background: var(--emerald); color: #fff; }
@media (min-width: 860px) {
  .gallery--steps { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------- About ----------------------------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.photo-slot--portrait { aspect-ratio: 4 / 5; max-width: 380px; margin-inline: auto; }
.about-copy .section-title { text-align: left; font-size: clamp(1.75rem, 3vw, 2.15rem); }
.about-copy p { color: #3a4a4c; max-width: 60ch; }
.trust-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.trust-points li {
  display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--ink);
}
.trust-points svg {
  width: 1.5rem; height: 1.5rem; flex: none; padding: 0.3rem;
  background: var(--emerald); color: #fff; border-radius: 50%;
}

/* ----------------------------- Booking ----------------------------- */
.section--reviews {
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.review-preview-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.review-preview-copy .section-title,
.review-form-copy .section-title {
  text-align: left;
}
.review-preview-copy .section-intro {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 1.5rem;
}
.review-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.section--reviews .btn-ghost,
.section--review-form .btn-ghost {
  color: var(--cyan-ink);
}
.review-card {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review-card--featured,
.review-card--hero {
  background: var(--ink);
  color: var(--offwhite);
  border-color: rgba(59,182,196,0.26);
  box-shadow: var(--shadow);
}
.review-stars {
  color: var(--cyan);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  line-height: 1;
}
.review-card blockquote {
  margin: 0;
  color: inherit;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}
.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(169,191,194,0.22);
}
.review-card footer strong {
  color: inherit;
}
.review-card footer span {
  color: #5a6a6c;
  font-size: 0.9rem;
  font-weight: 700;
}
.review-card--featured footer span,
.review-card--hero footer span {
  color: var(--slate);
}
.reviews-hero {
  background:
    linear-gradient(90deg, rgba(14,26,31,0.92), rgba(14,26,31,0.68)),
    url("/assets/work/step-5-curb-appeal.jpg") center / cover;
  color: var(--offwhite);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.reviews-hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}
.reviews-hero-copy h1 {
  color: #fff;
  max-width: 10ch;
}
.reviews-hero-copy .lead {
  color: var(--slate);
  font-size: 1.15rem;
  max-width: 42ch;
}
.reviews-hero .btn-ghost {
  color: var(--offwhite);
}
.review-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.section--review-form {
  background: linear-gradient(180deg, #16302e, var(--surface));
  color: var(--offwhite);
}
.review-form-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
.review-form-copy p:last-child {
  color: var(--slate);
  max-width: 46ch;
}
.review-form-panel {
  box-shadow: var(--shadow);
}

.section--book .container { width: min(var(--maxw), 100%); }
.book-grid { width: 90%; margin-inline: auto; }
.book-main { display: grid; gap: 1.5rem; }
.book-panel {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(59,182,196,0.25);
  border-radius: var(--radius); padding: 1.5rem;
}
.book-panel--lead { background: #fff; color: var(--ink); }
.book-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}
.book-panel-head h3, .book-panel h3 { color: #fff; margin: 0; }
.book-panel--lead h3 { color: var(--ink); }
.book-panel-head .btn-ghost { color: var(--offwhite); }
.book-hint { font-size: 0.9rem; color: var(--slate); margin: 0.25rem 0 1rem; }
.book-hint--below { margin: 1rem 0 0.75rem; }
.book-panel--lead .book-hint { color: #5a6a6c; }
.is-hidden { display: none !important; }

.gcal-frame {
  width: 100%; min-height: 700px; border: 0; border-radius: var(--radius-sm);
  background: #fff;
}

/* Stepper + multi-step form (Option B) */
.stepper {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 0; margin: 0 0 1.25rem; counter-reset: step;
}
.stepper li {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--slate); display: flex; align-items: center; gap: 0.4rem;
}
.stepper li::before {
  counter-increment: step; content: counter(step);
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: rgba(169,191,194,0.2); color: var(--offwhite);
}
.stepper li.is-active { color: var(--cyan); }
.stepper li.is-active::before { background: var(--cyan); color: var(--ink); }

.step { border: 0; padding: 0; margin: 0; display: none; }
.step.is-active { display: block; animation: fade 0.25s ease; }
.step legend { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 1.15rem; color: #fff; margin-bottom: 0.75rem; padding: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; gap: 0.75rem; }
.choice {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
  padding: 0.9rem 1.1rem; border-radius: var(--radius-sm);
  border: 2px solid rgba(59,182,196,0.3); background: rgba(14,26,31,0.25);
  font-weight: 600; color: var(--offwhite);
}
.choice input { accent-color: var(--cyan); width: 1.1rem; height: 1.1rem; }
.choice:has(input:checked) { border-color: var(--cyan); background: rgba(59,182,196,0.16); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.6rem; }
.slot-btn {
  padding: 0.7rem 0.5rem; border-radius: var(--radius-sm);
  border: 2px solid rgba(59,182,196,0.3); background: rgba(14,26,31,0.25);
  color: var(--offwhite); font-weight: 700; cursor: pointer; font-size: 0.95rem;
}
.slot-btn:hover { border-color: var(--cyan); }
.slot-btn.is-selected { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }

.field { margin-bottom: 0.9rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; }
.field-optional { font-weight: 400; color: #7a8a8c; }
.field-hint { margin: 0.3rem 0 0; font-size: 0.78rem; color: #7a8a8c; }
.form-notice { background: #fff3f0; border-left: 3px solid #f04e23; border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.88rem; margin-bottom: 1.2rem; color: var(--ink); line-height: 1.5; }
.form-notice a { color: var(--ink); font-weight: 700; }
.lead-form .field input[type="file"] { background: var(--offwhite); border: 1px solid #c8d4d6; border-radius: 6px; padding: 0.5rem 0.6rem; width: 100%; cursor: pointer; font-size: 0.88rem; }
.field input, .field textarea, .field select, #onpage-date {
  width: 100%; padding: 0.75rem 0.85rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; }
.field-row { display: grid; gap: 0.9rem; grid-template-columns: 1fr 1fr; }

.summary { display: grid; gap: 0.4rem; margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.4rem; }
.summary dt { color: var(--slate); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.summary dd { margin: 0; font-weight: 700; text-align: right; }

.step-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.step-nav .btn { flex: 1; }

.lead-form .field input, .lead-form .field textarea, .lead-form .field select { background: var(--offwhite); }
.hp-field { position: absolute; left: -5000px; }
.form-status { min-height: 1.2em; margin: 0.75rem 0 0; font-weight: 600; font-size: 0.92rem; }
.form-status.is-error { color: #ff8a8a; }
.form-status.is-success { color: var(--emerald); }
.book-panel--lead .form-status.is-success { color: #1d7a4f; }
.muted { color: var(--slate); font-size: 0.92rem; }

.book-info-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: stretch; }
.side-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(59,182,196,0.25);
  border-radius: var(--radius); padding: 1.4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.side-card--accent { background: rgba(46,158,107,0.16); border-color: rgba(46,158,107,0.4); }
.side-card h3 { color: #fff; font-size: 1.1rem; margin: 0 0 0.5rem; }
.side-strong { font-weight: 700; font-size: 1.05rem; margin: 0 0 0.65rem; color: #fff; }
.contact-line { display: flex; flex-direction: column; margin: 0 0 0.85rem; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); }
.contact-line a { color: var(--cyan); font-weight: 700; font-size: 1.1rem; }
.placeholder-value { font-style: normal; }

/* -------------------------- Customer portal -------------------------- */
.section--account { background: var(--offwhite); }
.portal-page { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; }
.account-panel {
  display: grid; gap: 1.5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.account-header { display: grid; gap: 1.5rem; align-items: center; }
.account-copy .section-title { text-align: left; margin-bottom: 0.35rem; }
.account-copy p:last-child { margin-bottom: 0; color: #3a4a4c; }
.account-actions {
  display: grid; gap: 1rem; justify-items: start;
  padding: 1.25rem; border-radius: var(--radius-sm);
  background: var(--offwhite); border: 1px solid var(--line);
}
.account-status { margin: 0; font-weight: 700; color: var(--ink); }
.account-status.is-error { color: #a13a3a; }
.account-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.account-buttons .btn-ghost { color: var(--cyan-ink); }
.portal-dashboard { display: grid; gap: 1.25rem; }
.portal-stats {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.portal-stat {
  display: grid; gap: 0.2rem;
  padding: 1rem; border-radius: var(--radius-sm);
  background: var(--offwhite); border: 1px solid var(--line);
}
.portal-stat span {
  color: #5a6a6c; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.portal-stat strong { color: var(--ink); font-size: 1.25rem; overflow-wrap: anywhere; }
.portal-grid { display: grid; gap: 1rem; align-items: start; }
.portal-card {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem; background: #fff;
}
.portal-card h2, .portal-card h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 0.75rem; }
.portal-card-head {
  display: flex; gap: 0.75rem; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.invoice-list { display: grid; gap: 0.75rem; }
.invoice-row {
  display: grid; gap: 0.6rem;
  padding: 0.9rem; border-radius: var(--radius-sm);
  background: var(--offwhite); border: 1px solid var(--line);
}
.invoice-main { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.invoice-title { margin: 0; font-weight: 800; color: var(--ink); }
.invoice-meta { margin: 0; color: #5a6a6c; font-size: 0.9rem; }
.invoice-amount { margin: 0; font-weight: 800; color: var(--cyan-ink); }
.invoice-status {
  display: inline-flex; width: fit-content;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  background: rgba(59,182,196,0.14); color: var(--cyan-ink);
}
.invoice-status--paid { background: rgba(46,158,107,0.16); color: #1d7a4f; }
.invoice-links { display: flex; gap: 0.8rem; flex-wrap: wrap; font-weight: 700; }
.portal-card--actions { display: grid; gap: 0.75rem; }
.portal-card--actions h3 { margin-bottom: 0; }
.portal-card--actions .btn-ghost { color: var(--cyan-ink); }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: #0a1317; color: var(--slate); padding: 2.5rem 0; }
.footer-inner { display: grid; gap: 1rem; text-align: center; justify-items: center; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand .brand-text { gap: 0.25rem; }
.footer-brand .brand-text strong { color: var(--offwhite); font-size: 1.25rem; }
.footer-area { margin: 0; font-weight: 600; color: var(--offwhite); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }
.footer-nav a { color: var(--cyan); font-weight: 600; }
.footer-copy { margin: 0; font-size: 0.85rem; }

/* ============================ Responsive ============================ */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(59,182,196,0.25);
    padding: 0.5rem 6%; max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  .nav-menu.is-open { max-height: 390px; padding-block: 1rem; }
  .nav-menu li { padding: 0.5rem 0; }
  .nav-menu a.btn { width: 100%; }
}

@media (min-width: 761px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .review-preview-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); }
  .reviews-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); }
  .review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-form-grid { grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.1fr); }
  .book-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-header { grid-template-columns: 1.25fr 0.75fr; }
  .portal-grid { grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr); }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery--steps { grid-template-columns: 1fr 1fr; }
  .step-nav { flex-direction: column-reverse; }
}

/* ----------------------- Work page hero ----------------------- */
.work-hero {
  background:
    linear-gradient(180deg, rgba(14,26,31,0.82) 0%, rgba(14,26,31,0.68) 45%, rgba(14,26,31,0.82) 100%),
    url("/assets/work-hero-bg.jpg") center / cover;
  color: var(--offwhite);
}
.work-hero .section-title { color: #fff; }
.work-hero .section-intro { color: var(--slate); }

/* --------------------------- Portfolio --------------------------- */
.work-nav {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 0 auto 2.5rem;
}
.work-nav a {
  padding: 0.5rem 1.1rem; border-radius: 999px;
  border: 2px solid rgba(59, 182, 196, 0.5);
  background: rgba(59, 182, 196, 0.12);
  font-weight: 700; color: var(--offwhite);
}
.work-nav a:hover {
  border-color: var(--cyan); background: rgba(59, 182, 196, 0.22);
  color: #fff; text-decoration: none;
}
.work-cat { margin-bottom: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.work-cat:last-child { margin-bottom: 0; }
.work-cat-head { text-align: center; margin-bottom: 1.5rem; }
.work-cat-head .section-title { text-align: center; margin-bottom: 0.35rem; }
.portfolio-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 761px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ink); box-shadow: var(--shadow-sm);
}
.portfolio-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(14,26,31,0.85));
  color: #fff; font-size: 0.85rem; font-weight: 600;
}
.work-cat-cta { text-align: center; margin-top: 1.5rem; }

/* Before / after pairs */
.ba-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1rem;
}
.ba-pair .portfolio-item { aspect-ratio: 4 / 3; }
.ba-badge {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1;
  font-family: "Anton", sans-serif; font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.22rem 0.6rem; border-radius: 999px;
  background: var(--cyan); color: var(--ink); box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.ba-badge--after { background: var(--emerald); color: #fff; }
.ba-badge--progress { background: var(--cyan-ink); color: #fff; }

/* Job groups (all of one job's photos together, responsive on every device) */
.job-group { margin-bottom: 1.6rem; }
.job-grid {
  display: grid; gap: 0.7rem;
  grid-template-columns: repeat(2, 1fr);
}
.job-grid .portfolio-item { aspect-ratio: 4 / 3; }
/* Odd-count group: the lone trailing image spans the full width to fill the gap */
.job-grid > .portfolio-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

/* ---------------------------- Lightbox ---------------------------- */
.portfolio-item img, .gallery-tile img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(14, 26, 31, 0.93); padding: 4vmin;
}
.lightbox.is-open { display: flex; animation: fade 0.2s ease; }
.lightbox-figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.lightbox-figure img {
  max-width: 100%; max-height: 84vh; width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: var(--shadow); cursor: auto;
}
.lightbox-cap { color: var(--offwhite); font-weight: 600; font-size: 0.95rem; text-align: center; max-width: 60ch; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.2rem;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; border: 0;
  font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 0;
  display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.26); }
body.lightbox-open { overflow: hidden; }
.ba-label {
  text-align: center; font-weight: 700; color: var(--cyan-ink);
  margin: 0 0 0.6rem; font-size: 0.95rem;
}

/* ------------------------- Click-to-call ------------------------- */
.nav-call {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--cyan); font-weight: 700; white-space: nowrap;
}
.nav-call:hover { color: var(--cyan); text-decoration: none; opacity: 0.85; }
.nav-call svg { width: 1.05rem; height: 1.05rem; flex: none; }

/* ---------------------- Mobile sticky CTA bar -------------------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(14, 26, 31, 0.96); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(59, 182, 196, 0.3);
  }
  .mobile-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.8rem; border-radius: 999px; font-weight: 800;
    font-size: 1rem; text-decoration: none;
  }
  .mobile-cta-btn:hover { text-decoration: none; }
  .mobile-cta-call { background: var(--emerald); color: #fff; }
  .mobile-cta-book { background: var(--cyan); color: var(--ink); }
  .mobile-cta-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
  body { padding-bottom: 76px; } /* clearance so the bar never covers the footer */
}

/* ----------------------------- FAQ ----------------------------- */
.faq-collapse { max-width: 760px; margin: 0 auto; }
.faq-toggle {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 0.6rem; text-align: center;
  margin: 0 auto; padding: 0.95rem 1.5rem; border-radius: 999px;
  border: 2px solid var(--cyan); background: rgba(59,182,196,0.10);
  color: var(--cyan-ink); font-weight: 800; width: fit-content;
  transition: background 0.15s ease;
}
.faq-toggle:hover { background: rgba(59,182,196,0.18); }
.faq-toggle::-webkit-details-marker { display: none; }
.faq-toggle::after {
  content: "+"; font-family: "Anton", sans-serif; font-size: 1.4rem; line-height: 1;
}
.faq-collapse[open] .faq-toggle { content: ""; }
.faq-collapse[open] .faq-toggle::after { content: "\2013"; }
.faq-collapse[open] .faq-toggle { margin-bottom: 1.5rem; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.85rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem;
  font-weight: 700; color: var(--ink); display: flex;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: "Anton", sans-serif; font-size: 1.5rem;
  color: var(--cyan-ink); line-height: 1; flex: none;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--cyan-ink); }
.faq-answer { padding: 0 1.25rem 1.2rem; color: #3a4a4c; }
.faq-answer p { margin: 0; }
