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

:root {
  --navy: #14213d;
  --navy-light: #1e2f52;
  --cream: #f6f1e7;
  --gold: #c9a227;
  --brown: #5c4433;
  --lightgray: #e8e3d9;
  --font: 'Poppins', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

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

.max-w {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background-color: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.logo .mark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--cream);
  transition: color 0.2s ease;
}
.logo:hover .mark { color: var(--gold); }
.logo .sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  border-left: 1px solid rgba(201,162,39,0.4);
  padding-left: 0.5rem;
  display: none;
}
@media (min-width: 640px) { .logo .sub { display: block; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  color: rgba(246,241,231,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.cta-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.65rem 1.25rem;
}
.nav-links a.cta-btn:hover { background: #b8931f; color: var(--navy); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.mobile-nav a.cta-btn {
  background: var(--gold);
  color: var(--navy);
  padding: 0.65rem 1rem;
  text-align: center;
  width: fit-content;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,162,39,0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(92,68,51,0.15), transparent 45%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 33%;
  background: rgba(92,68,51,0.2);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.hero .accent-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
}
.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  width: 100%;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.hero h1.accent { color: var(--gold); margin-bottom: 1.5rem; }
.hero p.lead {
  color: rgba(246,241,231,0.7);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 32rem;
  margin: 2rem 0 2.5rem;
  line-height: 1.6;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #b8931f; }
.btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--navy); }

.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-hint span {
  color: rgba(246,241,231,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-hint .line {
  width: 1px; height: 2rem;
  background: linear-gradient(rgba(246,241,231,0.4), transparent);
}

/* ---------- Stats ---------- */
.stats {
  background: var(--brown);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid > div:not(:last-child) { border-right: 1px solid rgba(246,241,231,0.2); }
}
.stat-num {
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}
.stat-label {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ---------- Section shared ---------- */
section.block { padding: 6rem 1.5rem; }
.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
}

/* ---------- Services grid ---------- */
.services-section { background: var(--cream); }
.services-section .section-title { margin-bottom: 4rem; max-width: 32rem; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--lightgray);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.service-card:hover { border-color: var(--gold); }
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleY(1); }
.service-num {
  color: rgba(92,68,51,0.3);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
}
.service-card h3 { font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.service-card p { color: rgba(20,33,61,0.6); font-size: 0.9rem; line-height: 1.6; }
.service-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}
.service-card:hover .service-link { color: var(--brown); }

.view-all {
  margin-top: 3rem;
  text-align: center;
}
.view-all a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}
.view-all a:hover { color: var(--gold); }

/* ---------- Why choose us ---------- */
.why-section {
  background: var(--lightgray);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-grid h2 { color: var(--navy); }
.gold-rule { width: 4rem; height: 4px; background: var(--gold); margin: 2rem 0; }
.why-grid > div:first-child p { color: rgba(20,33,61,0.6); max-width: 28rem; line-height: 1.7; }

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.check {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.feature-item h4 { color: var(--navy); font-weight: 600; }
.feature-item p { color: rgba(20,33,61,0.6); font-size: 0.9rem; margin-top: 0.25rem; line-height: 1.6; }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--navy);
  padding: 6rem 1.5rem;
  text-align: center;
}
.cta-section .inner { max-width: 44rem; margin: 0 auto; }
.cta-section h2 { color: var(--cream); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 1rem 0 1.5rem; }
.cta-section p { color: rgba(246,241,231,0.6); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid .brand-name { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.15em; }
.footer-grid .brand-sub { color: var(--gold); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; margin: 0.25rem 0 1rem; }
.footer-grid p.desc { color: rgba(246,241,231,0.6); font-size: 0.9rem; line-height: 1.6; max-width: 20rem; }
.footer-heading { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(246,241,231,0.6); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }
address { font-style: normal; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; color: rgba(246,241,231,0.6); }
address .label { display: block; color: rgba(246,241,231,0.4); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
address a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: 0.75rem; letter-spacing: 0.05em;
  color: rgba(246,241,231,0.4);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--navy);
  padding: 10rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
}
.page-header h1 { color: var(--cream); font-weight: 800; font-size: clamp(2.25rem, 6vw, 4rem); }
.page-header p { color: rgba(246,241,231,0.65); margin-top: 1rem; max-width: 34rem; margin-left: auto; margin-right: auto; }

/* ---------- Services page ---------- */
.full-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .full-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .full-services { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--lightgray), var(--brown) 140%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(20,33,61,0.5);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.gallery-item:hover::after { border-color: var(--gold); }

/* ---------- Contact ---------- */
.contact-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-wrap { grid-template-columns: 1.1fr 0.9fr; } }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--lightgray);
  background: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--navy);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; border: none; cursor: pointer; }

.contact-info {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: fit-content;
}
.contact-info h3 { font-weight: 700; font-size: 1.25rem; }
.contact-info .item .label { color: var(--gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.25rem; }
.contact-info .item a, .contact-info .item p { color: rgba(246,241,231,0.85); }
.contact-info .item a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}