:root {
  --navy: #03152b;
  --navy-2: #092744;
  --steel: #5f6f7c;
  --silver: #e9eef3;
  --ink: #101824;
  --muted: #687583;
  --orange: #ff7817;
  --sky: #18a9e6;
  --white: #ffffff;
  --black: #05080d;
  --shadow: 0 24px 60px rgba(2, 10, 22, .24);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #f7f9fc;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,39,68,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9,39,68,.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #07111f;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section.dark {
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(7, 24, 47, .96), rgba(8, 16, 27, .98)),
    url("../images/puf-factory-line-13.jpeg") center/contain fixed;
  background-color: #05101d;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .79rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--sky));
}

h1, h2, h3 {
  font-family: "Rajdhani", "Inter", sans-serif;
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.55rem, 6vw, 5.3rem); max-width: 980px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.45rem; }

p { margin: 0; color: var(--muted); }
.dark p, .hero p, .footer p { color: rgba(255,255,255,.76); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  font-family: inherit;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff9d42);
  box-shadow: 0 14px 34px rgba(255, 122, 26, .34);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(14px);
}

.btn.sky {
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), #4bc7ff);
  box-shadow: 0 14px 34px rgba(24, 169, 230, .28);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(3, 13, 26, .24);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(90deg, rgba(3, 21, 43, .88), rgba(8, 26, 43, .72));
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  background: rgba(5, 13, 25, .92);
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: max-content;
}

.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--orange), var(--sky));
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
}

.brand strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.brand span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: .94rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-call {
  color: var(--white);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 13px;
  border-radius: var(--radius);
  font-weight: 800;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.09);
  color: var(--white);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 30%, rgba(24, 169, 230, .16), transparent 30%),
    linear-gradient(105deg, rgba(3, 13, 27, .98) 0%, rgba(7, 24, 47, .88) 47%, rgba(7, 24, 47, .58) 100%),
    url("../images/puf-panel-stock-01.jpeg") right center/contain no-repeat;
  background-color: #030d1b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% 0;
  height: 42%;
  background: repeating-linear-gradient(90deg, rgba(24,169,230,.13), rgba(24,169,230,.13) 2px, transparent 2px, transparent 70px);
  transform: skewY(-6deg);
  opacity: .5;
  animation: thermal 7s linear infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 4%;
  top: 22%;
  border: 1px solid rgba(255,255,255,.18);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.16) 2px, transparent 2px, transparent 36px),
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.02));
  transform: rotate(12deg);
  animation: floatPanel 6s ease-in-out infinite;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  max-width: 900px;
  animation: fadeUp .85s ease both;
}

.hero h1,
.hero p,
.hero .eyebrow,
.hero-actions,
.hero-stats {
  text-shadow: 0 3px 18px rgba(0,0,0,.58);
}

.hero-content::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: 7%;
  width: min(720px, 80vw);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--sky), transparent);
  filter: blur(.2px);
  opacity: .75;
  animation: heatScan 4.6s ease-in-out infinite;
}

.hero p {
  max-width: 820px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 770px;
  margin-top: 46px;
}

.stat-tile {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
}

.stat-tile strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
}

.stat-tile span {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-head p {
  max-width: 560px;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.strip-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.strip-card::after, .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(5, 13, 25, .94));
  z-index: 1;
}

.strip-card img, .product-card img, .app-card img, .choice-card img, .gallery-item img {
  transition: transform .55s ease;
}

.strip-card:hover img, .product-card:hover img, .app-card:hover img, .choice-card:hover img, .gallery-item:hover img {
  transform: scale(1.025);
}

.strip-card h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.image-frame {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(135deg, #07182f, #111d2b);
  box-shadow: var(--shadow);
  position: relative;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.38);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 26px 0 30px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.feature-list i { color: var(--orange); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card, .app-card, .choice-card, .testimonial, .contact-card {
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, rgba(255,120,23,.56), rgba(24,169,230,.36)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 12px 32px rgba(7,24,47,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.dark .product-card, .dark .testimonial {
  background:
    linear-gradient(155deg, rgba(255,255,255,.11), rgba(255,255,255,.045)) padding-box,
    linear-gradient(135deg, rgba(255,120,23,.58), rgba(24,169,230,.32)) border-box;
  border: 1px solid transparent;
}

.product-card:hover, .app-card:hover, .choice-card:hover, .testimonial:hover, .contact-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px rgba(7,24,47,.18);
}

.card-media {
  height: 210px;
  overflow: hidden;
  padding: 10px;
  background:
    radial-gradient(circle at 72% 22%, rgba(24,169,230,.18), transparent 30%),
    linear-gradient(135deg, #061426, #101927);
}

.card-media img {
  border-radius: 6px;
}

.card-body {
  padding: 24px;
  position: relative;
}

.card-body::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 62px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--sky));
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, var(--orange), var(--sky));
}

