
:root{
  --bg:#f4f6f8;
  --card:#ffffff;
  --text:#121826;
  --muted:#6b7280;
  --line:#e5e7eb;
  --accent:#d32f2f;
  --accentDark:#b71c1c;
  --radius:22px;
  --shadow: 0 12px 28px rgba(17,24,39,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg) !important;
  color: var(--text) !important;
}

.page{padding: 14px 0 50px}
.container{width:min(440px, 94vw); margin:0 auto; position:relative}

/* Language button */
.langWrap{
  display:flex;
  justify-content:flex-end;
  margin: 4px 0 10px;
}
.langBtn{
  border:1px solid var(--line);
  background:#fff !important;
  border-radius:999px;
  padding:8px 12px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
  box-shadow: 0 6px 16px rgba(17,24,39,.06);
}

/* Banner slider */
.banner{
  position: relative;
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff !important;
  box-shadow: var(--shadow);
}
.banner__viewport{width:100%; overflow:hidden}
.banner__track{
  display:flex;
  transition: transform .35s ease;
  will-change: transform;
}
.banner__slide{
  min-width:100%;
  position:relative;
  height: 190px;
  background:#ddd;
}
.banner__slide img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:none;opacity:1;image-rendering:auto;-webkit-transform:translateZ(0);transform:translateZ(0);}
.banner__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 100%);
  color:#fff;
}
.banner__overlay--small{padding-bottom:12px}
.banner__title{
  font-weight:800;
  font-size: 13px;
  line-height:1.15;
}
.banner__text{
  margin-top:6px;
  font-size:12px;
  opacity:.95;
  white-space:pre-line;
}
.banner__chips{display:flex; gap:6px; flex-wrap:wrap; margin-top:8px}
.chip{
  font-size:11px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  padding:6px 8px;
  border-radius:999px;
  backdrop-filter: blur(6px);
}

/* Dots */
.dots{display:flex;gap:8px;justify-content:center;align-items:center;position:absolute;left:0;right:0;bottom:10px;padding:0;background:transparent !important;}
.dot{
  width:10px;
  height:10px;
  aspect-ratio:1/1;
  border-radius:999px;
  border:none;
  padding:0;
  background: rgba(255,255,255,.95);
  cursor:pointer;
  display:inline-block;
  flex:0 0 auto;
  appearance:none;
  -webkit-appearance:none;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.dot.is-active{background: var(--accent)}

/* Card */
.card{
  margin-top: 14px;
  background: var(--card) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 14px 14px;
  border:1px solid rgba(229,231,235,.8);
}
.card__head{display:flex; gap:12px; align-items:center; margin-bottom: 10px;}
.card__logo{
  width:44px; height:44px; border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(229,231,235,.9);
}
.card__brand{font-weight:700; font-size:13px; color: var(--muted)}
.card__title{font-weight:800; font-size:20px; margin-top:2px}
.card__subtitle{
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height:1.35;
}

.heroLimit{margin-bottom: 10px margin-top: 8px; margin-bottom: 12px;}
.pill{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight:700;
  border:1px solid var(--line);
}
.pill--warn{
  background: #fff7ed;
  border-color: #fed7aa;
  color:#9a3412;
}

/* Form */
.form{display:flex; flex-direction:column; gap:6px; margin-top: 10px}
.field label{display:block; font-size:12px; font-weight:700; margin-bottom:4px}
input, select{
  width:100%;
  padding: 8px 12px;
  border:1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  outline:none;
  background:#fff !important;
}
input:focus, select:focus{
  border-color: rgba(211,47,47,.55);
  box-shadow: 0 0 0 4px rgba(211,47,47,.10);
}
.hint{font-size:11px; color: var(--muted); margin-top:6px}
.error{font-size:11px; color: var(--accent); min-height: 14px; margin-top:6px}
.row{display:grid; grid-template-columns: 1fr 1fr; gap:10px}

.consent{display:flex; gap:10px; align-items:center;
  font-size:12px; color: var(--muted);
}
.consent input{width:18px; height:18px; margin-top:2px}

.submit{
  margin-top: 4px;
  padding: 14px 16px;
  border:none;
  border-radius: 999px;
  background: var(--accent);
  color:#fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  box-shadow: 0 14px 26px rgba(211,47,47,.25);
}
.submit:disabled{opacity:.65; cursor:not-allowed}

/* Info blocks */
.info{
  margin-top: 14px;
  border-top: 1px solid rgba(229,231,235,.8);
  padding-top: 12px;
}
.info__title{font-weight:800; font-size:13px; margin-bottom:8px}
.info__list{margin:0;padding-left:0;list-style:none;color: var(--text); font-size:13px}
.info__list li{margin:6px 0; display:flex; gap:8px; align-items:flex-start}
.info__note{margin-top:8px; font-size:12px; color: var(--muted); line-height:1.35}
.info--ramadan .info__note{
  background: #fff1f2;
  border:1px solid #fecdd3;
  padding:10px 10px;
  border-radius: 14px;
  color:#9f1239;
}

/* Legal */
.legal{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(229,231,235,.8);
  color: var(--muted);
  font-size: 11px;
  line-height:1.5;
}
.legal div{margin:6px 0}

/* Thanks */
.thanksCard{
  margin-top: 16px;
  background: var(--card) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 16px 18px;
  border:1px solid rgba(229,231,235,.8);
  text-align:center;
}
.thanksLogo{width:52px; height:52px; border-radius: 16px; border:1px solid rgba(229,231,235,.9)}
.thanksLead{color: var(--muted)}
.thanksBtn{
  display:inline-flex;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

/* Responsive */
@media (max-width: 520px){
  /* iOS (Safari) input focus zoom fix: keep font-size >= 16px */
  input, select, textarea{font-size:16px}
  .cselect__btn, .cselect__opt{font-size:16px}

  /* Banner: show full image on phones (no cropping) */
  .banner__slide{height:auto}
  .banner__slide img{height:auto; object-fit:contain; background:#fff}
}

@media (max-width: 380px){
  .row{grid-template-columns: 1fr}
}


/* Custom select (nice dropdown) */
.nativeHide{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.cselect{position:relative}
.cselect__btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 8px 12px;
  border:1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  background:#fff;
  color: var(--text);
  cursor:pointer;
}
.cselect__chev{opacity:.7; font-size:12px}
.cselect.is-open .cselect__btn{
  border-color: rgba(211,47,47,.55);
  box-shadow: 0 0 0 4px rgba(211,47,47,.10);
}
.cselect__menu{
  position:absolute;
  left:0; right:0;
  top: calc(100% + 6px);
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(17,24,39,.12);
  padding:6px;
  display:none;
  max-height: 240px;
  overflow:auto;
  z-index: 20;
}
.cselect.is-open .cselect__menu{display:block}
.cselect__opt{
  width:100%;
  text-align:left;
  border:none;
  background:transparent;
  padding:10px 10px;
  border-radius: 12px;
  cursor:pointer;
  font-size:13px;
  color: var(--text);
}
.cselect__opt:hover{
  background: rgba(211,47,47,.08);
}

.hint--date{margin-top:6px; font-size:11px; color: var(--muted)}
