/* ============================================================
   TRG PROJECTS — Plain HTML/CSS Stylesheet
   Colours: navy (#0f172a), yellow (#facc15), slate-light (#f1f5f9)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --navy-light:  #334155;
  --slate-light: #f1f5f9;
  --slate-200:   #e2e8f0;
  --yellow:      #facc15;
  --white:       #ffffff;
  --text-main:   #0f172a;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --radius:      0.5rem;
  --max-w:       1280px;
  --font:        'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background helpers */
.bg-slate      { background: var(--slate-light); }
.bg-slate-light{ background: var(--slate-light); }
.bg-white      { background: var(--white); }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── UTILITIES ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.yellow      { color: var(--yellow); }
.text-muted  { color: var(--text-muted); }

.yellow-bar {
  width: 6rem;
  height: 4px;
  background: var(--yellow);
  margin: 0 auto;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeInUp 0.8s ease both; }

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  background: var(--yellow);
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.05em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links a {
  color: var(--white);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 1px solid #334155;
  color: var(--white);
  padding: 0.4rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.hamburger:hover { color: var(--yellow); border-color: var(--yellow); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #1e293b;
  background: rgba(15,23,42,0.96);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mobile-nav a { color: var(--white); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--yellow); }
.mobile-nav.open { display: flex; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero-wrap { display: flex; flex-direction: column; }

.hero {
  position: relative;
  min-height: calc(100vh - 8rem);
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  padding-top: 5rem; /* offset for fixed nav */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-text { max-width: 48rem; }

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-list-wrap {
  border-left: 4px solid var(--yellow);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.hero-list-wrap ul {
  color: #cbd5e1;
  font-size: 1.1rem;
  font-weight: 500;
}
.hero-list-wrap li { margin-bottom: 0.5rem; }
.hero-list-bold { font-weight: 700; color: var(--white) !important; }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--yellow);
  padding: 2rem 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.cta-phone {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
  transition: opacity 0.2s;
}
.cta-phone:hover { opacity: 0.75; }

/* ── ROLES ───────────────────────────────────────────────────── */
.roles-section { padding: 6rem 0; background: var(--white); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.role-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.role-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.role-img-wrap { position: relative; height: 14rem; overflow: hidden; }
.role-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.role-card:hover .role-img-wrap img { transform: scale(1.05); }

.role-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.role-body { padding: 1.5rem; }
.role-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.role-body p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }

.role-bullets { display: flex; flex-direction: column; gap: 0.5rem; }
.role-bullets li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; }

.bullet-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust-bar {
  padding: 3rem 0;
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  opacity: 0.7;
}

.trust-item {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.trust-item:hover { opacity: 1; }

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.about-section { padding: 6rem 0; background: var(--slate-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-text p { color: #334155; font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; }

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--white);
  padding: 1rem;
  border-left: 4px solid var(--yellow);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.feature-card h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.feature-card p  { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* Buttons */
.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: background 0.2s, color 0.2s;
}
.btn-dark:hover { background: var(--yellow); color: var(--navy); }

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.btn-yellow:hover { transform: scale(1.05); }

/* About image block */
.about-img-wrap { position: relative; padding: 1rem; display: none; }
@media (min-width: 1024px) { .about-img-wrap { display: block; } }

.about-accent-box {
  position: absolute;
  top: -1rem; left: -1rem;
  width: 6rem; height: 6rem;
  background: var(--yellow);
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
  background: var(--slate-200);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-empty { background: #cbd5e1; }

.about-years {
  position: absolute;
  bottom: -2rem; right: -2rem;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
}
.years-number { font-size: 2.25rem; font-weight: 800; color: var(--yellow); }
.years-label  { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 8rem 0 4rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-hero-sub { color: #94a3b8; font-size: 1.1rem; max-width: 42rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--white); }

/* ── ABOUT PAGE — features & CTA ────────────────────────────── */
.features-section { padding: 4rem 0; background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.feat-card {
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
}
.feat-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.feat-card p  { font-size: 0.9rem; color: var(--text-muted); }

.cta-section { padding: 4rem 0; }
.cta-center  { text-align: center; max-width: 40rem; margin: 0 auto; }
.cta-center h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.cta-center p  { color: var(--text-muted); margin-bottom: 2rem; }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-hero {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.30);
  z-index: 0;
}

.contact-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  max-width: 32rem;
  width: 100%;
  border: 1px solid #334155;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.contact-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.contact-card > p { color: #cbd5e1; font-size: 0.95rem; margin-bottom: 1.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.contact-details a { transition: color 0.2s; }
.contact-details a:hover { color: var(--yellow); }
.contact-label { color: var(--yellow); font-weight: 700; }

.contact-note {
  margin-top: 2rem;
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ── COMPLIANCE PAGE ─────────────────────────────────────────── */
.compliance-section { padding: 4rem 0; }
.compliance-inner   { max-width: 56rem; }

.compliance-intro {
  font-size: 1.1rem;
  color: #334155;
  font-weight: 300;
  border-left: 4px solid var(--yellow);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
  line-height: 1.75;
}

.policy-blocks { display: flex; flex-direction: column; gap: 2rem; }

.policy-block {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}
.policy-block.bg-slate-light { background: var(--slate-light); }
.policy-block.policy-dark    { background: var(--navy); color: #cbd5e1; border-color: transparent; }

.policy-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.policy-block p { color: #475569; font-size: 0.95rem; margin-bottom: 1rem; }
.policy-dark p  { color: #cbd5e1; }

.policy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; color: #334155; }
.check-icon { color: var(--yellow); font-weight: 900; flex-shrink: 0; margin-top: 0.05rem; }

.hse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.hse-item {
  border-left: 4px solid var(--navy);
  padding-left: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.hse-item h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.hse-item p  { font-size: 0.85rem; color: var(--text-muted); }

.dot-list { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.dot-list li { display: flex; align-items: center; gap: 0.6rem; }
.dot-yellow  { display: inline-block; width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; flex-shrink: 0; }

.compliance-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
}
.compliance-footer p { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.compliance-cta { margin-top: 2rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #020617;
  color: #64748b;
  padding: 4rem 0;
  border-top: 1px solid #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.85rem; max-width: 24rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col p  { font-size: 0.85rem; margin-bottom: 0.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-link { font-size: 0.85rem; display: block; margin-top: 0.5rem; transition: color 0.2s; }
.footer-link:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #0f172a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .feature-cards { grid-template-columns: 1fr; }

  .about-years { display: none; }

  .cta-phone { font-size: 2rem; }
}
