/* ---- Theme ---- */
:root {
  --cream: #faf9f7;
  --soft: #f4f2ee;
  --surface: #ffffff;
  --ink: #1a1714;
  --ink-2: #3d3830;
  --muted: #6b6259;
  --gold: #845f2e;
  --gold-dim: #c9a96e;
  --dark: #1a1714;
  --line: rgba(0, 0, 0, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

.dark {
  --cream: #0f0d0b;
  --soft: #171512;
  --surface: #1d1a16;
  --ink: #f3efe8;
  --ink-2: #d8d1c6;
  --muted: #9a9284;
  --line: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section-soft { background: var(--soft); }
.dark-section { background: #1a1714; color: #fff; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.section h2, .hero h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  font-size: 40px;
}
@media (min-width: 640px) { .section h2 { font-size: 48px; } }
.section h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.max-w { max-width: 680px; }
.body-lg { margin-top: 24px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.mt-10 { margin-top: 40px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn-sm { padding: 12px 28px; font-size: 14px; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--gold); color: #fff; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); padding: 14px 28px; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 95%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.3s;
}
.navbar.scrolled .nav-inner { height: 64px; }
@media (min-width: 1024px) { .nav-inner { padding: 0 40px; } }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: width 0.3s, height 0.3s;
}
.brand-mark img { width: auto; height: 100%; }
.navbar.scrolled .brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--ink);
  transition: font-size 0.3s;
}
.navbar.scrolled .brand-name { font-size: 18px; }
.brand-sub {
  font-size: 9.6px;
  letter-spacing: 0.25em;
  color: var(--muted);
  transition: opacity 0.3s;
}
.navbar.scrolled .brand-sub { opacity: 0; height: 0; overflow: hidden; }

.nav-links { display: none; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(154, 115, 64, 0.4);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}
.theme-toggle:hover { background: var(--gold); color: #fff; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-sun { display: block; }
.dark .theme-toggle .icon-moon { display: none; }

.nav-cta { display: none; padding: 12px 24px; font-size: 14px; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--cream);
  border-top: 1px solid rgba(154, 115, 64, 0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 18px; color: var(--ink-2); }
.mobile-menu a:hover { color: var(--gold); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---- Hero ---- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade-h {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--cream), color-mix(in srgb, var(--cream) 80%, transparent), color-mix(in srgb, var(--cream) 10%, transparent));
}
.hero-shade-v {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--cream), transparent, transparent);
}
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 144px; padding-bottom: 48px; width: 100%; }
.hero-text { max-width: 672px; }
.hero h1 { font-size: 48px; font-weight: 500; line-height: 1.05; margin-top: 24px; }
@media (min-width: 640px) { .hero h1 { font-size: 72px; } }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.lead { margin-top: 24px; max-width: 576px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
@media (min-width: 640px) { .lead { font-size: 18px; } }
.hero-text .muted { margin-top: 16px; max-width: 576px; font-size: 14px; line-height: 1.7; }
@media (min-width: 640px) { .hero-text .muted { font-size: 16px; } }
.hero-buttons { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-stats-wrap { position: relative; width: 100%; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  padding: 40px 32px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.11);
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats div { display: flex; flex-direction: column; gap: 8px; }
.hero-stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.hero-stats dd { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold); }

/* ---- About ---- */
.two-col { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.about-visual { position: relative; }
.about-img { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: -24px; bottom: -32px;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.11);
}
.about-badge .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.about-badge .big { font-family: var(--serif); font-size: 48px; font-weight: 500; color: var(--gold); line-height: 1.1; }
.about-badge .small { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

/* ---- Services ---- */
.section-head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.cards-4 { margin-top: 64px; display: grid; gap: 24px; }
@media (min-width: 768px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 50px rgba(0, 0, 0, 0.11); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 32px; }
.card-body .num { font-family: var(--serif); font-size: 14px; color: var(--gold); }
.card-body h3 { margin-top: 24px; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); }
.card-body p { margin-top: 12px; flex: 1; color: var(--muted); line-height: 1.65; }
.arrow {
  margin-top: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(154, 115, 64, 0.1);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}

/* ---- Sectors ---- */
.sector-banner { margin-top: 48px; aspect-ratio: 21 / 9; border-radius: 24px; overflow: hidden; }
.sector-banner img { width: 100%; height: 100%; object-fit: cover; }
.sector-list { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .sector-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sector-list { grid-template-columns: repeat(4, 1fr); } }
.sector-list li {
  display: flex; align-items: center; gap: 12px;
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
  color: var(--ink-2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.sector-list li::before {
  content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--gold);
}

/* ---- Why choose ---- */
.why-list { display: grid; gap: 16px; align-self: center; }
.why-list li { display: flex; align-items: flex-start; gap: 16px; color: var(--ink-2); }
.star {
  margin-top: 4px;
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(154, 115, 64, 0.1);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* ---- Process ---- */
.steps { margin-top: 64px; display: grid; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
  display: flex; flex-direction: column;
  border-radius: 16px;
  background: var(--surface);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.step .num { font-family: var(--serif); font-size: 30px; color: var(--gold); }
.step h3 { margin-top: 24px; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); }
.step p { margin-top: 12px; color: var(--muted); line-height: 1.65; }

/* ---- Vision & Mission ---- */
.vm-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-card { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px; }
.vm-card h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold-dim); margin: 0; }
.vm-card p { margin-top: 24px; font-family: var(--serif); font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }

/* ---- Clients ---- */
.intro { margin-top: 16px; max-width: 680px; font-size: 18px; color: var(--muted); }
.client-list { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }
.client-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 12px 24px;
  color: var(--ink-2);
}

/* ---- Contact ---- */
.contact-grid { gap: 64px; }
.contact-cards { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  border-radius: 16px;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}
.contact-card:hover { box-shadow: 0 6px 30px rgba(0, 0, 0, 0.09); }
.contact-card .ico { color: var(--gold); font-size: 20px; }
.contact-card strong { display: block; font-weight: 600; color: var(--ink); }
.contact-card small { display: block; font-size: 14px; color: var(--muted); }
.address { margin-top: 32px; font-size: 14px; color: var(--muted); }

.contact-form {
  display: flex; flex-direction: column; gap: 16px;
  border-radius: 24px;
  background: var(--surface);
  padding: 32px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.11);
}
@media (min-width: 640px) { .contact-form { padding: 40px; } }
.contact-form h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  padding: 16px 20px;
  color: var(--ink);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.form-submit { margin-top: 8px; align-self: flex-start; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.2em; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }

/* ---- Footer ---- */
.footer { background: #1a1714; color: #fff; }
.footer-top {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 32px 48px;
  display: grid;
  gap: 32px;
}
@media (min-width: 769px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1101px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; } }
.footer-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 19px;
}
.footer-logo img { height: 48px; width: auto; }
.footer-name { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 19px; }
.footer-tagline { max-width: 280px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); margin-bottom: 29px; }
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 19px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a,
.footer-col span { font-size: 13px; color: rgba(255, 255, 255, 0.75); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-dim); }
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: center;
}
@media (min-width: 769px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom p { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold-dim); }
