:root {
  --ink: #0b2447;
  --blue: #1262b3;
  --blue-strong: #064f9e;
  --blue-soft: #d9edff;
  --aqua: #9bd5ef;
  --paper: #fbfdff;
  --white: #ffffff;
  --gold: #d6a63f;
  --coral: #ec796d;
  --line: rgba(12, 66, 122, 0.14);
  --shadow: 0 22px 70px rgba(8, 47, 93, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(113, 190, 232, 0.32), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(236, 121, 109, 0.13), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f4faff 44%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(14, 70, 126, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 70, 126, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.62rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #6fc7f1 0 20%, transparent 22%),
    linear-gradient(135deg, var(--blue), #083e85);
  box-shadow: 0 12px 28px rgba(10, 72, 142, 0.25);
}

.main-nav {
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(11, 36, 71, 0.74);
}

.main-nav a,
.site-footer a {
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--blue-strong);
  border-color: var(--aqua);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1rem;
  color: var(--blue-strong);
  font-weight: 800;
  border: 1px solid rgba(18, 98, 179, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(88vh - 72px);
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 4rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.84) 34%, rgba(255, 255, 255, 0.36) 62%, rgba(255, 255, 255, 0.08) 100%),
    url("assets/hero-sublimarte-watercolor.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -6rem;
  width: 34rem;
  height: 22rem;
  content: "";
  border-radius: 42% 58% 48% 52%;
  background: rgba(255, 255, 255, 0.46);
  filter: blur(12px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  color: #08295a;
  font-size: clamp(4.1rem, 11vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.hero-copy,
.section-heading p,
.promo-grid p,
.order-intro p,
.product-copy p,
.process-grid p,
.form-note {
  color: rgba(11, 36, 71, 0.72);
  line-height: 1.7;
}

.hero-copy {
  max-width: 36rem;
  margin-bottom: 1.65rem;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.78rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.15rem;
  font-weight: 900;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #083e85);
  box-shadow: 0 16px 30px rgba(10, 78, 156, 0.24);
}

.button-soft {
  color: var(--blue-strong);
  border: 1px solid rgba(18, 98, 179, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.section-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.promo-band {
  padding: 2.4rem 0;
  background:
    linear-gradient(100deg, rgba(216, 239, 255, 0.9), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 70% 40%, rgba(214, 166, 63, 0.16), transparent 16rem);
  border-block: 1px solid var(--line);
}

.promo-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.catalog-section,
.order-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 2rem;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.category-tab {
  min-height: 2.65rem;
  padding: 0 0.95rem;
  color: rgba(11, 36, 71, 0.76);
  font: inherit;
  font-weight: 850;
  border: 1px solid rgba(18, 98, 179, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.category-tab[aria-selected="true"] {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #083e85);
  box-shadow: 0 12px 26px rgba(10, 78, 156, 0.18);
}

.catalog-count {
  margin: 0;
  color: rgba(11, 36, 71, 0.62);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.product-card {
  display: grid;
  min-height: 26rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 52px rgba(8, 47, 93, 0.08);
}

.product-art {
  min-height: 11rem;
  background:
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.86), transparent 3.6rem),
    linear-gradient(145deg, rgba(155, 213, 239, 0.58), rgba(255, 255, 255, 0.86));
}

.product-art::before,
.product-art::after {
  display: block;
  content: "";
}

.mug::before {
  width: 5.7rem;
  height: 5.1rem;
  margin: 3.2rem auto 0;
  border: 0.55rem solid #0e5ba6;
  border-right-width: 1.05rem;
  border-radius: 0.8rem 1.5rem 1.15rem 0.85rem;
  background: #ffffff;
  box-shadow: 2.45rem 0.35rem 0 -1.6rem #ffffff, 2.45rem 0.35rem 0 -0.95rem #0e5ba6;
}

.shirt::before {
  width: 7.1rem;
  height: 6.25rem;
  margin: 2.8rem auto 0;
  clip-path: polygon(18% 0, 37% 0, 43% 13%, 57% 13%, 63% 0, 82% 0, 100% 28%, 82% 43%, 78% 100%, 22% 100%, 18% 43%, 0 28%);
  background: linear-gradient(160deg, #ffffff 0 55%, #cfe8ff 56% 100%);
  border: 1px solid rgba(11, 36, 71, 0.08);
  box-shadow: inset 0 -1.5rem 0 rgba(18, 98, 179, 0.18);
}

.tumbler::before {
  width: 4.7rem;
  height: 7rem;
  margin: 2rem auto 0;
  border-radius: 1rem 1rem 1.6rem 1.6rem;
  background: linear-gradient(90deg, #ffffff 0 22%, #a5d9f6 23% 48%, #0e5ba6 49% 100%);
  box-shadow: inset 0 0.45rem 0 #ffffff, 0 1rem 2rem rgba(8, 47, 93, 0.14);
}

.cards::before {
  width: 7rem;
  height: 4.6rem;
  margin: 3.5rem auto 0;
  border-radius: 0.45rem;
  background: #ffffff;
  box-shadow:
    -0.8rem 0.8rem 0 #bfe3f8,
    0.8rem -0.7rem 0 #0e5ba6,
    0 1.1rem 2rem rgba(8, 47, 93, 0.12);
}

.banner::before {
  width: 8.4rem;
  height: 4.4rem;
  margin: 3.5rem auto 0;
  border: 0.45rem solid #0e5ba6;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, #ffffff 0 48%, #bfe3f8 49% 100%);
  box-shadow: 0 1rem 2rem rgba(8, 47, 93, 0.12);
}

.product-copy {
  padding: 1rem;
}

.product-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.55rem;
  color: #6c4a08;
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(214, 166, 63, 0.18);
}

.product-card a {
  align-self: end;
  margin: 0 1rem 1rem;
  padding-top: 0.9rem;
  color: var(--blue-strong);
  font-weight: 900;
  border-top: 1px solid var(--line);
}

.process-band {
  padding: 3rem 0;
  background: #08295a;
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-grid div {
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-grid span {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  place-items: center;
  color: #08295a;
  font-weight: 950;
  border-radius: 50%;
  background: #ffffff;
}

.process-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.order-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(20rem, 1.22fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.order-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 250, 255, 0.95)),
    radial-gradient(circle at 88% 0, rgba(155, 213, 239, 0.3), transparent 12rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(11, 36, 71, 0.82);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  border: 1px solid rgba(18, 98, 179, 0.2);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 98, 179, 0.12);
}

.submit-button {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  color: rgba(11, 36, 71, 0.68);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 23rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .nav-action {
    min-height: 2.45rem;
  }

  .hero {
    min-height: 78vh;
    padding-top: 3rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0.38) 100%),
      url("assets/hero-sublimarte-watercolor.png") center bottom / cover no-repeat;
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 5.2rem);
  }

  .promo-grid,
  .process-grid,
  .order-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-count {
    white-space: normal;
  }

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

  .product-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
