/* AnıYolla v8.0.8 — Emergency readability, logo parity and compact rhythm */
:root{--ay-bg:#07090c;--ay-panel:#11151a;--ay-panel2:#171b21;--ay-gold:#e7bd5a;--ay-gold-soft:#f5d98d;--ay-text:#f7f4ec;--ay-muted:#c7c0b4;--ay-line:rgba(231,189,90,.28)}

/* Header / footer logo must be identical */
.h407-header .h407-logo,.h407-footer-grid>div:first-child{display:flex!important;align-items:flex-start!important}
.h407-header .h407-logo img,.h407-footer img{display:block!important;width:150px!important;height:46px!important;max-width:150px!important;max-height:46px!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
.h407-footer img{margin:0 0 10px!important}

/* Compact page rhythm and typography */
.h407-container{width:min(92vw,1240px)!important}
.h407-hero{padding-top:34px!important;padding-bottom:52px!important}
.h407-section,.hm5121-section,.hc517-section,.hp518-tour,.h407-final{padding-top:50px!important;padding-bottom:50px!important}
.h407-copy h1{max-width:760px!important;font-size:clamp(2.7rem,5.6vw,5rem)!important;line-height:.98!important;letter-spacing:-.045em!important;text-wrap:balance!important}
.h407-copy h1 br{display:none!important}
.h407-copy p{max-width:660px!important;font-size:clamp(.94rem,1.3vw,1.08rem)!important;line-height:1.65!important}
.h407-title,.hx512-title,.hp518-tour-title{margin-bottom:24px!important}
.h407-title h2,.hx512-title h2,.hp518-tour-title h2,.h407-final h2{font-size:clamp(1.9rem,3.2vw,3rem)!important;line-height:1.08!important;letter-spacing:-.025em!important;text-wrap:balance!important}
.hc517-control h2{font-size:clamp(2.3rem,4.6vw,4.2rem)!important;line-height:1!important;text-wrap:balance!important}
.h407-faq-grid>div:first-child h2{font-size:clamp(2rem,3.2vw,3rem)!important;line-height:1.06!important}

/* FAQ: force dark cards and fully readable text */
#sss.h407-section.alt{background:#080a0d!important}
#sss .h407-faq-grid{grid-template-columns:minmax(260px,.58fr) minmax(0,1.42fr)!important;gap:24px!important;align-items:start!important}
#sss .h407-faq-grid>div:first-child{padding:28px!important;background:linear-gradient(155deg,#171b21,#0d1014)!important;border:1px solid var(--ay-line)!important;border-radius:18px!important;color:var(--ay-text)!important}
#sss .h407-faq-grid>div:first-child .h407-kicker{color:var(--ay-gold)!important}
#sss .h407-faq-grid>div:first-child h2{margin:22px 0 14px!important;color:#fff!important}
#sss .h407-faq-grid>div:first-child p{margin:0!important;color:var(--ay-muted)!important;font-size:.98rem!important;line-height:1.55!important}
#sss .h407-faq-grid details{overflow:hidden!important;margin:0 0 10px!important;background:linear-gradient(155deg,#171b21,#0e1115)!important;border:1px solid var(--ay-line)!important;border-radius:14px!important;box-shadow:none!important}
#sss .h407-faq-grid details summary{display:block!important;position:relative!important;min-height:58px!important;padding:18px 52px 18px 20px!important;background:transparent!important;color:#fff!important;font-size:1rem!important;font-weight:800!important;line-height:1.35!important;text-shadow:none!important;cursor:pointer!important;list-style:none!important}
#sss .h407-faq-grid details summary::-webkit-details-marker{display:none!important}
#sss .h407-faq-grid details summary::after{content:'+'!important;position:absolute!important;right:20px!important;top:50%!important;transform:translateY(-50%)!important;color:var(--ay-gold)!important;font-size:1.45rem!important;font-weight:500!important}
#sss .h407-faq-grid details[open] summary{color:var(--ay-gold-soft)!important;border-bottom:1px solid rgba(231,189,90,.16)!important}
#sss .h407-faq-grid details[open] summary::after{content:'−'!important}
#sss .h407-faq-grid details p{margin:0!important;padding:15px 20px 18px!important;background:rgba(255,255,255,.018)!important;color:#d5cec2!important;font-size:.95rem!important;line-height:1.55!important}

/* Control chips: true readable contrast */
.hc517-control-points b,.hc517-control-points span,.hc517-control-points li{background:#f6f2e9!important;color:#121212!important;border-color:#d9cba9!important;text-shadow:none!important;opacity:1!important}

/* Tighter footer */
.h407-footer{padding-top:34px!important}.h407-footer-grid{gap:26px!important}.h407-footer a,.h407-footer p{font-size:.82rem!important;line-height:1.55!important}.h407-copy{margin-top:18px!important}

@media(max-width:900px){
 .h407-container{width:min(94vw,1240px)!important}
 .h407-hero{padding-top:24px!important;padding-bottom:42px!important}
 .h407-section,.hm5121-section,.hc517-section,.hp518-tour,.h407-final{padding-top:40px!important;padding-bottom:40px!important}
 .h407-copy h1{font-size:clamp(2.45rem,11vw,4.2rem)!important}
 #sss .h407-faq-grid{grid-template-columns:1fr!important;gap:16px!important}
 #sss .h407-faq-grid>div:first-child{padding:22px!important}
 .h407-header .h407-logo img,.h407-footer img{width:136px!important;height:42px!important;max-width:136px!important;max-height:42px!important}
}
@media(max-width:520px){
 .h407-copy h1{font-size:clamp(2.25rem,12vw,3.35rem)!important;line-height:1.01!important}
 .h407-title h2,.hx512-title h2,.hp518-tour-title h2,.h407-final h2{font-size:clamp(1.75rem,9vw,2.45rem)!important}
 #sss .h407-faq-grid details summary{padding:16px 46px 16px 16px!important;font-size:.94rem!important}
 #sss .h407-faq-grid details p{padding:13px 16px 16px!important;font-size:.9rem!important}
}
