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

:root {
  --bg:       #08090F;
  --bg-card:  #0F1219;
  --bg-raised:#141924;
  --text:     #EDEAE2;
  --muted:    rgba(237, 234, 226, 0.48);
  --accent:   #C8921F;
  --accent-h: #DBA033;
  --border:   rgba(237, 234, 226, 0.07);
  --radius:   14px;
  --max:      1140px;
  --nav-h:    66px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: #0A0B11 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-h) !important; color: #0A0B11 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.925rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: #0A0B11; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: rgba(237, 234, 226, 0.22);
  background: rgba(237, 234, 226, 0.04);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 35%, rgba(200, 146, 31, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 70%, rgba(200, 146, 31, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  max-width: 700px;
}
h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
h1 span { color: var(--accent); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Sections ── */
.section { padding: 108px 0; }
.section-dark { background: var(--bg); }
.section-card { background: var(--bg-card); }
.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 10px;
}
.section-head p { color: var(--muted); margin-top: 14px; max-width: 520px; line-height: 1.75; }

/* ── Category cards (homepage) ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { border-color: rgba(200, 146, 31, 0.28); transform: translateY(-3px); }
.cat-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 146, 31, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.cat-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cat-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; flex: 1; }
.cat-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-list li {
  font-size: 0.825rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.cat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  margin-top: 24px;
  transition: gap 0.2s;
}
.cat-link:hover { gap: 9px; }

/* ── Filter bar (services) ── */
.filter-bar-wrap {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: rgba(8, 9, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.filter-bar {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── About (homepage) ── */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}
.about-photo-wrap { flex-shrink: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 400 / 375; }
.about-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
}
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 10px 0 20px;
}
.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.traits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.traits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.trait-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.about-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── CTA banner ── */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.cta-banner p { color: var(--muted); margin-bottom: 40px; font-size: 1rem; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-row1 {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 20px;
}
.footer-row1 .footer-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.footer-row2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.footer-copy { color: var(--muted); font-size: 0.775rem; }
.footer-abn { color: var(--muted); font-size: 0.775rem; justify-self: end; }
.footer-logo {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.footer-logo em { font-style: normal; color: var(--accent); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.825rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 0.775rem; }

/* ── Services page ── */
.page-hero { padding: 80px 0 64px; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 12px;
}
.page-hero p { color: var(--muted); margin-top: 16px; font-size: 1rem; max-width: 680px; line-height: 1.75; }

.services-block { margin-bottom: 72px; }
.services-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.services-block-head h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.block-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(200, 146, 31, 0.12);
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.svc-card:hover { transform: translateY(-2px); }
.svc-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 146, 31, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-card p { font-size: 0.825rem; color: var(--muted); line-height: 1.65; }

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(200, 146, 31, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-ic svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-row a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.contact-row a:hover { color: var(--accent); }
.contact-row span { color: var(--muted); font-size: 0.95rem; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.contact-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.75; margin-bottom: 24px; }
.map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin-top: 32px; }
.map-wrap iframe { display: block; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { max-width: 340px; }
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.8rem; }
  .nav-cta { padding: 7px 14px; font-size: 0.8rem !important; }
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 0; }
  .section { padding: 72px 0; }
  .about-aside { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(8, 9, 15, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { font-size: 1rem; padding: 12px 0; display: block; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .category-grid { grid-template-columns: 1fr; }
  .about-aside { grid-template-columns: 1fr; }
  .footer-row1 { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-row1 .footer-links { position: static; transform: none; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer-row2 { grid-template-columns: 1fr 1fr; }
  .footer-row2 span { display: none; }
  .footer-row2 .footer-copy { justify-self: start; }
  .footer-row2 .footer-abn { justify-self: end; }
  .services-grid { grid-template-columns: 1fr; }
}
