/* tiles.css — content section components: cards, services, stats, steps, gallery, faq, form, cta */

section { position: relative; }
.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--graphite-deep); color: var(--chalk); }
.section--dark h2, .section--dark h3 { color: var(--chalk); }
.section--panel { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--highlight);
  margin-bottom: 14px;
}
.section--dark .kicker { color: var(--highlight-soft); }

.lede { font-size: 1.12rem; color: var(--text-muted); max-width: 62ch; }
.section--dark .lede { color: var(--chalk-dim); }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.head-row .lede { margin-bottom: 0; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: var(--highlight); color: #fff; }
.btn--primary:hover { background: var(--highlight-soft); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--chalk); border-color: rgba(236,236,238,0.4); }
.btn--ghost:hover { border-color: var(--highlight-soft); color: var(--chalk); text-decoration: none; }
.btn--solid { background: var(--graphite); color: var(--chalk); }
.btn--solid:hover { background: var(--graphite-deep); text-decoration: none; }

/* service tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.tile {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tile .thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.tile:hover .thumb img { transform: scale(1.04); }
.tile .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 16px; }
.tile .more {
  margin-top: auto;
  font-weight: 500;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tile .more::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.tile:hover .more::after { transform: translateX(4px); }

/* feature list (benefits) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 44px;
}
.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.feature .ico {
  width: 44px; height: 44px;
  border: 1.5px solid var(--highlight);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--highlight);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 5px; }
.feature p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 4px; max-width: 760px; }
.steps li {
  list-style: none;
  counter-increment: step;
  padding: 22px 0 22px 64px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--highlight);
  font-weight: 600;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .num {
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 600;
  color: var(--highlight-soft);
  line-height: 1;
}
.stat .lbl { color: var(--chalk-dim); font-size: 0.92rem; margin-top: 8px; }

/* split media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split--rev .media { order: 2; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; max-width: 760px; }
.member { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.member .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); }
.member .info { padding: 20px 22px 24px; }
.member h3 { margin-bottom: 2px; }
.member .role { color: var(--highlight); font-size: 0.9rem; font-weight: 500; margin-bottom: 10px; }
.member p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* pricing table */
.price-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price-table caption { text-align: left; color: var(--text-muted); margin-bottom: 12px; font-size: 0.9rem; }
.price-table th, .price-table td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--rule); }
.price-table thead th { background: var(--graphite-deep); color: var(--chalk); font-weight: 500; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; }
.price-table tbody tr:hover { background: rgba(184,115,51,0.05); }
.price-table td:last-child { font-family: var(--ff-display); font-weight: 600; white-space: nowrap; }

/* faq accordion */
.faq { max-width: 800px; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--highlight);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 40px 20px 0; color: var(--text-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* form */
.lead-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
.form { display: grid; gap: 16px; }
.form .field { display: grid; gap: 6px; }
.form label { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--chalk);
  color: var(--text);
  width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--highlight); outline-offset: 1px; border-color: var(--highlight); }
.form textarea { min-height: 110px; resize: vertical; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.form .consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[type="submit"] { justify-content: center; margin-top: 4px; }

/* toast */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--graphite-deep);
  color: var(--chalk);
  padding: 14px 22px;
  border-radius: var(--radius);
  border-left: 3px solid var(--highlight);
  box-shadow: var(--shadow-2);
  font-size: 0.95rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  z-index: 70;
  max-width: 90vw;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }

/* cta band */
.cta-band {
  background: linear-gradient(120deg, var(--graphite-deep), var(--graphite));
  color: var(--chalk);
  border-radius: var(--radius-lg);
  padding: 46px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--chalk); margin: 0 0 6px; }
.cta-band p { color: var(--chalk-dim); margin: 0; max-width: 48ch; }

/* contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.contact-list .val { font-size: 1.08rem; }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--highlight); }

@media (max-width: 920px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .team { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .lead-card { padding: 24px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
