/**
 * Galustar Contact — frontend
 */

.gct-contact {
	--gct-ink: #111111;
	--gct-muted: rgba(17, 17, 17, 0.68);
	--gct-gold: var(--gct-accent, #c6a56a);
	--gct-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--gct-inner-max: 1320px;
	--gct-side: clamp(16px, 4vw, 48px);

	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
	padding-top: var(--gct-pt, 0);
	padding-bottom: var(--gct-pb, 0);
	background: var(--gct-bg, #faf8f5);
	color: var(--gct-ink);
	font-family: "Jost", system-ui, sans-serif;
	overflow-x: clip;
}

.elementor-widget-shortcode:has(.gct-contact) .elementor-widget-container,
.elementor-widget-shortcode:has(.gct-contact) .elementor-shortcode {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.elementor-section:has(.gct-contact),
.elementor-section:has(.gct-contact) > .elementor-container,
.elementor-element:has(.gct-contact),
.elementor-element:has(.gct-contact) > .e-con,
.elementor-element:has(.gct-contact) > .e-con-inner,
.elementor-element:has(.gct-contact) > .elementor-widget-wrap {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.elementor-widget-shortcode .gct-contact,
.elementor-element .gct-contact {
	width: 100%;
	max-width: 100%;
}

.gct-inner {
	width: 100%;
	max-width: var(--gct-inner-max);
	margin-inline: auto;
	padding-inline: var(--gct-side);
	box-sizing: border-box;
}

@media (min-width: 992px) {
	.gct-contact {
		--gct-inner-max: 1320px;
		--gct-side: clamp(20px, 4vw, 40px);
	}
}

/* ── Hero ── */
.gct-hero {
	position: relative;
	min-height: clamp(380px, 55vh, 520px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.gct-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.gct-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.05);
	transition: transform 8s ease;
}

.gct-hero:hover .gct-hero__img {
	transform: scale(1);
}

.gct-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.35) 50%,
		rgba(0, 0, 0, 0.65) 100%
	);
}

.gct-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: clamp(48px, 8vw, 72px) clamp(24px, 5vw, 48px);
	max-width: 720px;
	color: #fff;
}

/* ── Typography ── */
.gct-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 2vw, 16px);
	margin: 0 0 16px;
}

.gct-eyebrow__text {
	font-family: "Jost", system-ui, sans-serif;
	font-size: clamp(12px, 1.5vw, 14px);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gct-gold);
}

.gct-eyebrow__line {
	display: block;
	width: clamp(32px, 5vw, 56px);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gct-gold), transparent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.9s var(--gct-ease);
	transition-delay: 0.15s;
}

.gct-reveal.is-visible .gct-eyebrow__line {
	transform: scaleX(1);
}

.gct-heading {
	margin: 0 0 16px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 600;
	line-height: 1.12;
	color: var(--gct-ink);
}

.gct-heading--hero {
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.gct-description {
	margin: 0 0 24px;
	font-size: clamp(0.95rem, 1.35vw, 1.05rem);
	line-height: 1.75;
	color: var(--gct-muted);
}

.gct-description--light {
	color: rgba(255, 255, 255, 0.88);
	max-width: 560px;
	margin-inline: auto;
}

/* ── Main grid ── */
.gct-main {
	padding: clamp(56px, 8vw, 88px) 0;
}

.gct-main__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: start;
	gap: clamp(32px, 5vw, 64px);
}

/* ── Info cards ── */
.gct-info__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 28px;
}

.gct-info-card {
	display: flex;
	gap: 14px;
	padding: 20px 18px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 14px;
	transition: transform 0.35s var(--gct-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.gct-info-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
	border-color: rgba(198, 165, 106, 0.35);
}

.gct-info-card__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(198, 165, 106, 0.12);
	color: var(--gct-gold);
}

.gct-info-card__label {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gct-gold);
}

.gct-info-card__value {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--gct-ink);
	text-decoration: none;
	transition: color 0.25s ease;
}

a.gct-info-card__value:hover {
	color: var(--gct-gold);
}

/* ── Social ── */
.gct-social {
	margin-bottom: 28px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 14px;
}

.gct-social__label {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gct-gold);
}

