/* =========================================================
   Global Primeline Pte Ltd — site styles
   Brand: charcoal + orange→red gradient + white, serif display
   ========================================================= */

:root {
  --charcoal: #20242b;
  --charcoal-2: #2b3038;
  --ink: #1c1f24;
  --muted: #5d6470;
  --line: #e6e3dd;
  --paper: #faf9f6;
  --paper-2: #f3f1ec;
  --white: #ffffff;
  --orange: #e0823a;
  --red: #c0392b;
  --grad: linear-gradient(135deg, #e8924a 0%, #d2632f 52%, #b5302a 100%);
  --shadow: 0 18px 50px -24px rgba(20, 22, 26, 0.45);
  --radius: 14px;
  --maxw: 1180px;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 14px;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(192, 57, 43, .65);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark {
  background: var(--charcoal);
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: .02em;
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .22s ease;
}
.nav-links a:hover { text-decoration: none; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 11px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--charcoal);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,22,26,.94) 0%, rgba(20,22,26,.78) 42%, rgba(20,22,26,.30) 100%),
    url("images/hero.jpg") center/cover no-repeat;
}
.hero-inner {
  position: relative;
  padding: 116px 0 124px;
  max-width: 720px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: .35em;
}
.hero p.lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,.86);
  max-width: 620px;
  margin-bottom: 2em;
}
.hero .eyebrow { color: #f0a868; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* trust strip */
.trust {
  background: var(--charcoal-2);
  color: rgba(255,255,255,.9);
  border-top: 1px solid rgba(255,255,255,.08);
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 24px;
}
.trust .stat .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.trust .stat .num .text-grad { -webkit-text-fill-color: transparent; }
.trust .stat .lbl {
  font-size: 13.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.62);
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; stroke: #fff; }
.feature h3 { font-size: 1.5rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ph {
  aspect-ratio: 4 / 3;
  background: var(--paper-2) center/cover no-repeat;
}
.card-body { padding: 26px 26px 30px; }
.card-body h3 { font-size: 1.55rem; margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .97rem; margin-bottom: 1em; }
.card-body ul {
  list-style: none; padding: 0; margin: 0 0 4px;
}
.card-body ul li {
  font-size: .92rem;
  color: var(--ink);
  padding: 7px 0 7px 24px;
  border-top: 1px solid var(--line);
  position: relative;
}
.card-body ul li::before {
  content: "";
  position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad);
}

/* ---------- Split / media rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .media { order: 2; }
.split .media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.split h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.split p { color: var(--muted); }
.tick { list-style: none; padding: 0; margin: 20px 0 0; }
.tick li {
  position: relative;
  padding: 8px 0 8px 34px;
  color: var(--ink);
  font-size: 1rem;
}
.tick li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
}
.tick li::after {
  content: "";
  position: absolute; left: 6px; top: 18px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: .12;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2em; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 78px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--grad); opacity: .16; filter: blur(10px);
}
.page-hero .wrap { position: relative; max-width: 760px; }
.page-hero .eyebrow { color: #f0a868; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 28px;
  box-shadow: var(--shadow);
}
.info-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row .ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
}
.info-row .ico svg { width: 22px; height: 22px; stroke: #fff; }
.info-row h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 4px; font-weight: 700; }
.info-row .val { font-size: 1.08rem; color: var(--ink); }
.info-row .val a { color: var(--ink); }
.info-row .val a:hover { color: var(--red); }
.map-embed {
  border: 0; width: 100%; height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hours { font-size: .96rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.72);
  padding: 64px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand { font-family: var(--serif); font-size: 1.7rem; color: #fff; margin-bottom: 12px; }
.footer-brand .text-grad { font-weight: 600; }
.site-footer p { color: rgba(255,255,255,.62); margin-bottom: 0; max-width: 340px; }
.footer-col h5 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-contact div { margin-bottom: 12px; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .features, .cards { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-130%);
    transition: transform .28s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links .nav-cta { margin: 14px 0 0; }
  .nav-links .nav-cta .btn { width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .features, .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero-inner { padding: 84px 0 90px; }
}
