/* 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: 156px; /* 20% larger than 130px */
  line-height: 1.08;
  color: #FCFFDB;
  text-transform: uppercase;
  margin: 0;
}

.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);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* HONESTLY!! inline wrapper and wobbly/sparkle styles */
.honestly-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  transform: rotate(-4deg);
  margin-left: 5px;
  padding: 0 10px;
}

.honestly-text {
  font-family: Comedik, Arial, sans-serif;
  font-size: 58px; /* Bigger, matching figma and user request */
  color: #FF6316;
  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: #FF6316;
  width: 2.5px;
  height: 10px;
  border-radius: 1px;
}

.sparkle-line.sp-1 {
  top: -12px;
  right: 15px;
  transform: rotate(15deg);
}

.sparkle-line.sp-2 {
  top: -6px;
  right: -5px;
  transform: rotate(45deg);
}

.sparkle-line.sp-3 {
  top: 50%;
  right: -14px;
  transform: translateY(-50%) rotate(90deg);
}

.sparkle-line.sp-4 {
  bottom: -6px;
  right: -5px;
  transform: rotate(135deg);
}

.sparkle-line.sp-5 {
  bottom: -12px;
  right: 15px;
  transform: rotate(165deg);
}

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

/* Description row — below hero grid, aligned to right half to match Figma */
.contact-description-row {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin-top: 3em;
  margin-left: auto;
  max-width: 750px;
  width: 55%;
}

.contact-description {
  font-family: 'Object Sans', Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #FCFFDB;
  margin: 0;
}

/* Middle Row */
.contact-middle-row {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Center the group in the section */
  align-items: center;
  margin-top: 4em;
  margin-bottom: 4em;
  padding-bottom: 2em;
  border-bottom: 1.5px dashed rgba(255, 99, 22, 0.3);
  gap: 5em; /* Clean noticeable gap between text and SVG */
}

.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%;
}

.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 */
.contact-form-footer {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4em;
  margin-top: 2em;
  border-top: 1.5px dashed rgba(255, 99, 22, 0.3);
  padding-top: 3em;
  padding-left: 20px;
  padding-right: 20px;
}

.contact-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-bottom-email-block {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
  align-self: center;
  margin-top: 4em;
}

.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: 40px;
  font-weight: 400;
  color: #FF6316;
  text-decoration: none;
  margin: 0;
  line-height: 1.1;
}

.contact-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  overflow: hidden;
}

/* 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: 30px;
  line-height: 1.25;
  color: #FF6316;
  max-width: 700px;
  margin: 0;
  margin-top: 1.5em;
  text-transform: uppercase;
  text-align: start;
}

/* 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: 108px;
  }
  .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-form-footer {
    grid-template-columns: 1fr;
    gap: 3em;
  }
  .contact-bottom-email-block {
    margin-top: 2em;
    align-self: 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-row {
    flex-direction: column;
    gap: 3.5em;
  }
  .contact-hero-right {
    justify-content: flex-start;
  }
  .contact-headphones-img {
    width: 110px;
  }
  .contact-main-heading {
    font-size: 78px;
  }
  .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: 2em;
  }
  .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;
  }
}
