/* Contact / lead generation page */

.contact-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(14, 124, 123, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(18, 33, 60, 0.04), transparent 50%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .contact-hero {
    padding: 88px 0 72px;
  }
}

.contact-hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.12;
  max-width: 16ch;
  margin: 0;
}

.contact-hero .lead {
  font-size: 17.5px;
  max-width: 56ch;
  margin: 18px 0 0;
  line-height: 1.65;
}

.contact-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .contact-section {
    padding: 72px 0;
  }
}

.contact-section.surface {
  background: var(--surface);
}

.contact-section .section-intro {
  max-width: 640px;
  margin-bottom: 36px;
}

.contact-section .section-intro h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 12px;
  line-height: 1.2;
  max-width: 24ch;
}

.contact-section .section-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  max-width: 54ch;
}

/* Service intent cards */
.help-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .help-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.help-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px 18px 18px;
  transition: border-color 0.15s, transform 0.15s;
}

.contact-section.surface .help-card {
  background: var(--bg);
}

.help-card:hover {
  border-color: var(--ink-faint);
  transform: translateY(-1px);
}

.help-card .help-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 8px;
}

.help-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
  line-height: 1.3;
}

.help-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Consultation form */
#consultation {
  scroll-margin-top: 96px;
}

.enquiry-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .enquiry-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
  }
}

.enquiry-form {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 28px 22px;
}

@media (min-width: 640px) {
  .enquiry-form {
    padding: 36px 32px;
  }
}

.enquiry-form .form-title {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 8px;
}

.enquiry-form .form-lead {
  margin: 0 0 28px;
  font-size: 15px;
  max-width: 52ch;
}

.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: var(--teal-tint);
  color: var(--teal-deep);
  border: 1px solid rgba(14, 124, 123, 0.25);
}

.form-status.is-error {
  background: #fcede8;
  color: #8a3b2a;
  border: 1px solid rgba(181, 101, 44, 0.3);
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-field label .opt {
  font-weight: 400;
  color: var(--ink-faint);
}

.form-field label .req,
.form-check .req {
  color: var(--teal-deep);
  font-weight: 600;
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%237a879a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.12);
}

.form-field input:invalid:not(:placeholder-shown):not(:focus),
.form-field select:invalid:not(:focus) {
  border-color: rgba(181, 101, 44, 0.55);
}

.services-fieldset {
  margin: 8px 0 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px 12px;
  background: var(--bg);
}

.services-fieldset legend {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 0 6px;
}

.services-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

@media (min-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  cursor: pointer;
  padding: 6px 4px;
}

.service-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-check a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry-aside {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  padding: 24px 22px;
}

.enquiry-aside h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.enquiry-aside > p {
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.6;
}

.aside-list {
  margin: 0;
  padding: 0;
}

.aside-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.aside-list li:last-child {
  margin-bottom: 0;
}

.aside-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.aside-contact a {
  color: var(--ink);
  font-weight: 500;
}

.aside-contact a:hover {
  color: var(--teal-deep);
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-point {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  padding: 20px 18px;
}

.contact-section.surface .trust-point {
  background: var(--surface);
}

.trust-point .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--teal-deep);
  margin-bottom: 8px;
}

.trust-point h3 {
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.3;
}

.trust-point p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
}

/* Engagement timeline */
.process-timeline {
  display: grid;
  gap: 0;
  counter-reset: none;
}

@media (min-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-node {
  position: relative;
  padding: 22px 0 22px 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .process-node {
    padding: 0 18px 0 0;
    border-top: none;
    border-right: 1px solid var(--border);
  }

  .process-node:last-child {
    border-right: none;
    padding-right: 0;
  }
}

.process-node .step {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.process-node h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.process-node p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 28ch;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  color: var(--teal-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
}

.faq-item .faq-answer p {
  margin: 0;
}

/* Contact info + map */
.contact-info-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: stretch;
  }
}

.info-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 28px 24px;
}

.info-panel h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 8px;
}

.info-panel .info-lead {
  margin: 0 0 24px;
  font-size: 15px;
  max-width: 42ch;
}

.info-rows {
  display: grid;
  gap: 18px;
}

.info-row .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.info-row .value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}

.info-row .value a {
  color: var(--ink);
  font-weight: 500;
}

.info-row .value a:hover {
  color: var(--teal-deep);
}

.info-row address {
  font-style: normal;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.social-link:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-tint);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.map-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
  background:
    linear-gradient(135deg, rgba(14, 124, 123, 0.06), transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(18, 33, 60, 0.03) 18px,
      rgba(18, 33, 60, 0.03) 19px
    );
}

.map-placeholder .map-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.map-placeholder h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.map-placeholder p {
  margin: 0 0 18px;
  font-size: 14px;
  max-width: 36ch;
}

.map-embed {
  display: none;
  width: 100%;
  flex: 1;
  min-height: 320px;
  border: 0;
}

.map-panel.has-embed .map-placeholder {
  display: none;
}

.map-panel.has-embed .map-embed {
  display: block;
}

/* Final CTA */
.contact-cta {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
  border-bottom: none;
}

.contact-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0 0 14px;
  max-width: 16ch;
  line-height: 1.15;
}

.contact-cta p {
  color: #b7c1d1;
  max-width: 48ch;
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.65;
}

.contact-cta .eyebrow {
  color: #9fe1cb;
}

.contact-cta .eyebrow::before {
  background: #9fe1cb;
}

.contact-cta .btn-primary {
  background: #fff;
  color: var(--ink);
}

.contact-cta .btn-primary:hover {
  background: #9fe1cb;
}

.contact-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
