:root{
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --font-weight-body: 450;
  --font-weight-ui: 600;
  --font-weight-heading: 800;
  --tracking-tight: -0.02em;
  --tracking-wide: 0.08em;

  --bg:#ffffff;
  --surface:#f6f8fa;
  --text:#0f172a;
  --muted:#475569;
  --border:#e5e7eb;

  --brand:#0b7285;
  --brand-2:#0f8ea5;

  --container:1120px;
  --radius:14px;
  --shadow:0 10px 30px rgba(2,8,23,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: var(--font-sans);
  color:var(--text);
  background:var(--bg);
  line-height: 1.7;
  font-weight: var(--font-weight-body);
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 1rem}

h1,h2,h3{
  line-height:1.2;
  margin:0 0 .75rem;
}

h1{
  font-size:clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--tracking-tight);
}

h2{
  font-size:clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.015em;
}

h3{
  font-size:1.2rem;
  font-weight: 700;
}

small{color:var(--muted)}

.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}

/* Hero container: wider than default container to reduce side whitespace */
.hero .container{
  width: min(1320px, calc(100% - 2rem));
}

/* Top bar */
.topline{
  height:4px;
  background:linear-gradient(90deg, var(--brand), #2dd4bf);
}

/* =========================
   HEADER (final, conflict-free)
   ========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 80px;   /* height yerine */
  height: auto;       /* ekle */
  padding-top: 8px;   /* biraz nefes */
  padding-bottom: 10px; /* border ile logo arası net nefes */
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Header iç container: full width for hard-left & hard-right alignment */
.header .container{
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  height: auto;            /* değiştir */
  padding: 0;              /* kalsın */
}

.brand{
  display:flex;
  align-items:center;
  height: auto;            /* değiştir */
  margin: 0;
  padding-bottom: 2px;     /* logo ile border arası ekstra nefes */
}

.brand img{
  height: 56%;                  /* logo büyüklüğü */
  width: auto;
  object-fit: contain;
  display:block;
}

.menu{
  display:flex;
  align-items:center;
  gap:1.4rem;
  font-weight: var(--font-weight-ui);
  letter-spacing: 0.04em;
  font-size:.95rem;
  margin-left: auto;            /* menü sağa yaklaşsın */
}

.menu a{
  padding:.4rem .1rem;
  border-bottom:2px solid transparent;
  color: #0b1220;
  opacity:.9;
}

.menu a:hover{opacity:1}

.menu a[aria-current="page"]{
  border-bottom-color:var(--brand);
  color:var(--brand);
  opacity:1;
}

/* Mobile menu */
.burger{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:.55rem .65rem;
  line-height:0;
  cursor:pointer;
}

.burger svg{width:22px; height:22px}

.mobile-panel{
  display:none;
  border-top:1px solid var(--border);
  background:#fff;
}

.mobile-panel .container{
  padding: .75rem 0 1rem;
  display:flex;
  flex-direction:column;
  gap:.25rem;
}

.mobile-panel a{
  padding:.7rem .25rem;
  border-radius:10px;
  font-weight:650;
  color:#0b1220;
}

.mobile-panel a:hover{ background:var(--surface); }

.mobile-panel a[aria-current="page"]{
  color:var(--brand);
  background:rgba(11,114,133,.08);
}

.mobile-panel.is-open{display:block}

/* =========================
   HERO
   ========================= */
.hero{
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.65fr .85fr;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  align-items: start;
}

.hero-media{
  width: 100%;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: url("/assets/img/hero-healthcare-coordination.png") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(2,6,23,.55);
  font-weight:700;
}

.hero-media--xl{ min-height: 520px; }

.hero-card{ max-width: 560px; }

.hero-card--boxed{
  background: transparent;
  border: none;
  border-radius: var(--radius);
  box-shadow: none;
  display:flex;
  align-items:center;
  min-height: 520px;
  padding: 2rem 2.25rem;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .35rem;
  line-height: 1.25;
}

.hero-card--boxed h1{
  margin: 0;
  font-size: clamp(2.4rem, 3.6vw, 3rem);
}

.hero-subtitle{
  margin-top:.75rem;
  color:var(--muted);
  line-height:1.6;
  font-size: 1.05rem;
  margin-bottom:0;
}

/* Hero alt uzun metin */
.hero-long{
  margin-top: 2rem;
  max-width: 980px;
  margin-left:auto;
  margin-right:auto;
}

.hero-note{
  color: var(--muted);
  line-height: 1.9;
  font-weight: 450;
}

.hero-note p{margin:0 0 1.1rem}
.hero-note strong{color:var(--text)}

/* Sections */
.section{
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section.alt{
  background: var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

/* CTA Banner */
.cta-banner{
  padding: 0;
  margin: 0;
}

.cta-banner__inner{
  width: 100%;
  height: 260px;
  background: url("/assets/img/cta-banner.png") center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner .container{
  display:flex;
  justify-content:center;
}

.cta-banner__btn{
  margin-top: 1.25rem;
  margin-bottom: 2.25rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .85rem 2.1rem;
  border-radius: 999px;
  background: var(--brand);
  color:#fff;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(2,8,23,.18);
}

.cta-banner__btn:hover{ background: var(--brand-2); }

/* Footer (global)  */
.footer{
  background:#000;
  color: rgba(255,255,255,.78);
  border-top: 0;
  padding: 2.25rem 0;
}

.footer .container{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.footer small{
  display:block;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  letter-spacing:.01em;
}

.footer strong{
  color:#fff;
  font-weight: 800;
}

/* =========================
   PAGES: INTRO / SERVICES
   ========================= */
.page-intro{
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}

.page-title{
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 1.5rem;
}

.page-intro-text{
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.services-content{
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-title{
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 2.5rem;
  text-align: left;
}

.service-block{
  max-width: 900px;
  margin: 0 auto 3rem;
}

.service-block h3{
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text);
  margin-bottom: .75rem;
}

.service-block p{
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-block ul{
  padding-left: 1.2rem;
  margin: .75rem 0 0;
}

.service-block li{
  margin-bottom: .4rem;
  color: var(--muted);
}

/* =========================
   CONTACT (boxed page + unified inputs)
   ========================= */
.contact-section{
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.contact-box{
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 3rem 3.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-title{
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 1rem;
}

.contact-subtitle{
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-form{
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.field{
  display:flex;
  flex-direction:column;
  gap: .45rem;
  margin-bottom: 1rem;
}

/* Unified boxed inputs */
.input--boxed,
.textarea--boxed{
  width: 100%;
  background: #fff;
  border: 2px solid rgba(15, 23, 42, .22);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input--boxed::placeholder,
.textarea--boxed::placeholder{
  color: rgba(71, 85, 105, .75);
}

.input--boxed:focus,
.textarea--boxed:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11,114,133,.12);
}

.textarea--boxed{
  min-height: 200px;
  resize: vertical;
}

/* Button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 2px solid rgba(15, 23, 42, .85);
  background: transparent;
  color: #0b1220;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor:pointer;
}

.btn:hover{
  border-color: rgba(15, 23, 42, 1);
}

.btn--wide{
  width: 100%;
  margin-top: 1.25rem;
}

/* Responsive contact */
@media (max-width: 720px){
  .contact-box{
    padding: 2.25rem 1.5rem 2.75rem;
  }
}

/* =========================
   TOAST
   ========================= */
.toast{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  min-width: 280px;
  max-width: min(520px, calc(100% - 2rem));
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(2,8,23,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  text-align: center;
  font-weight: 650;
  z-index: 9999;
}

.toast.is-open{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--ok{
  border-color: rgba(11,114,133,.35);
  color: var(--brand);
}

.toast--error{
  border-color: rgba(220,38,38,.35);
  color: #b91c1c;
}


@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-media--xl{min-height: 320px;}
  .hero-card{max-width: 100%;}
}

@media (max-width: 860px){
  .menu{display:none}
  .burger{display:inline-flex}
}

@media (max-width: 700px){
  .cta-banner__inner{ height: 240px; }
  .cta-banner__btn{ padding: .9rem 1.8rem; }
}

@media (max-width: 600px){

 
  .hero{
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }

  
  .hero-media--xl{
    min-height: 260px;
  }

  
  .hero-card--boxed{
    min-height: auto;
    padding: 1.25rem 0 0;
  }


}
/* =========================
   MOBILE HEADER LOGO SCALE
   ========================= */
@media (max-width: 600px){

  
  .header{
    height: 64px;
    padding-top: 2px;
    padding-bottom: 4px;
  }

  
  .brand{
    height: 100%;
  }

 
  .brand img{
    height: 50%;  
    max-height: 50px;
  }
}
/* =========================
   MOBILE HEADER COMPACT FIX
   ========================= */
@media (max-width: 600px){

  /* Header genel yüksekliği */
  .header{
    min-height: 60px;      /* 80px → 60px */
    padding-top: 2px;      /* üst boşluk azaltıldı */
    padding-bottom: 2px;  /* alt border ile nefes ama sıkı */
  }

  /* Nav hizalaması */
  .nav{
    min-height: 56px;
  }

  /* Logo alanı */
  .brand{
    padding-bottom: 0;
  }

  /* Logo boyutu (asıl farkı yaratan yer) */
  .brand img{
    height: 44%;           /* 56% → 44% */
    max-height: 42px;      /* kesin tavan */
  }

  /* Hero üst boşluğu – header altındaki beyaz alan */
  .hero{
    padding-top: 0.75rem; /* 1.25rem → 0.75rem */
  }

  /* Hero görseli biraz daha yukarı gelsin */
  .hero-media--xl{
    min-height: 240px;    /* 260px → 240px */
  }
}
/* =========================
   MOBILE FULLSCREEN MENU
   ========================= */
@media (max-width: 860px){

  .mobile-panel{
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: #0b1220; /* koyu overlay */
    color: #fff;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .mobile-panel.is-open{
    display: flex;
  }

  /* Menü linkleri */
  .mobile-nav{
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }

  .mobile-nav a{
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.9);
  }

  .mobile-nav a:hover{
    color: #2dd4bf;
  }

  .mobile-nav a[aria-current="page"]{
    color: #2dd4bf;
  }

  /* Kapatma (X) butonu */
  .mobile-close{
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;

    background: none;
    border: none;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
  }

  /* Menü açıkken body scroll kapat */
  body.menu-open{
    overflow: hidden;
  }
}
body.menu-open{ overflow: hidden; }
/* =========================
   HERO CARD TEXT – FINAL OVERRIDE
   ========================= */

.hero-card__inner{
  gap: 0.75rem;          /* önceki .2 / .35 tamamen ezilir */
  max-width: 520px;      /* 420px → daha ferah */
}

.hero-kicker{
  font-size: 0.9rem;     /* daha okunur */
  letter-spacing: 0.08em;
}

.hero-subtitle{
  font-size: 1.25rem;    /* asıl büyüten kısım */
  line-height: 1.55;
  color: var(--muted);
}

/* Desktop’ta biraz daha güçlü dursun */
@media (min-width: 1024px){
  .hero-subtitle{
    font-size: 1.35rem;
  }
}
/* =========================
   LANGUAGE SWITCHER
   ========================= */
.lang{
  display: flex;
  align-items: center;
  gap: .35rem;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: .85rem;
  color: #0b1220;
}

.lang__link{
  opacity: .7;
  padding: .35rem .35rem;
  border-radius: 10px;
}

.lang__link:hover{ opacity: 1; background: rgba(2,8,23,.05); }
.lang__link.is-active{ opacity: 1; color: var(--brand); background: rgba(11,114,133,.10); }

.lang__sep{ opacity: .35; }

/* Mobile overlay dil alanı */
.mobile-lang{
  margin-top: 2.25rem;
  text-align: center;
  opacity: .95;
}

.mobile-lang__title{
  font-size: .85rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: .85rem;
}

.mobile-lang__links{
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.mobile-lang__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-weight: 750;
}

.mobile-lang__link:hover{
  border-color: rgba(45,212,191,.55);
  color: #2dd4bf;
}

.mobile-lang__link.is-active{
  background: rgba(45,212,191,.12);
  border-color: rgba(45,212,191,.45);
  color: #2dd4bf;
}

/* Mobilde header'da lang gizlemek isterseniz (opsiyonel) */
@media (max-width: 860px){
  .lang{ display:none; } /* isterseniz kaldırın */
}
