/* ============================================================
   Para Plate & Plastics Co. — 2026 Rewrite
   Modern, professional, mobile-first
============================================================ */

:root {
  --navy-900: #0b1e34;         /* deepest — matches PP logo background */
  --navy-800: #142a44;
  --navy-700: #1e3a5f;
  --navy-600: #2b4c78;
  --slate-100: #f4f6f9;
  --slate-200: #e6ebf1;
  --slate-300: #cfd7e1;
  --slate-500: #6b7a8f;
  --slate-700: #3a4757;
  --slate-900: #1a2230;
  --silver:    #9aa6b4;        /* metallic — echoes the logo lettering */
  --accent:      #3c73b8;      /* restrained steel blue for CTAs */
  --accent-dark: #295a97;
  --accent-soft: #dfeaf7;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(11, 26, 43, 0.06);
  --shadow: 0 10px 30px rgba(11, 26, 43, 0.08);
  --shadow-lg: 0 25px 60px rgba(11, 26, 43, 0.18);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1200px;
  --nav-h: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow--dark { color: var(--accent-dark); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
  border: 2px solid transparent;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(60, 115, 184, 0.35);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(41, 90, 151, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  transition: color .3s var(--ease);
}
.nav.is-scrolled .nav__brand { color: var(--navy-900); }

.nav__brand-mark {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--navy-900);
  padding: 4px;
  box-shadow: 0 4px 14px rgba(11, 30, 52, 0.35);
}

.nav__brand-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__menu a {
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav.is-scrolled .nav__menu a { color: var(--slate-700); }
.nav__menu a:hover { color: var(--accent); }

.nav__cta {
  margin-left: 12px;
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px !important;
  letter-spacing: 0.14em;
}
.nav__cta:hover { background: var(--accent-dark); color: var(--white) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--navy-900); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — typography-forward, no video
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background:
    radial-gradient(ellipse at 70% 20%, #1e3a5f 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, #14263d 0%, transparent 55%),
    linear-gradient(160deg, #0b1e34 0%, #071527 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* subtle blueprint grid */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
/* soft accent glow */
.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(60, 115, 184, 0.35), transparent 65%);
  filter: blur(30px);
}
/* faint logo watermark */
.hero__mark {
  position: absolute;
  bottom: -8%; left: -6%;
  width: 55vw;
  max-width: 620px;
  opacity: 0.06;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}
.hero__content {
  padding: 120px 24px 100px;
  text-align: center;
  max-width: 900px;
}
.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw + 1rem, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__lede {
  font-size: clamp(1rem, 1vw + 0.7rem, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  border-radius: 2px;
  background: var(--white);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(-6px); opacity: 0; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   SECTIONS (generic)
============================================================ */
.section {
  padding: 110px 0;
}
.section--dark {
  background: var(--navy-900);
  color: var(--slate-300);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--accent {
  background:
    linear-gradient(180deg, var(--slate-100) 0%, var(--white) 100%);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.section__title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin-bottom: 18px;
}
.section--dark .section__title { color: var(--white); }
.section__sub {
  font-size: 1.05rem;
  color: var(--slate-500);
}
.section--dark .section__sub { color: var(--slate-300); }

/* ============================================================
   DEPARTMENTS
============================================================ */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dept-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.dept-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--slate-100);
}
.dept-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.dept-card:hover .dept-card__img img { transform: scale(1.06); }
.dept-card__body {
  padding: 26px 26px 30px;
  flex: 1;
}
.dept-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.dept-card__body p {
  color: var(--slate-500);
  font-size: 0.98rem;
  margin: 0;
}

.dept-card--cta {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  border: 0;
}
.dept-card--cta h3 { color: var(--white); font-size: 1.35rem; }
.dept-card--cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }

/* ============================================================
   PLATES
============================================================ */
.plates {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.plate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.plate--reverse .plate__media { order: 2; }

.plate__media {
  position: relative;
  padding: 30px;
  background:
    radial-gradient(ellipse 60% 45% at center 55%, rgba(122, 168, 220, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
/* blueprint grid backdrop */
.plate__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, transparent 15%, black 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 15%, black 75%);
  opacity: 0.9;
}
/* soft pedestal shadow under the plate */
.plate__media::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 55%;
  height: 18px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), transparent 65%);
  filter: blur(6px);
  pointer-events: none;
}
.plate__media img {
  position: relative;
  max-width: 80%;
  max-height: 78%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
  transition: transform .6s var(--ease);
}
.plate:hover .plate__media img { transform: translateY(-4px) scale(1.03); }

.plate__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(60, 115, 184, 0.18);
  color: #7aa8dc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.plate__body h3 {
  color: var(--white);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 20px;
}
.plate__body p {
  color: var(--slate-300);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.plate__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plate__specs li {
  padding-left: 32px;
  position: relative;
  color: var(--slate-200);
}
.plate__specs li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 18px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================================
   OWNERS
============================================================ */
.owners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 820px;
  margin: 0 auto;
}
.owner {
  margin: 0;
  text-align: center;
}
.owner__frame {
  width: 200px;
  height: 250px;
  margin: 0 auto 30px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--slate-100);
  box-shadow:
    14px 14px 0 0 var(--accent),
    0 20px 40px rgba(11, 30, 52, 0.18);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.owner__frame:hover {
  transform: translate(-4px, -4px);
  box-shadow:
    18px 18px 0 0 var(--accent),
    0 26px 50px rgba(11, 30, 52, 0.24);
}
.owner__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.owner__frame--zoomed img {
  transform: scale(1.35);
  transform-origin: center 42%;
}
.owner h3 { font-size: 1.4rem; margin-bottom: 4px; }
.owner p { color: var(--slate-500); margin: 0; }

