/* =====================================================================
   Novo Plastics Inc. — novo.veydros.com
   Palette + type matched to the Novo brand (red #de2021 / slate #343a40,
   DM Sans). No gradients. Subtle, tasteful motion only.
   ===================================================================== */

:root {
  --red:        #de2021;   /* brand red */
  --red-dark:   #bc0537;   /* deeper red for hover/press */
  --slate:      #343a40;   /* headings */
  --ink:        #24292d;   /* near-black / dark sections */
  --body:       #6c727a;   /* body text */
  --muted:      #8a9099;
  --white:      #ffffff;
  --bg:         #ffffff;
  --bg-alt:     #f6f7f8;   /* light section */
  --bg-soft:    #eef1f4;
  --border:     #e5e7ea;
  --border-2:   #d8dce1;

  --ff: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

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

  --shadow-sm: 0 1px 2px rgba(20,28,38,.05), 0 4px 12px rgba(20,28,38,.05);
  --shadow:    0 14px 34px -18px rgba(20,28,38,.30);

  --maxw: 1160px;
  --r: 6px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff);
  color: var(--body);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--ff); color: var(--slate); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }

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

/* --------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: var(--r); border: 1.5px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { color: var(--slate); border-color: var(--border-2); }
.btn--outline:hover { border-color: var(--slate); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* --------------------------- Header ----------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  height: 62px; background: #fff; border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; }
.brand__img { height: 30px; width: auto; transition: opacity .3s var(--ease); }
.brand__img--dark { display: none; }
.is-stuck .brand__img--light { display: none; }
.is-stuck .brand__img--dark { display: block; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  font-size: 15px; font-weight: 500; color: #fff; position: relative; padding: 4px 0;
  transition: color .2s var(--ease);
}
.is-stuck .nav > a:not(.btn) { color: var(--slate); }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--red); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease); }
.is-stuck .nav-toggle span { background: var(--slate); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span { background: var(--slate); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------- Hero ------------------------------ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: calc(var(--header-h) + 56px) 0 80px; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,20,24,.9) 0%, rgba(16,20,24,.78) 42%, rgba(16,20,24,.5) 72%, rgba(16,20,24,.4) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; opacity: .92; }
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; color: #fff; margin-bottom: 22px; }
.hero__lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); max-width: 580px; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------- Trust ------------------------------ */
.trust { border-bottom: 1px solid var(--border); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 30px 0; }
.trust__item { display: flex; align-items: center; gap: 16px; }
.trust__item img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.trust__item b { display: block; color: var(--slate); font-weight: 600; font-size: 15.5px; }
.trust__item span { font-size: 13.5px; color: var(--body); }
.trust__item + .trust__item { border-left: 1px solid var(--border); padding-left: 28px; }

/* -------------------------- Sections ---------------------------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section__sub { margin-top: 14px; font-size: 1.06rem; color: var(--body); }
.section__sub--on-dark { color: rgba(255,255,255,.7); }
.section--dark h2 { color: #fff; }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.eyebrow--on-dark { color: #ff6b6b; }

.ticklist { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.ticklist li { position: relative; padding-left: 30px; color: var(--slate); font-weight: 500; font-size: 15px; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  background-color: var(--red);
}

/* --------------------------- About ------------------------------ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__grid--rev .about__media { order: 2; }
.about__copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 20px; }
.about__copy p + p { margin-top: 15px; }
.about__media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.about__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--red); }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }

/* ---------------------- Cards (capabilities) -------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card__icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 20px; }
.card h3 { font-size: 1.22rem; margin-bottom: 11px; }
.card p { font-size: 14.5px; color: var(--body); }

/* --------------------------- Band ------------------------------- */
.band { position: relative; padding: clamp(72px, 10vw, 120px) 0; color: #fff; overflow: hidden; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: 0; }
.band__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,24,28,.82), rgba(20,24,28,.55)); }
.band__inner { position: relative; z-index: 2; max-width: 640px; }
.band__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.band__inner p { color: rgba(255,255,255,.84); font-size: 1.06rem; }

/* ------------------------- Pillars ------------------------------ */
.pillar { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 30px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.pillar__icon { width: 50px; height: 50px; object-fit: contain; margin-bottom: 18px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--body); }

/* ---------------------------- R&D ------------------------------- */
.rnd-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 28px 24px; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.rnd-card__icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.rnd-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 9px; }
.rnd-card p { font-size: 13.7px; color: rgba(255,255,255,.66); }

/* ------------------------- Why list ----------------------------- */
.why-list { display: grid; gap: 22px; margin-top: 26px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item img { width: 40px; height: 40px; object-fit: contain; flex: none; margin-top: 2px; }
.why-item b { display: block; color: var(--slate); font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.why-item p { font-size: 14px; color: var(--body); }

/* -------------------------- Contact ----------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.contact__details { list-style: none; margin-top: 30px; display: grid; gap: 18px; }
.contact__details li { font-size: 15.5px; color: var(--slate); }
.contact__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.contact__details a:hover { color: var(--red); }

.contact__form { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--slate); }
.field input, .field textarea {
  font-family: var(--ff); font-size: 15px; color: var(--slate);
  padding: 12px 13px; border: 1px solid var(--border-2); border-radius: var(--r); background: #fff; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(222,32,33,.12); }
.contact__note { text-align: center; font-size: 14px; color: var(--red); font-weight: 600; }

/* --------------------------- Footer ----------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { height: 30px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; font-size: 14.5px; line-height: 1.7; }
.footer__col h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px; font-weight: 600; }
.footer__col a, .footer__addr { display: block; font-size: 14.5px; color: rgba(255,255,255,.62); padding: 5px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__addr { padding-top: 8px; line-height: 1.6; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ----------------------- Reveal motion -------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2); }
  .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2); }
  .rnd-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
  .about__media:hover img { transform: scale(1.04); }
}

/* --------------------------- Mobile ----------------------------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    background: #fff; padding: 40px 34px; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateX(0); }
  .nav > a:not(.btn) { color: var(--slate) !important; font-size: 19px; padding: 10px 0; }
  .nav .btn { margin-top: 12px; }
}

@media (max-width: 900px) {
  .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__grid--rev .about__media { order: 0; }
  .trust__grid { grid-template-columns: 1fr; gap: 0; }
  .trust__item { padding: 16px 0; }
  .trust__item + .trust__item { border-left: none; border-top: 1px solid var(--border); padding-left: 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .about__media img, .btn .arrow { transition: none; }
  *:hover { transform: none !important; }
}
