/* ---------- Tokens ---------- */
:root {
  --bg: #131011;
  --bg-alt: #1e1819;
  --surface: #261f20;
  --ink: #f3ece7;
  --ink-dim: #c9bdb6;
  --ink-faint: #8a7d78;
  --maroon: #7a2331;
  --maroon-light: #a6394a;
  --maroon-deep: #4f1620;
  --border: rgba(243, 236, 231, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--maroon-light);
  margin: 0 0 14px;
}

.rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--maroon-light);
  margin: 0 auto 20px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--ink-dim);
  max-width: 520px;
  margin: 14px auto 48px;
  font-size: 0.98rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--maroon);
  color: var(--ink);
  border-color: var(--maroon);
}
.btn-primary:hover { background: var(--maroon-light); border-color: var(--maroon-light); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; text-align: center; border: none; }

.text-link {
  color: var(--maroon-light);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--maroon-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(19,16,17,0.9), rgba(19,16,17,0));
  padding: 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }

.main-nav a.nav-cta {
  color: var(--ink);
  border: 1px solid var(--maroon-light);
  padding: 10px 18px;
  border-radius: 2px;
}
.main-nav a.nav-cta:hover { background: var(--maroon); border-color: var(--maroon); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding: 168px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(122,35,49,0.3), transparent 60%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.page-hero-sub {
  color: var(--ink-dim);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(122,35,49,0.35), transparent 60%),
    linear-gradient(100deg, rgba(16,13,14,0.94) 0%, rgba(16,13,14,0.75) 40%, rgba(16,13,14,0.4) 75%, rgba(16,13,14,0.55) 100%),
    url('../images/hero-background.jpg');
  background-size: cover;
  background-position: 65% 25%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Intro strip ---------- */
.intro {
  padding: 100px 0;
  background: var(--bg-alt);
}

.intro-inner {
  max-width: 680px;
  text-align: center;
}

.intro p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- Portfolio ---------- */
.portfolio { padding: 120px 0; background: var(--bg-alt); }

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-dim);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab.active,
.tab:hover {
  color: var(--ink);
  border-color: var(--maroon-light);
  background: rgba(122,35,49,0.15);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 0.8rem;
  color: var(--ink-dim);
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover figcaption { opacity: 1; }

.ph {
  aspect-ratio: 4 / 5;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.gallery-item img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

.ph-1 { background: linear-gradient(135deg, #7a2331, #d97a3f); }
.ph-2 { background: linear-gradient(135deg, #4f1620, #a6394a); }
.ph-3 { background: linear-gradient(135deg, #2c4a52, #7a2331); }
.ph-4 { background: linear-gradient(135deg, #c98a3f, #7a2331); }
.ph-5 { background: linear-gradient(135deg, #3a2140, #a6394a); }
.ph-6 { background: linear-gradient(135deg, #7a2331, #2c4a52); }

/* ---------- Before & After ---------- */
.before-after { padding: 120px 0; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  cursor: ew-resize;
  --pos: 50%;
  user-select: none;
  touch-action: none;
}

.ba-side {
  position: absolute;
  inset: 0;
}

.ba-side .ph,
.ba-side img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.ba-before { z-index: 1; }

.ba-after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos));
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 8, 8, 0.6);
  color: var(--ink);
  border-radius: 2px;
  z-index: 3;
}

.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.ba-handle-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ---------- About ---------- */
.about { padding: 120px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  background: linear-gradient(150deg, #3a2140, #7a2331 55%, #c98a3f);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.about-content p { color: var(--ink-dim); }

/* ---------- Process ---------- */
.process { padding: 120px 0; background: var(--bg-alt); }

.steps {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  color: var(--maroon-light);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: 0.95rem; }

.process-cta { text-align: center; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 120px 0; background: var(--bg-alt); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}

.testimonial-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-thumb-wrap {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.testimonial-thumb {
  display: block;
  width: auto;
  height: 110px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink);
}

.reviewer {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.3;
}

.reviewer span {
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 1px;
}

.stars {
  color: var(--maroon-light);
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-dim);
  flex-grow: 1;
}

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; }

.faq-page { padding-top: 40px; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-category:not(:first-child) {
  margin-top: 48px;
}

.faq-category-title {
  font-size: 1.2rem;
  color: var(--maroon-light);
  margin-bottom: 4px;
}

.faq-page-note {
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  max-width: 480px;
  margin: 40px auto 0;
}

.faq-page .faq-cta { margin-top: 24px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--maroon-light);
  font-size: 1.3rem;
  margin-left: 16px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--ink-dim);
  margin-top: 14px;
  font-size: 0.95rem;
  max-width: 600px;
}

.faq-item p a {
  color: var(--maroon-light);
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Consultation ---------- */
.consultation { padding: 120px 0; background: var(--bg-alt); }

.consultation-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.consultation-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.consultation-copy p { color: var(--ink-dim); }

.consultation-note {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.consultation-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px;
}

.form-row { margin-bottom: 20px; }
.form-row:last-of-type { margin-bottom: 26px; }

.form-row label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
}

.form-row textarea {
  resize: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--maroon-light);
}

@keyframes autofill-bg {
  0%, 100% {
    background: var(--bg);
    color: var(--ink);
  }
}

.form-row input:-webkit-autofill,
.form-row input:-webkit-autofill:hover,
.form-row input:-webkit-autofill:focus,
.form-row input:-webkit-autofill:active,
.form-row input:autofill {
  -webkit-text-fill-color: var(--ink) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--bg) inset !important;
  box-shadow: 0 0 0px 1000px var(--bg) inset !important;
  background-color: var(--bg) !important;
  caret-color: var(--ink);
  transition: background-color 9999s ease-in-out 0s;
  animation-name: autofill-bg;
  animation-fill-mode: both;
  animation-duration: 1ms;
}

.form-row input[type="file"] {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.form-row input[type="file"]::file-selector-button {
  background: var(--maroon);
  color: var(--ink);
  border: none;
  border-radius: 2px;
  padding: 8px 14px;
  margin-right: 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-row input[type="file"]::file-selector-button:hover {
  background: var(--maroon-light);
}

.file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.file-list-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.file-remove:hover {
  background: var(--maroon);
  color: var(--ink);
}

.field-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-row .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--maroon-light);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Full Gallery ---------- */
.full-gallery { padding: 40px 0 120px; }

.gallery-filters { flex-wrap: wrap; }

.masonry {
  column-count: 4;
  column-gap: 8px;
}

.masonry-tile {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  break-inside: avoid;
  border-radius: 3px;
  overflow: hidden;
}

.masonry-tile[hidden] {
  display: none;
}

.masonry-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.masonry-tile:hover img { transform: scale(1.04); }

.masonry-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 0.8rem;
  color: var(--ink);
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.masonry-tile:hover .masonry-caption { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  max-height: 88vh;
}

.lightbox-inner-image-only {
  grid-template-columns: 1fr;
  max-width: 900px;
  justify-items: center;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 4px;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-info {
  align-self: center;
}

.lightbox-info h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}

.lightbox-info p:not(.eyebrow) {
  color: var(--ink-dim);
  margin-bottom: 28px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: border-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { border-color: var(--maroon-light); }

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  text-decoration: none;
}

.footer-tagline {
  color: var(--ink-dim);
  font-size: 0.9rem;
  max-width: 280px;
  margin: 14px 0 22px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  background: var(--maroon);
  color: var(--ink);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
}

.footer-col-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.footer-col a,
.footer-col .footer-text {
  display: block;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 13px;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-copy {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }

  .about-inner,
  .consultation-inner {
    grid-template-columns: 1fr;
  }
  .about-media { order: -1; aspect-ratio: 4/5; }

  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }

  .masonry { column-count: 2; }

  .lightbox-inner {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
    gap: 20px;
  }
  .lightbox-media img { max-height: 45vh; }
  .lightbox-close { top: 8px; right: 8px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .consultation-form { padding: 24px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
}