.gct-social__links {
	display: flex;
	gap: 10px;
}

.gct-social__links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gct-ink);
	color: #fff;
	text-decoration: none;
	transition: transform 0.3s var(--gct-ease), background 0.3s ease;
}

.gct-social__links a:hover {
	transform: translateY(-2px);
	background: var(--gct-gold);
	color: #111;
}

/* ── Map ── */
.gct-map {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
	line-height: 0;
}

.gct-map iframe {
	display: block;
	width: 100%;
	height: clamp(220px, 30vw, 320px);
}

/* ── Form box ── */
.gct-form-box {
	padding: clamp(32px, 5vw, 48px);
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

.gct-form-alert {
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 0.92rem;
	line-height: 1.5;
	margin-bottom: 20px;
}

.gct-form-alert--success {
	background: rgba(34, 120, 70, 0.1);
	color: #1a6b3c;
	border: 1px solid rgba(34, 120, 70, 0.2);
}

.gct-form-alert--error {
	background: rgba(180, 40, 40, 0.08);
	color: #9b2020;
	border: 1px solid rgba(180, 40, 40, 0.18);
}

.gct-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.gct-field {
	margin-bottom: 18px;
}

.gct-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gct-ink);
}

.gct-field label span {
	color: var(--gct-gold);
}

.gct-field input,
.gct-field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	background: var(--gct-bg, #faf8f5);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--gct-ink);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	box-sizing: border-box;
}

.gct-field input:focus,
.gct-field textarea:focus {
	outline: none;
	border-color: var(--gct-gold);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(198, 165, 106, 0.18);
}

.gct-field textarea {
	resize: vertical;
	min-height: 130px;
}

.gct-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 200px;
	padding: 15px 32px;
	margin-top: 4px;
	border-radius: 999px;
	border: none;
	background: #111;
	color: #fff;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.35s var(--gct-ease), background 0.35s ease, box-shadow 0.35s ease;
}

.gct-button:hover:not(:disabled),
.gct-button:focus-visible:not(:disabled) {
	transform: translateY(-2px);
	background: var(--gct-gold);
	color: #111;
	box-shadow: 0 12px 32px rgba(198, 165, 106, 0.35);
}

.gct-button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.gct-button svg {
	transition: transform 0.35s var(--gct-ease);
}

.gct-button:hover:not(:disabled) svg {
	transform: translateX(3px);
}

.gct-button__loader {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: gct-spin 0.7s linear infinite;
}

.gct-button.is-loading .gct-button__text,
.gct-button.is-loading svg {
	display: none;
}

.gct-button.is-loading .gct-button__loader {
	display: block;
}

@keyframes gct-spin {
	to { transform: rotate(360deg); }
}

/* ── Reveal ── */
.gct-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.8s var(--gct-ease),
		transform 0.8s var(--gct-ease);
	transition-delay: var(--gct-delay, 0s);
}

.gct-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.gct-info__cards .gct-info-card:nth-child(1) { --gct-delay: 0s; }
.gct-info__cards .gct-info-card:nth-child(2) { --gct-delay: 0.08s; }
.gct-info__cards .gct-info-card:nth-child(3) { --gct-delay: 0.16s; }
.gct-info__cards .gct-info-card:nth-child(4) { --gct-delay: 0.24s; }

/* ── Responsive ── */
@media (max-width: 991px) {
	.gct-hero {
		min-height: auto;
		background: var(--gct-bg, #faf8f5);
		padding: clamp(56px, 10vw, 80px) clamp(24px, 5vw, 32px);
	}

	.gct-hero__bg {
		display: none;
	}

	.gct-hero__content {
		color: var(--gct-ink);
		padding: 0;
		max-width: 100%;
	}

	.gct-heading--hero {
		color: var(--gct-ink);
		text-shadow: none;
	}

	.gct-description--light {
		color: var(--gct-muted);
	}

	.gct-main__grid {
		grid-template-columns: 1fr;
	}

	.gct-form-wrap {
		order: -1;
	}
}

@media (max-width: 600px) {
	.gct-info__cards {
		grid-template-columns: 1fr;
	}

	.gct-form__row {
		grid-template-columns: 1fr;
	}

	.gct-button {
		width: 100%;
	}
}
