/* Contact Us, from the "Contact Us · Desktop" / "· Phone" boards.
   Loads after home.css and clinical-studies.css (hero layout). */

/* ---------- Left column ---------- */

body .ivu-hero h1 { font-size: 64px; line-height: 1.02; }
body .ivu-hero .ivu-lead { margin-top: 22px; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--iv-slate); }
body .ivu-hero .ivu-h3 { margin: 40px 0 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: normal; color: var(--iv-navy); }
body .ivu-tiles { display: grid; gap: 12px; margin-top: 18px; max-width: 520px; }
body .ivu-hero .ivu-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--iv-white); border: 1px solid var(--iv-line); color: var(--iv-slate); transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1); }
body .ivu-hero a.ivu-tile:hover { border-color: var(--iv-line-2); box-shadow: 0 22px 44px -30px rgba(0, 64, 110, .5); transform: translateY(-2px); color: var(--iv-slate); }
body .ivu-hero .ivu-tile-link { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--iv-slate); }
body .ivu-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--iv-tint); color: var(--iv-navy); display: flex; align-items: center; justify-content: center; transition: background .3s ease, color .3s ease; }
body .ivu-hero a.ivu-tile:hover .ivu-ic, body .ivu-hero .ivu-tile-link:hover .ivu-ic { background: var(--iv-navy); color: var(--iv-white); }
body .ivu-k { display: block; font-size: 13px; line-height: 1.4; color: var(--iv-text); }
body .ivu-v { display: block; margin-top: 2px; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--iv-navy); overflow-wrap: anywhere; }
body .ivu-v--addr { font-size: 15px; font-weight: 500; line-height: 1.5; }
body .ivu-hero .ivu-cp,
body .ivu-hero .ivu-cp:focus {
	margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px;
	border: 1px solid var(--iv-line); background: var(--iv-white); color: var(--iv-navy); font: 500 13px var(--iv-font);
	text-transform: none; letter-spacing: normal; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
body .ivu-hero .ivu-cp:hover { background: var(--iv-tint); border-color: var(--iv-line-2); color: var(--iv-navy); }

/* ---------- Form card ---------- */

body .ivu-card { position: relative; padding: 36px; border-radius: 28px; background: var(--iv-white); border: 1px solid var(--iv-line); box-shadow: 0 50px 90px -60px rgba(0, 64, 110, .55); scroll-margin-top: 110px; }
body .ivu-hero .ivu-card h2 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--iv-navy); }
body .ivu-form { margin-top: 24px; min-height: 520px; }

