/* Contact page: details card, static location card and the Contact Form 7 form (gz-contact). */

.gz.gz-contact,
.gz .gz-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.gz .gz-contact__info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gz .gz-contact__form { min-width: 0; background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius); box-shadow: var(--gz-shadow); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.gz .gz-contact__intro { margin: 0; color: var(--gz-body); font-size: 16px; }

/* Details */
.gz .gz-contact__card { background: var(--gz-navy); color: var(--gz-on-dark); border-radius: var(--gz-radius); padding: 28px; position: relative; overflow: hidden; }
.gz .gz-contact__card::after { content: ""; position: absolute; right: -60px; top: -30px; width: 180px; height: 70px; border-radius: 22px; background: var(--gz-blue); transform: skewX(-28deg); pointer-events: none; }
.gz .gz-contact__card > * { position: relative; z-index: 1; }
.gz .gz-contact__card-title { margin: 0 0 18px; font-size: 22px; line-height: 1.3; color: #fff; }
.gz .gz-contact__list { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.gz .gz-contact__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.gz .gz-contact__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gz-navy-2); color: var(--gz-sky); }
.gz .gz-contact__row:nth-child(2) .gz-contact__icon { color: var(--gz-orange); }
.gz .gz-contact__row:nth-child(3) .gz-contact__icon { color: var(--gz-green); }
.gz .gz-contact__row dt { font: 600 12px/1.4 var(--gz-font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gz-on-dark-muted); }
.gz .gz-contact__row dd { margin: 2px 0 0; font-size: 16px; line-height: 1.5; color: #fff; overflow-wrap: anywhere; }
.gz .gz-contact__row address { font-style: normal; }
.gz .gz-contact__card a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); }
.gz .gz-contact__card a:hover { color: var(--gz-sky); text-decoration-color: currentColor; }
.gz .gz-contact__sub { margin: 26px 0 12px; padding-top: 22px; border-top: 1px solid #23507A; font: 600 12px/1.4 var(--gz-font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gz-on-dark-muted); }
.gz .gz-contact__socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gz .gz-contact__card a.gz-contact__social { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 12px; background: var(--gz-navy-2); text-decoration: none; }
.gz .gz-contact__card a.gz-contact__social:hover { background: var(--gz-blue); color: #fff; }
.gz .gz-contact__social span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gz .gz-contact__social strong { font-size: 14px; font-weight: 600; }
.gz .gz-contact__social small { font-size: 12px; color: var(--gz-on-dark-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Static location card (no embedded map: KVKK) */
.gz .gz-contact__map { border-radius: var(--gz-radius); border: 1px solid var(--gz-line); background: #fff; overflow: hidden; }
.gz .gz-contact__map-art { position: relative; height: 150px; background-color: var(--gz-tint-sky); background-image: linear-gradient(var(--gz-line) 1px, transparent 1px), linear-gradient(90deg, var(--gz-line) 1px, transparent 1px); background-size: 28px 28px; overflow: hidden; }
.gz .gz-contact__map-road { position: absolute; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--gz-line-2); }
.gz .gz-contact__map-road--a { left: -10%; right: -10%; top: 58%; height: 14px; transform: rotate(-8deg); }
.gz .gz-contact__map-road--b { top: -20%; bottom: -20%; left: 44%; width: 12px; transform: rotate(14deg); }
.gz .gz-contact__map-road--c { left: 60%; right: -10%; top: 22%; height: 8px; transform: rotate(18deg); background: var(--gz-tint-green); }
.gz .gz-contact__map-pin { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -100%); width: 52px; height: 52px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--gz-orange); color: var(--gz-navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--gz-shadow); }
.gz .gz-contact__map-pin .gz-icon { rotate: 45deg; }
.gz .gz-contact__map-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.gz .gz-contact__map-title { margin: 0; font: 600 18px/1.3 var(--gz-font-head); color: var(--gz-navy); }
.gz .gz-contact__map-text { margin: 0; font-size: 14px; color: var(--gz-muted); }
.gz .gz-contact__map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.gz .gz-contact__map-links .gz-btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Contact Form 7 */
.gz .gz-contact__cf7 .wpcf7-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.gz .gz-contact__cf7 p { margin: 0; }
.gz .gz-contact__cf7 br { display: none; }
.gz .gz-contact__cf7 .gz-cf { display: flex; flex-direction: column; gap: 18px; }
.gz .gz-contact__cf7 .gz-cf__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.gz .gz-contact__cf7 .gz-cf__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gz .gz-contact__cf7 .gz-label { display: block; margin-bottom: 6px; color: var(--gz-navy); }
.gz .gz-contact__cf7 .gz-label .gz-cf__req { color: var(--gz-orange-text); }
.gz .gz-contact__cf7 .wpcf7-form-control-wrap { display: block; }
.gz .gz-contact__cf7 .gz-input { display: block; box-sizing: border-box; transition: border-color .2s ease, box-shadow .2s ease; }
.gz .gz-contact__cf7 textarea.gz-input { height: auto; min-height: 160px; padding: 12px 16px; line-height: 1.55; resize: vertical; }
.gz .gz-contact__cf7 .gz-input:focus { outline: none; border-color: var(--gz-blue); box-shadow: 0 0 0 3px var(--gz-tint-blue); }
.gz .gz-contact__cf7 .gz-input:focus-visible { outline: 3px solid var(--gz-orange); outline-offset: 1px; }
.gz .gz-contact__cf7 .wpcf7-not-valid { border-color: #B42318; }
.gz .gz-contact__cf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: #B42318; }

.gz .gz-contact__cf7 .gz-cf__consent { padding: 14px 16px; border-radius: var(--gz-radius-sm); background: var(--gz-bg-muted); font-size: 14px; line-height: 1.5; color: var(--gz-body); }
.gz .gz-contact__cf7 .wpcf7-list-item { margin: 0; display: block; }
.gz .gz-contact__cf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 1.5; font-weight: 400; }
.gz .gz-contact__cf7 .wpcf7-list-item-label { font-size: inherit; line-height: inherit; }
.gz .gz-contact__cf7 .wpcf7-acceptance input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gz-blue); cursor: pointer; }
.gz .gz-contact__cf7 .gz-cf__note { margin: 8px 0 0 32px; font-size: 13px; color: var(--gz-muted); }

