/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e8e6e1;
  background: #0a0a0b;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --bg: #0a0a0b;
  --bg-alt: #111114;
  --bg-card: #15151a;
  --border: #232329;
  --text: #e8e6e1;
  --text-dim: #9a978f;
  --gold: #d4af37;
  --gold-dim: #8a6d1f;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --max: 1180px;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: #f4f2ec;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0; }
p  { margin: 0 0 1em; color: var(--text-dim); }
em { font-style: italic; color: var(--gold); }
strong { color: #f4f2ec; font-weight: 600; }
.accent { color: var(--gold); font-style: italic; font-weight: 400; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem;
  color: #f4f2ec; letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.92rem; color: var(--text-dim); transition: color 0.2s ease;
}
.nav-links a:hover { color: #f4f2ec; }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--gold-dim);
  border-radius: 999px; color: var(--gold) !important;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--gold-soft); border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #f4f2ec; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 100px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 0%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(ellipse 80% 50% at 0% 30%, rgba(212,175,55,0.05), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.lead {
  font-size: 1.18rem; line-height: 1.65; color: var(--text-dim);
  max-width: 620px; margin: 1.5em 0 2.4em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-size: 0.95rem; font-weight: 500;
  transition: all 0.2s ease; border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  color: #0a0a0b; font-weight: 600;
  box-shadow: 0 8px 24px -10px rgba(212,175,55,0.5);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(212,175,55,0.6); }
.btn-ghost { border-color: var(--border); color: #f4f2ec; }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold); }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto); gap: 48px;
  padding-top: 36px; border-top: 1px solid var(--border);
  max-width: 620px;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 500;
  color: #f4f2ec; line-height: 1;
}
.hero-meta span {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 8px;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head p { font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.services { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0; transition: opacity 0.25s ease;
}
.card:hover { border-color: rgba(212,175,55,0.25); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card-num {
  font-family: 'Fraunces', serif; font-size: 0.85rem; color: var(--gold);
  letter-spacing: 0.18em; margin-bottom: 18px;
}
.card h3 { color: #f4f2ec; margin-bottom: 12px; }
.card p { margin: 0; font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { position: relative; padding-top: 24px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 2px;
  background: var(--gold);
}
.step-no {
  font-family: 'Fraunces', serif; font-size: 0.8rem; color: var(--gold);
  letter-spacing: 0.18em; margin-bottom: 14px;
}
.step h4 { color: #f4f2ec; margin-bottom: 8px; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- Sectors ---------- */
.sectors { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector {
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #f4f2ec;
  transition: all 0.2s ease;
}
.sector:hover { border-color: rgba(212,175,55,0.3); color: var(--gold); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center;
}
.about-grid h2 { margin-bottom: 24px; }
.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative; padding-left: 28px; color: var(--text-dim); font-size: 0.95rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.about-card {
  background: linear-gradient(160deg, var(--bg-card), #0d0d10);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  position: relative;
}
.quote-mark {
  font-family: 'Fraunces', serif; font-size: 4rem; color: var(--gold);
  line-height: 0.6; margin-bottom: 16px;
}
.quote {
  font-family: 'Fraunces', serif; font-size: 1.25rem; line-height: 1.5;
  color: #f4f2ec; font-style: italic; margin-bottom: 20px;
}
.quote-attrib {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Contact ---------- */
.contact-section { background: var(--bg-alt); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.contact-info > div { display: flex; flex-direction: column; gap: 6px; }
.contact-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.contact-info a, .contact-info address, .contact-info span:not(.contact-label) {
  color: #f4f2ec; font-style: normal; font-size: 0.98rem; line-height: 1.6;
}
.contact-info a:hover { color: var(--gold); }

.contact-form {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label > span {
  font-size: 0.82rem; color: var(--text-dim); font-weight: 500;
}
.contact-form input, .contact-form textarea {
  background: #0a0a0b;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: #f4f2ec;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold-dim);
}
.contact-form button { margin-top: 8px; align-self: flex-start; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin: 4px 0 0; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 120px 0 40px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212,175,55,0.08), transparent 60%);
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.legal-hero p { font-size: 0.95rem; }
.legal-content { padding: 40px 0 100px; max-width: 820px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.4rem; margin-top: 2.4em; margin-bottom: 0.7em;
  color: #f4f2ec;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem; margin-top: 1.6em; margin-bottom: 0.6em;
  color: #f4f2ec;
}
.legal-content p, .legal-content li {
  font-size: 0.96rem; line-height: 1.75;
}
.legal-content ul { padding-left: 20px; margin: 0 0 1em; list-style: disc; color: var(--text-dim); }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: #f4f2ec; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer {
  background: #060607;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-tag { font-size: 0.85rem; color: var(--text-dim); }
.footer-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  font-size: 0.82rem; color: var(--text-dim);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--text-dim); transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold); }

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.65);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 520px) {
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 16px 24px;
    background: rgba(10,10,11,0.98); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 80px 0 70px; }
  .section { padding: 80px 0; }
  .services, .sectors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .contact-form { padding: 28px; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
}
