/* =========================================================
   Nomisma Capital LLC — Site styles
   Modern professional palette: navy + gold
   ========================================================= */

:root {
  --navy: #0a2540;
  --navy-deep: #061a2f;
  --gold: #c9a86a;
  --gold-soft: #e0c994;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --text: #1a1a1a;
  --muted: #5b6470;
  --line: #e5e8ee;
  --shadow: 0 8px 30px rgba(10, 37, 64, 0.08);
  --radius: 6px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

p { color: var(--muted); margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

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

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

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.nav-links a:hover { color: #fff; }

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover {
  background: #fff !important;
  color: var(--navy) !important;
}
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: .9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  letter-spacing: .3px;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page header (non-home) */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header h1 { color: #fff; }
.page-header p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 1rem auto 0; }

/* =========================================================
   Sections
   ========================================================= */
section { padding: 5rem 0; }

.section-eyebrow {
  display: block;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-weight: 600;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.bg-soft { background: var(--bg-soft); }

/* =========================================================
   Service cards
   ========================================================= */
.grid {
  display: grid;
  gap: 1.75rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.service-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 106, 0.12);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.service-card h3 { color: var(--navy); }
.service-card p { font-size: .95rem; }

/* =========================================================
   Stats
   ========================================================= */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0;
}
.stats .grid-4 { gap: 2rem; text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  letter-spacing: .5px;
}

/* =========================================================
   Two-column / About
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col .image-block {
  background: var(--navy);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  letter-spacing: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.two-col .image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.value-list {
  list-style: none;
  margin-top: 1.5rem;
}
.value-list li {
  padding: .5rem 0 .5rem 1.75rem;
  position: relative;
  color: var(--text);
}
.value-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 600px; margin: .5rem auto 2rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-info-item .ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(10, 37, 64, 0.05);
  color: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.contact-info-item h4 { font-size: 1rem; margin-bottom: .25rem; }
.contact-info-item p, .contact-info-item a {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.contact-form {
  background: var(--bg-soft);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .3px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-img { height: 52px; width: auto; display: block; margin-bottom: 1rem; }
.site-footer p { color: rgba(255,255,255,.65); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer ul a { color: rgba(255,255,255,.75); }
.site-footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .9rem 1.5rem;
    width: 100%;
  }
  .nav-links a.active::after, .nav-links a:hover::after { display: none; }
  .menu-toggle { display: block; }

  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
}
