@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;600;700&family=Bebas+Neue&display=swap');

:root {
  color-scheme: light;
  --ink: #0f2a3a;
  --forest: #00386c;
  --river: #13b0ad;
  --clay: #f68a35;
  --sand: #fdf4e8;
  --fog: #e6f2f5;
  --sun: #fcab4c;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(0, 56, 108, 0.18);
}

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

body {
  font-family: "Archivo", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fef5e8 0%, #edf8f7 55%, #e9f0f6 100%);
  min-height: 100vh;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 15%, rgba(19, 176, 173, 0.16), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(252, 171, 76, 0.18), transparent 42%),
    radial-gradient(circle at 70% 85%, rgba(0, 56, 108, 0.16), transparent 45%);
  z-index: -1;
}

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

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--river);
  margin-bottom: 0.75rem;
}

.site-header {
  position: relative;
  width: 100%;
  background: transparent;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 56, 108, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  z-index: -1;
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  grid-template-areas: "brand links cta";
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-area: brand;
  min-width: 0;
}

.brand__logo {
  height: clamp(56px, 8vw, 88px);
  width: auto;
  object-fit: contain;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.brand__name {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand__tagline {
  font-size: 0.85rem;
  color: rgba(0, 56, 108, 0.68);
}

.nav__links {
  display: flex;
  gap: clamp(0.6rem, 3vw, 1.2rem);
  font-weight: 600;
  color: rgba(0, 56, 108, 0.82);
  flex-wrap: wrap;
  justify-content: center;
  grid-area: links;
  min-width: 0;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
}

.nav__cta {
  grid-area: cta;
  justify-self: end;
  max-width: 100%;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--primary {
  background: var(--forest);
  color: var(--white);
}

.btn--outline {
  border-color: rgba(0, 56, 108, 0.2);
  background: transparent;
}

.btn--ghost {
  border-color: transparent;
  background: #03a877;
  color: #ffffff;
}

.btn--accent {
  background: var(--sun);
  color: #3b240a;
}

.hero {
  padding: 3.5rem 0 4rem;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero__copy h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  color: var(--forest);
}

.hero__copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0, 56, 108, 0.72);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
}

.hero__stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--forest);
}

.hero__stats span {
  font-size: 0.85rem;
  color: rgba(0, 56, 108, 0.65);
}

.hero__panel {
  display: grid;
  gap: 1.2rem;
}

.panel__card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.panel__card h2,
.panel__card h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  color: var(--forest);
}

.panel__card ul {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
  padding-left: 1rem;
  color: rgba(0, 56, 108, 0.7);
}

.panel__card--accent {
  background: linear-gradient(120deg, rgba(19, 176, 173, 0.16), rgba(252, 171, 76, 0.22));
}

.highlights {
  padding: 2.5rem 0;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlight {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid rgba(0, 56, 108, 0.1);
}

.highlight h3 {
  font-family: "Bebas Neue", sans-serif;
  margin-bottom: 0.6rem;
  color: var(--forest);
  letter-spacing: 0.03em;
}

.highlight p {
  color: rgba(0, 56, 108, 0.7);
  line-height: 1.5;
}

.catalog {
  padding: 3rem 0 4rem;
}

.catalog__header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.catalog__header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  color: var(--forest);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.catalog__controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.control {
  display: grid;
  gap: 0.4rem;
}

.control label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 56, 108, 0.6);
}

.control input,
.control select {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 56, 108, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
}

.control input:focus,
.control select:focus {
  outline: 2px solid rgba(19, 176, 173, 0.35);
  border-color: rgba(19, 176, 173, 0.5);
}

.catalog__count {
  justify-self: end;
  font-weight: 600;
  color: rgba(0, 56, 108, 0.6);
}

.catalog__clear {
  align-self: end;
}

.catalog__empty {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  border: 1px dashed rgba(0, 56, 108, 0.2);
  color: rgba(0, 56, 108, 0.6);
}

.card {
  background: transparent;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--card-accent, var(--clay));
}

.card__media {
  position: relative;
  background: #ffffff;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 240, 240, 0.88);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--forest);
}

.card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
  overflow: hidden;
  background: #00386c;
  color: #f2f7ff;
}

.card__body h3 {
  font-size: 1.1rem;
  color: #f2f7ff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.6rem;
  max-height: 2.6rem;
}

.card__desc {
  font-size: 0.92rem;
  color: rgba(242, 247, 255, 0.82);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 4.2rem;
  max-height: 4.2rem;
}

.card__meta {
  display: grid;
  gap: 0.6rem;
}

.card__body .btn {
  margin-top: auto;
}

.card__meta .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(242, 247, 255, 0.6);
}

.price {
  font-weight: 700;
  color: #fcab4c;
}

.company {
  padding: 3rem 0;
}

.company__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.company__copy h2,
.contact__copy h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.3rem;
  color: var(--forest);
  margin-bottom: 1rem;
}

.company__copy p,
.contact__copy p {
  color: rgba(0, 56, 108, 0.72);
  line-height: 1.6;
}

.company__list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 56, 108, 0.52);
}

.company__card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.7rem;
}

.contact {
  padding: 3rem 0 4rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact__card {
  background: linear-gradient(120deg, rgba(19, 176, 173, 0.16), rgba(252, 171, 76, 0.26));
  padding: 1.8rem;
  border-radius: 20px;
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(19, 176, 173, 0.2);
}

.contact__info {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.8rem;
}

.contact__note {
  font-size: 0.85rem;
  color: rgba(0, 56, 108, 0.6);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(0, 56, 108, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  color: rgba(0, 56, 108, 0.6);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "cta";
    justify-items: center;
  }

  .nav__cta {
    justify-self: center;
    width: min(260px, 100%);
  }

  .brand {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 960px) {
  .nav__links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

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

  .catalog__controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .catalog__count {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .nav__links a {
    padding: 0.35rem 0.6rem;
  }
}

@media (max-width: 520px) {
  .brand {
    flex-direction: column;
    align-items: center;
  }

  .brand__logo {
    max-width: min(70vw, 200px);
  }
}