.gz .gz-contact__cf7 .gz-cf__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.gz .gz-contact__cf7 .wpcf7-submit { min-width: 160px; -webkit-appearance: none; appearance: none; }
.gz .gz-contact__cf7 .wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.gz .gz-contact__cf7 .wpcf7-spinner { margin: 0; }

.gz .gz-contact__cf7 .wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border: 0; border-left: 4px solid var(--gz-blue); border-radius: 8px; background: var(--gz-tint-blue); color: var(--gz-navy); font-size: 14px; }
.gz .gz-contact__cf7 .wpcf7 form.sent .wpcf7-response-output { border-left-color: var(--gz-green); background: var(--gz-tint-green); color: var(--gz-green-text); }
.gz .gz-contact__cf7 .wpcf7 form.invalid .wpcf7-response-output,
.gz .gz-contact__cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.gz .gz-contact__cf7 .wpcf7 form.payment-required .wpcf7-response-output { border-left-color: var(--gz-orange); background: var(--gz-tint-orange); color: var(--gz-orange-text); }
.gz .gz-contact__cf7 .wpcf7 form.failed .wpcf7-response-output,
.gz .gz-contact__cf7 .wpcf7 form.aborted .wpcf7-response-output,
.gz .gz-contact__cf7 .wpcf7 form.spam .wpcf7-response-output { border-left-color: #B42318; background: #FEF3F2; color: #912018; }

@media (max-width: 900px) {
	.gz.gz-contact,
	.gz .gz-contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	/* Details, then the form, then the location card. */
	.gz .gz-contact__info { display: contents; }
	.gz .gz-contact__card { order: 1; }
	.gz .gz-contact__form { order: 2; }
	.gz .gz-contact__map { order: 3; }
}

@media (max-width: 480px) {
	.gz .gz-contact__card { padding: 22px 18px; }
	.gz .gz-contact__form { padding: 22px 18px; border-radius: var(--gz-radius-sm); }
	.gz .gz-contact__map-body { padding: 18px; }
	.gz .gz-contact__cf7 .wpcf7-submit { width: 100%; }
}
