/* Contact page — migrated from prototypes/front/contact.html */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--c-surface);
  color: var(--fg);
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
}

.ct-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 40px 32px;
  text-align: center;
}
.ct-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid hsl(var(--accent) / 0.25);
  border-radius: 999px;
  background: hsl(var(--accent) / 0.06);
}
.ct-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 18px auto 14px;
  max-width: 820px;
}
.ct-hero p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 680px;
  margin: 0 auto;
}

.ct-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 40px 80px;
}
.ct-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
}

.ct-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.ct-card h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.ct-card .ct-sub {
  font-size: 13.5px;
  color: var(--fg-muted);
  margin: 0 0 22px;
}

.ct-form {
  display: grid;
  gap: 14px;
}
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .ct-row {
    grid-template-columns: 1fr;
  }
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-soft);
  letter-spacing: 0.01em;
}
.ct-field label .req {
  color: var(--c-accent);
  margin-left: 2px;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--fg);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: 5px;
  padding: 10px 12px;
  transition: border-color 0.2s var(--ease-organic), box-shadow 0.2s var(--ease-organic);
  width: 100%;
}
.ct-field textarea {
  min-height: 120px;
  resize: vertical;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: hsl(153 30% 35%);
  box-shadow: 0 0 0 3px hsl(153 30% 35% / 0.12);
}
.ct-field.has-error input,
.ct-field.has-error select,
.ct-field.has-error textarea {
  border-color: hsl(0 60% 50%);
}
.ct-error {
  font-size: 12px;
  color: hsl(0 55% 42%);
  display: none;
}
.ct-field.has-error .ct-error {
  display: block;
}

.ct-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ct-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 5px;
  background: linear-gradient(180deg, #3a7a5c 0%, #2f6249 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 hsl(0 0% 100% / 0.18) inset, 0 8px 22px hsl(153 30% 25% / 0.22);
  transition: transform 0.2s var(--ease-organic), box-shadow 0.2s var(--ease-organic);
}
.ct-submit:hover {
  transform: translateY(-1px);
}
.ct-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.ct-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid hsl(0 0% 100% / 0.4);
  border-top-color: #fff;
  animation: ct-spin 0.8s linear infinite;
  display: none;
}
.ct-submit.is-loading .ct-spinner {
  display: inline-block;
}
@keyframes ct-spin {
  to {
    transform: rotate(360deg);
  }
}

.ct-microcopy {
  font-size: 12.5px;
  color: var(--fg-muted);
}
.ct-success {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 5px;
  background: hsl(153 35% 95%);
  border: 1px solid hsl(153 25% 70%);
  color: hsl(153 35% 22%);
  font-size: 13.5px;
}
.ct-success.is-visible {
  display: block;
}
.ct-api-error {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 5px;
  background: hsl(0 60% 97%);
  border: 1px solid hsl(0 50% 80%);
  color: hsl(0 55% 38%);
  font-size: 13px;
}

.ct-info {
  display: grid;
  gap: 18px;
}
.ct-info-block {
  display: grid;
  gap: 6px;
}
.ct-info-block h3 {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0;
  font-weight: 600;
}
.ct-info-block p,
.ct-info-block a {
  font-size: 14px;
  color: var(--fg);
  margin: 0;
  line-height: 1.55;
}
.ct-info-block a.ct-link {
  color: var(--c-accent-deep);
  font-weight: 500;
}
.ct-info-block a.ct-link:hover {
  text-decoration: underline;
}

.ct-map-card {
  border: 1px solid var(--c-border);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--c-surface);
}
.ct-map-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.ct-map-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--fg-soft);
}
.ct-map-cta a {
  color: var(--c-accent-deep);
  font-weight: 600;
}
.ct-map-cta a:hover {
  text-decoration: underline;
}

.ct-trust {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.ct-trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--fg-soft);
}
.ct-trust-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--c-accent);
  margin-top: 1px;
}

.ct-teams {
  margin-top: 56px;
}
.ct-teams h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.ct-teams .ct-teams-sub {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0 0 22px;
}
.ct-teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .ct-teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .ct-teams-grid {
    grid-template-columns: 1fr;
  }
}
.ct-team {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 20px;
  display: grid;
  gap: 8px;
  transition: border-color 0.2s var(--ease-organic), transform 0.2s var(--ease-organic), box-shadow 0.2s var(--ease-organic);
}
.ct-team:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.ct-team-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: hsl(var(--accent) / 0.1);
  display: grid;
  place-items: center;
  color: var(--c-accent-deep);
}
.ct-team-icon svg {
  width: 16px;
  height: 16px;
}
.ct-team h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--fg);
}
.ct-team p {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}
.ct-team a {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent-deep);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ct-team a:hover {
  text-decoration: underline;
}

.ct-faq {
  margin-top: 56px;
}
.ct-faq h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.ct-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .ct-faq-grid {
    grid-template-columns: 1fr;
  }
}
.ct-faq-item {
  background: hsl(var(--surface-soft) / 0.7);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 16px 18px;
}
.ct-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ct-faq-item summary::-webkit-details-marker {
  display: none;
}
.ct-faq-item summary::after {
  content: '+';
  color: var(--c-accent);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s var(--ease-organic);
}
.ct-faq-item[open] summary::after {
  content: '–';
}
.ct-faq-item p {
  font-size: 13.5px;
  color: var(--fg-soft);
  margin: 10px 0 0;
  line-height: 1.6;
}

.ct-final {
  margin-top: 64px;
  background:
    radial-gradient(600px 300px at 20% 0%, hsl(var(--accent) / 0.08), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, hsl(var(--gold) / 0.1), transparent 60%),
    var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 48px 32px;
  text-align: center;
}
.ct-final h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.ct-final p {
  font-size: 15px;
  color: var(--fg-soft);
  margin: 0 0 22px;
}
.ct-final-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .ct-hero {
    padding: 48px 22px 24px;
  }
  .ct-wrap {
    padding: 16px 22px 56px;
  }
}
