/* Contact Page Styles */
.contact-page {
  background: var(--background-default-inverted-primary);
}

.contact-page .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-grid {
  display: flex;
  padding: 64px 0 108px 0;
  align-items: center;
  justify-content: space-around;
  gap: 126px;
}

.contact-follow-section {
  background: #000000;
  padding-top: 40px;
}

form .col p {
  flex-direction: column;
  display: flex;
  gap: 8px;
}

form label {
  color: var(--text-default-inverted-secondary);
  line-height: 20px;
  font-size: 14px;
}

form input {
  background: var(--background-default-inverted-secondary);
}

.cta-section {
  /* background: linear-gradient(to top,
      var(--background-default-brand-dark) 0%,
      var(--background-default-brand-dark) 50%,
      #000 50%,
      #000 100%) !important; */
}

.featured-location-content .btn svg {
  margin-left: 0px;
  transform: rotate(-45deg) translateY(3.5px);
}

.featured-location-content .btn {
  width: fit-content;
}

.contact-follow-section .container {
  background: var(--background-default-brand-light);
  padding: 60px 40px !important;
}

/* Left Column - Image */
.contact-image {
  position: relative;
  width: 532px;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Column - Form Section */
.contact-form-section {
  max-width: 642px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-section p {
  margin: 0;
}

.contact-header h1 {
  font-size: 72px;
  font-weight: 550;
  color: #ffffff;
  font-family: var(--font-family-title);
  margin: 0 0 16px 0;
}

.contact-header h1 .highlight {
  color: #d4af37;
}

.contact-description {
  font-size: 18px;
  color: var(--text-default-inverted-secondary);
  margin: 0;
}

/* Contact Form 7 Styling */
.contact-form {}

.contact-form .wpcf7-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="select"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--background-default-inverted-secondary);
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
  color: #666666;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999999' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
  cursor: pointer;
}

.contact-form select option {
  background: #0a0a0a;
  color: #ffffff;
  padding: 12px;
}

.contact-form textarea {
  height: 72px;
  resize: vertical;
  line-height: 1.6;
}

/* Character Counter Styling */
.contact-form .wpcf7-form-control-wrap {
  position: relative;
}

.contact-form .char-count-wrapper {
  position: relative;
}

.contact-form .char-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 12px;
  color: #666666;
  pointer-events: none;
  z-index: 1;
}

.contact-form .char-count-warning {
  color: #d4af37;
}

/* Form Grid Layout */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.contact-form .form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Submit Button */
.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  border-radius: 4px;
  padding: 12px 40px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  font-family: var(--font-family-title);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.48px;
  font-weight: 550;
  text-transform: uppercase;
  background: #F8F7FA;
  color: var(--background-brand-primary-default);
  cursor: pointer;
  border: 0;
  margin-top: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {}

.wpcf7 form.sent .wpcf7-response-output {
  border: 0;
  color: white;
  text-align: center;
}

/* Character Counter */
.contact-form .wpcf7-character-count {
  display: block;
  text-align: right;
  font-size: 14px;
  color: #666666;
  margin-top: 4px;
}

/* Form Validation */
.contact-form .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 4px;
}

.contact-form .wpcf7-not-valid {
  border-color: #ff6b6b !important;
}

.contact-form .wpcf7-response-output {
  margin: 10px 0 6px !important;
  padding: 0 !important;
  border-radius: 4px;
  font-size: 14px !important;
  text-align: center;
  border: 0 !important;
  color: white !important;
  line-height: 20px !important;
}

/* Contact Info Section */
.contact-info {}

.contact-divider {
  text-align: center;
  position: relative;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 30px);
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.contact-divider::before {
  left: 0;
}

.contact-divider::after {
  right: 0;
}

.contact-divider span {
  display: inline-block;
  padding: 0 20px;
  color: #716E7A;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-methods {
  display: flex;
  gap: 32px;
  align-items: center;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-method a {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-default-inverted);
}

.contact-method a:hover {
  color: #d4af37;
}

.contact-hours {
  color: var(--text-default-inverted-tertiary);
  font-size: 12px;
  font-weight: 400;
}

@media (max-width: 1040px) {
  .contact-page {
    padding: 0;
  }

  .contact-image {
    width: 100%;
  }

  .contact-grid {
    padding: 52px 0;
    gap: 40px;
    flex-direction: column-reverse;
  }

  .contact-header {
    margin-bottom: 12px;
  }

  .contact-header h1 {
    font-size: 54px;
    line-height: 60px;
    margin-bottom: 12px;
  }

  .contact-form input[type="submit"],
  .contact-form button[type="submit"] {
    margin-top: 0;
  }

  .contact-method a {
    font-size: 14px;
    line-height: 20px;
  }

  .contact-methods {
    gap: 36px;
  }

  .contact-description {
    font-size: 15px;
    line-height: 20px;
  }

  .contact-form-section {
    gap: 28px;
    max-width: unset;
  }
}

@media (max-width: 640px) {
  .contact-page .container {
    padding: 20px;
  }

  .contact-form .wpcf7-response-output {
    margin-top: 0 !important;
  }

  .contact-image {
    width: 100%;
    height: 376px;
  }

  .contact-grid {
    gap: 36px;
    padding-top: 20px;
  }

  form label {
    font-size: 14px;
  }

  .contact-form .form-row-half {
    flex-direction: column;
    display: flex;
  }

  .contact-form input[type="submit"],
  .contact-form button[type="submit"] {
    width: 100%;
  }

  .contact-header h1 {
    font-size: 46px;
    line-height: 52px;
    margin-bottom: 8px;
  }

  .contact-description {
    font-size: 15px;
    line-height: 20px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-section {
    gap: 24px;
  }

  .contact-methods {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    padding: 12px 16px;
    font-size: 16px;
  }

  .contact-form input[type="submit"],
  .contact-form button[type="submit"] {
    padding: 14px 24px;
    font-size: 16px;
  }
}

/* Follow Section */
.contact-follow-section {
  background: var(--background-default-brand);
  padding: 60px 0;
}

.contact-follow-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.follow-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.follow-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

.follow-content h2 .highlight {
  color: #d4af37;
}

.follow-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.follow-description {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

/* Responsive - Follow Section */
@media screen and (max-width: 1000px) {
  .follow-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .follow-content h2 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .contact-follow-section {
    padding: 40px 0;
  }

  .contact-follow-section .container {
    padding: 0 20px;
  }

  .follow-content h2 {
    font-size: 32px;
  }

  .follow-description {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .follow-content h2 {
    font-size: 28px;
  }

  .social-icon {
    width: 44px;
    height: 44px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}