/* ── VARIABLES ─────────────────────────────────────────────────────── */
:root {
  --black:         #000000;
  --black-mid:     #1a1a1a;
  --primary:       #463443;   /* R70 G52 B67 */
  --primary-hover: #3a2838;
  --primary-light: #c9a4c3;   /* nav active highlight */
  --light:         #f7f4f6;
  --border:        #ddd8dc;
  --text:          #1e2532;
  --muted:         #6b7280;
  --white:         #ffffff;
  --radius:        6px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --transition:    .2s ease;
  --max-w:         1160px;
}

/* ── RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a    { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }
ul { list-style: none; }

/* ── LAYOUT ────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4.5rem 0; }
.bg-light   { background: var(--light); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-top: .5rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ── TYPOGRAPHY ────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
h4 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
p  { margin-bottom: 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: .4rem;
}

/* ── BUTTONS ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); text-decoration: none; }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); text-decoration: none; }
.btn-full { width: 100%; text-align: center; }

/* ── HEADER ────────────────────────────────────────────────────────── */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.4); }

/* top bar: logo left, contact info right */
.header-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo img { height: 38px; width: auto; }
.logo-text { color: var(--white); font-size: 1.25rem; font-weight: 700; font-family: 'Raleway', sans-serif; letter-spacing: -.02em; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.header-contact a { color: var(--primary-light); font-weight: 600; text-decoration: none; }
.header-contact a:hover { text-decoration: underline; }
.header-contact .sep { color: rgba(255,255,255,.25); }

/* nav bar */
.header-nav { background: var(--primary); }
.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
}

.main-nav ul { display: flex; gap: 0; }
.main-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 500;
  padding: 0 1.1rem;
  line-height: 46px;
  border-bottom: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(0,0,0,.2);
  color: var(--white);
  border-bottom-color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: var(--black-mid);
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-bg-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.52) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content p   { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HERO ─────────────────────────────────────────────────────── */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 0;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-top: .5rem; }

/* ── CARDS ─────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }

/* ── CTA BAND ──────────────────────────────────────────────────────── */
.cta { background: var(--primary); color: var(--white); text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-inner p  { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }

/* ── ABOUT / GENERIC IMAGE ─────────────────────────────────────────── */
.about-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ── PLASTICS LIST ─────────────────────────────────────────────────── */
.plastics-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.plastics-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* ── SERVICE ROWS ──────────────────────────────────────────────────── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse .service-img { order: 2; }
.service-row.reverse .service-text { order: 1; }
.service-img img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.service-text h2 { margin: .5rem 0 1rem; }
.service-text p  { margin-bottom: 1rem; }

/* ── CONTACT ───────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-panel {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.contact-info-panel h2 { color: var(--white); margin-bottom: 1.5rem; }
.contact-detail { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.75rem; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}
.contact-detail a,
.contact-detail span { color: var(--white); font-size: .95rem; }
.contact-detail a:hover { text-decoration: underline; }

/* ── JOBS / CONTACT FORM ───────────────────────────────────────────── */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.form-intro h2 { margin: .5rem 0 1rem; }
.jobs-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.5rem;
}
.jobs-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.jobs-slide.active { opacity: 1; }
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(70,52,67,.15);
}
.req { color: #dc2626; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 500; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── FOOTER ────────────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); border-top: 4px solid var(--primary); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem;
}
.footer-logo-text { display: block; color: var(--white); font-size: 1.2rem; font-weight: 700; font-family: 'Raleway', sans-serif; margin-bottom: .75rem; }
.footer-col p { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-col h4 { color: rgba(255,255,255,.5); }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color var(--transition); }
.footer-col address { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.8; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 1.5rem; font-size: .82rem; color: rgba(255,255,255,.4); }

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .main-nav a { padding: 0 .75rem; font-size: .8rem; }
}

@media (max-width: 900px) {
  .two-col, .service-row, .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-row.reverse .service-img { order: 0; }
  .service-row.reverse .service-text { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .service-row { padding: 2rem 0; }
}

@media (max-width: 700px) {
  .header-contact .hours { display: none; }
  .header-contact .sep  { display: none; }
}

@media (max-width: 640px) {
  .header-nav { position: relative; }
  .main-nav {
    display: none;
    position: absolute;
    top: 46px;
    left: 0; right: 0;
    background: var(--primary-hover);
    padding: .5rem 0 1rem;
    z-index: 200;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { line-height: 1; padding: .75rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); border-left: none; }
  .nav-toggle { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 420px; }
  .jobs-gallery { display: none; }
}
