/* Ön görüşme / iletişim — cam form, navy–gold */
body.yd-contact-page {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(184, 145, 82, 0.14), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(16, 38, 61, 0.08), transparent 50%),
    linear-gradient(180deg, #F3F6F9 0%, #FFFFFF 42%, #EEF2F6 100%);
}

.yd-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background: linear-gradient(135deg, #0B1C2E 0%, #10263D 48%, #1A3A55 100%);
  color: #fff;
}
.yd-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 145, 82, 0.28), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(43, 108, 176, 0.22), transparent 45%);
  pointer-events: none;
}
.yd-contact-hero .container { position: relative; z-index: 1; }
.yd-contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(184, 145, 82, 0.45);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--yd-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8D5B0;
}
.yd-contact-hero h1 {
  margin: 0 0 12px;
  font-family: var(--yd-font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.yd-contact-hero p {
  margin: 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86) !important;
}

.yd-contact-shell {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding: 0 0 88px;
}
.yd-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.yd-contact-aside {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 38, 61, 0.08);
  box-shadow: 0 18px 48px rgba(16, 38, 61, 0.1);
  padding: 28px;
  overflow: hidden;
}
.yd-contact-aside__media {
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
  margin-bottom: 22px;
  position: relative;
}
.yd-contact-aside__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.yd-contact-aside__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 28, 46, 0.55));
}
.yd-contact-aside h2 {
  margin: 0 0 8px;
  font-family: var(--yd-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--yd-navy);
}
.yd-contact-aside > p {
  margin: 0 0 22px;
  color: var(--yd-muted);
  font-size: 15px;
  line-height: 1.55;
}
.yd-contact-list {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.yd-contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(16, 38, 61, 0.03);
  border: 1px solid rgba(16, 38, 61, 0.05);
}
.yd-contact-list i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #B89152, #9A7840);
  color: #fff;
  font-size: 16px;
}
.yd-contact-list strong {
  display: block;
  font-family: var(--yd-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--yd-navy);
  margin-bottom: 2px;
}
.yd-contact-list span,
.yd-contact-list a {
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}
.yd-contact-list a:hover { color: var(--yd-gold-dark); }
.yd-contact-aside__note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(184, 145, 82, 0.1);
  border: 1px solid rgba(184, 145, 82, 0.22);
  color: var(--yd-navy);
  font-size: 13px;
  line-height: 1.5;
}

.yd-contact-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 38, 61, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 60px rgba(16, 38, 61, 0.12);
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
}
.yd-contact-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle, rgba(184, 145, 82, 0.16), transparent 68%);
  pointer-events: none;
}
.yd-contact-card__head {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}
.yd-contact-card__head h2 {
  margin: 0 0 8px;
  font-family: var(--yd-font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--yd-navy);
  letter-spacing: -0.02em;
}
.yd-contact-card__head p {
  margin: 0;
  color: var(--yd-muted);
  font-size: 15px;
  line-height: 1.5;
}

.yd-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.yd-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.yd-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.yd-field label {
  font-family: var(--yd-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--yd-navy);
}
.yd-field input,
.yd-field textarea {
  width: 100%;
  border: 1px solid rgba(16, 38, 61, 0.12);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--yd-font-body);
  font-size: 15px;
  color: var(--yd-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(16, 38, 61, 0.04);
}
.yd-field textarea {
  min-height: 120px;
  resize: vertical;
}
.yd-field input:hover,
.yd-field textarea:hover {
  border-color: rgba(184, 145, 82, 0.45);
}
.yd-field input:focus,
.yd-field textarea:focus {
  border-color: #B89152;
  box-shadow: 0 0 0 4px rgba(184, 145, 82, 0.18);
  transform: translateY(-1px);
}
.yd-field input::placeholder,
.yd-field textarea::placeholder {
  color: #8A96A5;
}

.yd-emp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .yd-emp {
    grid-template-columns: repeat(2, 1fr);
  }
}
.yd-emp label {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.yd-emp input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.yd-emp span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 38, 61, 0.12);
  background: #fff;
  font-family: var(--yd-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--yd-ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.yd-emp label:hover span {
  border-color: rgba(184, 145, 82, 0.5);
}
.yd-emp input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(184, 145, 82, 0.18);
}
.yd-emp input:checked + span {
  background: linear-gradient(145deg, #10263D, #1A3A55);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 38, 61, 0.22);
}

.yd-form__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.yd-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.yd-form__submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(145deg, #C9A05C 0%, #B89152 45%, #9A7840 100%);
  color: #fff !important;
  font-family: var(--yd-font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(184, 145, 82, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.yd-form__submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(184, 145, 82, 0.42);
}
.yd-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.yd-form__meta {
  font-size: 13px;
  color: var(--yd-muted);
  line-height: 1.45;
}
.yd-form__meta a {
  color: var(--yd-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yd-form__status {
  display: none;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.yd-form__status.is-success {
  display: block;
  background: #E8F6EE;
  color: #1B5E3B;
  border: 1px solid #B7E0C7;
}
.yd-form__status.is-error {
  display: block;
  background: #FDECEC;
  color: #8A1F1F;
  border: 1px solid #F0C0C0;
}

@media (max-width: 991px) {
  .yd-contact-grid { grid-template-columns: 1fr; }
  .yd-contact-hero { padding: 56px 0 40px; }
  .yd-contact-shell { margin-top: -24px; }
  .yd-contact-card { padding: 24px 18px 22px; border-radius: 22px; }
}
@media (max-width: 640px) {
  .yd-form__row { grid-template-columns: 1fr; }
  .yd-emp { grid-template-columns: 1fr; }
  .yd-contact-aside__media { height: 140px; }
}
