:root {
  --ink: #10233c;
  --muted: #657187;
  --blue: #155faa;
  --blue-deep: #0d3f78;
  --blue-soft: #dcecff;
  --cyan: #58bfd3;
  --paper: #fbfdff;
  --line: #d9e5f1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 35, 60, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Afacad", "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(21, 95, 170, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 95, 170, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-size: 18px;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 229, 241, 0.82);
  background: rgba(251, 253, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark circle {
  fill: var(--white);
  stroke: var(--blue);
  stroke-width: 8;
}

.brand-mark text {
  fill: var(--blue);
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 700;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: -4px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.main-nav a {
  min-width: 84px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="true"] {
  color: var(--blue-deep);
  background: var(--blue-soft);
  outline: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  padding: 10px 15px;
  border: 1px solid rgba(21, 95, 170, 0.18);
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--white);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(21, 95, 170, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px) 30px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(62vw, 760px);
  height: min(62vw, 760px);
  background: radial-gradient(circle, rgba(88, 191, 211, 0.28), rgba(21, 95, 170, 0.08) 46%, transparent 69%);
  transform: translate(18%, -30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  animation: rise 720ms ease both;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #40506a;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 38px rgba(21, 95, 170, 0.28);
}

.btn.secondary {
  color: var(--blue-deep);
  border-color: rgba(21, 95, 170, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  position: relative;
  height: min(58vw, 640px);
  min-height: 420px;
  border-left: 1px solid rgba(21, 95, 170, 0.12);
}

.glass-shelf {
  position: absolute;
  right: 4%;
  width: 84%;
  height: 132px;
  border: 1px solid rgba(21, 95, 170, 0.17);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(220, 236, 255, 0.44));
  box-shadow: var(--shadow);
}

.shelf-one {
  top: 16%;
  transform: rotate(-5deg);
}

.shelf-two {
  bottom: 16%;
  transform: rotate(4deg);
}

.product-tower {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.pack {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 95, 170, 0.2);
  border-radius: var(--radius);
  color: var(--blue-deep);
  background: linear-gradient(160deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 28px 60px rgba(16, 35, 60, 0.18);
  font-weight: 800;
}

.pack-large {
  width: min(24vw, 260px);
  height: min(32vw, 340px);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
}

.pack-large::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 7px solid var(--blue);
  border-radius: 50%;
}

.pack-medium {
  right: 2%;
  top: 50%;
  width: min(20vw, 220px);
  height: 150px;
  transform: rotate(8deg);
  background: linear-gradient(135deg, #fff, #e4f8fa);
}

.pack-small {
  left: 4%;
  bottom: 21%;
  width: min(17vw, 180px);
  height: 116px;
  transform: rotate(-10deg);
}

.hero-facts {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 16px 44px rgba(16, 35, 60, 0.08);
}

.hero-facts article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.hero-facts strong {
  display: block;
  color: var(--blue-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.intro-section,
.products-section,
.contact-section {
  padding: clamp(68px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
}

.intro-copy {
  color: #40506a;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.intro-copy p:first-child {
  margin-top: 0;
}

.products-section {
  background: linear-gradient(180deg, rgba(220, 236, 255, 0.5), rgba(255, 255, 255, 0.78));
  border-block: 1px solid rgba(217, 229, 241, 0.85);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 360px);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 600;
}

.product-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(21, 95, 170, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(16, 35, 60, 0.08);
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-card.featured {
  background: linear-gradient(160deg, #ffffff, #eef7ff);
}

.product-card.wide {
  grid-column: 1 / -1;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.product-card h3 {
  font-size: 1.55rem;
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #40506a;
}

.product-card li {
  position: relative;
  padding-left: 20px;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.product-card .columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
}

.contact-section {
  padding-bottom: clamp(42px, 7vw, 72px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: 36px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 63, 120, 0.94), rgba(21, 95, 170, 0.92)),
    var(--blue-deep);
  box-shadow: var(--shadow);
}

.contact-panel .section-label,
.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel p {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: 1.22rem;
}

address {
  display: grid;
  align-content: center;
  gap: 8px;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
}

address strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
}

address a {
  width: fit-content;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--white);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 5vw, 72px) 34px;
  color: var(--muted);
  font-weight: 600;
}

footer a {
  color: var(--blue-deep);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    order: 3;
  }

  .main-nav a {
    flex: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
    min-height: 360px;
    height: 48vw;
    border-left: 0;
  }

  .product-groups {
    grid-template-columns: 1fr 1fr;
  }

  .product-card .columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-header {
    gap: 12px;
  }

  .brand span:last-child,
  .header-call {
    display: none;
  }

  .main-nav {
    border-radius: var(--radius);
  }

  .main-nav a {
    min-width: 0;
    padding-inline: 8px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 310px;
  }

  .pack-large {
    width: 188px;
    height: 246px;
  }

  .pack-medium {
    width: 150px;
    height: 104px;
  }

  .pack-small {
    width: 136px;
    height: 90px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-facts,
  .intro-grid,
  .section-heading,
  .product-groups,
  .product-card .columns,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .product-card.wide {
    grid-column: auto;
  }

  .product-card,
  address {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
