:root {
  --blue: #194890;
  --blue2: #2f73bd;
  --ink: #142946;
  --muted: #6c7d91;
  --bg: #f3f7fc;
  --card: #fff;
  --line: #dfe9f4;
  --gold: #bd7d00;
  --silver: #5f6c78;
  --green: #16865d;
  --danger: #b73442;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-image: url("../images/Gemini_Generated_Image_ovz8blovz8blovz8.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  min-height: 100vh;
}

.wrap {
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 28px 0 46px;
}

form {
  display: grid;
  gap: 18px;
}

.hero {
  background-image: linear-gradient(rgba(25, 72, 144, 0.78), rgba(36, 100, 170, 0.72)),
    url("../images/Screenshot 2026-09-29 162148.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 29px 30px 25px;
  text-align: center;
  box-shadow: 0 15px 35px #19489022;
}

.hero .bubble {
  font-size: 32px;
  display: block;
  margin-bottom: 4px;
}

.hero h1 {
  font-size: 29px;
  margin: 0;
}

.hero p {
  margin: 8px 0 0;
  color: #e1efff;
  font-size: 14px;
  line-height: 1.9;
}

.brand-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 0;
  position: relative;
  z-index: 3;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100px;
  object-fit: contain;
  background: none;
  border-radius: 14px;
  padding: 6px 12px;
}

.card {
  background: var(--card);
  padding: 27px 30px 30px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 15px 35px #17376412;
}

.intro {
  margin: 0 0 23px;
  color: #526b86;
  line-height: 2;
  font-size: 14px;
}

.section-title {
  font-size: 17px;
  margin: 25px 0 13px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title:before {
  content: "";
  width: 5px;
  height: 23px;
  border-radius: 8px;
  background: var(--blue2);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field.wide {
  grid-column: 1 / -1;
  gap: 10px;
}

.field label {
  font-size: 13px;
  font-weight: bold;
  color: #334e6d;
}

.required {
  color: var(--danger);
}

input,
textarea {
  font: inherit;
  width: 100%;
  border: 1px solid #cad9e8;
  border-radius: 11px;
  padding: 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: 0.2s;
}

input:focus,
textarea:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 4px #4094d01d;
}

textarea {
  resize: vertical;
  min-height: 92px;
}

textarea,
input {
  min-height: 48px;
}

.hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.size-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cad9e8;
  border-radius: 11px;
  background: #fff;
  min-height: 48px;
  cursor: pointer;
  transition: 0.2s;
  padding: 10px 12px;
}

.size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-option:has(input:checked) {
  border-color: var(--blue2);
  background: #edf5ff;
  box-shadow: 0 0 0 3px rgba(47, 115, 189, 0.1);
}

.size-option span {
  font-weight: 700;
  color: var(--ink);
}

.size-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.choice-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cad9e8;
  border-radius: 11px;
  background: #fff;
  min-height: 48px;
  cursor: pointer;
  transition: 0.2s;
  padding: 10px 12px;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-option:has(input:checked) {
  border-color: var(--blue2);
  background: #edf5ff;
  box-shadow: 0 0 0 3px rgba(47, 115, 189, 0.1);
}

.choice-option span {
  font-weight: 700;
  color: var(--ink);
}

.scheduled-fields {
  margin-top: 12px;
}

.scheduled-fields.hidden {
  display: none;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.map-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid #c8dbee;
  border-radius: 11px;
  background: #f5f9fe;
  color: var(--blue);
  font: 700 13px Tahoma, Arial, sans-serif;
  cursor: pointer;
  transition: 0.2s;
}

.map-btn:hover {
  background: #eaf3fd;
  border-color: #9fc1e3;
}

.map-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.package {
  position: relative;
  border: 2px solid var(--line);
  border-radius: 15px;
  padding: 17px;
  cursor: pointer;
  transition: 0.2s;
  background: #fff;
}

.package:hover {
  transform: translateY(-2px);
  border-color: #a9c6e3;
}

.package input {
  position: absolute;
  opacity: 0;
}

.package.selected {
  border-color: var(--blue);
  box-shadow: 0 7px 20px #19489018;
  background: #f8fbff;
}

.package h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.package .price {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 9px;
}

.gold .price {
  color: var(--gold);
}

.silver .price {
  color: var(--silver);
}

.package p {
  font-size: 12px;
  line-height: 1.9;
  color: #556c84;
  margin: 0;
}

.tick {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 23px;
  height: 23px;
  border: 1px solid #c5d3e1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
}

.selected .tick {
  background: var(--blue);
  border-color: var(--blue);
}

.notice {
  margin: 22px 0 17px;
  background: #f0f7ff;
  border: 1px solid #d6e8fb;
  border-radius: 12px;
  padding: 13px 15px;
  color: #42617e;
  font-size: 12px;
  line-height: 1.9;
}

.send {
  border: 0;
  width: 100%;
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--green);
  color: #fff;
  font: 700 16px Tahoma, Arial, sans-serif;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 8px 18px #16865d33;
}

.send:hover {
  background: #107555;
  transform: translateY(-1px);
}

.send:active {
  transform: none;
}

.error {
  min-height: 20px;
  color: var(--danger);
  font-size: 12px;
  margin: 10px 0 0;
  text-align: center;
}

.foot {
  text-align: center;
  color: #71869b;
  font-size: 12px;
  margin: 19px 0 0;
  line-height: 1.9;
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 20px, 760px);
    padding: 16px 0 30px;
  }

  .brand-logo {
    height: 80px;
  }

  .hero {
    border-radius: 16px 16px 0 0;
    padding: 24px 18px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .card {
    border-radius: 0 0 16px 16px;
    padding: 22px 17px;
  }

  .fields,
  .packages,
  .size-options,
  .choice-options,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .field.wide {
    grid-column: auto;
  }

  .notice {
    margin-top: 10px;
  }
}