/* HubSpot's developer embed reads these variables; set them for this form only. */
body .ivu-form {
	--hsf-default-row__horizontal-spacing: 14px;
	--hsf-default-row__vertical-spacing: 16px;
	--hsf-default-module__vertical-spacing: 7px;
	--hsf-default-background__padding: 0;
	--hsf-default-background__background-color: transparent;
	--hsf-default-field-label__font-family: var(--iv-font);
	--hsf-default-field-label__font-size: 14px;
	--hsf-default-field-label__color: #203247;
	--hsf-default-field-description__font-family: var(--iv-font);
	--hsf-default-field-description__color: #4D4D4D;
	--hsf-default-field-input__font-family: var(--iv-font);
	--hsf-default-field-input__font-size: 15px;
	--hsf-default-field-input__color: #203247;
	--hsf-default-field-input__background-color: #F6FAFD;
	--hsf-default-field-input__placeholder-color: #7A8796;
	--hsf-default-field-input__border-color: #CEE6F8;
	--hsf-default-field-input__border-width: 1px;
	--hsf-default-field-input__border-style: solid;
	--hsf-default-field-input__border-radius: 12px;
	--hsf-default-field-input__padding: 0 14px;
	--hsf-default-field-textarea__font-family: var(--iv-font);
	--hsf-default-field-textarea__font-size: 15px;
	--hsf-default-field-textarea__color: #203247;
	--hsf-default-field-textarea__background-color: #F6FAFD;
	--hsf-default-field-textarea__border-color: #CEE6F8;
	--hsf-default-field-textarea__border-width: 1px;
	--hsf-default-field-textarea__border-style: solid;
	--hsf-default-field-textarea__border-radius: 12px;
	--hsf-default-field-textarea__padding: 12px 14px;
	--hsf-default-field-dropdown-options__border-radius: 12px;
	--hsf-default-erroralert__font-family: var(--iv-font);
	--hsf-default-erroralert__font-size: 12.5px;
	--hsf-default-erroralert__color: #C8372D;
	--hsf-default-infoalert__font-family: var(--iv-font);
	--hsf-default-richtext__font-family: var(--iv-font);
	--hsf-default-richtext__color: #203247;
	--hsf-default-heading__font-family: var(--iv-font);
	--hsf-default-heading__color: #00406E;
	--hsf-default-button__font-family: var(--iv-font);
	--hsf-default-button__font-size: 16px;
	--hsf-default-button__font-weight: 600;
	--hsf-default-button__color: #FFFFFF;
	--hsf-default-button__background-color: #00406E;
	--hsf-default-button--hover__background-color: #0A5A96;
	--hsf-default-button__border-radius: 16px;
	--hsf-default-button__padding: 0 24px;
	--hsf-default-navigationrow-buttons-single__justify-content: stretch;
}
body .ivu-form .hsfc-FieldLabel { font-weight: 500; }
body .ivu-form .hsfc-FieldLabel__RequiredIndicator { color: #C8372D; }
body .ivu-form :is(.hsfc-TextInput, .hsfc-PhoneInput, .hsfc-DropdownInput .hsfc-TextInput) { min-height: 50px; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
body .ivu-form .hsfc-TextareaInput { min-height: 120px; line-height: 1.55; resize: vertical; }
body .ivu-form :is(.hsfc-TextInput, .hsfc-TextareaInput):hover { border-color: #BDDEF5; }
body .ivu-form :is(.hsfc-TextInput, .hsfc-TextareaInput):focus { outline: none; border-color: #00406E; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(37, 173, 227, .18); }
body .ivu-form .hsfc-DropdownOptions { background: #FFFFFF; border: 1px solid #CEE6F8; border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(32, 50, 71, .28); overflow: hidden; }
body .ivu-form .hsfc-DropdownOptions__List__ListItem { font-family: var(--iv-font); font-size: 14px; color: #203247; }
body .ivu-form .hsfc-DropdownOptions__List__ListItem:hover, body .ivu-form .hsfc-DropdownOptions__List__ListItem--selected { background: #EEF6FC; color: #00406E; }
body .ivu-form .hsfc-NavigationRow { margin-top: 24px; }
body .ivu-form .hsfc-NavigationRow__Buttons { display: block; }
body .ivu-form .hsfc-Button {
	width: 100%; min-height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	letter-spacing: normal; text-transform: none; cursor: pointer;
	transition: background .2s ease, transform .2s var(--iv-ease), box-shadow .2s ease;
}
body .ivu-form .hsfc-Button::after {
	content: ""; width: 32px; height: 32px; border-radius: 10px; flex: none;
	background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .25s ease;
}
body .ivu-form .hsfc-Button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(0, 64, 110, .55); }
body .ivu-form .hsfc-Button:hover::after { transform: translateX(4px); }
body .ivu-form .hsfc-Button:focus-visible { outline: 3px solid var(--iv-accent); outline-offset: 3px; }

/* Space below the hero before the footer (the board's 48px gap). */
body .ivu-gap { height: 48px; }

/* ---------- Phone ---------- */

@media (max-width: 640px) {
	body .ivu-hero h1 { font-size: 44px; }
	body .ivu-card { padding: 24px 18px; }
	body .ivu-hero .ivu-tile { padding: 14px 16px; }
	body .ivu-v { font-size: 15px; }
	body .ivu-form .hsfc-Row { flex-direction: column; }
}
