/* ==========================================================================
   Contact & Thank You Pages Styles — Goodtop
   Tokens reference assets/css/tokens.css
   ========================================================================== */

main.gt-contact-page,
main.gt-thankyou-page {
	max-width: none;
	padding: 0;
	background: var(--gt-surface);
	min-height: 80vh;
}

/* --------------------------------------------------------------------------
   Common Components & Buttons
   -------------------------------------------------------------------------- */
.gt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--gt-space-2);
	padding: 12px 28px;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--gt-radius-card);
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: var(--gt-transition);
}

.gt-btn--primary {
	background: var(--gt-navy);
	color: var(--gt-white);
}

.gt-btn--primary:hover {
	background: var(--gt-blue);
	box-shadow: 0 4px 14px rgba(30, 111, 217, 0.35);
}

.gt-btn--secondary {
	background: var(--gt-white);
	color: var(--gt-navy);
	border-color: var(--gt-border);
}

.gt-btn--secondary:hover {
	border-color: var(--gt-navy);
}

.gt-badge {
	display: inline-block;
	padding: 4px 14px;
	background: rgba(30, 111, 217, 0.08);
	color: var(--gt-blue);
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 9999px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: var(--gt-space-3);
}

/* --------------------------------------------------------------------------
   Contact Page Hero & Layout
   -------------------------------------------------------------------------- */
.gt-contact-hero {
	background: var(--gt-navy);
	color: var(--gt-white);
	padding-block: clamp(48px, 6vw, 80px);
}

.gt-contact-hero__content {
	max-width: 760px;
}

.gt-contact-title {
	font-size: clamp(2rem, 3.5vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 var(--gt-space-4);
	color: var(--gt-white);
}

.gt-contact-desc {
	font-size: 1.125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.gt-contact-main {
	padding-block: clamp(40px, 5vw, 70px);
}

.gt-contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

@media (max-width: 900px) {
	.gt-contact-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Form Card
   -------------------------------------------------------------------------- */
.gt-card {
	background: var(--gt-white);
	border-radius: var(--gt-radius-card);
	box-shadow: var(--gt-shadow-soft);
	border: 1px solid var(--gt-border);
}

.gt-form-card {
	padding: clamp(24px, 4vw, 44px);
}

.gt-form-title {
	font-size: 1.625rem;
	font-weight: 700;
	color: var(--gt-navy);
	margin: 0 0 var(--gt-space-2);
}

.gt-form-subtitle {
	font-size: 0.9375rem;
	color: var(--gt-muted);
	margin: 0 0 var(--gt-space-6);
}

.gt-form {
	display: flex;
	flex-direction: column;
	gap: var(--gt-space-4);
}

.gt-form-row--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gt-space-4);
}

@media (max-width: 600px) {
	.gt-form-row--2col {
		grid-template-columns: 1fr;
	}
}

.gt-form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gt-form-field label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gt-ink);
}

.gt-form-field .required {
	color: #e53e3e;
}

.gt-form-field input,
.gt-form-field select,
.gt-form-field textarea {
	width: 100%;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 0.9375rem;
	color: var(--gt-text);
	background: var(--gt-white);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-input);
	box-sizing: border-box;
	transition: var(--gt-transition);
}

.gt-form-field input:focus,
.gt-form-field select:focus,
.gt-form-field textarea:focus {
	outline: none;
	border-color: var(--gt-blue);
	box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15);
}

.gt-form-actions {
	margin-top: var(--gt-space-3);
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

.gt-form-note {
	font-size: 0.8125rem;
	color: var(--gt-subtle);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Info Sidebar
   -------------------------------------------------------------------------- */
.gt-info-col {
	display: flex;
	flex-direction: column;
	gap: var(--gt-space-6);
}

.gt-info-card,
.gt-commit-card {
	padding: clamp(24px, 3vw, 36px);
}

.gt-info-heading,
.gt-commit-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--gt-navy);
	margin: 0 0 var(--gt-space-4);
	position: relative;
	padding-bottom: var(--gt-space-2);
	border-bottom: 2px solid var(--gt-surface);
}

.gt-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--gt-space-4);
}

