/* PGS Wholesale - one page website */
:root {
  --navy: #08285b;
  --navy-deep: #061d43;
  --green: #04964f;
  --green-dark: #05763f;
  --ink: #17243a;
  --muted: #5f6b7d;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 40, 91, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,230,238,.8);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: min(330px, 46vw); }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.main-nav > a:not(.button) { text-decoration: none; position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--green); transition: .2s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 29px; cursor: pointer; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); background: var(--green-dark); border-color: var(--green-dark); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-outline { background: transparent; color: var(--green-dark); }
.button-outline:hover { color: var(--white); }

.hero { padding: 72px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 54px; }
.eyebrow, .section-kicker { display: inline-block; color: var(--green-dark); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 14px 0 22px; color: var(--navy); font-size: clamp(46px, 6vw, 74px); line-height: 1.02; letter-spacing: -.035em; }
.lead { max-width: 650px; margin: 0 0 30px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 5% 3% 2% 5%; background: #f1f6fb; border-radius: 42% 58% 49% 51% / 44% 45% 55% 56%; z-index: -1; }
.hero-visual img { width: 100%; border-radius: 24px; mix-blend-mode: multiply; }

.section { padding: 82px 0; }
.section-soft { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .9fr 1.5fr; gap: 50px; align-items: start; }
.about-copy h2, .section-heading h2, .form-intro h2 { color: var(--navy); font-size: clamp(32px, 4vw, 46px); line-height: 1.12; margin: 10px 0 18px; letter-spacing: -.02em; }
.about-copy p, .section-heading p, .form-intro p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .product-card {
  background: var(--white);
  border: 1px solid #e7edf3;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.icon-badge, .product-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: var(--green-dark); background: #eaf8f1; border: 1px solid #cdeedd; font-size: 27px; font-weight: 800;
}
.feature-card h3, .product-card h3 { color: var(--navy); margin: 18px 0 8px; font-size: 19px; }
.feature-card p, .product-card p { color: var(--muted); margin: 0; font-size: 15px; }

.section-heading { max-width: 750px; text-align: center; margin: 0 auto 38px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { box-shadow: none; transition: .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.section-form { background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%); }
.form-wrap { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; align-items: start; }
.contact-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.contact-block a { color: var(--navy); font-weight: 750; text-decoration: none; word-break: break-word; }
.trade-form { background: var(--white); border: 1px solid #e5ebf1; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 7px; color: var(--navy); font-weight: 700; font-size: 14px; }
.form-grid .full-width { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%; border: 1px solid #cfd9e3; border-radius: 9px; padding: 13px 14px; background: var(--white); color: var(--ink); font: inherit; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(4,150,79,.12); }
textarea { resize: vertical; min-height: 145px; }
.form-note { color: var(--muted); font-size: 12px; margin: 16px 0; }
.submit-button { width: 100%; }
.form-status { display: none; margin-bottom: 18px; padding: 12px 14px; border-radius: 9px; font-weight: 650; }
.form-status.success { display: block; background: #e9f8ef; color: #12633a; border: 1px solid #bee8cf; }
.form-status.error { display: block; background: #fff0f0; color: #8a2020; border: 1px solid #f1c8c8; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); padding: 32px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.footer-brand strong { display: block; color: #fff; font-size: 18px; }
.footer-brand span { display: block; font-size: 12px; color: rgba(255,255,255,.65); }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-legal p { margin: 2px 0; font-size: 13px; color: rgba(255,255,255,.7); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 84px; left: 20px; right: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; flex-direction: column; align-items: stretch; gap: 8px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 9px 8px; }
  .hero-grid, .about-grid, .form-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-visual { max-width: 700px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand { width: 250px; max-width: 72vw; }
  .main-nav { top: 72px; }
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: 43px; }
  .lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .section { padding: 60px 0; }
  .feature-grid, .product-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-grid .full-width { grid-column: auto; }
  .trade-form { padding: 22px; }
  .footer-legal { grid-column: auto; }
}
