/* Version 2 — contact. Copy: Crysmed New/Content (page 2: Contact). Built in the version 2 style (pill badge, Inter Tight
   headline with one italic word, version 2 buttons, crysmed.ae home palette): contact card left, enquiry form right. */
.contact2 { padding: var(--sec-y) 15px; background: #f9f9f9; font-family: var(--v2-sans); color: var(--ink-900); }
.contact2__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact2__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: #fff; box-shadow: 0 1px 2px rgba(10,69,80,.06), 0 6px 18px -12px rgba(10,69,80,.3), inset 0 0 0 1px #eef1f1; font-size: 14px; font-weight: 500; line-height: 1; }
.contact2__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-700); }
.contact2__title { margin-top: 20px; font-size: 46px; font-weight: 500; line-height: 1.08; letter-spacing: -.03em; max-width: 18ch; }
.contact2__title em { font-family: var(--v2-serif); font-style: italic; font-weight: 500; color: var(--brand-700); }
.contact2__sub { margin-top: 16px; max-width: 46ch; font-size: 18px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink-500); }

.contact2__grid { display: grid; grid-template-columns: 400px 1fr; gap: 20px; width: min(100%, 1064px); margin: 56px auto 0; }

/* left: speak to our team */
.talk2 { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px; border-radius: 16px; background: var(--brand-900); color: #fff; isolation: isolate; }
.talk2::before { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(35,148,192,.55), rgba(35,148,192,0)); z-index: -1; }
.talk2__mark { position: absolute; right: 24px; bottom: 24px; width: 110px; opacity: .08; z-index: -1; }
.talk2 h3 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.talk2 h3 em { font-family: var(--v2-serif); font-style: italic; font-weight: 500; }
.talk2__list { display: grid; gap: 22px; margin: 32px 0; }
.talk2__item { display: flex; gap: 14px; align-items: flex-start; }
.talk2__ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--gold-500); }
.talk2__ico svg { width: 20px; height: 20px; }
.talk2__k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fd0dc; }
.talk2__v { margin-top: 3px; font-size: 17px; font-weight: 500; color: #fff; text-decoration: none; }
a.talk2__v:hover { text-decoration: underline; text-underline-offset: 3px; }
/* 44px tap area for the email and phone links without changing how they look */
a.talk2__v { display: inline-block; padding: 12px 0; margin: -12px 0; }
.talk2 .b2 { margin-top: auto; align-self: flex-start; }
.b2--wa { background: #25d366; color: #0b2b1a; gap: 8px; }
.b2--wa:hover { background: #1fbb59; }
.b2--wa svg { width: 18px; height: 18px; }

/* right: enquiry form */
.form2 { padding: 32px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #eee; }
.form2 h3 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.form2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form2__f { display: grid; gap: 7px; font-size: 14px; font-weight: 500; }
.form2__f.full { grid-column: 1 / -1; }
.form2__f input, .form2__f select, .form2__f textarea { width: 100%; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 99px; background: #f6f7f7; box-shadow: inset 0 0 0 1px #edf0f0; font: 400 15px/1.3 var(--v2-sans); color: var(--ink-900); transition: box-shadow .25s, background-color .25s; }
.form2__f textarea { min-height: 120px; border-radius: 18px; resize: vertical; }
.form2__f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6b6b6b 50%), linear-gradient(135deg, #6b6b6b 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 17px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form2__f input:focus, .form2__f select:focus, .form2__f textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--brand-700), 0 0 0 4px var(--brand-tint); }
.form2__f input:user-invalid, .form2__f select:user-invalid, .form2__f textarea:user-invalid { box-shadow: inset 0 0 0 1.5px #e5630b; }
.form2__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form2__note { max-width: 36ch; font-size: 13px; line-height: 1.4; color: var(--ink-500); }
.form2 button.b2 { border: 0; }
.form2__done { display: none; padding: 40px 0 20px; }
.form2.is-done .form2__body { display: none; }
.form2.is-done .form2__done { display: block; animation: sIn .7s var(--v2-ease) both; }
.form2__done svg { width: 56px; height: 56px; margin-bottom: 16px; }
.form2__done h3 { margin-bottom: 8px; }
.form2__done p { color: var(--ink-500); max-width: 42ch; }

/* entrances */
.js .contact2 [data-up] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--v2-ease), transform .95s var(--v2-ease); transition-delay: var(--d, 0s); }
.js .contact2.is-in [data-up] { opacity: 1; transform: none; }

@media (max-width: 900px) { .contact2__grid { grid-template-columns: 1fr; } .talk2 .b2 { margin-top: 0; } }
@media (max-width: 600px) {

  .contact2__title { font-size: 34px; }
  .contact2__sub { font-size: 16px; }
  .talk2, .form2 { padding: 24px 20px; }
  .form2__grid { grid-template-columns: 1fr; }
  .form2 button.b2 { width: 100%; }
}
@media (max-width: 400px) { .contact2__title { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .js .contact2 [data-up] { opacity: 1; transform: none; transition: none; } }
