:root{
    --navy:#16234A;
    --navy-deep:#0B1329;
    --navy-mid:#1E3160;
    --red:#C4122F;
    --red-deep:#8E0C22;
    --gold:#F0B90B;
    --cream:#FBF6E9;
    --cream-dim:#F1EAD8;
    --ink:#1C1F26;
    --ink-soft:#5B5646;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html,body{
    background:var(--cream);
    color:var(--ink);
    font-family:'Vazirmatn', Tahoma, sans-serif;
    min-height:100%;
    overflow-x:hidden;
  }
  body{
    display:flex;
    justify-content:center;
    padding-bottom:40px;
  }
  .phone{
    width:100%;
    max-width:460px;
    min-height:100vh;
    background:var(--cream);
    position:relative;
    box-shadow:0 0 60px rgba(22,35,74,0.15);
  }

  /* ===== Header band ===== */
  .header{
    position:relative;
    background:
      radial-gradient(120% 160% at 20% -20%, var(--navy-mid) 0%, transparent 55%),
      linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding:38px 24px 54px;
    overflow:hidden;
    text-align:center;
  }
  .header::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      radial-gradient(circle at 12% 20%, rgba(240,185,11,0.10) 0, transparent 40%),
      radial-gradient(circle at 85% 75%, rgba(196,18,47,0.14) 0, transparent 45%);
    pointer-events:none;
  }
  .gear-ring{
    position:absolute;
    border-radius:50%;
    border:1.5px solid rgba(240,185,11,0.14);
  }
  .gear-ring.g1{ width:220px; height:220px; top:-70px; right:-60px; }
  .gear-ring.g2{ width:140px; height:140px; bottom:-50px; left:-30px; border-color:rgba(255,255,255,0.08); }

  .wordmark{
    position:relative;
    font-weight:900;
    font-size:15px;
    letter-spacing:6px;
    color:var(--gold);
    text-transform:uppercase;
    font-family:Tahoma, sans-serif;
  }
  .wordmark small{
    display:block;
    margin-top:6px;
    font-size:10.5px;
    letter-spacing:3px;
    color:rgba(251,246,233,0.6);
    font-weight:600;
  }
  .brand-strip{
    position:relative;
    margin:22px auto 0;
    width:64px;
    height:4px;
    border-radius:4px;
    background:linear-gradient(90deg, var(--red) 0 50%, var(--gold) 50% 100%);
  }

  /* ===== Body ===== */
  .content{
    position:relative;
    padding:0 22px;
    margin-top:-30px;
  }

  /* Emblem: brake-disc inspired seal */
  .emblem-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:6px;
  }
  .emblem{
    width:190px; height:190px;
    border-radius:50%;
    position:relative;
    display:flex; align-items:center; justify-content:center;
  }
  .emblem-logo{
    position:relative; z-index:2;
    width:100%; height:100%;
    display:flex; align-items:center; justify-content:center;
  }
  .emblem-logo img{
    width:100%; height:100%;
    object-fit:contain;
  }
  .emblem-notch{
    position:absolute;
    width:6px; height:6px;
    border-radius:50%;
    background:rgba(251,246,233,0.55);
    box-shadow:0 1px 1px rgba(0,0,0,0.4);
  }

  .headline{
    text-align:center;
    margin-top:22px;
    font-size:21px;
    font-weight:800;
    line-height:1.9;
    color:var(--navy);
  }
  .headline b{ color:var(--red); }
  .subtext{
    text-align:center;
    margin-top:10px;
    font-size:13.5px;
    color:var(--ink-soft);
    line-height:2;
    padding:0 8px;
  }

  /* ===== Choice cards ===== */
  .choices{
    margin-top:30px;
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  .card{
    --tiltX:0deg; --tiltY:0deg;
    position:relative;
    border-radius:20px;
    padding:20px 20px;
    display:flex;
    align-items:center;
    gap:16px;
    text-decoration:none;
    cursor:pointer;
    transform:perspective(700px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
    transition:transform .15s ease, box-shadow .15s ease;
    will-change:transform;
  }
  .card:active{ transform:perspective(700px) scale(0.98); }

  .card.mechanic{
    background:linear-gradient(155deg, var(--navy-mid) 0%, var(--navy) 60%, var(--navy-deep) 100%);
    box-shadow:0 16px 28px -12px rgba(22,35,74,0.55), 0 1px 0 rgba(255,255,255,0.12) inset;
  }
  .card.customer{
    background:linear-gradient(155deg, #D9223F 0%, var(--red) 55%, var(--red-deep) 100%);
    box-shadow:0 16px 28px -12px rgba(142,12,34,0.5), 0 1px 0 rgba(255,255,255,0.15) inset;
  }

  .card-icon{
    flex:0 0 auto;
    width:52px; height:52px;
    border-radius:14px;
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.18);
    display:flex; align-items:center; justify-content:center;
  }
  .card-icon svg{ width:26px; height:26px; }

  .card-text{ flex:1; text-align:center; }
  .card-title{
    font-size:16.5px;
    font-weight:800;
    color:#FBF6E9;
  }
  .card-desc{
    font-size:12px;
    color:rgba(251,246,233,0.72);
    margin-top:4px;
    line-height:1.8;
  }
  .card-arrow{
    flex:0 0 auto;
    color:rgba(251,246,233,0.55);
  }
  .card-arrow svg{ width:18px; height:18px; }

  /* ===== Trust strip ===== */
  .trust{
    margin-top:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 16px;
    border-radius:14px;
    background:var(--cream-dim);
    border:1px solid rgba(22,35,74,0.08);
  }
  .trust svg{ width:18px; height:18px; color:var(--navy); flex:0 0 auto; }
  .trust span{
    font-size:11.5px;
    color:var(--ink-soft);
    line-height:1.9;
  }

  footer{
    text-align:center;
    margin-top:30px;
    padding-bottom:10px;
  }
  footer .strip{
    width:100%;
    height:4px;
    background:linear-gradient(90deg, var(--navy) 0 50%, var(--red) 50% 100%);
    opacity:0.85;
  }
  footer p{
    margin-top:14px;
    font-size:10.5px;
    color:rgba(28,31,38,0.4);
    letter-spacing:1px;
  }


  .site-link{
    margin-top:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    text-decoration:none;
    padding:15px 18px;
    border-radius:14px;
    background:linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
    color:var(--cream);
    box-shadow:0 10px 22px -10px rgba(22,35,74,0.5);
    transition:transform .15s ease;
  }
  .site-link:active{ transform:scale(0.98); }
  .site-link svg{ width:17px; height:17px; flex:0 0 auto; }
  .site-link svg.go{ width:14px; height:14px; opacity:0.7; }
  .site-link span{
    font-size:13px;
    font-weight:700;
    letter-spacing:0.2px;
  }

  @media (prefers-reduced-motion: reduce){
    .card{ transition:none; }
  }

/* ===== Forms ===== */
.form-wrap{ margin-top:26px; }
.field{ margin-bottom:16px; }
.field label{
  display:block;
  font-size:12.5px;
  font-weight:700;
  color:var(--navy);
  margin-bottom:7px;
}
.field input, .field textarea{
  width:100%;
  padding:13px 14px;
  border-radius:12px;
  border:1.5px solid rgba(22,35,74,0.15);
  background:#fff;
  font-family:'Vazirmatn', Tahoma, sans-serif;
  font-size:14px;
  color:var(--ink);
}
.field input:focus, .field textarea:focus{
  outline:none;
  border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(22,35,74,0.1);
}
.field .hint{ font-size:11px; color:var(--ink-soft); margin-top:5px; }
.submit-btn{
  width:100%;
  border:none;
  padding:16px;
  border-radius:14px;
  font-family:inherit;
  font-size:15px;
  font-weight:800;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(155deg, var(--navy-mid) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  box-shadow:0 14px 26px -12px rgba(22,35,74,0.5);
}
.submit-btn.customer{
  background:linear-gradient(155deg, #D9223F 0%, var(--red) 55%, var(--red-deep) 100%);
  box-shadow:0 14px 26px -12px rgba(142,12,34,0.5);
}
.submit-btn:active{ transform:scale(0.98); }
.back-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; color:var(--ink-soft);
  text-decoration:none;
  margin-bottom:18px;
}
.error-box{
  background:#FDEAEA;
  border:1px solid rgba(196,18,47,0.25);
  color:var(--red-deep);
  padding:13px 15px;
  border-radius:12px;
  font-size:13px;
  margin-bottom:16px;
  line-height:1.9;
}
.success-box{
  text-align:center;
  padding:20px 0;
}
.success-box .check{
  width:64px; height:64px;
  border-radius:50%;
  background:linear-gradient(155deg, #2E9E5B, #1E7A44);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  box-shadow:0 14px 26px -12px rgba(30,122,68,0.5);
}
.success-box .check svg{ width:30px; height:30px; }
.success-box h2{ font-size:18px; color:var(--navy); margin-bottom:8px; }
.success-box p{ font-size:13px; color:var(--ink-soft); line-height:1.9; }
