/* Aktif Degerleme V4.3: ONLY welcome hero and header-over-hero presentation. */
body { --ad-hero-header-height: 90px; }
body > header { position:sticky;top:0;z-index:100; min-height:var(--ad-hero-header-height); background:rgba(8,29,46,.66); border-bottom:1px solid rgba(255,255,255,.18); box-shadow:none; backdrop-filter:blur(12px); transition:background .28s,border-color .28s,box-shadow .28s; }
body > header nav a,body > header .brand small {color:#f7fafb}
body > header .brand small {border-left-color:rgba(255,255,255,.3)}
body > header .brand img {background:rgba(255,255,255,.94);border-radius:5px;padding:5px}
body > header .contact {background:#f4f6f7;color:#112b40}
body.ad-header-scrolled > header {background:rgba(255,255,255,.97);border-bottom:1px solid #e4e8ea;box-shadow:0 8px 26px rgba(12,35,52,.09)}
body.ad-header-scrolled > header nav a,body.ad-header-scrolled > header .brand small {color:#19374b}
body.ad-header-scrolled > header .brand small {border-left-color:#e4e8ea}
body.ad-header-scrolled > header .contact {background:#15344b;color:#fff}
/* Hero begins beneath transparent header but its photo extends behind it. */
.hero#uzmanlik {position:relative;isolation:isolate;overflow:hidden;min-height:clamp(590px,65vw,760px);margin-top:calc(-1 * var(--ad-hero-header-height));padding:clamp(180px,19vw,240px) clamp(26px,8vw,150px) clamp(85px,10vw,140px);display:flex;flex-direction:column;justify-content:center;color:#fff;background-color:#0a2032;background-image:url('../img/hero-rezidans-v43.webp');background-repeat:no-repeat;background-position:center center;background-size:cover;}
.hero#uzmanlik::before {content:'';display:block!important;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,28,44,.35) 0%,rgba(8,28,44,.12) 54%,transparent 100%);pointer-events:none}
.hero#uzmanlik::after {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,rgba(8,29,46,.24),transparent 36%)}
.hero#uzmanlik .eyebrow {color:#ebcfac;position:relative;z-index:1}
.hero#uzmanlik h1 {position:relative;z-index:1;max-width:880px;font-size:clamp(43px,5.6vw,82px);line-height:1.12;text-shadow:0 4px 22px rgba(0,0,0,.18)}
.hero#uzmanlik>p {position:relative;z-index:1;max-width:640px;color:#e5edf0;text-shadow:0 2px 12px rgba(0,0,0,.24)}
.hero#uzmanlik.ad-hero-motion .eyebrow,.hero#uzmanlik.ad-hero-motion h1,.hero#uzmanlik.ad-hero-motion>p {animation:adHeroV43 .9s cubic-bezier(.2,.7,.2,1) both}
.hero#uzmanlik.ad-hero-motion h1 {animation-delay:.15s}
.hero#uzmanlik.ad-hero-motion>p {animation-delay:.34s}
@keyframes adHeroV43 {from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){body{--ad-hero-header-height:80px}.hero#uzmanlik{min-height:620px;background-position:58% center;padding:165px 6vw 90px}.hero#uzmanlik::before{background:linear-gradient(90deg,rgba(8,29,46,.72),rgba(8,29,46,.22))}}
@media(max-width:580px){body{--ad-hero-header-height:72px}.hero#uzmanlik{min-height:590px;background-position:60% center;padding:145px 24px 85px}.hero#uzmanlik::before{background:linear-gradient(90deg,rgba(8,29,46,.84),rgba(8,29,46,.55))}.hero#uzmanlik h1{font-size:clamp(37px,9vw,55px)}}
@media(prefers-reduced-motion:reduce){.hero#uzmanlik.ad-hero-motion .eyebrow,.hero#uzmanlik.ad-hero-motion h1,.hero#uzmanlik.ad-hero-motion>p{animation:none!important}body>header{transition:none}}
