:root {
  --bg: #f6fbfc;
  --bg-soft: #eaf7f9;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #0c2b55;
  --muted: #4c6480;
  --line: rgba(12, 43, 85, 0.1);
  --primary: #0d3d83;
  --primary-strong: #082f68;
  --secondary: #0cb7c9;
  --secondary-strong: #0599ac;
  --highlight: #d9f7fa;
  --footer-background: #eef8fb;
  --shadow: 0 26px 70px rgba(9, 44, 86, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1140px;
  --page-gutter: 1.5rem;
  --page-gutter-mobile: 0.75rem;
  --page-gutter-narrow: 0.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(12, 183, 201, 0.16), transparent 28%),
    radial-gradient(circle at right 20%, rgba(13, 61, 131, 0.08), transparent 26%),
    linear-gradient(180deg, #f9fcfd 0%, #eef8fb 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(249, 252, 253, 0.78);
  border-bottom: 1px solid rgba(12, 43, 85, 0.06);
}

.header-inner,
.footer-inner,
.split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner {
  padding: 0.7rem 0;
}

.footer-inner {
  padding: 1rem 0;
}

.header-inner {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  border-radius: 0.75rem;
}

.brand-logo {
  width: 9rem;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-1px);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.section[id],
.distributor-section[id] {
  scroll-margin-top: 5.5rem;
}

.hero,
.section {
  padding: 5.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary-strong);
}

.hero-copy h1,
.section-heading h2,
.section-block h2,
.contact-panel h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.3rem);
}

.hero-text,
.section-heading p,
.section-copy,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 1.5rem 0 0;
  font-size: 1.03rem;
}

.origin-note {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.origin-flag {
  position: relative;
  display: inline-block;
  width: 2.2rem;
  height: 1.38rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(12, 43, 85, 0.1);
  border-radius: 0.4rem;
  background: linear-gradient(
    90deg,
    #006847 0 33.333%,
    #ffffff 33.333% 66.666%,
    #ce1126 66.666% 100%
  );
  box-shadow: 0 5px 12px rgba(12, 43, 85, 0.12);
}

.origin-flag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #9a752e 0 20%, transparent 22%),
    radial-gradient(circle at 38% 64%, #47754a 0 24%, transparent 26%),
    radial-gradient(circle at 62% 64%, #47754a 0 24%, transparent 26%),
    #b28a3b;
  box-shadow: 0 0 0 1px rgba(98, 72, 29, 0.28);
  transform: translate(-50%, -50%);
}

.origin-copy {
  display: grid;
  gap: 0.18rem;
}

.origin-copy strong {
  font-size: 0.78rem;
  line-height: 1.2;
}

.origin-copy > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #0a5eb1 100%);
  box-shadow: 0 18px 32px rgba(13, 61, 131, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 36px rgba(13, 61, 131, 0.28);
}

.button-secondary {
  border: 1px solid rgba(12, 43, 85, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-panel,
.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.hero-panel {
  width: min(100%, 32rem);
  padding: 1rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(12, 183, 201, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(233, 247, 251, 0.94) 100%);
}

.hero-logo {
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 28px;
  object-fit: cover;
}

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

.section-heading h2,
.section-block h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}

.product-card {
  --product-accent: var(--secondary-strong);
  --product-tint: rgba(12, 183, 201, 0.08);
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1.18fr);
  align-self: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 43, 85, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), var(--product-tint));
  box-shadow: 0 20px 55px rgba(9, 44, 86, 0.1);
}

.product-card-multiuse {
  --product-accent: #6842b8;
  --product-tint: rgba(104, 66, 184, 0.08);
}

.product-card-softener {
  --product-accent: #c44b8a;
  --product-tint: rgba(196, 75, 138, 0.08);
}

.product-card-dishsoap {
  --product-accent: #6f9619;
  --product-tint: rgba(152, 194, 45, 0.1);
}

.product-media {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-right: 1px solid rgba(12, 43, 85, 0.07);
}

