/* Contact Page Inline CSS */

.contact-hero-section {
  padding: 8em 4em 6em 4em;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Viewport-height wrapper: gives ScrollIndicator (position:absolute; top:54%)
   a bounded 100vh parent so it appears in the visible screen on page load */
.contact-hero-viewport {
  position: relative;
  /* min-height: 100vh; */
}


/* Top Header */
.contact-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 2em;
}

.contact-stamp-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-stamp-text {
  font-family: Comedik, Arial, sans-serif;
  font-size: 40px;
  line-height: 0.81;
  color: #748370;
  text-transform: uppercase;
}

.contact-stamp-icon {
  width: 50px;
  height: 56px;
  object-fit: contain;
}

/* Contact Hero Grid */
.contact-hero-grid {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.5em; /* Keep text and SVG close */
  margin-top: 1em;
}

.contact-hero-left {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-main-heading {
  font-family: 'Schabo Condensed', Arial, sans-serif;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  color: #FCFFDB;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.contact-subheading {
  font-family: Comedik, Arial, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  color: #FF6316;
  text-transform: uppercase;
  margin: 0;
  text-shadow: -1px 2px 1px rgba(0, 0, 0, 0.66);
}

.contact-convo-flex {
  display: flex;
  align-items: flex-end;
  gap: 1.2em;
  flex-wrap: wrap;
  margin-top: 1.2em;
}

.contact-convo-subheading {
  font-family: Comedik, Arial, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  color: #FF6316;
  text-transform: uppercase;
  margin: 0;
  text-shadow: -1px 2px 1px rgba(0, 0, 0, 0.66);
}

/* LETS HAVE ONE badge inline wrapper and wobbly/sparkle styles */
.honestly-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  transform: rotate(-6deg);
  margin-left: 5px;
  padding: 0 5px;
}

.honestly-text {
  font-family: Comedik, Arial, sans-serif;
  font-size: 68px;
  color: #E2F533; /* Lime green matching screenshot */
  text-transform: uppercase;
  line-height: 1em;
  text-shadow: -1px 2px 1px rgba(0, 0, 0, 0.66);
  display: block;
}

.honestly-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hand-drawn look radiating line segments around the text */
.sparkle-line {
  position: absolute;
  background-color: #E2F533; /* Lime green sparkles */
  width: 3.5px;
  height: 14px;
  border-radius: 2px;
}

.sparkle-line.sp-1 {
  top: -16px;
  right: 28px;
  transform: rotate(-10deg);
}

.sparkle-line.sp-2 {
  top: -12px;
  right: 10px;
  transform: rotate(25deg);
}

.sparkle-line.sp-3 {
  top: 8px;
  right: -8px;
  transform: rotate(65deg);
}

.contact-headphones-img {
  width: 176px;
  height: auto;
  flex-shrink: 0;
}

/* Description row & Middle row hidden across all screens */
.contact-description-row,
.contact-middle-row {
  display: none !important;
}

.contact-middle-heading {
  font-family: Comedik, Arial, sans-serif;
  font-size: 56px; /* 20% larger, matching design */
  line-height: 1.08;
  color: #FF6316;
  text-transform: uppercase;
  margin: 0;
  text-align: right; /* Right align the text lines */
}

.contact-walkie-talkie-img {
  width: 175px;
  height: auto;
  flex-shrink: 0;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 3.5em;
  width: 100%;
  margin-top: clamp(4em, 8vw, 7.5em) !important;
}

.contact-form-row {
  display: flex;
  flex-direction: row;
  gap: 3em;
}

.contact-field-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.5);
  padding-bottom: 8px;
  transition: border-bottom-color var(--animation-primary);
}

.contact-field-container.half-width {
  flex: 1;
}

.contact-field-container:focus-within {
  border-bottom-color: #E2F533;
}

.contact-field-label {
  font-family: Comedik, Arial, sans-serif;
  font-size: 30px;
  color: #EEE0C6;
  margin-right: 15px;
  white-space: nowrap;
}

.contact-field-input {
  background: transparent;
  border: none;
  font-family: 'Object Sans', Arial, sans-serif;
  font-size: 24px;
  color: #FCFFDB;
  outline: none;
  flex: 1;
  padding: 0;
}

.contact-field-placeholder {
  font-family: Comedik, Arial, sans-serif;
  font-size: 24px;
  color: rgba(238, 224, 198, 0.3);
  white-space: nowrap;
  pointer-events: none;
  flex-shrink: 0;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #EEE0C6;
  border-bottom: 2px solid #EEE0C6;
  transform: rotate(45deg);
  margin-bottom: 8px;
  margin-right: 8px;
  pointer-events: none;
  flex-shrink: 0;
}

/* Checkbox Style */
.contact-checkbox-label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Object Sans', Arial, sans-serif;
  font-size: 26px;
  color: rgba(238, 224, 198, 0.78);
  cursor: pointer;
  user-select: none;
}

.contact-checkbox-input {
  display: none;
}

.contact-checkbox-custom {
  width: 26px;
  height: 26px;
  border: 2px solid #EEE0C6;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s, border-color 0.2s;
  background-color: transparent;
}

.contact-checkbox-input:checked + .contact-checkbox-custom {
  background-color: transparent;
  border-color: #EEE0C6;
}

.contact-checkbox-custom::after {
  content: '';
  width: 7px;
  height: 14px;
  border: solid #FF6316;
  border-width: 0 3px 3px 0;
  transform: rotate(40deg) translate(-1px, -2px);
  display: none;
}

.contact-checkbox-input:checked + .contact-checkbox-custom::after {
  display: block;
}

