*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --navy:#003B95;
  --navy-dark:#002d75;
  --blue:#0056D2;
  --blue-light:#1a7fe8;
  --bg:#F0F4F9;
  --muted:#4a6180;
  --border:#dce5ef;
  --white:#ffffff;
  --shadow-sm:0 4px 24px rgba(0,59,149,.06);
  --shadow-md:0 8px 32px rgba(0,59,149,.1);
  --radius-lg:20px;
  --radius-xl:22px;
}

html{font-size:16px;-webkit-text-size-adjust:100%}

img{
  max-width:100%;
  height:auto;
}

.brand-img,
.logo img,
.success-brand img,
.desktop-notice > img,
.sidebar-head img{
  display:block;
  width:140px;
  max-width:72vw;
  height:44px;
  max-height:44px;
  object-fit:contain;
}

body{
  font-family:'Montserrat',sans-serif;
  background:var(--bg);
  color:var(--navy);
  min-height:100dvh;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.app{
  overflow-x:hidden;
  max-width:480px;
  margin:0 auto;
}

/* ── HEADER ── */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:max(18px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 14px max(20px,env(safe-area-inset-left));
  background:rgba(240,244,249,.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:50;
}

.logo a{display:block;line-height:0}

.logo img{display:block}

.menu-toggle{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
  pointer-events:none;
}

#menu-toggle:checked ~ .overlay{
  opacity:1;
  visibility:visible;
}

#menu-toggle:checked ~ .sidebar{
  transform:translateX(0);
}

#menu-toggle:checked ~ .header .hamburger span:nth-child(1){
  transform:translateY(7.5px) rotate(45deg);
}

#menu-toggle:checked ~ .header .hamburger span:nth-child(2){
  opacity:0;
}

#menu-toggle:checked ~ .header .hamburger span:nth-child(3){
  transform:translateY(-7.5px) rotate(-45deg);
}

.hamburger{
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:5px;
  position:relative;
  z-index:110;
}

.hamburger span{
  display:block;
  height:2.5px;
  background:var(--navy);
  border-radius:2px;
  transition:transform .25s,opacity .25s;
}

.hamburger span:nth-child(1){width:24px}
.hamburger span:nth-child(2){width:18px;margin-left:auto}
.hamburger span:nth-child(3){width:24px}

/* ── SIDEBAR ── */
.overlay{
  position:fixed;inset:0;
  background:rgba(0,30,80,.45);
  opacity:0;visibility:hidden;
  transition:opacity .3s,visibility .3s;
  z-index:100;
  cursor:pointer;
}

.sidebar{
  position:fixed;top:0;right:0;
  width:min(300px,85vw);
  height:100dvh;
  background:var(--white);
  z-index:105;
  transform:translateX(100%);
  transition:transform .3s ease;
  display:flex;
  flex-direction:column;
  box-shadow:-8px 0 32px rgba(0,59,149,.12);
}

.sidebar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 20px 16px;
  border-bottom:1px solid var(--border);
}


.sidebar-head .brand-img{
  width:115px;
  height:36px;
  max-height:36px;
}

.sidebar-close{
  background:none;border:none;cursor:pointer;
  width:36px;height:36px;
  display:grid;place-items:center;
  color:var(--navy);font-size:1.4rem;line-height:1;
}

.form-error{
  background:#fff0f0;
  border:1px solid #ffc9c9;
  color:#c0392b;
  font-size:0.78rem;
  font-weight:600;
  padding:12px 14px;
  border-radius:10px;
  margin-bottom:14px;
  line-height:1.5;
}

.sidebar-label{
  padding:18px 20px 8px;
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:#94a7ba;
}

.sidebar-nav{flex:1;overflow-y:auto;padding:0 12px 24px}

.sidebar-nav a{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--navy);
  font-size:0.88rem;
  font-weight:600;
  transition:background .15s;
}

