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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background: #fff;
  color: #000;
  min-height: 100vh;
}

.header {
  padding: 32px 40px;
}

.logo-main {
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1;
}

.logo-subtitle {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 400;
  color: #222;
}

/* HOME */

.hero {
  max-width: 1000px;
  margin: 120px auto;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 82px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -4px;
}

.subtitle {
  margin-top: 32px;
  font-size: 28px;
  color: #666;
  font-weight: 300;
}

.address-form {
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  max-width: 900px;
}

.address-form input {
  flex: 1;
  height: 72px;
  border: 1px solid #dcdcdc;
  border-right: none;
  border-radius: 16px 0 0 16px;
  padding: 0 24px;
  font-size: 20px;
  outline: none;
}

.address-form button {
  width: 240px;
  height: 72px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 0 16px 16px 0;
}

/* SHARED */

.page {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
}

.card {
  text-align: center;
}

.card h1 {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -3px;
}

.card p {
  margin-top: 18px;
  font-size: 24px;
  color: #666;
}

/* SIZE PAGE */

.size-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.size-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 22px;
  padding: 28px;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}

.size-card:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.size-card strong {
  display: block;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

.size-card span {
  font-size: 18px;
  color: #666;
}

/* DETAILS PAGE */

.details-form {
  margin: 48px auto 0;
  max-width: 760px;
  display: grid;
  gap: 20px;
}

.date-picker-button,
.details-form select,
.details-form input[type="tel"] {
  width: 100%;
  height: 100px;
  border: 1px solid #ddd;
  border-radius: 28px;
  background: #fff;
  color: #000;
  font-size: 30px;
  font-weight: 300;
  padding: 0 36px;
  outline: none;
  text-align: left;
}

.date-picker-button {
  cursor: pointer;
}

.details-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 5 5-5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 36px center;
  padding-right: 80px;
}

.details-form input::placeholder {
  color: #aaa;
}

.details-form button[type="submit"] {
  width: 100%;
  height: 100px;
  border: none;
  border-radius: 28px;
  background: #000;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  cursor: pointer;
  transition: 0.2s;
}

.details-form button[type="submit"]:hover {
  opacity: 0.92;
}

/* CALENDAR */

.calendar-box {
  display: none;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 28px;
  padding: 28px;
  background: #fff;
}

.calendar-box.open {
  display: block;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-header strong {
  font-size: 28px;
  font-weight: 400;
}

.calendar-header button {
  width: 52px;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 30px;
  cursor: pointer;
}

.calendar-days,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.calendar-days span {
  text-align: center;
  color: #777;
  font-size: 15px;
}

.calendar-grid button {
  height: 64px;
  border: none;
  border-radius: 16px;
  background: #f5f5f5;
  color: #000;
  font-size: 22px;
  cursor: pointer;
}

.calendar-grid button:hover {
  background: #000;
  color: #fff;
}

/* SUCCESS */

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  width: 260px;
  height: 64px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  font-size: 18px;
}

/* MOBILE */

@media (max-width: 768px) {
  .hero {
    margin-top: 80px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .subtitle {
    font-size: 22px;
  }

  .address-form {
    flex-direction: column;
    gap: 12px;
  }

  .address-form input,
  .address-form button {
    width: 100%;
    height: 72px;
    border-radius: 16px;
    border: 1px solid #dcdcdc;
  }

  .card h1 {
    font-size: 42px;
  }

  .size-grid {
    grid-template-columns: 1fr;
  }

  .date-picker-button,
  .details-form select,
  .details-form input[type="tel"],
  .details-form button[type="submit"] {
    height: 84px;
    font-size: 24px;
    border-radius: 22px;
    padding: 0 24px;
  }
}

.photos-form {
  margin: 48px auto 0;
  max-width: 760px;
  display: grid;
  gap: 20px;
}

.upload-box {
  width: 100%;
  min-height: 260px;
  border: 1px dashed #bbb;
  border-radius: 28px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  cursor: pointer;
}

.upload-box input {
  display: none;
}

.upload-box span {
  display: block;
  font-size: 32px;
  font-weight: 300;
  color: #000;
}

.upload-box small {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  color: #777;
}

.photos-form button {
  width: 100%;
  height: 100px;
  border: none;
  border-radius: 28px;
  background: #000;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.skip-link {
  color: #666;
  font-size: 18px;
  text-decoration: none;
}

.skip-link:hover {
  color: #000;
}