/* Home page contact section — mobile premium UI only */
@media (max-width: 768px) {
  .page #contact.assist-section {
    padding: 28px 14px 36px;
    background: #f4f8fc;
  }

  .page #contact .assist-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .page #contact .assist-map,
  .page #contact .assist-info {
    display: none !important;
  }

  .page #contact .assist-grid {
    display: block;
    padding: 0;
    gap: 0;
  }

  .page #contact .home-contact-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px 18px;
    border: 1px solid #e8eef5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    overflow: visible;
  }

  .page #contact .message-heading {
    display: none;
  }

  .page #contact .contact-mobile-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  .page #contact .contact-mobile-hero-text {
    flex: 1;
    min-width: 0;
  }

  .page #contact .contact-mobile-hero-text h2 {
    margin: 0 0 8px;
    font-family: "Sora", sans-serif;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
    font-weight: 800;
    color: #0b2550;
    letter-spacing: -0.02em;
  }

  .page #contact .contact-mobile-hero-text h2 span {
    color: #2563eb;
  }

  .page #contact .contact-mobile-hero-text p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
  }

  .page #contact .contact-mobile-hero-art {
    position: relative;
    width: 88px;
    height: 72px;
    flex-shrink: 0;
  }

  .page #contact .contact-mobile-envelope {
    position: absolute;
    right: 0;
    top: 8px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    color: #2563eb;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
  }

  .page #contact .contact-mobile-plane {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    transform: rotate(-18deg);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
  }

  .page #contact .contact-mobile-divider {
    height: 28px;
    margin: 0 0 16px;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 28' preserveAspectRatio='none'%3E%3Cpath d='M0 14 Q40 0 80 14 T160 14 T240 14 T320 14 V28 H0Z' fill='%23eff6ff'/%3E%3C/svg%3E")
      center / 100% 100% no-repeat;
  }

  .page #contact .form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
  }

  .page #contact .home-contact-form .contact-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    margin: 0 0 12px;
    padding: 0 14px 0 10px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
  }

  .page #contact .home-contact-form .contact-field i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 17px;
    margin: 0;
  }

  .page #contact .contact-field-name i {
    background: #eff6ff;
    color: #2563eb;
  }

  .page #contact .contact-field-phone i {
    background: #eff6ff;
    color: #2563eb;
  }

  .page #contact .contact-field-pickup i {
    background: #ecfdf5;
    color: #059669;
  }

  .page #contact .contact-field-drop i {
    background: #fff7ed;
    color: #ea580c;
  }

  .page #contact .contact-field-service i {
    background: #f5f3ff;
    color: #7c3aed;
  }

  .page #contact .contact-field-datetime i {
    background: #fdf2f8;
    color: #db2777;
  }

  .page #contact .contact-field-message i {
    background: #eff6ff;
    color: #2563eb;
  }

  .page #contact .home-contact-form .contact-field input,
  .page #contact .home-contact-form .contact-field select,
  .page #contact .home-contact-form .contact-field textarea {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    box-shadow: none;
  }

  .page #contact .home-contact-form .contact-field input::placeholder,
  .page #contact .home-contact-form .contact-field textarea::placeholder {
    color: #94a3b8;
  }

  .page #contact .home-contact-form .contact-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 24px;
  }

  /* Custom mobile select — keep list inside the contact card */
  .page #contact .home-contact-form .contact-field.has-mobile-select {
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  .page #contact .home-contact-form .contact-field.is-select-open {
    z-index: 40;
  }

  .page #contact .home-contact-form .contact-field.mobile-custom-select .mobile-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .page #contact .home-contact-form .mobile-select-trigger {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 24px 0 0;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page #contact .home-contact-form .mobile-select-trigger.is-placeholder {
    color: #94a3b8;
  }

  .page #contact .home-contact-form .mobile-select-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 50;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    max-height: min(220px, 42vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .page #contact .home-contact-form .mobile-select-option {
    padding: 12px 14px;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
  }

  .page #contact .home-contact-form .mobile-select-option.is-selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
  }

  .page #contact .home-contact-form .mobile-select-option:active {
    background: #dbeafe;
  }

  .page #contact .contact-field-service::after,
  .page #contact .contact-field-datetime::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
  }

  .page #contact .contact-field-service::after {
    content: "\f078";
  }

  .page #contact .contact-field-datetime::after {
    content: "\f073";
  }

  .page #contact .home-contact-form .contact-field.message-field {
    align-items: flex-start;
    min-height: 110px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .page #contact .home-contact-form .contact-field.message-field i {
    margin-top: 4px;
  }

  .page #contact .home-contact-form .contact-field textarea {
    min-height: 88px;
    resize: vertical;
    padding-top: 10px;
  }

  .page #contact .home-contact-form button[type="submit"] {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  }

  .page #contact .contact-submit-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #2563eb;
    font-size: 14px;
    flex-shrink: 0;
  }

  .page #contact .home-contact-form button[type="submit"] > span:last-child {
    flex: 0 1 auto;
  }

  .page #contact .contact-mobile-safety {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
  }

  .page #contact .contact-mobile-safety i {
    color: #2563eb;
    font-size: 14px;
  }
}

@media (min-width: 769px) {
  .page #contact .contact-mobile-hero,
  .page #contact .contact-mobile-divider,
  .page #contact .contact-mobile-safety {
    display: none;
  }

  .page #contact .contact-submit-icon {
    display: none;
  }

  .page #contact .home-contact-form .contact-submit-label::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f1d8";
    margin-right: 8px;
  }
}
