/* /contact page ("ให้เราติดต่อกลับ"). --accent = theme colour, set on <body>. */

.contact-hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.contact-hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, var(--accent) 0%, transparent 55%); opacity: .35; }
.contact-hero .container { position: relative; }
.contact-eyebrow { color: var(--accent); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; font-weight: 400; }
.contact-lead { color: rgba(255,255,255,.75); font-size: 16px; line-height: 28px; max-width: 560px; margin: 0 auto 35px; }
.contact-steps { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; color: #fff; font-weight: 300; }
.contact-steps li { display: flex; align-items: center; gap: 10px; }
.contact-steps span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* theme sets `section { overflow: hidden }`, which would clip the cards pulled up over the hero */
.contact-body { padding: 70px 0 60px; overflow: visible; position: relative; z-index: 1; }

.contact-card { background: #fff; padding: 40px 45px; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.06); margin-top: -130px; position: relative; z-index: 2; }
.contact-hint { font-size: 13px; margin-bottom: 25px; }
.contact-req { color: #e0452b; }
.contact-opt { color: #9a9a9a; font-weight: 300; font-size: 13px; }
.contact-alert { background: #fdecea; color: #b3261e; padding: 12px 18px; border-radius: 4px; margin-bottom: 25px; font-size: 14px; }

.contact-field { margin-bottom: 22px; }
.contact-field label, .contact-field legend { display: block; color: #232323; font-size: 14px; margin-bottom: 8px; font-weight: 400; }
.contact-field fieldset, fieldset.contact-field { border: 0; padding: 0; min-width: 0; }
.contact-field input[type="text"], .contact-field input[type="tel"], .contact-field select, .contact-field textarea { margin: 0; border-radius: 4px; background: #fafafa; transition: border-color .2s, background .2s; }
.contact-field select { height: 45px; padding-top: 0; padding-bottom: 0; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { background: #fff; border-color: var(--accent) !important; }
.contact-field .is-invalid { border-color: #e0452b; background: #fffafa; }
.contact-error { color: #e0452b; font-size: 13px; margin-top: 6px; }

.contact-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px !important; line-height: 22px; color: #6f6f6f !important; cursor: pointer; }
.contact-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }

.contact-submit { width: 100%; border-radius: 4px; font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 16px; padding: 14px 20px; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-done { padding: 30px 0 20px; }
.contact-done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 30px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.contact-done-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.contact-done-actions .btn { border-radius: 4px; font-family: inherit; text-transform: none; letter-spacing: 0; }

.contact-info { margin-top: -130px; position: relative; z-index: 2; }
.contact-quick { display: flex; align-items: center; gap: 18px; background: var(--accent); color: #fff !important; padding: 20px 25px; border-radius: 6px; margin-bottom: 12px; font-size: 22px; font-weight: 500; transition: transform .2s, box-shadow .2s; }
.contact-quick:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.contact-quick i { font-size: 26px; width: 30px; text-align: center; }
.contact-quick small { display: block; font-size: 13px; font-weight: 300; opacity: .85; line-height: 18px; }
.contact-quick-line { background: #06c755; }
.contact-block { background: #fff; padding: 25px; border-radius: 6px; margin-bottom: 12px; }
.contact-block-title { color: #232323; font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.contact-block-title i { color: var(--accent); margin-right: 10px; width: 16px; text-align: center; }
.contact-block ul { list-style: none; padding: 0; margin: 0; }
.contact-block p { margin: 0 0 8px; }
.contact-map-link { color: var(--accent); font-size: 14px; }
.contact-privacy { background: transparent; font-size: 13px; padding: 10px 25px; }
.contact-privacy i { margin-right: 8px; }

@media (max-width: 991px) {
    .contact-hero { padding: 130px 0 110px; }
    .contact-info { margin-top: 0; }
}
@media (max-width: 575px) {
    .contact-hero { padding: 110px 0 100px; }
    .contact-card { padding: 28px 20px; }
    .contact-quick { font-size: 19px; }
}
