:root {
  --green: #0c5c4d;
  --green-dark: #0a463b;
  --gold: #c9a227;
  --ink: #16312c;
  --muted: #5b6f6a;
  --bg: #f6f7f2;
  --white: #ffffff;
  --line: #e4e8e2;
  --radius: 18px;
  --shadow: 0 24px 60px -30px rgba(16, 42, 36, 0.45);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: #241d05;
  box-shadow: 0 14px 30px -14px rgba(201, 162, 39, 0.8);
}
.btn-primary:hover { background: #d8b233; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  color: #fff;
}
.site-header.scrolled { background: var(--white); color: var(--ink); box-shadow: 0 10px 40px -20px rgba(0,0,0,0.3); padding: 10px 0; }
.header-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand .logo { width: 40px; height: 40px; display: block; }
.brand-name { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.5px; }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 0.95rem; font-weight: 500; position: relative; opacity: 0.9; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-phone { border-color: rgba(255,255,255,0.35); }
.btn-phone svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span { width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; padding: 120px 0; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,38,31,0.88) 0%, rgba(8,38,31,0.55) 55%, rgba(8,38,31,0.35) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.eyebrow, .section-tag {
  text-transform: uppercase; font-size: 0.78rem; letter-spacing: 3px; font-weight: 600;
  color: var(--gold); display: inline-block;
}
.hero h1 { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.08; font-weight: 600; margin: 18px 0 20px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-metrics {
  display: grid; grid-template-columns: repeat(4, auto); gap: 40px;
  margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.2);
  justify-content: start;
}
.hero-metrics li strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.hero-metrics li span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* Sections */
.section { padding: 100px 0; }
.section-head { max-width: 560px; margin-bottom: 50px; }
.section-head h2, .about-text h2, .contact-info h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15; margin: 12px 0 14px; font-weight: 600;
}
.section-head p { color: var(--muted); }

/* Services */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -40px rgba(0,0,0,0.4); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { height: 210px; background-size: cover; background-position: center; }
.card-body { padding: 24px; }
.card-body h3 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.95rem; }
.link { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 600; font-size: 0.92rem; }
.link:hover { text-decoration: underline; }

/* About */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius); background-size: cover; background-position: center; }
.about-img.main { height: 480px; box-shadow: var(--shadow); }
.about-img.small { position: absolute; bottom: -40px; right: -20px; width: 45%; height: 220px; border: 8px solid #fff; box-shadow: var(--shadow); }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-list { margin-top: 26px; }
.about-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.about-list strong { display: block; font-family: var(--font-head); color: var(--green); font-size: 1.2rem; }
.about-list span { color: var(--muted); }

/* Offices */
.offices-grid { grid-template-columns: repeat(3, 1fr); }
.office { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -40px rgba(0,0,0,0.4); }
.office-img { height: 230px; background-size: cover; background-position: center; }
.office-body { padding: 24px; }
.office-body h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 10px; }
.office-addr { color: var(--muted); margin-bottom: 18px; }

/* Contact */
.contact { background: var(--green-dark, var(--ink)); color: #fff; background: linear-gradient(135deg, #0a352b 0%, #0c5c4d 100%); }
.contact .section-tag { color: var(--gold); }
.contact-info h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,0.85); max-width: 480px; margin-bottom: 30px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-channels { display: grid; gap: 4px; }
.contact-channels li { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-channels svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.contact-channels li:last-child svg { fill: none; }
.contact-channels div span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.contact-channels div a, .contact-channels div strong { font-size: 1.05rem; color: #fff; }
.contact-channels div a:hover { color: var(--gold); }

.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.1);
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--gold); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
.socials a:hover svg { stroke: #241d05; }
.socials a[aria-label="Facebook"] svg, .socials a[aria-label="X/Twitter"] svg, .socials a[aria-label="TikTok"] svg { fill: #fff; stroke: none; }
.socials a[aria-label="Facebook"]:hover svg, .socials a[aria-label="X/Twitter"]:hover svg, .socials a[aria-label="TikTok"]:hover svg { fill: #241d05; }

/* Form */
.contact-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.contact-form label { font-weight: 500; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body); font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: var(--bg); color: var(--ink); transition: border-color .15s;
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green);
}
.contact-form .btn { margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-success { background: #e5f4ec; color: var(--green-dark); padding: 12px; border-radius: 10px; text-align: center; font-weight: 500; }

/* Footer */
.site-footer { background: #07221c; color: #cfdbd6; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; color: rgba(255,255,255,0.6); max-width: 260px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); margin-bottom: 14px; font-size: 1.1rem; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,0.65); margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; text-align: center; }
.footer-bottom p:first-child { color: #fff; font-size: 0.9rem; }
.footer-bottom .legal { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin-top: 8px; }
.brand-footer { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .services-grid, .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img.small { right: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .main-nav {
    position: fixed; top: 64px; left: 0; right: 0; flex-direction: column;
    background: var(--ink); padding: 24px; gap: 18px;
    transform: translateY(-120%); transition: transform .3s; border-radius: 0 0 18px 18px;
  }
  .main-nav a { font-size: 1.05rem; }
  .main-nav.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .phone-text { display: none; }
  .btn-phone { padding: 0.7em; border-radius: 50%; }
  .btn-phone svg { width: 20px; height: 20px; }
  .services-grid, .offices-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-img.main { height: 380px; }
  .about-img.small { display: none; }
}