.sidebar-nav a:active,
.sidebar-nav a:hover{background:#f0f5fb}

.sidebar-nav a img{
  width:28px;height:40px;
  object-fit:contain;
  flex-shrink:0;
}

.sidebar-foot{
  padding:16px 20px 24px;
  border-top:1px solid var(--border);
}

.sidebar-foot a{
  display:block;
  text-align:center;
  padding:14px;
  background:var(--navy);
  color:var(--white);
  border-radius:12px;
  text-decoration:none;
  font-size:0.82rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

/* ── HERO ── */
.hero{
  padding:0 16px;
  line-height:0;
  overflow:hidden;
}

.hero img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  object-position:center top;
  border-radius:0 0 var(--radius-xl) var(--radius-xl);
  box-shadow:var(--shadow-md);
}

/* ── KARTLAR ── */
.cards{
  padding:20px max(16px,env(safe-area-inset-right)) max(40px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  display:flex;
  flex-direction:column;
  gap:16px;
}

.card{
  background:var(--white);
  border-radius:var(--radius-lg);
  border:1px solid rgba(220,229,239,.8);
  box-shadow:var(--shadow-sm);
  padding:24px 20px;
}

/* ── BİLGİ KARTI ── */
.info-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  flex-wrap:nowrap;
}

.info-ico{
  width:30px;
  height:30px;
  background:linear-gradient(145deg,var(--blue-light),var(--navy));
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0;
  box-shadow:0 4px 12px rgba(0,59,149,.2);
}

.info-ico svg{width:14px;height:14px;fill:var(--white)}

.info-head h2{
  font-size:clamp(0.72rem,3.2vw,0.8rem);
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
  white-space:nowrap;
  line-height:1.2;
}

.card-info p{
  font-size:0.82rem;
  font-weight:400;
  color:#2b2b2b;
  line-height:1.6;
  text-wrap:pretty;
  -webkit-hyphens:none;
  hyphens:none;
  word-break:normal;
  overflow-wrap:break-word;
}

.card-info p strong{
  color:var(--navy);
  font-weight:700;
}

/* ── İLETİŞİM KARTI ── */
.contact-card{
  padding:22px 20px;
}

.contact-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.contact-ico{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(145deg,var(--blue-light),var(--navy));
  display:grid;
  place-items:center;
  flex-shrink:0;
  box-shadow:0 4px 14px rgba(0,59,149,.2);
}

.contact-ico svg{
  width:20px;
  height:20px;
  color:var(--white);
}

.contact-title{
  font-size:0.88rem;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--navy);
  line-height:1.2;
}

.contact-sub{
  font-size:0.74rem;
  font-weight:500;
  color:var(--muted);
  margin-top:3px;
}

.contact-number{
  display:block;
  text-align:center;
  font-size:1.15rem;
  font-weight:800;
  color:var(--navy);
  letter-spacing:0.02em;
  text-decoration:none;
  margin-bottom:16px;
  padding:12px;
  background:#f4f8fc;
  border-radius:12px;
  border:1px solid var(--border);
}

.contact-number:active{
  background:#eaf1f9;
}

.contact-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.contact-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 12px;
  border-radius:14px;
  text-decoration:none;
  font-size:0.8rem;
  font-weight:800;
  letter-spacing:0.03em;
  text-transform:uppercase;
  transition:transform .15s,box-shadow .15s;
}

.contact-btn svg{
  width:18px;
  height:18px;
  flex-shrink:0;
}

.contact-btn:active{
  transform:translateY(1px);
}

.contact-btn--wa{
  background:#25D366;
  color:var(--white);
  box-shadow:0 5px 16px rgba(37,211,102,.3);
}

.contact-btn--wa:active{
  box-shadow:0 2px 8px rgba(37,211,102,.25);
}

.contact-btn--call{
  background:linear-gradient(145deg,var(--blue-light) 0%,var(--navy) 100%);
  color:var(--white);
  box-shadow:0 5px 16px rgba(0,59,149,.25);
}

.contact-btn--call:active{
  box-shadow:0 2px 8px rgba(0,59,149,.2);
}

