/* ============================================================
   Nuclear Enterprises — Stylesheet
   Palette: deep indigo/navy + warm gold, on warm off-white
   ============================================================ */

:root {
  --navy: #0f2a4a;
  --navy-2: #14355d;
  --navy-deep: #0a1f38;
  --gold: #c9a24b;
  --gold-dark: #b08d38;
  --ink: #1f2937;
  --muted: #5b6572;
  --line: #e6e2d8;
  --bg: #ffffff;
  --bg-soft: #faf8f3;
  --bg-muted: #f4f1e9;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 74, .06);
  --shadow: 0 12px 32px rgba(15, 42, 74, .10);
  --shadow-lg: 0 24px 60px rgba(15, 42, 74, .16);

  --container: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(201, 162, 75, .3);
}
.btn--primary:hover { background: var(--gold-dark); box-shadow: 0 10px 26px rgba(201, 162, 75, .42); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ghost-dark {
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.eyebrow--dark { color: var(--gold-dark); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--navy); color: #eaf0f7; }

.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section__head--light .section__title { color: #fff; }
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--navy);
  font-weight: 700;
}
.section--dark .section__title { color: #fff; }
.section__lead { color: var(--muted); font-size: 1.05rem; margin-top: .8rem; }
.section--dark .section__lead { color: #b9c6d6; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-deep);
  color: #cfd9e6;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .35rem; color: #cfd9e6; }
.topbar__right a:hover { color: var(--gold); }
.topbar__sep { color: #46586e; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--navy);
  letter-spacing: .2px;
}
.brand__tag { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--navy); background: var(--bg-muted); }
.nav__cta {
  background: var(--navy);
  color: #fff !important;
  margin-left: .4rem;
  padding: .6rem 1.15rem !important;
  border-radius: 999px !important;
}
.nav__cta:hover { background: var(--navy-2) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 20px; margin-inline: auto;
  background: var(--navy); border-radius: 2px; transition: .25s ease;
}
.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
   ============================================================ */
.hero { position: relative; color: #eef3f9; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,162,75,.22), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(1000px 500px at 70% 20%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__content { max-width: 760px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin: .3rem 0 1.1rem;
}
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #c9d5e4; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 2.4rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 0;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stats div dt { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.hero__stats div dd { margin: 0; font-size: .85rem; color: #b7c4d5; letter-spacing: .03em; }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.why { background: var(--bg-soft); padding: clamp(2.6rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d8c2; }
.feature__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); font-size: 1.25rem; font-weight: 700;
  margin-bottom: .9rem;
}
.feature h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.about__text .section__title { margin-bottom: 1rem; }
.about__text p { color: var(--muted); }
.about__list { margin: 1.4rem 0 1.8rem; display: grid; gap: .55rem; }
.about__list li {
  position: relative; padding-left: 1.6rem; color: var(--ink);
}
.about__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-dark); font-weight: 700;
}
.about__list strong { color: var(--navy); }

/* Media placeholders (swap for real photos) */
.media-placeholder {
  border-radius: var(--radius);
  min-height: 340px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.9);
  font-weight: 600; letter-spacing: .04em; font-size: .95rem;
  text-align: center; padding: 1rem;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,42,74,.86), rgba(20,53,93,.86)),
    repeating-linear-gradient(45deg, rgba(201,162,75,.25) 0 12px, transparent 12px 24px);
}
.media-placeholder span {
  border: 1px dashed rgba(255,255,255,.45);
  padding: .5rem 1rem; border-radius: 8px;
  background: rgba(0,0,0,.15);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--bg-muted); margin-bottom: 1rem;
}
.pcard h3 { color: var(--navy); font-size: 1.18rem; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.pcard ul { display: grid; gap: .4rem; }
.pcard li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; }
.pcard li::before { content: "›"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.scard {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-dark); font-weight: 700; }
.scard h3 { color: var(--navy); font-size: 1.05rem; margin: .3rem 0 .4rem; }
.scard p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ind {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.1rem;
  text-align: center;
  font-weight: 600;
  color: #e9f0f8;
  transition: background .2s ease, border-color .2s ease, transform .18s ease;
}
.ind:hover { background: rgba(201,162,75,.14); border-color: var(--gold); transform: translateY(-3px); }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .6rem;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process__step {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.4rem .8rem 1.2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.process__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0 auto .7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); font-weight: 700; font-family: var(--serif);
}
.process__step h3 { font-size: .92rem; color: var(--navy); }
.process__step:not(:last-child)::after {
  content: "→";
  position: absolute; right: -.55rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-dark); font-weight: 700; z-index: 2;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 3.5vw, 2.6rem);
  align-items: start;
}
.info-block { margin-bottom: 1.4rem; }
.info-block h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 1rem; }
.info-list { display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 92px 1fr; gap: .6rem; align-items: start; }
.info-list__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-dark); padding-top: .15rem;
}
.info-list a:hover { color: var(--navy); text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { display: block; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.05rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--ink);
  padding: .72rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,162,75,.18);
}
.field input:user-invalid, .field select:user-invalid { border-color: #d98b8b; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.form-note { margin: .9rem 0 0; font-size: .88rem; color: var(--muted); min-height: 1.2rem; }
.form-note.is-error { color: #c0392b; }
.form-note.is-ok { color: #1c7a4a; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: #b9c6d6; padding-top: clamp(2.6rem, 5vw, 3.6rem); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: #8fa2b8; }
.footer__desc { margin: 1rem 0 .8rem; font-size: .92rem; max-width: 34ch; }
.footer__gst { font-size: .85rem; color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a:hover { color: var(--gold); }
.footer__contact li { font-size: .9rem; line-height: 1.5; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 1.1rem 22px; font-size: .82rem; color: #7f92a8;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .18s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37,211,102,.55); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.to-top {
  position: fixed; right: 24px; bottom: 90px; z-index: 55;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--navy); color: var(--gold);
  font-size: 1.2rem; font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-2); }

/* ============================================================
   LEGAL / POLICY PAGES
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; padding: clamp(2.6rem, 6vw, 4rem) 0;
  text-align: center;
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: #c1cfe0; margin-top: .6rem; }
.breadcrumb { font-size: .85rem; color: #93a6bd; margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold); }
.legal { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal__wrap h2 { color: var(--navy); font-family: var(--serif); font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.legal__wrap h2:first-child { margin-top: 0; }
.legal__wrap p, .legal__wrap li { color: var(--ink); }
.legal__wrap ul { list-style: disc; padding-left: 1.4rem; margin: .6rem 0; display: grid; gap: .4rem; }
.legal__updated { font-size: .85rem; color: var(--muted); margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal__card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.4rem 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .products__grid, .services__grid, .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .process__step:not(:last-child)::after { display: none; }
  .about__inner, .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: .2rem; padding: .8rem 22px 1.2rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
  }
  .nav.open { max-height: 520px; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem .6rem; border-radius: 8px; }
  .nav__cta { text-align: center; margin: .4rem 0 0; }
  .topbar__right { display: none; }
  .header__inner { min-height: 64px; }
  .field-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
}

@media (max-width: 560px) {
  .why__grid, .products__grid, .services__grid, .industries__grid, .process { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .info-list li { grid-template-columns: 1fr; gap: .15rem; }
  .brand__tag { display: none; }
  .form-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .wa-float::after { animation: none; }
}