.card-body h3 { margin-bottom: 10px; }
.card-body p { margin-bottom: 18px; }
.dark .card-body p { color: rgba(255,255,255,.72); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 800;
}

.applications {
  background: linear-gradient(180deg, #ffffff, #edf3f9);
}

.app-card .card-media { height: 165px; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.choice-card .card-media { height: 235px; }

.counter-band {
  padding: 58px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 24, 47, .95), rgba(255, 122, 26, .74)),
    url("../images/puf-panel-stack-03.jpeg") center/contain fixed;
  background-color: #061426;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.counter {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  text-align: center;
}

.counter strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.65rem;
}

.counter span { color: rgba(255,255,255,.78); font-weight: 700; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  background: linear-gradient(135deg, #05101d, #12253a);
  border: 1px solid rgba(255,120,23,.22);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  font-weight: 800;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stars { color: #ffc447; margin-bottom: 14px; }
.quote { color: var(--sky); font-size: 2rem; margin-bottom: 10px; }
.client { display: block; margin-top: 18px; font-weight: 900; color: inherit; }
.dots { text-align: center; margin-top: 24px; color: var(--orange); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 28px;
}

.contact-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, var(--orange), var(--sky));
}

.cta {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7,24,47,.91), rgba(255,122,26,.64)),
    url("../images/puf-production-team-12.jpeg") center/contain;
  background-color: #05101d;
}

.enquiry {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
}

.form input, .form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--white);
  background: rgba(5,13,25,.58);
  font: inherit;
}

.form textarea { min-height: 122px; resize: vertical; grid-column: 1 / -1; }
.form button { grid-column: 1 / -1; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.67); }

.page-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 140px 0 70px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(5,13,25,.94), rgba(7,24,47,.62)),
    var(--page-bg) right center/contain no-repeat;
  background-color: #05101d;
}

.page-hero p { margin-top: 14px; max-width: 760px; }

.split-text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7,24,47,.08);
}

.process-step strong {
  color: var(--orange);
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
}

.map-card {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7,24,47,.88), rgba(24,169,230,.52)),
    url("../images/puf-dispatch-truck-15.jpeg") center/contain no-repeat;
  background-color: #07182f;
}

.footer {
  color: var(--white);
  background: var(--black);
  padding: 68px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr 1.1fr;
  gap: 34px;
}

.footer h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li { margin: 9px 0; color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--orange); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,.11);
}

.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(255,255,255,.62);
}

.float-btn {
  position: fixed;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
  animation: pulse 2s infinite;
}

.float-call { left: 20px; background: var(--orange); }
.float-wa { right: 20px; background: #19b65b; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes thermal {
  from { transform: translateX(0) skewY(-6deg); }
  to { transform: translateX(70px) skewY(-6deg); }
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .35), 0 12px 34px rgba(0,0,0,.28); }
  50% { box-shadow: 0 0 0 13px rgba(255, 122, 26, 0), 0 12px 34px rgba(0,0,0,.28); }
}

@keyframes heatScan {
  0%, 100% { transform: translateX(0) scaleX(.72); opacity: .3; }
  50% { transform: translateX(28%) scaleX(1); opacity: .92; }
}

@media (max-width: 1020px) {
  .nav-links, .nav-call { display: none; }
  .hamburger { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 24px;
    background: rgba(5, 13, 25, .98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .image-strip, .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .enquiry, .split-text { grid-template-columns: 1fr; }
  .contact-grid, .counter-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .nav { height: 70px; }
  .nav-links { top: 70px; }
  .brand span { display: none; }
  .brand strong { font-size: 1.1rem; }
  .hero {
    min-height: 840px;
    background:
      radial-gradient(circle at 72% 28%, rgba(24, 169, 230, .14), transparent 32%),
      linear-gradient(105deg, rgba(3, 13, 27, .99) 0%, rgba(7, 24, 47, .92) 52%, rgba(7, 24, 47, .72) 100%),
      url("../images/puf-panel-stock-01.jpeg") center bottom/contain no-repeat;
    background-color: #030d1b;
  }
  .hero-content { padding-top: 112px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { margin-top: 30px; }
  .hero-stats, .image-strip, .cards-grid, .choice-grid, .testimonials-grid, .contact-grid, .counter-grid, .process, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .feature-list { grid-template-columns: 1fr; }
  .image-frame { min-height: 350px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
  .gallery-item.tall, .gallery-item.wide { grid-row: auto; grid-column: auto; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .form textarea, .form button { grid-column: auto; }
  .float-btn { width: 52px; height: 52px; bottom: 16px; }
}
