/* Synvert Chemicals — white layout, two-page site */

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f8f7;
  --surface: #ffffff;
  --border: #e2e8e4;
  --text: #1a221e;
  --text-muted: #5a6560;
  --accent: #1f5c3f;
  --accent-hover: #16472f;
  --accent-soft: rgba(31, 92, 63, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
  --radius: 12px;
  --shadow: 0 1px 3px rgba(26, 34, 30, 0.06);
  --shadow-lg: 0 20px 50px rgba(26, 34, 30, 0.08);
  --max: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
}

.nav-list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--text);
}

.nav-list a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.hero--minimal {
  padding: clamp(4.5rem, 14vw, 7rem) 0 clamp(3rem, 8vw, 4.5rem);
  border-bottom: none;
}

.hero-min-inner {
  max-width: 36rem;
}

.hero--minimal .hero-lead--soft {
  max-width: 28rem;
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-soft {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(3rem, 8vw, 4rem);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.section-title--quiet {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-one {
  margin: 0;
  max-width: 40ch;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.page-intro--minimal {
  padding: clamp(3rem, 10vw, 4.5rem) 0 0;
  border-bottom: none;
}

.page-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.lead--open {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin: 0 0 1rem;
  line-height: 1.75;
}

.contact-simple {
  padding-top: 0.25rem;
}

.contact-simple p {
  margin: 0 0 0.85rem;
  font-size: 1.125rem;
}

.contact-simple a {
  color: var(--text);
}

.contact-simple a:hover {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.99);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  text-decoration: none;
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(31, 92, 63, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: var(--text-muted);
  background: var(--bg-subtle);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.stat {
  padding: 0.85rem 0.5rem;
  background: var(--bg-subtle);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Sections */
section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section-intro {
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 0 2rem;
}

.bg-alt {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(31, 92, 63, 0.25);
  box-shadow: 0 8px 28px rgba(26, 34, 30, 0.07);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Page intro (second page) */
.page-intro {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 0;
  border-bottom: 1px solid var(--border);
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.page-intro .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 0 2rem;
}

/* Contact */
.contact-box {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-box {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-details dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-details dd {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
}

.contact-details a {
  color: var(--text);
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: #fff;
  padding: clamp(2rem, 5vw, 2.75rem) 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  font-size: 1rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: var(--bg-subtle);
  color: var(--accent-hover);
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer strong {
  color: var(--text);
  font-weight: 600;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}
