/* =========================================================================
   Glotrave Guides – Contact Page
   Palette sampled from the brand logo:
     blue #4D8EF4 · red #F4392C · green #51AC50 · yellow #F2B726
   ========================================================================= */

.glc {
	--glc-blue:   #4D8EF4;
	--glc-red:    #F4392C;
	--glc-green:  #51AC50;
	--glc-yellow: #F2B726;
	--glc-ink:    #20242B;
	--glc-muted:  #6b7280;
	--glc-bg:     #f6f8fb;
	--glc-card:   #ffffff;
	--glc-line:   #e7ebf2;

	position: relative;
	box-sizing: border-box;
	max-width: 1080px;
	margin: 0 auto;
	padding: 56px 22px 64px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--glc-ink);
	background: var(--glc-bg);
	border-radius: 22px;
	overflow: hidden;
}
.glc *,
.glc *::before,
.glc *::after { box-sizing: border-box; }

/* Four-colour brand stripe, top and bottom */
.glc__stripe {
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 6px;
	background: linear-gradient(90deg,
		var(--glc-blue)   0 25%,
		var(--glc-red)    25% 50%,
		var(--glc-yellow) 50% 75%,
		var(--glc-green)  75% 100%);
}
.glc__stripe--bottom { top: auto; bottom: 0; }

/* ---------- Hero ---------- */
.glc__hero { text-align: center; margin-bottom: 44px; }

.glc__mark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}
.glc__wordmark {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: clamp(26px, 5vw, 38px);
	letter-spacing: -.5px;
	line-height: 1;
}
.glc__wordmark b { font-weight: 700; }
.glc__wordmark-2 { margin-left: .25em; }
.glc .c-blue   { color: var(--glc-blue); }
.glc .c-red    { color: var(--glc-red); }
.glc .c-green  { color: var(--glc-green); }
.glc .c-yellow { color: var(--glc-yellow); }

.glc__title {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 5.4vw, 46px);
	line-height: 1.08;
	margin: 0 0 14px;
	color: var(--glc-ink);
}
.glc__subtitle {
	max-width: 560px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	color: var(--glc-muted);
}

/* ---------- Layout grid ---------- */
.glc__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 26px;
	align-items: start;
}

/* ---------- Contact info (map-pin cards on a route) ---------- */
.glc__info { position: relative; padding-left: 6px; }

/* Dashed travel route connecting the cards */
.glc__route {
	position: absolute;
	left: 30px; top: 26px; bottom: 78px;
	width: 0;
	border-left: 2px dashed var(--glc-line);
	z-index: 0;
}

.glc__card {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--glc-card);
	border: 1px solid var(--glc-line);
	border-radius: 16px;
	padding: 16px 18px;
	margin-bottom: 16px;
	text-decoration: none;
	color: var(--glc-ink);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.glc__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(16, 24, 40, .10);
}
.glc__card:focus-visible {
	outline: 3px solid var(--glc-blue);
	outline-offset: 2px;
}

.glc__pin {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	color: #fff;
}
.glc__card--blue   .glc__pin { background: var(--glc-blue); }
.glc__card--blue:hover        { border-color: var(--glc-blue); }
.glc__card--green  .glc__pin { background: var(--glc-green); }
.glc__card--green:hover       { border-color: var(--glc-green); }
.glc__card--yellow .glc__pin { background: var(--glc-yellow); }
.glc__card--yellow:hover      { border-color: var(--glc-yellow); }

.glc__card-text { display: flex; flex-direction: column; min-width: 0; }
.glc__card-text small {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--glc-muted);
	margin-bottom: 3px;
}
.glc__card-text strong {
	font-size: 15.5px;
	font-weight: 600;
	word-break: break-word;
}

.glc__hours {
	margin: 18px 4px 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--glc-muted);
}

/* ---------- Form ---------- */
.glc__formwrap {
	background: var(--glc-card);
	border: 1px solid var(--glc-line);
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 12px 34px rgba(16, 24, 40, .06);
}
.glc__rows {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.glc__field { display: block; margin-bottom: 16px; }
.glc__field > span {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 7px;
	color: var(--glc-ink);
}
.glc__field input,
.glc__field textarea {
	width: 100%;
	font: inherit;
	font-size: 15px;
	color: var(--glc-ink);
	background: #fbfcfe;
	border: 1.5px solid var(--glc-line);
	border-radius: 12px;
	padding: 12px 14px;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.glc__field textarea { resize: vertical; min-height: 130px; }
.glc__field input::placeholder,
.glc__field textarea::placeholder { color: #9aa3b2; }

/* Focus state cycles through the brand colours field by field */
.glc__field:nth-of-type(4n+1) input:focus,
.glc__field:nth-of-type(4n+1) textarea:focus { border-color: var(--glc-blue);   box-shadow: 0 0 0 4px rgba(77,142,244,.16); }
.glc__field:nth-of-type(4n+2) input:focus,
.glc__field:nth-of-type(4n+2) textarea:focus { border-color: var(--glc-red);    box-shadow: 0 0 0 4px rgba(244,57,44,.14); }
.glc__field:nth-of-type(4n+3) input:focus,
.glc__field:nth-of-type(4n+3) textarea:focus { border-color: var(--glc-yellow); box-shadow: 0 0 0 4px rgba(242,183,38,.18); }
.glc__field:nth-of-type(4n) input:focus,
.glc__field:nth-of-type(4n) textarea:focus   { border-color: var(--glc-green);  box-shadow: 0 0 0 4px rgba(81,172,80,.16); }
.glc__field input:focus,
.glc__field textarea:focus { outline: none; background: #fff; }

.glc__field input[aria-invalid="true"],
.glc__field textarea[aria-invalid="true"] {
	border-color: var(--glc-red);
	box-shadow: 0 0 0 4px rgba(244,57,44,.12);
}

/* Honeypot — visually hidden */
.glc__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

/* Button */
.glc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font: inherit;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 15.5px;
	color: #fff;
	background: var(--glc-blue);
	border: none;
	border-radius: 12px;
	padding: 13px 26px;
	cursor: pointer;
	transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
	box-shadow: 0 8px 18px rgba(77,142,244,.30);
}
.glc__btn:hover { background: #3b7ce8; transform: translateY(-1px); }
.glc__btn:active { transform: translateY(0); }
.glc__btn:focus-visible { outline: 3px solid var(--glc-yellow); outline-offset: 2px; }
.glc__btn[disabled] { opacity: .7; cursor: progress; }

.glc__spinner {
	width: 16px; height: 16px;
	border: 2.5px solid rgba(255,255,255,.5);
	border-top-color: #fff;
	border-radius: 50%;
	display: none;
	animation: glc-spin .7s linear infinite;
}
.glc__btn.is-loading .glc__spinner { display: inline-block; }
@keyframes glc-spin { to { transform: rotate(360deg); } }

/* Status message */
.glc__status {
	margin: 16px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	min-height: 1.2em;
}
.glc__status.is-success { color: var(--glc-green); font-weight: 600; }
.glc__status.is-error   { color: var(--glc-red);   font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
	.glc__grid { grid-template-columns: 1fr; gap: 22px; }
	.glc__route { display: none; }
}
@media (max-width: 540px) {
	.glc { padding: 44px 16px 52px; border-radius: 16px; }
	.glc__rows { grid-template-columns: 1fr; }
	.glc__formwrap { padding: 22px; }
	.glc__mark { flex-direction: column; gap: 8px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.glc__card, .glc__btn { transition: none; }
	.glc__spinner { animation-duration: 1.4s; }
}
