/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1a4fa0;
  --black:     #111111;
  --dark:      #333333;
  --mid:       #777777;
  --light:     #f5f5f5;
  --border:    #e0e0e0;
  --white:     #ffffff;
  --max-w:     1100px;
  --radius:    8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--black);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 4rem 0; }
.section-lg{ padding: 5.5rem 0; }
.bg-light  { background: var(--light); }

/* ── Announcement bar ───────────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--black);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.announcement-bar a {
  color: rgba(255,255,255,.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .8rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: #163f85;
  border-color: #163f85;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light);
  border-color: var(--light);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .container {
  max-width: none;
  padding: 0 2.5rem;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.nav-logo    { grid-column: 1; }
.nav-links   { grid-column: 2; }
.nav-cta     { grid-column: 3; justify-self: end; margin-left: 0; padding: .5rem 1.1rem; font-size: .8rem; }
.nav-toggle  { grid-column: 3; justify-self: end; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-text strong {
  font-size: .9rem;
  color: var(--white);
}
.nav-logo-text span {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); text-decoration: none; }
.nav-cta { margin-left: .5rem; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero — split panel ─────────────────────────────────────────────────────── */
.hero {
  background: #f6f8fc;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 0 5rem;
}
.hero-text h1 { margin-bottom: 1.25rem; }
.hero-text p {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 500px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ── Blue rule intro ────────────────────────────────────────────────────────── */
.blue-rule {
  border-top: 3px solid var(--blue);
  padding-top: 1.75rem;
  margin-bottom: 1.75rem;
}

/* ── Product pair grid ──────────────────────────────────────────────────────── */
.product-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border: none;
}
.product-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .2s;
}
.product-card:hover {
  transform: translateY(-2px);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--light);
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
}
.product-card h3 { margin-bottom: .5rem; }
.product-card p { color: var(--mid); font-size: .95rem; }
.product-specs {
  margin: 1rem 0;
  font-size: .875rem;
  color: var(--dark);
}
.product-specs dt {
  font-weight: 600;
  display: inline;
}
.product-specs dt::after { content: ": "; }
.product-specs dd {
  display: inline;
  color: var(--mid);
  margin-left: 0;
}
.product-specs dd::after { content: "\A"; white-space: pre; }
.product-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.product-link:hover { text-decoration: underline; }

/* ── Trust bar ──────────────────────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--white);
}
.trust-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: 1.25rem 2rem;
  flex: 1;
  border-right: 1px solid var(--border);
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 700;
  line-height: 1;
}
.trust-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ── Full-width photo banner ────────────────────────────────────────────────── */
.photo-banner {
  position: relative;
  overflow: hidden;
}
.photo-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.photo-banner-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white);
  padding: 2.5rem 2.5rem 1.5rem;
  font-size: .95rem;
}
.photo-banner-caption strong { color: var(--white); }

/* ── Photo placeholder (fallback) ──────────────────────────────────────────── */
.img-placeholder {
  background: var(--light);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: .875rem;
  text-align: center;
  padding: 1rem;
  min-height: 300px;
}

/* ── Series sections (pumps page) ──────────────────────────────────────────── */
.series-block {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.series-block:last-of-type { border-bottom: none; }
.series-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.series-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.series-photos img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--light);
  padding: .75rem;
  border-radius: var(--radius);
}
.series-photos img:only-child {
  grid-column: 1 / -1;
  height: 260px;
}
.series-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  margin-bottom: .75rem;
  border-radius: var(--radius-sm);
}

