/* ============================================================
   TNI Plant & Equipment Hire — Site Styles
   Brand: Navy #1D2A3A · Yellow #FFC712 · Red #D63E3E · Grey #EFF1F4
   ============================================================ */

:root {
  --navy: #1d2a3a;
  --navy-2: #24344a;
  --navy-3: #2e405c;
  --yellow: #ffc712;
  --yellow-dark: #e6b000;
  --red: #d63e3e;
  --ink: #16202e;
  --body: #3c4757;
  --grey: #eff1f4;
  --grey-2: #dfe4ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 32, 46, 0.10);
  --shadow-sm: 0 4px 14px rgba(22, 32, 46, 0.08);
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .55em; }
h3 { font-size: 1.45rem; }

p + p { margin-top: 1em; }

a { color: var(--navy); }

img { max-width: 100%; display: block; }

.dot { color: var(--red); }
.hl { color: var(--yellow); }

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

section { padding: 72px 0; }

.section-lead { max-width: 720px; margin-bottom: 2.2em; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a {
  color: #cfd8e3;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--yellow); }
.nav .btn { border-bottom: none; color: var(--ink); padding: 11px 22px; }
.nav .btn:hover { color: var(--ink); }

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

.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--yellow); font-weight: 800; text-decoration: none; font-size: 1.02rem;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px 26px;
    gap: 6px;
    box-shadow: 0 14px 24px rgba(0,0,0,.3);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; }
  .header-phone .phone-label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(20, 29, 42, .55), rgba(20, 29, 42, .78)), var(--navy-2);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 0 120px;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: .3em; }
.hero .tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 660px;
  margin: 0 auto 1.8em;
  color: #e8edf3;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 44px;
}
.hero-badges span {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(rgba(20,29,42,.72), rgba(20,29,42,.82)), var(--navy-2);
  background-size: cover; background-position: center;
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero p { max-width: 1050px; color: #e2e8f0; font-size: 1.1rem; }
.breadcrumbs { font-size: .88rem; margin-bottom: 18px; color: #9fb0c3; }
.breadcrumbs a { color: #cfd8e3; text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; background: var(--grey); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.product { background: #fff; display: flex; align-items: center; justify-content: center; }
.card-media.product img { object-fit: contain; width: auto; height: auto; max-height: 480px; max-width: 90%; padding: 24px 0; box-sizing: border-box; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.5rem; }
.card-sub { font-size: .92rem; font-weight: 600; color: var(--red); }
.card-body p { font-size: .98rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

.badge-soon {
  display: inline-block;
  background: var(--navy);
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .4px;
}

/* ---------- Spec tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--grey-2); }
.spec-table th { color: var(--ink); font-weight: 700; width: 52%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-wrap { background: var(--grey); border-radius: var(--radius); padding: 10px 6px; }

/* ---------- Feature strip ---------- */
.dark-section { background: var(--navy); color: #dbe3ec; }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section p { color: #c4cfdb; }

.feature { text-align: left; }
.feature .icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 8px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--grey); }
.split-media img { width: 100%; height: auto; }
.figcap { font-size: .86rem; color: var(--body); margin-top: 10px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--grey-2);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 22px 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 58px 30px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfd8e3; max-width: 640px; margin: 0 auto 1.6em; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--grey-2);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--yellow);
  border-color: var(--yellow-dark);
}
.form-note { font-size: .85rem; color: var(--body); }

/* ---------- Contact block ---------- */
.contact-lines { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.contact-lines .ci {
  width: 40px; height: 40px; flex: 0 0 40px;
  background: var(--grey); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-lines a { font-weight: 700; text-decoration: none; }
.contact-lines a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b7c3d2; padding: 58px 0 0; font-size: .95rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 44px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #b7c3d2; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .85rem; color: #8295a8;
}

/* ---------- Utility ---------- */
.grey-section { background: var(--grey); }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.list-ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.list-ticks li { padding-left: 32px; position: relative; }
.list-ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 800;
}
.placeholder-note {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 18px;
  color: #7a8798; font-size: .85rem; font-weight: 600;
}

/* ---------- Rates / pricing ---------- */
.price-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 1.08rem;
  margin: 4px 0 2px;
}
.price-tag small { font-weight: 700; font-size: .72em; }
.rates-note { font-size: .85rem; color: #6b7787; }
.dark-section .rates-note, .page-hero .rates-note { color: #9fb0c3; }
.rate-free { color: #1c6b34; font-weight: 700; }
.rates-table th { width: 40%; }
.rates-table td { text-align: left; }
.headline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .headline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .headline-grid { grid-template-columns: 1fr; } }
.headline-card {
  background: #fff; border: 1px solid var(--grey-2); border-radius: 12px;
  padding: 18px 18px 16px; box-shadow: var(--shadow-sm);
}
.headline-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.headline-card .sub { font-size: .82rem; color: #6b7787; }