.gt-info-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.gt-info-icon {
	width: 40px;
	height: 40px;
	background: rgba(30, 111, 217, 0.08);
	color: var(--gt-blue);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gt-info-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--gt-muted);
	letter-spacing: 0.04em;
	margin-bottom: 2px;
}

.gt-info-val {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--gt-navy);
	line-height: 1.4;
	text-decoration: none;
}

a.gt-info-val:hover {
	color: var(--gt-blue);
	text-decoration: underline;
}

.gt-commit-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gt-commit-list li {
	font-size: 0.875rem;
	color: var(--gt-text);
	line-height: 1.5;
	position: relative;
	padding-left: 20px;
}

.gt-commit-list li::before {
	content: "•";
	position: absolute;
	left: 4px;
	top: 0;
	color: var(--gt-copper);
	font-size: 1.25rem;
	line-height: 1;
}

/* --------------------------------------------------------------------------
   Thank You Page
   -------------------------------------------------------------------------- */
.gt-thankyou-sec {
	padding-block: clamp(60px, 9vw, 120px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gt-thankyou-wrap {
	max-width: 640px;
	width: 100%;
}

.gt-thankyou-card {
	padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 48px);
	text-align: center;
	box-shadow: 0 16px 36px rgba(10, 37, 64, 0.06);
}

.gt-thankyou-icon {
	width: 76px;
	height: 76px;
	margin: 0 auto var(--gt-space-4);
	background: linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-blue) 100%);
	color: var(--gt-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px -6px rgba(30, 111, 217, 0.4);
}

.gt-thankyou-title {
	font-size: clamp(1.75rem, 3vw, 2.375rem);
	font-weight: 700;
	color: var(--gt-navy);
	margin: 0 0 var(--gt-space-3);
	letter-spacing: -0.02em;
}

.gt-thankyou-desc {
	font-size: 1.0625rem;
	color: var(--gt-muted);
	line-height: 1.65;
	margin: 0 0 var(--gt-space-6);
}

.gt-thankyou-box {
	background: var(--gt-surface);
	border-radius: var(--gt-radius-card);
	padding: 24px;
	text-align: left;
	margin-bottom: var(--gt-space-6);
	border: 1px solid var(--gt-border);
}

.gt-thankyou-box-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--gt-navy);
	margin-bottom: 12px;
}

.gt-steps-list {
	margin: 0;
	padding-left: 20px;
	color: var(--gt-text);
	font-size: 0.875rem;
	line-height: 1.6;
}

.gt-steps-list li {
	margin-bottom: 6px;
}

.gt-steps-list li:last-child {
	margin-bottom: 0;
}

.gt-thankyou-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   RFQ Specific Styling
   -------------------------------------------------------------------------- */
.gt-rfq-page .gt-form-card {
	padding: clamp(28px, 5vw, 48px);
}

.gt-rfq-group {
	padding: 24px;
	background: #fafafb;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-card);
	margin-bottom: var(--gt-space-4);
}

.gt-rfq-group__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--gt-navy);
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid rgba(184, 134, 11, 0.2);
	display: flex;
	align-items: center;
	gap: 8px;
}

/* RFQ Visual Media Card */
.gt-rfq-media-card {
	overflow: hidden;
}

.gt-rfq-media-caption {
	padding: 16px 20px;
	font-size: 0.8125rem;
	color: var(--gt-muted);
	line-height: 1.5;
	background: var(--gt-white);
}

.gt-rfq-media-caption strong {
	color: var(--gt-navy);
}

/* Image Dimension Spec Tag on Contact/RFQ */
.gt-card-img-wrap {
	position: relative;
	background: #0A2540;
}

.gt-card-img {
	width: 100%;
	height: auto;
	display: block;
}

.gt-img-spec-tag {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(10, 37, 64, 0.85);
	color: var(--gt-copper-light);
	font-family: var(--font-mono, monospace);
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: var(--gt-radius-badge);
	border: 1px solid rgba(184, 134, 11, 0.35);
	backdrop-filter: blur(4px);
	letter-spacing: 0.04em;
	pointer-events: none;
	z-index: 2;
}