.owners__quote {
  max-width: 720px;
  margin: 60px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--navy-700);
  font-style: italic;
  padding: 0 20px;
  position: relative;
}
.owners__quote::before {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
}

/* ============================================================
   QUALITY
============================================================ */
.quality {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: center;
}
.quality__badge {
  padding: 20px;
  background: var(--white);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--accent-soft);
}
.quality__badge img { border-radius: 50%; }
.quality__body p { color: var(--slate-700); font-size: 1.05rem; }

.quality__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--slate-200);
}
.quality__stats > div {
  display: flex;
  flex-direction: column;
}
.quality__stats strong {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.quality__stats span {
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 6px;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact__card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  color: var(--slate-700);
  display: block;
}
.contact__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.contact__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.contact__icon svg { width: 26px; height: 26px; }
.contact__card:hover .contact__icon {
  background: var(--accent);
  color: var(--white);
}
.contact__card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.contact__card p {
  color: var(--slate-500);
  margin: 0;
  font-weight: 500;
  word-break: break-word;
}
.contact__link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  font-size: 14px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand strong {
  color: var(--white);
  font-size: 15px;
  display: block;
}
.footer__brand span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer__meta { text-align: right; }
.footer__meta p { margin: 0 0 4px; }
.footer__contact a { color: rgba(255, 255, 255, 0.85); }
.footer__contact a:hover { color: var(--accent); }

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll span { animation: none; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 50px; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .plates { gap: 70px; }
  .plate { grid-template-columns: 1fr; gap: 40px; }
  .plate--reverse .plate__media { order: 0; }
  .quality { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .quality__badge { width: 180px; margin: 0 auto; }
  .quality__stats > div { align-items: center; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__meta { text-align: center; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav__menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu a {
    color: var(--slate-700);
    padding: 12px 16px;
  }
  .nav__cta {
    margin: 6px 0 0;
    text-align: center;
  }
  .dept-grid { grid-template-columns: 1fr; }
  .owners { grid-template-columns: 1fr; gap: 50px; }
  .owner__frame { width: 180px; height: 225px; }
  .hero__content { padding: 100px 20px 80px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .quality__stats { grid-template-columns: 1fr; gap: 16px; }
}
