/*
 * KANTARCİ V78 — premium appointment access and direct-contact routing.
 * This layer keeps the V75–V77 design system intact while refining the
 * primary navigation and the existing appointment-request experience.
 */

body.premium-appointment-access-v78 {
  --v78-navy: #101a30;
  --v78-navy-deep: #0b1428;
  --v78-gold: #d8b77d;
  --v78-gold-light: #ead4ad;
  --v78-ivory: #fbf8f2;
  --v78-line: rgb(181 146 92 / 34%);
}

/* The logo remains the home link. Removing the duplicated Home item leaves
   enough room for a proper Contact link and a restrained appointment action. */
body.premium-appointment-access-v78 .k-header-appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 154px;
  border: 1px solid #c7a267 !important;
  border-radius: 0;
  background: var(--v78-gold) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 36%), 0 9px 22px rgb(11 20 40 / 10%);
  color: var(--v78-navy-deep) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

body.premium-appointment-access-v78 .k-header-appointment:hover,
body.premium-appointment-access-v78 .k-header-appointment:focus-visible {
  border-color: var(--v78-gold) !important;
  background: var(--v78-navy) !important;
  color: var(--v78-ivory) !important;
  transform: translateY(-1px);
}

body.premium-appointment-access-v78 .k-header-appointment__icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

body.premium-appointment-access-v78 .k-header-appointment__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

body.premium-appointment-access-v78 .k-header-appointment__label {
  white-space: nowrap;
}

@media (min-width: 1200px) {
  body.premium-appointment-access-v78 #primary-menu > li > a {
    white-space: nowrap;
  }
}

@media (min-width: 1280px) and (max-width: 1519px) {
  body.premium-appointment-access-v78 #navbar > .container {
    gap: 24px;
  }

  body.premium-appointment-access-v78 .navbar-header {
    flex-basis: 270px;
    min-width: 240px;
  }

  body.premium-appointment-access-v78 .custom-logo,
  body.premium-appointment-access-v78 .navbar-brand img {
    max-width: 270px !important;
  }

  body.premium-appointment-access-v78 .at-beside-navbar-header {
    gap: 12px;
  }

  body.premium-appointment-access-v78 #primary-menu > li > a {
    padding-inline: 7px;
    font-size: 14px;
    letter-spacing: .03em;
  }

  body.premium-appointment-access-v78 .at-navbar .k-header-appointment {
    min-width: 154px;
    padding-inline: 14px;
    font-size: 12.5px;
  }
}

body.premium-appointment-access-v78 #primary-menu > .k-nav-contact > a {
  color: var(--v78-navy);
}

body.premium-appointment-access-v78 #primary-menu > .k-nav-contact.current-menu-item > a::after,
body.premium-appointment-access-v78 #primary-menu > .k-nav-contact.current_page_item > a::after {
  transform: scaleX(1);
}

@media (min-width: 1280px) {
  body.premium-appointment-access-v78 .at-navbar .k-header-appointment {
    min-width: 174px;
    min-height: 52px;
    padding: 16px 20px;
    font-size: 13.5px;
  }
}

@media (min-width: 1200px) {
  body.premium-appointment-access-v78 #primary-menu > .k-nav-appointment-mobile {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1279px) {
  body.premium-appointment-access-v78 #navbar > .container {
    gap: 14px;
  }

  body.premium-appointment-access-v78 .navbar-header {
    flex-basis: 226px;
    min-width: 210px;
  }

  body.premium-appointment-access-v78 .custom-logo,
  body.premium-appointment-access-v78 .navbar-brand img {
    max-width: 226px !important;
  }

  body.premium-appointment-access-v78 .at-beside-navbar-header {
    gap: 8px;
  }

  body.premium-appointment-access-v78 .at-navbar .k-header-appointment {
    min-width: 126px;
    min-height: 48px;
    margin-top: 32px;
    padding: 14px 13px;
    font-size: 12px;
  }

  body.premium-appointment-access-v78 .k-header-appointment__detail {
    display: none;
  }
}

@media (max-width: 1199px) {
  body.premium-appointment-access-v78 .at-navbar .k-header-appointment {
    display: none !important;
  }

  html[dir="rtl"] body.premium-appointment-access-v78 .navbar-header {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
  }

  html[dir="rtl"] body.premium-appointment-access-v78 .navbar-header .navbar-toggle {
    order: 1;
    float: none;
    margin-inline: 0;
  }

  html[dir="rtl"] body.premium-appointment-access-v78 .navbar-header .custom-logo-link {
    order: 2;
    margin-inline: 0;
  }

  html[dir="rtl"] body.premium-appointment-access-v78 .navbar-header .custom-logo {
    width: 100% !important;
    max-width: 190px !important;
    height: auto !important;
  }

  body.premium-appointment-access-v78 #primary-menu > .k-nav-appointment-mobile {
    display: block;
    padding: 15px 18px 22px;
  }

  body.premium-appointment-access-v78 #primary-menu > .k-nav-appointment-mobile > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 18px;
    border: 1px solid #c7a267;
    background: var(--v78-gold);
    color: var(--v78-navy-deep) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
  }

  body.premium-appointment-access-v78 #primary-menu > .k-nav-appointment-mobile > a::after {
    display: none;
  }

  body.premium-appointment-access-v78 #primary-menu > .k-nav-appointment-mobile svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }
}

/* Appointment-hours card: the ordinary booking rule and the time-sensitive
   criminal-procedure route are visually distinct without alarmist styling. */
body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-hours-card > p {
  margin-bottom: 21px;
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call {
  position: relative;
  margin: 0 0 24px;
  padding: 23px 22px 21px;
  overflow: hidden;
  border: 1px solid var(--v78-line);
  background: linear-gradient(145deg, #111c33 0%, #0c162a 100%);
  color: #f8f4eb;
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 58px;
  height: 2px;
  background: var(--v78-gold);
  content: "";
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--v78-gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call p {
  margin: 0 0 17px;
  color: rgb(255 255 255 / 82%);
  font-size: .9rem;
  line-height: 1.67;
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgb(216 183 125 / 52%);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 760;
  text-decoration: none !important;
  transition: border-color .2s ease, background-color .2s ease;
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action:hover,
body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action:focus-visible {
  border-color: var(--v78-gold);
  background: rgb(216 183 125 / 10%);
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--v78-gold-light);
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action span {
  margin-inline-end: auto;
}

body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action bdi {
  white-space: nowrap;
  color: var(--v78-gold-light);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

html[dir="rtl"] body.premium-appointment-access-v78 .k-header-appointment,
html[dir="rtl"] body.premium-appointment-access-v78 .k-nav-appointment-mobile > a {
  letter-spacing: 0;
}

html[dir="rtl"] body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__eyebrow {
  letter-spacing: 0;
}

@media (max-width: 680px) {
  body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call {
    padding: 21px 18px 19px;
  }

  body.appointment-request-v74.premium-appointment-access-v78 .k-appointment-direct-call__action {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.premium-appointment-access-v78 .k-header-appointment,
  body.premium-appointment-access-v78 .k-appointment-direct-call__action {
    transition: none;
  }
}

