@charset "utf-8";
/* CSS Document */

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#ffffff;
  color:#1f2937;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:24px;
}

.card{
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 24px rgba(15,23,42,0.08);
  margin-bottom:24px;
}

.intro-card{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.grid{
  display:grid;
  grid-template-columns:1.35fr 0.65fr;
  gap:24px;
}

h1,
h2,
h3{
  color:#0e3a5a;
}

h1{
  margin-top:0;
}

h2{
  margin-top:0;
  margin-bottom:18px;
}

h3{
  margin:0 0 10px 0;
  font-size:17px;
}

label{
  display:block;
  font-weight:700;
  margin:0 0 6px;
  color:#1e3a4c;
  font-size:14px;
}

input,
select,
textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #cfd8e3;
  border-radius:12px;
  font-size:15px;
  background:#fff;
}

textarea{
  min-height:110px;
  resize:vertical;
}

.two{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

.three{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.option{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  border:1px solid #dbe5ec;
  border-radius:14px;
  padding:14px;
  background:#fbfdff;
  margin-bottom:12px;
  overflow:hidden;
  cursor:pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.option:hover{
  border-color:#8bc34a;
  box-shadow:0 8px 18px rgba(15,23,42,0.08);
}

.option.is-selected{
  border-color:#2e7d32;
  background:linear-gradient(180deg, #eef9ef 0%, #e4f6e6 100%);
  box-shadow:0 10px 24px rgba(46,125,50,0.14);
}

.option.is-selected .price{
  color:#1b5e20;
}

.option .left{
  display:flex;
  gap:12px;
  flex:1;
  min-width:0;
}

.option input[type="radio"],
.option input[type="checkbox"]{
  width:auto;
  transform:scale(1.15);
  margin-top:4px;
  accent-color:#2e7d32;
  cursor:pointer;
}

.package-text{
  min-width:0;
}

.package-text strong{
  display:block;
  margin-bottom:6px;
}

.price{
  font-weight:700;
  color:#0b5f8a;
  white-space:nowrap;
}

.summary{
  position:sticky;
  top:20px;
}

.row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px dashed #dbe5ec;
}

.total{
  display:flex;
  justify-content:space-between;
  font-size:24px;
  font-weight:700;
  color:#0e3a5a;
  margin-top:14px;
}

.summary-note{
  margin-top:14px;
}

.btn{
  border:0;
  border-radius:999px;
  padding:14px 22px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.btn:disabled{
  opacity:0.65;
  cursor:not-allowed;
}

.primary{
  background:#0e3a5a;
  color:#fff;
}

.secondary{
  background:#e9f2f8;
  color:#0e3a5a;
}

.btns{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.msg{
  margin-top:16px;
  padding:14px;
  border-radius:12px;
}

.ok{
  background:#ecfdf5;
  color:#166534;
}

.err{
  background:#fef2f2;
  color:#991b1b;
}

.muted{
  color:#6b7280;
  font-size:14px;
}

.info{
  background:#eef6fb;
  border:1px solid #d4e8f4;
  color:#0e3a5a;
  border-radius:14px;
  padding:14px 16px;
}

.package-config{
  display:none;
  margin-top:18px;
  padding:16px;
  border:1px solid #dbe5ec;
  border-radius:14px;
  background:#f8fbfe;
}

.package-head{
  display:flex;
  align-items:flex-start;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:4px;
  min-width:0;
}

.package-badge{
  display:inline-flex;
  align-items:center;
  width:auto;
  max-width:100%;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  margin-bottom:6px;
}

.package-badge--gold,
.package-badge--red,
.package-badge--blue{
  background:linear-gradient(135deg,#42a5f5,#1565c0);
  color:#ffffff;
  box-shadow:0 4px 12px rgba(21,101,192,0.20);
}

.package-stars{
  color:#ffd700;
  text-shadow:0 1px 2px rgba(0,0,0,0.18);
  letter-spacing:1px;
  margin-right:6px;
  flex:0 0 auto;
}

.option--highlight{
  border:2px solid #ffd54f;
  background:linear-gradient(180deg, #fffdf5 0%, #fbfdff 100%);
}

.option--popular{
  border:2px solid #90caf9;
}

.option--wanted{
  border:2px solid #90caf9;
}

.check-group{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.check-row{
  display:grid;
  grid-template-columns:22px 1fr;
  align-items:start;
  gap:12px;
  font-size:15px;
  line-height:1.6;
  color:#35556f;
  cursor:pointer;
}

.check-row input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:2px 0 0 0;
  accent-color:#0e3a5a;
  cursor:pointer;
  transform:none;
}

.check-row span{
  display:block;
}

@media (max-width:960px){
  .grid{
    grid-template-columns:1fr;
  }

  .summary{
    position:static;
  }
}

@media (max-width:720px){
  .two,
  .three{
    grid-template-columns:1fr;
  }

  .wrap{
    padding:16px;
  }

  .option{
    flex-direction:column;
    align-items:stretch;
  }

  .option .left{
    width:100%;
    min-width:0;
  }

  .price{
    align-self:flex-start;
    white-space:normal;
  }

  .package-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .package-badge{
    white-space:normal;
  }
}

@media (max-width:600px){
  .btns{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }
}