/* ===== Variables ===== */
:root {
  --black: #262727;
  --charcoal: #343636;
  --charcoal-light: #454747;
  --gold: #a38855;
  --gold-light: #c7ad7e;
  --copper: #8a6d42;
  --copper-light: #a4835a;
  --green: #7cb342;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text-dark: #1e1e1c;
  --text-muted: #5a5a56;
  --border: #e4e0d8;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

section { padding: 88px 0; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--black);
  margin-bottom: 20px;
}

.section-title strong { color: var(--gold); font-weight: 400; }

.section-lead {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(163,136,85,0.35); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-copper {
  background: var(--copper);
  color: var(--white);
}
.btn-copper:hover { background: var(--copper-light); transform: translateY(-2px); }

.btn-dark-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-dark-outline:hover { background: var(--black); color: var(--white); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(38,39,39,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(163,136,85,0.15);
}

.header-utility {
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(163,136,85,0.1);
}
.site-header .header-utility .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  height: 34px;
}
.header-utility a {
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.header-utility a:hover { color: var(--gold); }
.header-utility .sep { color: rgba(255,255,255,0.25); font-size: 0.72rem; }

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 44px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  height: 68px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.brand-text {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.15;
  min-width: 0;
}
.brand-text small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.mc-c { font-size: 0.75em; vertical-align: text-top; }

.main-nav {
  position: fixed;
  top: 118px;
  left: 0;
  right: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 24px 30px;
  gap: 18px;
  transform: translateY(-130%);
  opacity: 0;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(163,136,85,0.2);
  z-index: 90;
}
.main-nav.open { transform: translateY(0); opacity: 1; }

.main-nav ul { display: flex; flex-direction: column; gap: 18px; }

.main-nav a {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.main-nav .submenu {
  list-style: none;
  margin: 10px 0 0 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(163,136,85,0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.main-nav .submenu a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.main-nav .submenu a:hover { color: var(--gold); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); display: block; }

@media (min-width: 901px) {
  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 0;
    border-bottom: none;
    z-index: auto;
  }
  .main-nav ul { flex-direction: row; gap: 34px; }
  .main-nav a {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .nav-toggle { display: none; }

  .main-nav li.has-submenu { position: relative; }
  .main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    margin: 0;
    padding: 10px 0;
    min-width: 220px;
    background: var(--charcoal);
    border: 1px solid rgba(163,136,85,0.25);
    border-left: 1px solid rgba(163,136,85,0.25);
    box-shadow: 0 14px 28px rgba(0,0,0,0.35);
    flex-direction: column;
    gap: 0;
    z-index: 50;
  }
  .main-nav li.has-submenu:hover .submenu,
  .main-nav li.has-submenu:focus-within .submenu {
    display: flex;
  }
  .main-nav .submenu a {
    display: block;
    padding: 9px 20px;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 130px 0 190px;
  min-height: 950px;
  display: flex;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 56px));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transform-origin: left center;
  filter: grayscale(1) contrast(1.1) brightness(0.55);
  animation: heroSlideIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroSlideIn {
  from { transform: translateX(12%) scale(1.08); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(38,39,39,0.65) 0%, rgba(38,39,39,0.45) 42%, rgba(38,39,39,0.15) 75%, rgba(38,39,39,0) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(163,136,85,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-copy { max-width: 620px; }

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  margin-bottom: 22px;
  color: var(--white);
}
.hero h1 em { color: var(--gold); font-style: normal; }

.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(160deg, var(--black) 0%, var(--charcoal) 100%);
  color: var(--white);
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 620px; margin: 16px auto 0; }

/* ===== Mission / Alt sections ===== */
.mission {
  background: var(--cream);
}
.mission .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.mission .mission-single { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.mission-visual {
  background: var(--black);
  border-top: 3px solid var(--gold);
  padding: 46px 40px;
  color: var(--white);
}
.mission-visual .stat { margin-bottom: 26px; }
.mission-visual .stat:last-child { margin-bottom: 0; }
.mission-visual .stat b { display: block; font-family: var(--font-heading); font-size: 2.1rem; color: var(--gold); }
.mission-visual .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ===== Stats banner ===== */
.stats-banner {
  position: relative;
  background: linear-gradient(100deg, var(--copper) 0%, var(--gold) 55%, var(--gold-light) 100%);
  padding: 64px 0;
  clip-path: polygon(0 6%, 100% 0%, 100% 94%, 0% 100%);
}
.stats-banner .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-item { text-align: center; color: var(--black); }
.stat-item b { display: block; font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; margin-bottom: 8px; }
.stat-item span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }

/* ===== Specialization ===== */
.specialization { background: var(--white); }
.specialization .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.specialization-visual {
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  overflow: hidden;
  background: var(--cream);
}
.specialization-visual img { width: 100%; height: 300px; object-fit: cover; display: block; filter: grayscale(1) contrast(1.08) brightness(0.96); transition: filter var(--transition); }
.specialization-visual:hover img { filter: grayscale(0.2) contrast(1.05) brightness(1); }

/* ===== Pillars / three columns ===== */
.pillars { background: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; margin-top: 50px; }
.pillar-card {
  position: relative;
  padding: 38px 30px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--copper);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); border-top-color: var(--gold); }
.pillar-card .pillar-num {
  position: absolute;
  top: -16px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pillar-card .pillar-icon { margin-bottom: 16px; }
.pillar-card .pillar-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition);
}
.pillar-card:hover .pillar-icon svg { stroke: var(--copper); }
.pillar-card h3 { font-size: 1.2rem; color: var(--black); margin-bottom: 12px; }
.pillar-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.pillar-card a { color: var(--copper); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.pillar-card a:hover { color: var(--gold); }

/* ===== Services cards ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 50px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--copper));
}
.service-card h3 { color: var(--black); font-size: 1.25rem; margin-bottom: 10px; padding-left: 14px; }
.service-card > p.desc { color: var(--text-muted); margin-bottom: 18px; padding-left: 14px; }
.service-card .sublist { padding-left: 14px; }
.service-card .sublist li { margin-bottom: 16px; }
.service-card .sublist li:last-child { margin-bottom: 0; }
.service-card .sublist h4 { font-size: 1rem; color: var(--copper); margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.service-card .sublist p { font-size: 0.92rem; color: var(--text-muted); }

.services-anchor-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.services-anchor-nav a {
  padding: 10px 20px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
}
.services-anchor-nav a:hover { border-color: var(--gold); color: var(--copper); background: var(--cream); }

/* ===== Team ===== */
.team { background: var(--charcoal); color: var(--white); }
.team .section-title, .team .eyebrow { color: var(--white); }
.team .eyebrow { color: var(--gold); }
.team .section-lead { color: rgba(255,255,255,0.65); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; margin-top: 50px; }
.team-card {
  background: var(--black);
  border: 1px solid rgba(163,136,85,0.2);
  overflow: hidden;
}
.team-card .photo { height: 620px; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; filter: grayscale(15%); transition: filter var(--transition), transform var(--transition); }
.team-card:hover .photo img { filter: grayscale(0%); transform: scale(1.03); }
.team-card .info { padding: 28px 26px; }
.team-card h3 { font-size: 1.3rem; color: var(--gold); margin-bottom: 4px; }
.team-card .role { color: var(--copper-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.team-card .credentials { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.team-card .credentials li { margin-bottom: 4px; padding-left: 14px; position: relative; }
.team-card .credentials li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.team-card .contact-line { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.team-card .contact-line a:hover { color: var(--gold); }
.team-card .bio { font-size: 0.92rem; color: rgba(255,255,255,0.72); margin-top: 16px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--black), var(--charcoal-light) 120%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(163,136,85,0.25);
  border-bottom: 1px solid rgba(163,136,85,0.25);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* ===== About page specifics ===== */
.about-block { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.about-block p { color: var(--text-muted); font-size: 1.02rem; }
.about-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.about-columns .col h3 { color: var(--copper); font-size: 1.1rem; margin-bottom: 12px; }
.about-columns .col p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
.contact-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 32px;
}
.contact-card h3 { color: var(--black); margin-bottom: 4px; }
.contact-card .role { color: var(--copper); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.contact-card .line { margin-bottom: 10px; font-size: 0.95rem; }
.contact-card .line b { display: inline-block; width: 78px; color: var(--text-muted); font-weight: 600; }
.contact-card .line a:hover { color: var(--copper); }
.contact-card ul.credentials { margin-top: 18px; font-size: 0.85rem; color: var(--text-muted); }
.contact-card ul.credentials li { padding-left: 14px; position: relative; margin-bottom: 4px; }
.contact-card ul.credentials li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

.office-card {
  background: var(--charcoal);
  color: var(--white);
  padding: 32px;
}
.office-card h3 { color: var(--gold); margin-bottom: 18px; }
.office-card .line { margin-bottom: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.office-card iframe { width: 100%; height: 260px; border: 0; margin-top: 20px; filter: grayscale(40%) contrast(1.1); }

.contact-form { display: grid; gap: 18px; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: -6px; }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 62px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)); }
.footer-brand-name { font-family: var(--font-heading); color: var(--white); font-size: 1.05rem; line-height: 1.15; }
.footer-brand-name small { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-col h4 { color: var(--gold); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .mission .container { grid-template-columns: 1fr; }
  .specialization .container { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-columns { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
}

@media (max-width: 600px) {
  .header-utility a { font-size: 0.66rem; }
  .header-actions .btn { padding: 10px 16px; font-size: 0.8rem; }
  .hero { min-height: 640px; padding: 100px 0 130px; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
  .brand-text { font-size: 0.82rem; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 8px 12px; font-size: 0.72rem; }
}
