:root {
  --blue: #078fd9;
  --deep-blue: #0567ad;
  --yellow: #fff044;
  --cream: #fff1a6;
  --ink: #151515;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  scroll-behavior: smooth;
  background: #111;
}

body {
  min-width: 320px;
  margin: 0;
  background: #111;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.travoya-page {
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  background: #e7fbff;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.45);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-section {
  position: relative;
  min-height: 716px;
  padding: 18px 14px 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(36, 164, 240, 0.44) 0, rgba(255, 255, 255, 0) 24%),
    url("../img/top-bg.jpg") center top / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-copy h1 {
  max-width: 390px;
  margin: 0 auto 16px;
  color: var(--yellow);
  font-size: clamp(2rem, 9vw, 2.55rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 var(--deep-blue),
    2px 0 0 var(--deep-blue),
    -2px 0 0 var(--deep-blue),
    0 -2px 0 var(--deep-blue),
    0 7px 14px rgba(0, 80, 140, 0.35);
}

.hero-copy p {
  max-width: 356px;
  margin: 0 auto;
  color: var(--yellow);
  font-size: 0.96rem;
  line-height: 0.95;
  text-shadow:
    1px 0 0 #e9442f,
    -1px 0 0 #e9442f,
    0 1px 0 #e9442f,
    0 -1px 0 #e9442f,
    1px 1px 0 #e9442f,
    -1px 1px 0 #e9442f,
    1px -1px 0 #e9442f,
    -1px -1px 0 #e9442f,
    0 3px 5px rgba(180, 45, 32, 0.24);
}

.featured-pill {
  position: absolute;
  right: 48px;
  bottom: 21px;
  left: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 74px;
  padding: 8px 12px 9px;
  color: var(--yellow);
  text-align: center;
  text-decoration: none;
  border-radius: 44px;
  background: linear-gradient(180deg, #67c5ff, #0276cd 74%, #0057a8);
  box-shadow:
    inset 0 5px 0 rgba(255, 255, 255, 0.32),
    0 15px 28px rgba(0, 75, 143, 0.28);
  cursor: pointer;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.featured-pill:focus-visible {
  outline: 3px solid #fff86b;
  outline-offset: 4px;
}

.featured-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 5px 0 rgba(255, 255, 255, 0.36),
    0 19px 31px rgba(0, 75, 143, 0.34);
}

.featured-pill:active {
  transform: translateY(1px);
}

.featured-pill strong {
  display: block;
  font-size: 1.48rem;
  line-height: 0.95;
  text-shadow: 0 2px 0 #05609f;
}

.featured-pill span {
  display: block;
  margin-top: 5px;
  color: #fff86b;
  font-size: 0.9rem;
  line-height: 1;
  text-shadow: 0 1px 0 #065895;
}

.share-message {
  scroll-margin-top: 12px;
  padding: 15px 10px 8px;
  background: #dff9ff;
  text-align: center;
}

.share-message h2,
.share-message p,
.occasions-section h2,
.tips-section h2 {
  margin: 0;
  color: var(--yellow);
  font-weight: 800;
  line-height: 0.9;
  text-shadow:
    1.5px 0 0 var(--deep-blue),
    -1.5px 0 0 var(--deep-blue),
    0 1.5px 0 var(--deep-blue),
    0 -1.5px 0 var(--deep-blue),
    1.5px 1.5px 0 var(--deep-blue),
    -1.5px 1.5px 0 var(--deep-blue),
    1.5px -1.5px 0 var(--deep-blue),
    -1.5px -1.5px 0 var(--deep-blue),
    0 6px 8px rgba(0, 80, 140, 0.34);
}

.share-message h2 {
  font-size: 1.36rem;
}

.share-message p {
  max-width: 370px;
  margin: 3px auto 0;
  font-size: 1.35rem;
}

.kit-section {
  padding: 6px 8px 12px;
  background: #dff9ff;
}

.kit-grid,
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kit-grid {
  gap: 6px;
}

.kit-card {
  display: grid;
  min-height: 167px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #efc426;
  border-radius: 8px;
  background: #fff;
}

.kit-card img {
  width: 118%;
  height: 118%;
  aspect-ratio: 600 / 511;
  object-fit: cover;
}

.occasions-section {
  padding: 4px 8px 13px;
  background: #dff9ff;
  text-align: center;
}

.occasions-section h2 {
  margin-top: 8px;
  margin-bottom: 14px;
  font-size: 1.34rem;
}

.occasion-grid {
  gap: 8px;
}

.occasion-card {
  overflow: hidden;
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 0 5px 0 rgba(0, 116, 178, 0.12);
}

.occasion-art {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.occasion-card h3 {
  min-height: 35px;
  margin: 0;
  padding: 7px 5px 8px;
  color: var(--yellow);
  font-size: 0.95rem;
  line-height: 1;
  text-shadow: 0 2px 0 #0271b5;
}

.tips-section {
  padding: 13px 18px 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.62), transparent 10rem),
    var(--cream);
}

.tips-section h2 {
  text-align: center;
  font-size: 1.35rem;
}

.tips-section ol {
  display: grid;
  gap: 15px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: #56504b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.16;
}

.tips-section li {
  counter-increment: tips;
}

.tips-section li::before {
  content: counter(tips) ".";
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
}

.brand-section,
.guarantee-section {
  position: relative;
  padding: 26px 17px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)),
    url("../img/top-bg.jpg") center / cover;
}

