/* Reference-measured desktop header alignment. */
html body .topbar .topbar-tagline { display:none !important; }

@media (min-width: 701px) {
  html body .site-header .header-inner > .logo {
    top: -29px !important;
    left: auto !important;
    width: 301px !important;
    min-width: 301px !important;
    flex: 0 0 301px !important;
    height: 121px !important;
    margin-left: 15px !important;
  }

  html body .site-header .header-inner > nav {
    padding-left: 40px !important;
    padding-right: 0 !important;
    gap: 30px !important;
  }

  html body .site-header .header-inner > nav a:not(.nav-request) {
    display: flex !important;
    align-items: center !important;
    height: 80px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 30px !important;
    padding: 25px 0 !important;
  }

  html body .site-header .header-inner > nav .nav-request {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 23.8px !important;
    padding: 8px 20px !important;
  }

  /* The live reference has no privacy item in the desktop primary nav. */
  html body .site-header .header-inner > nav a[href*="gizlilik"] {
    display: none !important;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  html body .site-header {
    height: 62px !important;
    min-height: 62px !important;
  }

  html body .site-header .header-inner {
    height: 62px !important;
    min-height: 62px !important;
    width: calc(100% - 32px) !important;
    padding: 0 16px !important;
  }

  html body .site-header .header-inner > .logo {
    top: -10px !important;
    left: 0 !important;
    width: 190px !important;
    min-width: 190px !important;
    height: 80px !important;
    flex: 0 0 190px !important;
    margin-left: 0 !important;
  }

  html body .site-header .header-inner > .nav-toggle {
    display: block !important;
    margin-left: auto !important;
    z-index: 9 !important;
  }

  html body .site-header .header-inner > nav {
    display: none !important;
    position: absolute !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 16px !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #fff !important;
    overflow: visible !important;
  }

  html body .site-header .header-inner > nav.is-open {
    display: flex !important;
  }

  html body .site-header .header-inner > nav a:not(.nav-request) {
    display: block !important;
    height: auto !important;
    padding: 12px 8px !important;
    font-size: 15px !important;
    line-height: 24px !important;
  }

  html body .site-header .header-inner > nav .nav-request {
    display: block !important;
    width: 100% !important;
    margin-top: 6px !important;
    text-align: center !important;
  }
}

/* Shared request-form popup. The form itself is cloned from the live contact
   page so validation, CSRF and delivery stay on the existing server flow. */
.request-popup[hidden]{display:none}.request-popup{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px}.request-popup-backdrop{position:absolute;inset:0;background:rgba(18,28,34,.72);backdrop-filter:blur(4px)}.request-popup-dialog{position:relative;width:min(640px,100%);max-height:min(90vh,760px);overflow:auto;background:#fff;border:1px solid #dce7ea;border-radius:12px;box-shadow:0 28px 80px rgba(0,0,0,.25);padding:32px}.request-popup-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:1px solid #d7e1e4;border-radius:50%;background:#fff;color:#45545b;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center}.request-popup-close:hover{background:#f0f8f9;color:#0787a6}.request-popup-header{padding-right:42px;margin-bottom:24px}.request-popup-header h2{font-size:clamp(26px,4vw,38px);line-height:1.12;margin:8px 0 10px;color:#332f30}.request-popup-header p{margin:0;color:#66747b;line-height:1.65}.request-popup-form-slot .contact-form{display:grid;gap:15px}.request-popup-form-slot .contact-form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.request-popup-form-slot .contact-form label{display:grid;gap:7px;color:#4d5962;font-size:13px;font-weight:700}.request-popup-form-slot .contact-form input,.request-popup-form-slot .contact-form textarea{width:100%;border:1px solid #d6dde3;border-radius:6px;padding:12px 13px;font:inherit;color:#332f30;background:#fff}.request-popup-form-slot .contact-form textarea{resize:vertical;min-height:132px}.request-popup-form-slot .contact-form .button{justify-self:end;border:0;cursor:pointer;background:#0787a6;color:#fff}.request-popup-form-slot .contact-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}@media(max-width:560px){.request-popup{padding:12px}.request-popup-dialog{padding:24px 18px}.request-popup-form-slot .contact-form-row{grid-template-columns:1fr}.request-popup-form-slot .contact-form .button{width:100%}}

@media (max-width: 1024px) {
  html body .site-header .header-inner > .nav-toggle { display:inline-flex !important; position:absolute !important; top:13px !important; right:16px !important; left:auto !important; z-index:8 !important; align-items:center !important; justify-content:center !important; width:44px !important; height:44px !important; margin:0 !important; padding:0 !important; border:1px solid rgba(51,47,48,.35) !important; border-radius:4px !important; background:#fff !important; color:#332f30 !important; font-size:0 !important; line-height:1 !important; cursor:pointer !important; }
  html body .site-header .header-inner > .nav-toggle::before { content:'☰'; font-size:24px; line-height:1; }
  html body .site-header .header-inner > .nav-toggle:focus-visible { outline:3px solid #0787a6; outline-offset:2px; }

  /* The live mobile header keeps search and request actions visible while
     the primary links stay behind the hamburger menu. */
  html body .site-header .header-inner > nav {
    display:flex !important; position:absolute !important; top:70px !important;
    left:0 !important; right:0 !important; width:100% !important; height:52px !important;
    padding:8px 16px !important; margin:0 !important; flex-direction:row !important;
    align-items:center !important; justify-content:flex-start !important; gap:12px !important;
    background:#0787a6 !important; box-shadow:none !important; overflow:visible !important; z-index:6 !important;
  }
  html body .site-header .header-inner > nav > *:not(.nav-search):not(.nav-request) { display:none !important; }
  html body .site-header .header-inner > nav > .nav-search { display:inline-flex !important; order:1 !important; align-items:center !important; justify-content:center !important; width:18px !important; height:36px !important; padding:0 !important; margin:0 !important; }
  html body .site-header .header-inner > nav > .nav-request { display:inline-flex !important; order:2 !important; width:auto !important; min-width:139px !important; height:42px !important; margin:0 !important; margin-left:0 !important; padding:8px 18px !important; align-items:center !important; justify-content:center !important; text-align:center !important; }
  html body .site-header .header-inner > nav.is-open { display:grid !important; grid-template-columns:1fr !important; grid-auto-rows:44px !important; height:auto !important; min-height:52px !important; padding:16px !important; align-content:start !important; align-items:stretch !important; justify-content:start !important; gap:0 !important; background:#fff !important; box-shadow:0 12px 20px #00000014 !important; }
  html body .site-header .header-inner > nav.is-open > *:not(.nav-search):not(.nav-request) { display:block !important; order:initial !important; height:auto !important; padding:12px 8px !important; color:#332f30 !important; }
  html body .site-header .header-inner > nav.is-open > .nav-search { order:initial !important; width:auto !important; height:auto !important; justify-content:flex-start !important; padding:12px 8px !important; color:#332f30 !important; }
  html body .site-header .header-inner > nav.is-open > .nav-request { order:initial !important; width:100% !important; margin-top:6px !important; }
  /* Keep the primary links visible when the mobile panel is expanded. Some
     page-specific styles target .menu-item and otherwise collapse the links. */
  html body .site-header .header-inner > nav.is-open > .menu-item {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    height:auto !important;
    min-height:44px !important;
    height:44px !important;
    flex:0 0 44px !important;
  }
  html body .site-header .header-inner > nav.is-open > .menu-item > a {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:12px 8px !important;
    color:#332f30 !important;
    font-size:14px !important;
    line-height:20px !important;
    text-decoration:none !important;
  }
  /* Search, request and language actions already live in the mobile action
     strip; hiding their duplicate grid rows prevents a giant empty hit area. */
  html body .site-header .header-inner > nav.is-open > .nav-search,
  html body .site-header .header-inner > nav.is-open > .nav-request,
  html body .site-header .header-inner > nav.is-open > .language-link,
  html body .site-header .header-inner > nav.is-open > a.language-link {
    display:none !important;
  }
}

/* Reference-measured mobile header stack: welcome line, logo panel,
   contact row, then the colored navigation strip before the hero. */
@media (max-width: 1024px) {
  html body .topbar { height:346px !important; min-height:346px !important; background:#292727 !important; }
  html body .topbar .topbar-inner { height:346px !important; min-height:346px !important; width:100% !important; padding:0 15px !important; position:relative !important; display:block !important; }
  html body .topbar .topbar-tagline { display:none !important; }
  html body .topbar .topbar-contact { display:grid !important; position:absolute !important; top:173px !important; left:15px !important; right:15px !important; height:173px !important; margin:0 !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:8px !important; align-items:center !important; }
  html body .topbar .topbar-item { min-width:0 !important; display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:8px !important; text-align:center !important; }
  html body .topbar .topbar-item .topbar-icon { font-size:26px !important; }
  html body .topbar .topbar-item strong { font-size:13px !important; margin:0 0 2px !important; white-space:nowrap !important; }
  html body .topbar .topbar-item small { font-size:11px !important; white-space:nowrap !important; }
  html body .site-header { height:68px !important; min-height:68px !important; background:#0787a6 !important; }
  html body .site-header .header-inner { height:68px !important; min-height:68px !important; width:calc(100% - 30px) !important; padding:0 !important; }
  html body .site-header .header-inner > .logo { top:-294px !important; left:0 !important; width:100% !important; min-width:0 !important; height:121px !important; background:#fff !important; justify-content:center !important; }
  html body .site-header .header-inner > nav { top:0 !important; height:68px !important; background:#0787a6 !important; }
  html body .hero, html body .hero-slider { height:483px !important; min-height:483px !important; margin:0 !important; }
  html body .hero-slider .hero-slides, html body .hero-slider .hero-slide { height:100% !important; min-height:0 !important; }
}

/* Tablet header is 62px high; keep the action strip flush with its bottom. */
@media (min-width: 701px) and (max-width: 1024px) {
  html body .site-header .header-inner > .logo {
    top:-294px !important;
    left:0 !important;
    width:100% !important;
    min-width:0 !important;
    flex:0 0 100% !important;
    height:121px !important;
    margin-left:0 !important;
    background:#fff !important;
    justify-content:center !important;
  }
  html body .site-header .header-inner > nav { top:0 !important; }
}

@media (max-width: 380px) {
  html body .topbar .topbar-contact {
    left:8px !important;
    right:8px !important;
    gap:2px !important;
  }
  html body .topbar .topbar-item {
    gap:5px !important;
  }
  html body .topbar .topbar-item .topbar-icon {
    font-size:22px !important;
  }
  html body .topbar .topbar-item strong {
    max-width:100% !important;
    white-space:normal !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }
  html body .topbar .topbar-item small,
  html body .topbar .topbar-item small a {
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    font-size:10px !important;
    line-height:1.2 !important;
    text-align:center !important;
  }
}

/* Modern mobile navigation panel: compact, readable and brand-aligned. */
@media (max-width: 1024px) {
  html body .site-header .header-inner > nav.is-open {
    top:68px !important;
    left:auto !important;
    right:0 !important;
    width:min(380px,calc(100vw - 30px)) !important;
    max-height:calc(100vh - 92px) !important;
    overflow-y:auto !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:auto !important;
    align-content:start !important;
    gap:7px !important;
    padding:12px !important;
    border:1px solid rgba(7,135,166,.16) !important;
    border-top:3px solid #0787a6 !important;
    border-radius:0 0 12px 12px !important;
    background:#fff !important;
    box-shadow:0 18px 42px rgba(24,39,43,.22) !important;
  }
  html body .site-header .header-inner > nav.is-open > .menu-item {
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
  }
  html body .site-header .header-inner > nav.is-open > .menu-item > a {
    display:flex !important;
    align-items:center !important;
    min-height:46px !important;
    height:auto !important;
    margin:0 !important;
    padding:10px 12px !important;
    border:1px solid #e2eef1 !important;
    border-radius:8px !important;
    background:#f7fbfc !important;
    color:#332f30 !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    transition:background-color .2s,color .2s,border-color .2s,transform .2s !important;
  }
  html body .site-header .header-inner > nav.is-open > .menu-item > a:hover,
  html body .site-header .header-inner > nav.is-open > .menu-item > a:focus-visible {
    border-color:#0787a6 !important;
    background:#0787a6 !important;
    color:#fff !important;
    transform:translateY(-1px) !important;
    outline:0 !important;
  }
}
@media (max-width:700px) {
  html body .site-header .header-inner > nav.is-open {
    width:calc(100vw - 30px) !important;
    grid-template-columns:1fr !important;
  }
}

/* The reference collapses the intro media below the copy before the desktop
   two-column width is no longer safe. Keep the full image inside the viewport. */
@media (max-width: 1024px) {
  html body .intro-grid {
    width:calc(100% - 32px) !important;
    grid-template-columns:1fr !important;
    gap:30px !important;
  }
  html body .intro-media {
    width:100% !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  html body .intro-media > img:first-child {
    width:100% !important;
    height:auto !important;
    aspect-ratio:1000 / 400 !important;
    object-fit:cover !important;
  }
  html body .intro-video-panel {
    position:relative !important;
    top:auto !important;
    right:auto !important;
    width:100% !important;
    height:210px !important;
    margin-top:16px !important;
  }
  html body .intro-media .callout {
    position:relative !important;
    left:auto !important;
    bottom:auto !important;
    width:max-content !important;
    max-width:100% !important;
    margin-top:16px !important;
  }
}

/* Reference media composition: the video tile overlays the lower-right of
   the main image and the phone card follows beneath the composition. */
@media (max-width: 1024px) {
  html body .intro-media {
    padding-right:60px !important;
    overflow:visible !important;
  }
  html body .intro-media > img:first-child {
    width:100% !important;
    height:auto !important;
    aspect-ratio:1000 / 400 !important;
  }
  html body .intro-video-panel {
    position:absolute !important;
    top:auto !important;
    right:0 !important;
    bottom:-90px !important;
    width:270px !important;
    height:180px !important;
    margin:0 !important;
  }
  html body .intro-media .callout {
    position:relative !important;
    left:auto !important;
    bottom:auto !important;
    width:max-content !important;
    max-width:100% !important;
    margin-top:90px !important;
  }
}
