/* ============================================
   components.css — Reusable UI components
   ============================================ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .21em;
  font-weight: 700;
  color: var(--accent-text);
  text-transform: uppercase;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ed292f;
  box-shadow: 0 0 15px #ed292f;
}
.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 50px;
  padding: 0 21px;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.button-red {
  background: var(--red);
  color: #fff;
}
.button-red span, .text-link span {
  font-size: 16px;
}
.text-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.text-link span {
  margin-left: 7px;
  color: var(--accent-text);
}
.button-outline {
  margin-top: 20px;
  border: 1px solid var(--surface-contrast-border);
  color: var(--surface-contrast-text);
  background: transparent;
}
.button-outline:hover {
  border-color: var(--red);
  background: var(--red);
}
.theme-toggle, [data-theme-toggle] {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.theme-toggle:hover, [data-theme-toggle]:hover {
  border-color: var(--accent-text);
  background: var(--surface-soft);
}
[data-theme-toggle] .theme-toggle__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: var(--accent-text);
  font-size: 21px;
  line-height: 1;
  transition: transform .25s ease;
}
[data-theme-toggle]:hover .theme-toggle__icon {
  transform: rotate(-18deg);
}
html:not(.js) [data-theme-toggle] {
  display: none;
}
.menu-toggle {
  display: none;
}
.form-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 19px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}
.form-top span:last-child {
  color: var(--text-subtle);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  margin-bottom: 17px;
  color: var(--text-form);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface-input);
  color: var(--ink);
  font-size: 12px;
  transition: border-color .2s;
}
.contact-form input {
  height: 42px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 105px;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--red);
  background: var(--surface-form);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: var(--text-placeholder);
}
.optional {
  float: right;
  color: var(--text-subtle);
  font-size: 8px;
  letter-spacing: .1em;
}
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.form-bottom p {
  max-width: 220px;
  margin: 0;
  color: var(--text-subtle);
  font-size: 9px;
  line-height: 1.5;
}
.form-message {
  padding: 11px 13px;
  margin: 0 0 16px;
  font-size: 12px;
}
.form-message.success {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}
.form-message.error {
  background: var(--status-error-bg);
  color: var(--status-error-text);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.service-card {
  position: relative;
  min-height: 335px;
  padding: 27px 24px 24px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.service-card:nth-child(2) {
  transition-delay: .06s;
}
.service-card:nth-child(3) {
  transition-delay: .12s;
}
.service-card:nth-child(4) {
  transition-delay: .18s;
}
.service-card:not(:first-child) {
  padding-left: 24px;
}
.service-card:last-child {
  border: 0;
}
.service-number {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--text-subtle);
}
.service-icon {
  width: 52px;
  height: 52px;
  margin: 29px 0 20px;
  border: 1px solid var(--border-strong);
  color: var(--red);
  display: grid;
  place-items: center;
}
.service-icon img {
  width: 38px;
  height: 40px;
  object-fit: contain;
}
