/* ============================================
   CONTACT PAGE — Noble Earth Kava
   Refined spacing, premium polish, lightweight
   ============================================ */

/* ── Hero ─── */
.cp-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}

@keyframes heroZoom {
  0% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.cp-hero-bg {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  background: url('https://customer-assets.emergentagent.com/job_88201a88-c90a-4893-aa13-5152ab582d6f/artifacts/7nqlbie0_kava4.png') center/cover no-repeat;
  z-index: 0;
  animation: heroZoom 20s ease-out forwards;
  will-change: transform;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 15, 5, 0.72) 0%,
    rgba(30, 15, 5, 0.55) 50%,
    rgba(30, 15, 5, 0.78) 100%
  );
  z-index: 1;
}

.cp-hero-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 142, 23, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

.cp-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cp-hero-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-secondary-light);
  padding: 0.45rem 1.35rem;
  border: 1px solid rgba(198, 142, 23, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.cp-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.15;
  margin-bottom: 18px;
}

.cp-accent {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cp-hero-sub {
  font-size: var(--fs-body-lg);
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.75;
  margin-bottom: 28px;
}

.cp-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cp-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}
.cp-hero-wave svg {
  width: 100%;
  height: 70px;
}

/* ── Buttons (CSS-only hover) ─── */
.cp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, background 0.25s ease-out;
}
.cp-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.cp-btn--gold {
  background: linear-gradient(135deg, #E5C585 0%, #C68E17 50%, #A67C10 100%);
  color: #2C1A0A;
  border: 1px solid rgba(198, 142, 23, 0.4);
  box-shadow: 0 4px 14px rgba(198, 142, 23, 0.2);
}
.cp-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(198, 142, 23, 0.3);
}

.cp-btn--outline {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cp-btn--outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.cp-btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Sections ─── */
.cp-section {
  padding: 90px 0;
  position: relative;
}

.cp-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 18px;
}

/* ── Intro ─── */
.cp-intro {
  background: var(--color-bg);
  padding-top: 75px;
  padding-bottom: 90px;
}

.cp-intro-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .cp-intro-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 5rem;
  }
}

.cp-intro-text .section-label {
  margin-bottom: 14px;
}

.cp-intro-lead {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-secondary);
  max-width: 520px;
}

.cp-intro-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 520px;
}

.cp-intro-card-inner {
  background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-warm) 100%);
  border: 1px solid rgba(229, 224, 216, 0.6);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cp-intro-logo {
  width: 90px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.cp-intro-card-inner h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: 6px;
}

.cp-intro-card-inner p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cp-intro-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  margin: 0 auto 10px;
}

.cp-intro-tagline {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  font-weight: 600;
}

/* ── Form Section ─── */
.cp-form-section {
  background: var(--color-bg-alt);
  padding: 90px 0;
}

.cp-form-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .cp-form-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
  }
}

/* Detail Cards */
.cp-details-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cp-details-sub {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.cp-detail-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cp-detail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-warm) 100%);
  border: 1px solid rgba(229, 224, 216, 0.6);
  border-radius: var(--radius-md);
  cursor: default;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.cp-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(74, 55, 40, 0.08);
  border-color: rgba(198, 142, 23, 0.2);
}

.cp-detail-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(198, 142, 23, 0.1), rgba(198, 142, 23, 0.04));
  border: 1px solid rgba(198, 142, 23, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-secondary);
  padding: 0.45rem;
}
.cp-detail-icon svg { width: 100%; height: 100%; }

.cp-detail-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.cp-detail-text {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
a.cp-detail-text:hover {
  color: var(--color-secondary);
}

/* Form */
.cp-form-wrap {
  background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-warm) 100%);
  border: 1px solid rgba(229, 224, 216, 0.6);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.cp-form-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: 24px;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.cp-field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.cp-field input,
.cp-field select,
.cp-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.cp-field input::placeholder,
.cp-field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.55;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(198, 142, 23, 0.08);
}

.cp-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A3728' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}

.cp-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* Success State */
.cp-form-success {
  text-align: center;
  padding: 40px 20px;
}
.cp-form-success svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.cp-form-success h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cp-form-success p {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

/* ── Partnership CTA ─── */
.cp-partnership {
  min-height: 45vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

@keyframes partnerZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.cp-partnership-bg {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  background: url('https://customer-assets.emergentagent.com/job_earth-kava-premium/artifacts/bdfqpfhx_demo2.png') center 30%/cover no-repeat;
  z-index: 0;
  animation: partnerZoom 22s ease-out forwards;
  will-change: transform;
}

.cp-partnership-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 15, 5, 0.83) 0%,
    rgba(30, 15, 5, 0.68) 50%,
    rgba(30, 15, 5, 0.83) 100%
  );
  z-index: 1;
}

.cp-partnership-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cp-partnership-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.2;
  margin-bottom: 18px;
}

.cp-partnership-text {
  font-size: var(--fs-body-lg);
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── FAQ ─── */
.cp-faq {
  background: var(--color-bg);
  padding: 88px 0;
}

.cp-faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.cp-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-faq-item {
  background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-warm) 100%);
  border: 1px solid rgba(229, 224, 216, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.cp-faq-item--open {
  border-color: rgba(198, 142, 23, 0.3);
}

.cp-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.cp-faq-trigger:hover {
  color: var(--color-secondary);
}

.cp-faq-trigger svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-secondary);
}

.cp-faq-answer {
  overflow: hidden;
}

.cp-faq-answer p {
  padding: 0 20px 18px;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Final CTA ─── */
.cp-final {
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
}

.cp-final-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-primary-dark) 100%
  );
  z-index: 0;
}

.cp-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  opacity: 0.25;
  z-index: 1;
}

.cp-final-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cp-final-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.2;
  margin-bottom: 18px;
}

.cp-final-text {
  font-size: var(--fs-body-lg);
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.cp-final-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Logo on interior pages ─── */
.logo-img--visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ── Mobile ─── */
@media (max-width: 768px) {
  .cp-hero {
    min-height: 55vh;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 50px;
  }
  .cp-hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }
  .cp-section {
    padding: 60px 0;
  }
  .cp-intro {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .cp-form-section {
    padding: 60px 0;
  }
  .cp-partnership {
    min-height: auto;
    padding: 60px 0;
  }
  .cp-faq {
    padding: 60px 0;
  }
  .cp-final {
    padding: 70px 0;
  }
  .cp-btn {
    padding: 0.8rem 1.4rem;
    font-size: var(--fs-xs);
  }
  .cp-form-wrap {
    padding: 24px 20px;
  }
}