/* Form Footer Grid Layout */
/* Form Footer Layout */
.contact-form-footer {
  display: flex;
  flex-direction: column;
  gap: 3.5em;
  margin-top: 2em;
  padding-top: 3em;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.contact-footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 2em;
}

.contact-bottom-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2.5em;
  margin-top: 1em;
}

.contact-bottom-email-block {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  align-items: center;
  text-align: center;
}

.contact-email-label {
  font-family: Comedik, Arial, sans-serif;
  font-size: 22px;
  color: #FF6316;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.contact-email-value {
  font-family: 'Object Sans', Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #FF6316;
  text-decoration: none;
  margin: 0;
  line-height: 1.1;
}

.contact-bottom-headphones-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-bottom-headphones-img {
  width: 143px;
  height: auto;
  flex-shrink: 0;
  animation: headphonesJumpZoom 4.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes headphonesJumpZoom {
  0% {
    transform: translateY(0) scale(1);
  }
  15% {
    transform: translateY(-16px) scale(1.12);
  }
  30% {
    transform: translateY(0) scale(1);
  }
  38% {
    transform: translateY(-4px) scale(1.03);
  }
  45%, 100% {
    transform: translateY(0) scale(1);
  }
}

.contact-burst-line {
  transition: opacity 0.3s ease, fill 0.3s ease, filter 0.3s ease;
}

.contact-burst-line-1 {
  opacity: 0.5;
  fill: #8D3D07;
  animation: burstBlink1 4.5s infinite ease-in-out;
}

.contact-burst-line-2 {
  opacity: 0.4;
  fill: #74300A;
  animation: burstBlink2 4.5s infinite ease-in-out;
}

.contact-burst-line-3 {
  opacity: 0.3;
  fill: #502005;
  animation: burstBlink3 4.5s infinite ease-in-out;
}

/* Wobbly Submit Button Styles */
.contact-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.2s ease;
  max-width: 100%;
}

.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.contact-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-submit-btn-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.contact-submit-btn-bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.contact-submit-btn-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px 16px 28px;
}

.contact-submit-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #552200;
  transform: rotate(-45deg); /* Tilted top-right like screenshot */
}

.contact-submit-btn-text {
  font-family: Comedik, Arial, sans-serif;
  font-size: 24px;
  color: #552200;
  text-transform: uppercase;
  margin: 0;
}

.contact-bottom-microcopy {
  font-family: Comedik, Arial, sans-serif;
  font-size: 26px;
  line-height: 1.2;
  color: #FF6316;
  max-width: 380px;
  margin: 0;
  text-transform: uppercase;
  text-align: left;
}

/* Submit status banner */
.contact-form-status {
  padding: 15px;
  border-radius: 12px;
  font-family: 'Object Sans', Arial, sans-serif;
  font-size: 18px;
  margin-top: 1em;
}
.contact-form-status.success {
  background-color: rgba(226, 245, 51, 0.2);
  color: #E2F533;
  border: 1px solid #E2F533;
}
.contact-form-status.error {
  background-color: rgba(255, 99, 22, 0.2);
  color: #FF6316;
  border: 1px solid #FF6316;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .contact-hero-section {
    padding: 6em 2em 4em 2em;
  }
  .contact-hero-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2em;
  }
  .contact-main-heading {
    font-size: 32px;
    white-space: normal;
  }
  .contact-subheading {
    font-size: 32px;
  }
  .honestly-text {
    font-size: 42px;
  }
  .contact-description-row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .contact-middle-heading {
    font-size: 35px;
  }
  .contact-bottom-info-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2em;
  }
  .contact-bottom-microcopy {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .contact-hero-section {
    padding: 5em 1.5em 3em 1.5em;
  }
  .contact-top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75em;
    margin-bottom: 1.25em;
  }
  .contact-stamp-text {
    font-size: 26px;
  }
  .contact-stamp-icon {
    width: 34px;
    height: 38px;
  }
  .contact-form {
    gap: 1rem !important;
  }
  .contact-form-row {
    flex-direction: column;
    gap: 1rem !important;
  }
  .contact-hero-right {
    justify-content: flex-start;
  }
  .contact-headphones-img {
    width: 88px;
  }
  .contact-main-heading {
    font-size: 26px;
    white-space: normal;
  }
  .contact-middle-row {
    flex-direction: column;
    gap: 2em;
    align-items: flex-start;
  }
  .contact-walkie-talkie-img {
    width: 90px;
  }
  .contact-description-row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 2em;
    gap: 1em;
  }
  .contact-description {
    font-size: 15px;
    line-height: 1.55;
  }
  .contact-form-footer {
    grid-template-columns: 1fr;
    gap: 2.5em;
    padding-top: 0em;
  }
  .contact-footer-left, .contact-footer-right {
    width: 100%;
    align-items: stretch;
  }
  .contact-bottom-email-block {
    margin-top: 2.5em;
    align-self: center;
  }
  .contact-email-value {
    font-size: 28px;
  }
  .contact-submit-btn {
    width: 100%;
  }
  .contact-submit-btn-content {
    width: 100%;
    justify-content: center;
  }
  .contact-bottom-microcopy {
    font-size: 24px;
    max-width: 100%;
    margin-top: 1em;
    text-align: start;
  }
  .contact-field-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4em;
    padding-bottom: 12px;
  }
  .contact-field-label {
    font-size: 20px;
    margin-right: 0;
  }
  .contact-checkbox-label {
    font-size: 16px;
    gap: 10px;
  }
  .contact-checkbox-custom {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .contact-field-input {
    font-size: 18px;
    width: 100%;
  }
  .contact-field-placeholder {
    font-size: 14px;
    margin-left: 0;
    align-self: flex-start;
    opacity: 0.5;
  }
  .dropdown-arrow {
    position: absolute;
    right: 5px;
    bottom: 15px;
  }
}
