/* ============================================================
   TRAYAN GROUP LTD — Shared Styles
   Palette: Deep green #2A491D · Amber #FBA509 · White #FFFFFF
   ============================================================ */

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

:root {
  --green: #2A491D;
  --green-dark: #1d3414;
  --green-darker: #142309;
  --amber: #FBA509;
  --amber-dark: #e09105;
  --white: #ffffff;
  --cream: #faf8f3;
  --paper: #f5f3ec;
  --line: #e6e3d8;
  --ink: #1a1a1a;
  --muted: #6b6b66;
  --muted-2: #8a8a85;

  --container: 1280px;
  --radius: 4px;
  --radius-lg: 12px;

  --header-h: 92px;

  --shadow-sm: 0 1px 2px rgba(20,35,9,0.05);
  --shadow: 0 4px 16px rgba(20,35,9,0.08);
  --shadow-lg: 0 12px 40px rgba(20,35,9,0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============================================================
   TOPBAR (above header)
   ============================================================ */
.topbar {
  background: var(--green-darker);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.8; }
.topbar-meta { color: var(--amber); font-weight: 500; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 56px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 10px 16px;
  position: relative;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--green); }
.main-nav a.active { color: var(--green); font-weight: 600; }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: -2px;
  height: 2px;
  background: var(--amber);
}

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 12px 22px !important;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}
.nav-cta::after { display: none !important; }

.menu-toggle { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--green-darker);
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}
.btn-dark {
  background: var(--green);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-arrow::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   SECTIONS / HEADINGS
   ============================================================ */
section { padding: 96px 0; }
section.compact { padding: 64px 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--green-darker);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 18px; }

p { color: var(--ink); }
p.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   PAGE HEADER (sub-page hero)
   ============================================================ */
.page-header {
  background: var(--green-darker);
  color: var(--white);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(251, 165, 9, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(42, 73, 29, 0.6) 0%, transparent 60%);
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header .breadcrumb {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.page-header .breadcrumb a:hover { color: var(--amber); }
.page-header .breadcrumb span { color: var(--amber); margin: 0 8px; }
.page-header h1 { color: var(--white); margin-bottom: 16px; max-width: 900px; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 720px; font-size: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-darker);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand img {
  height: 64px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-brand p { color: rgba(255,255,255,0.7); margin-bottom: 20px; line-height: 1.7; }
.footer h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer ul a:hover { color: var(--amber); }
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.footer-contact-line svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--amber);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--amber); }

/* ============================================================
   FLOATING ENQUIRE
   ============================================================ */

/* ============================================================
   UTILITIES
   ============================================================ */
.text-amber { color: var(--amber); }
.text-green { color: var(--green); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .topbar { font-size: 12px; }
  .topbar-info { gap: 16px; }
  .brand img { height: 44px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }
  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--green-darker);
    transition: 0.2s;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .page-header { padding: 56px 0 64px; }
}