/* ── FORM KARTI ── */
.form-head{
  margin-bottom:4px;
}

.form-title{
  font-size:0.92rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.04em;
  margin-bottom:6px;
  color:var(--navy);
}

.form-sub{
  font-size:0.78rem;
  font-weight:500;
  color:var(--muted);
  margin-bottom:20px;
}

.field{margin-bottom:12px}

.field-box{
  display:flex;
  align-items:center;
  gap:12px;
  border:1.5px solid var(--border);
  border-radius:14px;
  padding:0 14px;
  background:#fafbfd;
  transition:border-color .2s,box-shadow .2s,background .2s;
}

.field-box:focus-within{
  border-color:var(--blue);
  background:var(--white);
  box-shadow:0 0 0 3px rgba(0,86,210,.12);
}

.field-box svg{
  width:18px;
  height:18px;
  color:#a0b4c8;
  flex-shrink:0;
}

.field-box input{
  flex:1;
  border:none;
  outline:none;
  background:transparent;
  font:500 0.84rem/1 'Montserrat',sans-serif;
  color:var(--navy);
  padding:15px 0;
}

.field-box input::placeholder{color:#a0b4c8}

.submit-btn{
  display:block;
  width:100%;
  margin-top:10px;
  padding:17px;
  background:linear-gradient(145deg,var(--blue-light) 0%,var(--navy) 100%);
  color:var(--white);
  border:none;
  border-radius:14px;
  font:800 0.88rem/1 'Montserrat',sans-serif;
  letter-spacing:0.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .15s,box-shadow .15s,opacity .15s;
  box-shadow:0 6px 20px rgba(0,59,149,.28);
}

.submit-btn:active{
  transform:translateY(1px);
  box-shadow:0 3px 12px rgba(0,59,149,.22);
}

.submit-btn:disabled{
  opacity:.85;
  cursor:not-allowed;
  transform:none;
}

.secure{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:14px;
  font-size:0.66rem;
  font-weight:500;
  color:#94a7ba;
}

.secure svg{width:12px;height:12px;flex-shrink:0}

/* ── BAŞARI MESAJI ── */
.form-card.sent .form-head,
.form-card.sent .fields{display:none}

.ok{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:36px 12px 28px;
  animation:okFade .4s ease;
}

.form-card.sent .ok{display:flex}

@keyframes okFade{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

.ok-icon{
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg,#0056D2 0%,#003B95 100%);
  display:grid;
  place-items:center;
  margin-bottom:20px;
  box-shadow:0 8px 24px rgba(0,59,149,.22);
}

.ok-icon svg{
  width:30px;
  height:30px;
  color:var(--white);
  stroke-width:3;
}

.ok-title{
  font-size:1.05rem;
  font-weight:800;
  color:var(--navy);
  margin-bottom:10px;
  letter-spacing:-0.01em;
}

.ok-text{
  font-size:0.84rem;
  font-weight:500;
  color:var(--muted);
  line-height:1.65;
  max-width:260px;
}

.fields.hide{display:none}

/* ── TEŞEKKÜR SAYFASI ── */
.body-success{
  background:var(--bg);
}

.success-page{
  min-height:100dvh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  padding-top:max(20px,env(safe-area-inset-top));
}

.success-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px max(32px,env(safe-area-inset-bottom));
}

.success-card{
  width:100%;
  max-width:360px;
  background:var(--white);
  border-radius:var(--radius-xl);
  border:1px solid rgba(220,229,239,.8);
  box-shadow:var(--shadow-md);
  padding:36px 28px 32px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  animation:okFade .45s ease;
}

.success-brand{
  margin-bottom:24px;
  display:flex;
  justify-content:center;
  width:100%;
  padding-bottom:20px;
  border-bottom:1px solid var(--border);
}

.success-brand a{
  display:block;
  line-height:0;
}

.success-icon{
  width:76px;
  height:76px;
  border-radius:50%;
  background:linear-gradient(145deg,var(--blue-light) 0%,var(--navy) 100%);
  display:grid;
  place-items:center;
  margin:24px 0 26px;
  box-shadow:0 12px 32px rgba(0,59,149,.28);
  animation:popIn .5s cubic-bezier(.34,1.56,.64,1) .15s both;
}

@keyframes popIn{
  from{opacity:0;transform:scale(.6)}
  to{opacity:1;transform:scale(1)}
}

.success-icon svg{
  width:34px;
  height:34px;
  color:var(--white);
}

.success-card h1{
  font-size:1.25rem;
  font-weight:800;
  color:var(--navy);
  margin-bottom:14px;
  letter-spacing:-0.02em;
  line-height:1.3;
}

.success-card p{
  font-size:0.86rem;
  font-weight:500;
  color:var(--muted);
  line-height:1.7;
  max-width:280px;
  margin-bottom:20px;
}

.success-contact-number{
  width:100%;
  margin-bottom:14px;
  font-size:1rem;
}

.success-contact-actions{
  width:100%;
  margin-bottom:24px;
}

.success-actions{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}

.success-btn{
  display:block;
  width:100%;
  padding:16px;
  background:linear-gradient(145deg,var(--blue-light) 0%,var(--navy) 100%);
  color:var(--white);
  border-radius:14px;
  text-decoration:none;
  font-size:0.84rem;
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
  text-align:center;
  transition:transform .15s,box-shadow .15s;
  box-shadow:0 6px 20px rgba(0,59,149,.25);
}

.success-btn:active{
  transform:translateY(1px);
  box-shadow:0 3px 12px rgba(0,59,149,.2);
}

.success-link{
  font-size:0.8rem;
  font-weight:600;
  color:var(--blue);
  text-decoration:none;
  padding:10px 16px;
  border-radius:10px;
  background:#f0f5fb;
  transition:background .15s,color .15s;
}

.success-link:active{
  background:#e4edf7;
  color:var(--navy);
}

/* ── FORM LOADER ── */
.page-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(240,244,249,.94);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  pointer-events:all;
}

