:root {
  --blue: #1768ac;
  --blue-dark: #0a355f;
  --green: #88cf1f;
  --green-dark: #4d8f11;
  --ink: #102033;
  --muted: #667485;
  --line: #dce7ef;
  --soft: #f3f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 47, 78, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 239, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  margin-top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #30445a;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(243, 248, 251, 0.92), rgba(255, 255, 255, 0.96) 48%, rgba(232, 246, 219, 0.72)),
    url("../images/products/portfolio.webp") center right / auto 112% no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.72fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-size: clamp(2.5rem, 5.5vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 680px;
  color: #43566b;
  font-size: 1.16rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

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

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

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(23, 104, 172, 0.22);
}

.btn-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--line);
}

.btn-ghost {
  color: var(--blue-dark);
  border-color: rgba(10, 53, 95, 0.24);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 38px;
}

.metric-row div {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(220, 231, 239, 0.84);
  border-radius: var(--radius);
}

.metric-row strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
  align-self: stretch;
  align-content: center;
}

.portfolio-frame {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(220, 231, 239, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portfolio-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
}

.product-float {
  position: absolute;
  width: 140px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(12, 47, 78, 0.16);
  transition: transform 220ms ease;
}

.product-float img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.float-one {
  right: 320px;
  top: 18%;
}

.float-two {
  right: -4px;
  top: 4%;
}

.hero-visual:hover .product-float {
  transform: translateY(-6px);
}

.trust-panel {
  max-width: 430px;
  margin-left: auto;
  padding: 22px;
  color: var(--white);
  background: var(--blue-dark);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-panel span,
.trust-panel strong {
  display: block;
}

.trust-panel span {
  color: #b9e8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-panel strong {
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.about-band,
.brochure-section {
  background: var(--soft);
}

.split-grid,
.quality-grid,
.contact-grid,
.brochure-grid,
.markets-grid {
  display: grid;
  gap: 56px;
  align-items: start;
}

.split-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.rich-copy {
  color: #3e5063;
  font-size: 1.06rem;
}

.rich-copy p:last-child,
.contact-section p:last-child {
  margin-bottom: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.product-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  min-height: 270px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(12, 47, 78, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 104, 172, 0.28);
  box-shadow: 0 18px 42px rgba(12, 47, 78, 0.12);
}

.product-card img,
.product-abstract {
  width: 100%;
  height: 230px;
  border-radius: 6px;
}

.product-card img {
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbfd, #eef6fb);
}

.product-card p {
  color: var(--muted);
}

.product-abstract {
  display: flex;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 53, 95, 0.92), rgba(23, 104, 172, 0.68)),
    var(--bg-image, none),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 12px);
  background-position: center;
  background-size: cover;
}

.product-abstract.cssd {
  background:
    linear-gradient(135deg, rgba(77, 143, 17, 0.9), rgba(10, 53, 95, 0.72)),
    var(--bg-image, none),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 14px);
  background-position: center;
  background-size: cover;
}

.product-abstract span {
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.2;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips span {
  padding: 7px 10px;
  color: #28516f;
  background: #eef7fc;
  border: 1px solid #d8edf7;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 750;
}

.showcase {
  margin-top: 46px;
  padding: 28px;
  background: linear-gradient(135deg, #f8fbfd, #eef7fc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.showcase-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.showcase-tabs button {
  min-height: 38px;
  padding: 8px 13px;
  color: #31506a;
  background: var(--white);
  border: 1px solid #cfe1ed;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.showcase-tabs button:hover,
.showcase-tabs button.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-height: 218px;
  padding: 12px;
  background: var(--white);
  border: 1px solid #d8e7f0;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(12, 47, 78, 0.06);
  transition: opacity 160ms ease, transform 180ms ease, border-color 180ms ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(136, 207, 31, 0.75);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.gallery-item span {
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
}

.quality-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 53, 95, 0.94), rgba(18, 92, 151, 0.92)),
    url("../images/products/absorbent-gauze.webp") center / cover no-repeat;
}

.quality-section .eyebrow,
.quality-section h2,
.quality-section p {
  color: var(--white);
}

.quality-section p {
  color: #d7e9f6;
}

.quality-products {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.quality-products img {
  width: 138px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.quality-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
}

.quality-list {
  display: grid;
  gap: 14px;
}

.quality-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.quality-list strong,
.quality-list span {
  display: block;
}

.quality-list strong {
  color: var(--white);
  font-size: 1.05rem;
}

.quality-list span {
  margin-top: 7px;
  color: #d7e9f6;
}

.markets-grid {
  grid-template-columns: minmax(210px, 0.55fr) minmax(210px, 0.55fr) minmax(0, 1fr);
  align-items: stretch;
}

.market-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.market-card.highlight {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.market-card.image-card {
  position: relative;
  overflow: hidden;
}

.market-card.image-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  margin: -8px 0 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.large-number {
  color: var(--blue);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}

.market-card.highlight .large-number {
  color: var(--white);
}

.market-card p {
  margin-bottom: 0;
}

.brochure-grid {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
}

.brochure-grid img {
  width: 260px;
  border: 10px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: #3b4e62;
  font-weight: 700;
}

.contact-list a {
  color: var(--blue);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #32485f;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cddbe6;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(136, 207, 31, 0.22);
  border-color: var(--blue);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 30px 0;
  color: #d7e9f6;
  background: var(--blue-dark);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid span {
  margin-top: 4px;
  color: #a8c7dc;
}

.footer-grid div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 77px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .quality-grid,
  .markets-grid,
  .brochure-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-frame,
  .trust-panel {
    margin-left: 0;
  }

  .product-float {
    position: static;
    width: 46%;
  }

  .hero-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-frame,
  .trust-panel {
    grid-column: 1 / -1;
  }

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

  .showcase-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-tabs {
    justify-content: flex-start;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brochure-grid img {
    width: min(280px, 100%);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 64px 0;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .btn {
    width: 100%;
  }

  .metric-row,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .product-card img,
  .product-abstract {
    height: 260px;
  }

  .showcase {
    padding: 18px;
  }

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

  .gallery-item {
    min-height: 186px;
  }

  .gallery-item img {
    height: 118px;
  }

  .quality-products img {
    width: calc(50% - 7px);
  }

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