.product-media img {
  width: min(100%, 16rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-content {
  min-width: 0;
  padding: 1.5rem;
}

.product-category,
.product-meta,
.product-description,
.product-benefits h4,
.product-benefits ul {
  margin: 0;
}

.product-category {
  color: var(--product-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.45rem, 2.15vw, 2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-meta {
  margin-top: 0.55rem;
  color: var(--product-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-description {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.product-benefits {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(12, 43, 85, 0.1);
}

.product-benefits h4 {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-benefits ul {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
  padding: 0;
  list-style: none;
}

.product-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-benefits li::before {
  content: "—";
  color: var(--product-accent);
  font-weight: 500;
}

.catalog-promo-section {
  padding-top: 1rem;
}

.catalog-promo {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  color: #fff;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary-strong), #0a527f);
  box-shadow: 0 26px 65px rgba(8, 47, 104, 0.2);
}

.catalog-promo > div {
  max-width: 43rem;
}

.catalog-promo .eyebrow {
  color: #65dbe2;
}

.catalog-promo h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.catalog-promo p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.catalog-promo-action {
  flex: 0 0 auto;
  color: var(--primary-strong);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.section-brand {
  background:
    linear-gradient(180deg, rgba(217, 247, 250, 0.48) 0%, rgba(217, 247, 250, 0.1) 100%);
}

.split-layout {
  align-items: start;
}

.section-block {
  flex: 1 1 0;
}

.section-copy {
  max-width: 40rem;
  margin: 0;
}

.section-copy + .section-copy {
  margin-top: 1rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(12, 183, 201, 0.05) 0%, rgba(12, 183, 201, 0) 100%);
}

.contact-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-panel .button {
  margin-top: 1.35rem;
}

.site-footer {
  padding: 0 0 2rem;
  background: var(--footer-background);
}

.footer-inner {
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
}

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

  .split-layout,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

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

  .product-card {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  }

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

  .nav-toggle {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    color: var(--text);
    border: 1px solid rgba(12, 43, 85, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .nav-toggle-icon {
    position: relative;
    transition: background-color 0.2s ease;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
  }

  .nav-toggle-icon::before {
    top: -0.32rem;
  }

  .nav-toggle-icon::after {
    top: 0.32rem;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    transform: translateY(0.32rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    transform: translateY(-0.32rem) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    display: none;
    width: min(19rem, 100%);
    align-items: stretch;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.65rem;
    border: 1px solid rgba(12, 43, 85, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(9, 44, 86, 0.16);
  }

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

  .site-nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    color: var(--primary);
    background: var(--bg-soft);
  }

  .hero,
  .section {
    padding: 3.75rem 0;
  }

  .hero-grid {
    gap: 3rem;
  }

  .hero-panel {
    max-width: 28rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - (var(--page-gutter-mobile) * 2)), var(--container));
  }

  .header-inner {
    padding: 0.65rem 0;
  }

  .brand-logo {
    width: 7.25rem;
    height: auto;
  }

  .hero {
    padding: 2.75rem 0 2rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero-grid {
    gap: 2rem;
  }

  .eyebrow {
    margin-bottom: 0.7rem;
    font-size: 0.68rem;
    line-height: 1.45;
    letter-spacing: 0.15em;
  }

  .section-heading .eyebrow,
  .section-block .eyebrow,
  .contact-panel .eyebrow {
    color: var(--secondary-strong);
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 12vw, 3.2rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .hero-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .origin-note {
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .origin-flag {
    width: 2rem;
    height: 1.25rem;
    border-radius: 0.34rem;
  }

  .origin-flag::before {
    width: 0.32rem;
    height: 0.32rem;
  }

  .origin-copy strong {
    font-size: 0.74rem;
  }

  .origin-copy > span {
    font-size: 0.64rem;
  }

  .hero-actions {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.2rem;
  }

  .button {
    min-height: 2.9rem;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }

  .section-heading {
    margin-bottom: 1.4rem;
  }

  .section-heading h2,
  .section-block h2,
  .contact-panel h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    line-height: 1.02;
  }

  .section-heading p,
  .section-copy,
  .site-footer p {
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .contact-panel {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .product-showcase {
    gap: 0.85rem;
  }

  .product-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .product-media {
    border-right: 0;
    border-bottom: 1px solid rgba(12, 43, 85, 0.07);
  }

  .product-media img {
    width: min(100%, 16rem);
    height: auto;
  }

  .product-content {
    padding: 1.2rem;
  }

  .product-content h3 {
    font-size: 1.65rem;
  }

  .product-description {
    font-size: 0.82rem;
  }

  .product-benefits li {
    font-size: 0.76rem;
  }

  .catalog-promo {
    gap: 1.5rem;
    padding: 1.4rem;
    border-radius: 22px;
  }

  .catalog-promo p:not(.eyebrow) {
    font-size: 0.84rem;
    line-height: 1.62;
  }

  .split-layout {
    gap: 1.4rem;
  }

  .hero-panel {
    max-width: 22rem;
    padding: 0.6rem;
    border-radius: 24px;
  }

  .hero-logo {
    border-radius: 19px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 1.25rem;
  }

  .footer-inner {
    gap: 0.35rem;
    padding: 1rem 0 0;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - (var(--page-gutter-narrow) * 2)), var(--container));
  }

  .header-inner {
    padding: 0.55rem 0;
  }

  .brand-logo {
    width: 6.5rem;
    height: auto;
  }

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

  .nav-toggle {
    width: 2.6rem;
    padding-inline: 0;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 12.5vw, 2.65rem);
  }

  .hero-text {
    font-size: 0.86rem;
  }

  .section-heading .eyebrow,
  .section-block .eyebrow,
  .contact-panel .eyebrow {
    font-size: 0.64rem;
  }

  .origin-copy strong {
    font-size: 0.7rem;
  }

  .origin-copy > span {
    font-size: 0.6rem;
  }

  .section-heading h2,
  .section-block h2,
  .contact-panel h2 {
    font-size: 1.65rem;
  }

  .section-heading p,
  .section-copy,
  .site-footer p {
    font-size: 0.82rem;
  }

  .button {
    min-height: 2.75rem;
    font-size: 0.78rem;
  }
}