.brand-section::before,
.guarantee-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 22px 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.brand-section > *,
.guarantee-section > * {
  position: relative;
  z-index: 1;
}

.brand-section h2,
.contact-block h3,
.guarantee-section h2,
.warranty-form h2 {
  margin: 0;
  color: #fff;
  font-size: 1.83rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 4px 9px rgba(0, 0, 0, 0.4);
}

.brand-section p {
  max-width: 382px;
  margin: 8px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  font-weight: 800;
  line-height: 1.22;
}

.brand-section h2 {
  text-align: center;
}

.contact-block {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.contact-block h3 {
  margin-bottom: 4px;
}

.contact-block a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  overflow-wrap: anywhere;
  color: #028bdf;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.contact-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.guarantee-section {
  padding-top: 14px;
  padding-bottom: 28px;
  border-top: 10px solid #ffe334;
  background:
    linear-gradient(rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.96)),
    url("../img/top-bg.jpg") center / cover;
}

.guarantee-section h2 {
  color: #fff46a;
  font-size: 1.38rem;
  text-align: center;
  text-shadow: 0 3px 0 #101010;
}

.guarantee-note {
  width: 92%;
  margin: 5px auto 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.product-image {
  width: min(100%, 358px);
  margin: 0 auto 34px;
  overflow: hidden;
  border-radius: 11px;
  background: #fff;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.warranty-form {
  display: grid;
  gap: 17px;
  margin-top: 4px;
}

.warranty-form h2 {
  max-width: 372px;
  font-size: 1.42rem;
  line-height: 1.12;
}

.form-row {
  display: grid;
  grid-template-columns: 29px auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #fff;
}

.field-icon svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

.field-label {
  font-size: 1.17rem;
  line-height: 1;
}

.form-row input {
  width: 100%;
  min-width: 0;
  padding: 4px 2px 7px;
  color: #fff;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  outline: 0;
  background: transparent;
}

.form-row input:focus {
  border-bottom-color: #fff345;
}

.warranty-form button {
  justify-self: center;
  min-width: 116px;
  padding: 10px 18px;
  color: #073655;
  border: 0;
  border-radius: 8px;
  background: #fff33c;
  box-shadow: 0 5px 0 #d3a900;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: -8px 0 0;
  color: #fff33c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #ffb6bd;
}

@media (min-width: 431px) {
  .travoya-page {
    margin-top: 18px;
    margin-bottom: 18px;
    border-radius: 4px;
  }
}

@media (max-width: 360px) {
  .hero-section {
    min-height: 668px;
  }

  .hero-copy h1 {
    font-size: 1.82rem;
  }

  .hero-copy p {
    font-size: 0.78rem;
  }

  .featured-pill {
    right: 35px;
    left: 35px;
  }

  .kit-card {
    min-height: 145px;
  }

  .occasion-art {
    height: 116px;
  }

  .tips-section ol,
  .brand-section p {
    font-size: 1.04rem;
  }
}