.page-loader.active,
.page-loader.is-visible{
  display:flex!important;
}

.page-loader-inner{
  text-align:center;
  padding:36px 32px;
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  max-width:300px;
  width:100%;
  animation:loaderPop .3s ease;
}

@keyframes loaderPop{
  from{opacity:0;transform:scale(.92)}
  to{opacity:1;transform:scale(1)}
}

.spinner{
  width:44px;
  height:44px;
  margin:0 auto 20px;
  border:3px solid #dce5ef;
  border-top-color:var(--navy);
  border-radius:50%;
  animation:spin .75s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

.page-loader-inner p{
  font-size:0.88rem;
  font-weight:600;
  color:var(--navy);
  line-height:1.5;
}

/* ── MASAÜSTÜ UYARISI ── */
.desktop-notice{
  display:none;
  min-height:100dvh;
  align-items:center;
  justify-content:center;
  padding:40px 24px;
  background:var(--bg);
  text-align:center;
}

.desktop-notice > img{margin-bottom:28px}
.desktop-notice h1{font-size:1.1rem;font-weight:800;margin-bottom:12px;line-height:1.4}
.desktop-notice p{font-size:0.88rem;font-weight:500;color:var(--muted);line-height:1.6;max-width:320px}
.desktop-notice .phone-ico{margin:24px auto 0;width:56px;height:56px;background:var(--white);border-radius:50%;display:grid;place-items:center;box-shadow:0 4px 20px rgba(0,59,149,.08)}
.desktop-notice .phone-ico svg{width:26px;height:26px;color:var(--blue)}

@media (min-width:768px){
  .app{display:none!important}
  .desktop-notice{display:flex;flex-direction:column}
}

@media (max-width:390px){
  .card{padding:22px 18px}
  .card-info p{font-size:0.8rem;line-height:1.55}
  .brand-img,
  .logo img{height:40px;max-height:40px;width:128px}
}
