/* ===========================================================================
   İLETİŞİM SAYFASI — eresmedya.com/iletisim yerleşiminin EM Studio diline
   uyarlaması: aynı bölüm kurgusu (giriş + hızlı kartlar + form/yan bilgi +
   harita + CTA), renk/font/buton dili tema tokenlarından (--ems-*).
   Yalnız tpl-iletisim.php şablonunda yüklenir; kurallar .emsx altına kapsamlı.
   =========================================================================== */

.emsx {
	background: var(--ems-white);
	color: var(--ems-text);
	font-size: 17px;
	line-height: 1.6;
}
.emsx *, .emsx *::before, .emsx *::after { box-sizing: border-box; }
.emsx a { color: inherit; text-decoration: none; }
.emsx .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.emsx .eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ems-indigo);
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.emsx .eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--ems-lime); }
.emsx .section { padding: 80px 0; }

/* Sayfa girişi */
.emsx .page-hero { position: relative; padding: 56px 0 70px; overflow: hidden; }
.emsx .hero-glow {
	position: absolute;
	right: -120px;
	top: 50%;
	transform: translateY(-50%);
	width: 780px;
	height: 780px;
	background: radial-gradient(circle at 60% 50%, rgba(170, 255, 68, .16), rgba(34, 0, 124, .05) 45%, transparent 68%);
	pointer-events: none;
}
.emsx .page-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.emsx .breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ems-text); margin-bottom: 26px; }
.emsx .breadcrumb a { color: var(--ems-text); transition: color .25s; }
.emsx .breadcrumb a:hover { color: var(--ems-indigo); }
.emsx .breadcrumb svg { width: 14px; height: 14px; fill: none; stroke: var(--ems-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.emsx .page-hero h1 {
	color: var(--ems-ink);
	font-weight: 700;
	font-size: clamp(40px, 5.5vw, 64px);
	line-height: 1.12;
	letter-spacing: -.02em;
	margin: 20px 0 24px;
}
.emsx .page-hero h1 em { font-style: italic; color: var(--ems-indigo); }
.emsx .page-hero p { font-size: 19px; color: var(--ems-text); max-width: 600px; margin: 0; }

/* Hızlı iletişim kartları */
.emsx .contact-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.emsx .cq-card {
	display: flex;
	gap: 18px;
	align-items: center;
	background: var(--ems-bg-tint);
	border-radius: var(--ems-radius-lg);
	padding: 26px 30px;
	color: var(--ems-title);
	transition: transform .3s, background .3s, box-shadow .3s, color .3s;
}
.emsx a.cq-card:hover { transform: translateY(-4px); background: var(--ems-lime); color: var(--ems-indigo); box-shadow: 0 20px 40px -24px rgba(4, 5, 46, .35); }
.emsx .cq-ic {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--ems-white);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.emsx .cq-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ems-indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.emsx .cq-card h4 { font-size: 13px; font-weight: 500; color: var(--ems-text); margin: 0 0 2px; transition: color .3s; }
.emsx a.cq-card:hover h4 { color: inherit; }
.emsx .cq-card .big { font-size: 17px; font-weight: 700; display: block; margin-bottom: 2px; }
.emsx .cq-card small { color: var(--ems-text); font-size: 13px; transition: color .3s; }
.emsx a.cq-card:hover small { color: inherit; }

/* Form + yan bilgi */
.emsx .contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; margin-top: 20px; }
.emsx .form-card {
	background: var(--ems-white);
	border: 1px solid var(--ems-line);
	border-radius: var(--ems-radius-lg);
	padding: 44px 48px;
	box-shadow: 0 24px 60px rgba(4, 5, 46, .07);
}
.emsx .form-card h3 { color: var(--ems-ink); font-size: 28px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.emsx .form-card > p { color: var(--ems-text); font-size: 15.5px; margin: 0 0 30px; }
.emsx .info-block {
	background: var(--ems-bg-tint);
	border-radius: var(--ems-radius-lg);
	padding: 28px 30px;
	margin-bottom: 18px;
	transition: transform .3s, box-shadow .3s;
}
.emsx .info-block:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(4, 5, 46, .3); }
.emsx .info-block h4 {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ems-indigo);
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 11px;
}
.emsx .info-block h4 svg { width: 20px; height: 20px; fill: none; stroke: var(--ems-indigo); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.emsx .office { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--ems-line); }
.emsx .office:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.emsx .office .name { color: var(--ems-title); font-size: 17px; font-weight: 700; display: block; margin-bottom: 8px; }
.emsx .office p { color: var(--ems-text); font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.emsx .office .dir { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ems-indigo); transition: gap .25s; }
.emsx .office .dir:hover { gap: 11px; }
.emsx .office .dir svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.emsx .hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ems-line); font-size: 14.5px; }
.emsx .hours-row:last-child { border-bottom: none; }
.emsx .hours-row .d { color: var(--ems-title); font-weight: 600; }
.emsx .hours-row .h { color: var(--ems-text); }
.emsx .hours-row.closed .h { color: #9aa0b2; }
.emsx .info-social { display: flex; gap: 11px; margin-top: 4px; }
.emsx .info-social a {
	width: 40px;
	height: 40px;
	background: var(--ems-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ems-title);
	transition: .25s;
}
.emsx .info-social a:hover { background: var(--ems-lime); color: var(--ems-indigo); }
/* Tema ikonları karışık fill/stroke kullanır; kendi öznitelikleri korunur. */
.emsx .info-social svg { width: 17px; height: 17px; }

/* Harita */
.emsx .map-wrap { margin-top: 50px; border-radius: var(--ems-radius-lg); overflow: hidden; border: 1px solid var(--ems-line); position: relative; height: 420px; background: var(--ems-bg-tint); }
.emsx .map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* CTA */
.emsx .cta { text-align: center; position: relative; overflow: hidden; background: var(--ems-bg-soft); }
.emsx .cta .eyebrow { justify-content: center; }
.emsx .cta h2 {
	color: var(--ems-ink);
	font-weight: 700;
	font-size: clamp(34px, 4.5vw, 54px);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 22px auto 18px;
	max-width: 860px;
}
.emsx .cta h2 em { font-style: italic; color: var(--ems-indigo); }
.emsx .cta p { color: var(--ems-text); font-size: 18px; margin: 0 0 38px; }
.emsx .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.emsx .btn-icon-arrow { transition: transform .25s; }
.emsx .ems-btn:hover .btn-icon-arrow { transform: translateX(4px); }

/* Görünme animasyonu — gizli durum yalnız JS sınıf ekleyince devreye girer;
   script (ör. önbellek eklentisi geciktirirse) çalışmazsa içerik görünür kalır. */
.emsx.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.emsx.js-reveal .reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   ERES FORM — form-card, temanın .ems-formwrap açık skin'ini devralır
   (emstudio.css bölüm 24); burada yalnız yerleşim ve karta özgü ekler var.
   -------------------------------------------------------------------------- */
.emsx .eres-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.emsx .eres-form__field { grid-column: 1 / -1; margin-bottom: 0; }
.emsx .eres-form__field--w-half,
.emsx .eres-form__field--email,
.emsx .eres-form__field--phone { grid-column: span 1; }
.emsx .eres-form__actions { margin-top: 26px; }
.emsx .eres-form:not([data-css="inherit"]) .eres-form__submit {
	width: 100%;
	justify-content: center;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 40px;
	font-size: 16px;
}
.emsx .eres-form__submit::after {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322007c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px;
	transition: transform .25s;
}
.emsx .eres-form__submit:hover::after { transform: translateX(4px); }
.emsx .eres-form__success,
.emsx .eres-form__alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.emsx .eres-form__success { background: rgba(113, 190, 21, .12); border: 1px solid rgba(113, 190, 21, .45); color: #3f7708; }
.emsx .eres-form__alert { background: rgba(214, 54, 56, .08); border: 1px solid rgba(214, 54, 56, .4); color: #a3211f; }

/* Duyarlılık */
@media (max-width: 1000px) {
	.emsx .wrap { padding: 0 28px; }
}
@media (max-width: 900px) {
	.emsx .contact-quick { grid-template-columns: 1fr; }
	.emsx .contact-grid { grid-template-columns: 1fr; gap: 30px; }
	.emsx .form-card { padding: 32px 26px; }
	.emsx .section { padding: 60px 0; }
}
@media (max-width: 640px) {
	.emsx .page-hero { padding: 36px 0 56px; }
	.emsx .form-card { padding: 28px 20px; }
	.emsx .eres-form__field--w-half,
	.emsx .eres-form__field--email,
	.emsx .eres-form__field--phone { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.emsx .reveal { opacity: 1; transform: none; transition: none; }
}