/* ── Spec table ─────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
thead { background: var(--black); color: var(--white); }
thead th { padding: .7rem 1rem; text-align: left; font-weight: 600; font-size: .85rem; }
tbody tr:nth-child(even) { background: var(--light); }
tbody td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }

/* ── Check list ─────────────────────────────────────────────────────────────── */
.check-list {
  list-style: none;
  margin: 1rem 0;
}
.check-list li {
  padding: .5rem 0 .5rem 1.6rem;
  position: relative;
  font-size: .95rem;
  color: var(--dark);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ── Spec box ───────────────────────────────────────────────────────────────── */
.spec-box {
  border-left: 3px solid var(--blue);
  padding: 1.25rem 1.5rem;
  background: var(--light);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.spec-box h4 { margin-bottom: .75rem; }

/* ── Application list ──────────────────────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border: none;
  margin: 2rem 0;
}
.app-item {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s;
}
.app-item:hover {
  transform: translateY(-2px);
}
.app-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--blue);
}
.app-item p { font-size: .9rem; color: var(--mid); margin: 0; }

/* ── Photo strip ────────────────────────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}
.photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-strip figcaption {
  font-size: .8rem;
  color: var(--mid);
  margin-top: .4rem;
}

/* ── Multi-chem diagram ─────────────────────────────────────────────────────── */
.chem-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.chem-head {
  background: var(--white);
  padding: 1.25rem 1rem;
  text-align: center;
}
.chem-head-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  display: block;
  margin-bottom: .3rem;
}
.chem-head-desc {
  font-size: .85rem;
  color: var(--dark);
}

/* ── Why Ozawa benefit rows ─────────────────────────────────────────────────── */
.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.benefit-row:last-of-type { border-bottom: none; }
.benefit-text {
  padding: 5rem 4rem 5rem max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem));
}
.benefit-row.alt .benefit-text {
  padding: 5rem max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem)) 5rem 4rem;
  order: 2;
}
.benefit-row.alt .benefit-img { order: 1; }
.benefit-text h2 { margin-bottom: 1rem; }
.benefit-text p  { color: var(--mid); }
.benefit-img img,
.benefit-img .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

/* ── Contact page ───────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-block { margin-bottom: 2rem; }
.contact-block h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mid);
  margin-bottom: .5rem;
  font-weight: 600;
}
.contact-block p,
.contact-block a {
  font-size: 1.05rem;
  color: var(--black);
  font-weight: 500;
}
.contact-block a { color: var(--blue); }
.contact-block a:hover { text-decoration: underline; }
.map-embed iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--mid); margin-top: .25rem; }

/* ── Page hero (inner pages) ────────────────────────────────────────────────── */
.page-hero {
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  background: #f6f8fc;
}
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p  { font-size: 1.05rem; color: var(--mid); max-width: 620px; }

/* ── CTA row ────────────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

/* ── Section label ──────────────────────────────────────────────────────────── */
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.80);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: .875rem;
  margin-top: .75rem;
  line-height: 1.6;
  max-width: 300px;
}
.footer-brand strong { color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  transition: color .15s;
}
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-contact li {
  font-size: .875rem;
  margin-bottom: .5rem;
  color: rgba(255,255,255,.75);
}
.footer-contact li a { color: rgba(255,255,255,.75); }
.footer-contact li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 1.5rem;
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; padding: 3rem 0 2.5rem; }
  .hero-img { display: none; }

  .product-pair,
  .series-layout,
  .contact-layout,
  .benefit-row    { grid-template-columns: 1fr; }
  .benefit-row.alt .benefit-text,
  .benefit-row.alt .benefit-img { order: unset; }
  .benefit-text,
  .benefit-row.alt .benefit-text { padding: 2.5rem 1.5rem; }
  .benefit-img img { min-height: 220px; }

  .photo-strip  { grid-template-columns: 1fr; }
  .chem-diagram { grid-template-columns: repeat(2, 1fr); }
  .app-grid     { grid-template-columns: 1fr; }

  .trust-bar-inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .trust-item:last-child { border-bottom: none; }

  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .announcement-bar { font-size: .75rem; }
}

@media (max-width: 1024px) {
  .series-photos { grid-template-columns: 1fr; }
  .series-photos img { height: 200px; }
}
