/* ===== SECTION 1: CONTACT HERO — Invitation, no CTA button ===== */
.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--bg-base);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(61, 155, 155, 0.10) 0%, transparent 65%);
  filter: blur(40px);
}

/* VISUAL MOTIF: Subtle path — connection, not journey */
.contact-hero-path {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  pointer-events: none;
}

.contact-hero-path svg {
  width: 100%;
  height: 100%;
}

.contact-hero-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.contact-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 6px 14px;
  background: rgba(61, 155, 155, 0.08);
  border-radius: var(--radius-button);
  border: 1px solid rgba(61, 155, 155, 0.15);
}

.contact-hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Typographic Anchor: large Fraunces invitation */
.contact-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.hero-emphasis {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Subtitle: spacious, warm, sets the invitation tone */
.contact-hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-secondary);
  max-width: 580px;
}

/* ===== SECTION 2: CONTACT OPTIONS — Three varied paths ===== */
.section-contact-options .container {
  max-width: 960px;
}

/* Shared structure */
.contact-option {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}

.contact-option:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.contact-option-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-option-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
}

/* Typographic Anchor: large Fraunces labels */
.contact-option-label {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.contact-option-note {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-top: 16px;
}

/* --- Path 1: Call or Text — Immediate, prominent --- */
.contact-option-phone {
  padding-top: 0;
  border-top: none;
}

.contact-phone-link {
  display: inline-block;
  text-decoration: none;
  transition: transform var(--transition-smooth);
}

.contact-phone-link:hover {
  color: var(--accent-hover);
}

.contact-phone-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--accent);
  transition: color var(--transition-base);
  display: inline-block;
}

.contact-phone-link:hover .contact-phone-number {
  color: var(--accent-hover);
}

/* --- Path 2: Email — Mid-size treatment --- */
.contact-email-link {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-block;
  position: relative;
}

.contact-email-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.contact-email-link:hover {
  color: var(--accent);
}

.contact-email-link:hover::after {
  width: 100%;
}

/* --- Path 3: Send a Message — Structured form --- */
.contact-option-form .contact-option-note-form {
  margin-bottom: 32px;
}

/* Trust badges before form fields */
.contact-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 36px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(61, 155, 155, 0.12);
  flex-shrink: 0;
  position: relative;
}

.trust-badge-mark::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  top: 5px;
  left: 5px;
}

/* Contact Form */
.contact-form {
  max-width: 560px;
}

.form-field {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-standard);
  border-radius: var(--radius-input);
  transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(61, 155, 155, 0.04);
  box-shadow: 0 0 0 3px rgba(61, 155, 155, 0.1);
}

.form-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Honeypot — hidden from real users */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-form-submit {
  margin-top: 8px;
}

/* ===== SECTION 3: WHAT HAPPENS NEXT — Typography-led, reassuring ===== */
.what-next-content {
  max-width: 760px;
}

.what-next-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.what-next-statement:last-child {
  margin-bottom: 0;
}

.what-next-statement .text-accent {
  font-style: italic;
  color: var(--accent);
}

/* ===== SECTION 4: STILL EXPLORING? — Compact cross-navigation ===== */
.exploring-wrapper {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.exploring-label {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.exploring-note {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.exploring-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.exploring-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-standard);
  border-radius: var(--radius-button);
  transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
  min-height: 44px;
}

.exploring-link:hover {
  color: var(--accent);
  background: rgba(61, 155, 155, 0.06);
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.exploring-link-text {
  letter-spacing: -0.005em;
}

.exploring-link-arrow {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.exploring-link:hover .exploring-link-arrow {
  transform: translateX(3px);
}


/* ===== PAGE-SPECIFIC RESPONSIVE ===== */
/* ===== RESPONSIVE ===== */

/* Desktop large (1280px+) */
@media (min-width: 1281px) {
  .section-contact-options .container {
    max-width: 960px;
  }
}

/* Tablet / smaller desktop (1024px) */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .contact-option {
    padding: 40px 0;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  /* Navigation collapses */






  /* Hero — adjusted for mobile */
  .contact-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .contact-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .contact-hero-subtitle {
    font-size: 1.25rem;
  }

  /* Contact options — tighten */
  .contact-option {
    padding: 36px 0;
  }

  .contact-option-header {
    gap: 14px;
    margin-bottom: 20px;
  }

  .contact-option-number {
    font-size: 0.9rem;
  }

  .contact-option-label {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .contact-phone-number {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .contact-email-link {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .contact-option-note {
    font-size: 1rem;
  }

  /* Trust badges — stack on mobile */
  .contact-trust-badges {
    flex-direction: column;
    gap: 12px;
  }

  .trust-badge {
    font-size: 0.9rem;
  }

  /* Form — full width, tighten */
  .contact-form {
    max-width: 100%;
  }

  .form-field {
    margin-bottom: 20px;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .form-textarea {
    min-height: 100px;
  }

  /* What next — tighten */
  .what-next-statement {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.45;
  }

  /* Exploring — stack */
  .exploring-wrapper {
    text-align: center;
  }

  .exploring-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .exploring-link {
    justify-content: center;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small mobile (375px) */
@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }

  .contact-hero-label {
    font-size: 11px;
  }

  .contact-hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .contact-hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .contact-option {
    padding: 28px 0;
  }

  .contact-option-label {
    font-size: 1.35rem;
  }

  .contact-phone-number {
    font-size: 1.5rem;
  }

  .contact-email-link {
    font-size: 1.15rem;
  }

  .contact-option-note {
    font-size: 0.95rem;
  }

  .trust-badge {
    font-size: 0.875rem;
  }

  .form-input {
    padding: 11px 12px;
    font-size: 16px;
  }

  .what-next-statement {
    font-size: 1.05rem;
  }

  .exploring-label {
    font-size: 1.3rem;
  }

  .exploring-link {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Form status states */
.form-status {
  padding: 0;
  margin-bottom: 0;
  font-size: 0.9375rem;
  min-height: 0;
  transition: padding 0.2s ease, margin 0.2s ease;
  border-radius: var(--radius-input, 8px);
}

.form-status.form-status-loading,
.form-status.form-status-success,
.form-status.form-status-error {
  padding: 12px 16px;
  margin-bottom: 20px;
}

.form-status.form-status-loading {
  background: rgba(61, 155, 155, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(61, 155, 155, 0.3);
}

.form-status.form-status-success {
  background: rgba(61, 155, 155, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-status.form-status-error {
  background: rgba(255, 100, 100, 0.1);
  color: #ff8080;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

.contact-form-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
