/* Amerivia Development — palette from the Gold Bridge business card */
:root {
  --navy: #010d2c;
  --navy-2: #0a1a42;
  --navy-3: #13265a;
  --gold: #d9a05a;
  --gold-deep: #b97f3a;
  --gold-light: #fcdca4;
  --gold-grad: linear-gradient(135deg, #b97f3a 0%, #e8ab5d 45%, #fcdca4 70%, #d9a05a 100%);
  --ivory: #faf6ee;
  --ivory-2: #f2ebdd;
  --ink: #1a2238;
  --muted: #5b6377;
  --line: #e4dac6;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(1, 13, 44, 0.08);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); letter-spacing: -0.01em; }
h3 { font-size: 1.08rem; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 0.8em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85em 1.6em; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.btn-gold { background: var(--gold-grad); color: var(--navy); box-shadow: 0 6px 18px rgba(217,160,90,.3); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(217,160,90,.45); }
.btn-outline { border-color: rgba(252,220,164,.6); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(252,220,164,.08); }
.btn-sm { padding: 0.55em 1.2em; font-size: 0.85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 13, 44, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217,160,90,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 48px; height: auto; }
.brand-text {
  color: #fff; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.95rem;
  display: flex; flex-direction: column; line-height: 1.15;
}
.brand-text span { color: var(--gold); font-size: 0.58rem; letter-spacing: 0.5em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.82); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-light); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, var(--navy-3) 0%, var(--navy) 65%);
  color: #fff; text-align: center;
  padding: clamp(56px, 9vw, 110px) 0 clamp(110px, 14vw, 170px);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero-logo { width: min(440px, 80%); margin: 0 auto 28px; }
.hero h1 {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 400; font-style: italic;
  color: #fff; margin-bottom: 1.2em;
}
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: #fff; font-weight: 500; }
.hero-sub { color: rgba(255,255,255,.72); max-width: 720px; margin-inline: auto; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-swoosh { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .9; pointer-events: none; }

/* Sections */
.section { padding: clamp(64px, 8vw, 100px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.intro { background: var(--ivory); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.intro-grid h2 { position: relative; padding-top: 20px; }
.intro-grid h2::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--gold-grad); border-radius: 2px; }
.intro-grid p { color: var(--muted); font-size: 1.04rem; }

/* Services */
.services { background: var(--ivory-2); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s;
}
.service-card:hover, .service-card[open] { border-color: var(--gold); }
.service-card summary {
  list-style: none; cursor: pointer; padding: 24px 24px 20px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px;
}
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: var(--radius); }
.service-card .num {
  grid-row: span 2; font-weight: 700; font-size: 0.85rem; color: var(--navy);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad);
}
.service-card .title { font-weight: 600; color: var(--navy); font-size: 1.02rem; line-height: 1.35; align-self: center; }
.service-card .tagline { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.service-card .more {
  grid-column: 2; font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 6px;
}
.service-card .more::after { content: ' +'; }
.service-card[open] .more::after { content: ' −'; }
.service-card ul { margin: 0; padding: 0 24px 8px 76px; color: var(--ink); font-size: 0.92rem; }
.service-card li { margin-bottom: 6px; }
.service-card li::marker { color: var(--gold); }
.service-card .note {
  margin: 8px 24px 22px; padding: 10px 12px; font-size: 0.8rem; color: var(--muted);
  background: var(--ivory); border-left: 3px solid var(--gold); border-radius: 4px;
}
.service-card[open] ul { padding-bottom: 20px; }
.service-card[open] .note { margin-top: -8px; }

/* Clients */
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profile {
  padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.profile p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Process */
.process { background: var(--navy); color: #fff; }
.process h2, .process h3 { color: #fff; }
.process .eyebrow { color: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px 22px; background: var(--navy-2); border: 1px solid rgba(217,160,90,.2); border-radius: var(--radius); }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-grad); color: var(--navy); font-weight: 700; margin-bottom: 16px;
}
.step p { color: rgba(255,255,255,.72); font-size: 0.93rem; }
.step .deliverable { margin: 0; padding-top: 14px; border-top: 1px solid rgba(217,160,90,.25); color: var(--gold-light); font-size: 0.86rem; }
.step .deliverable strong { color: var(--gold); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.why-item { grid-column: span 2; padding: 26px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.why-item:nth-child(4) { grid-column: 2 / span 2; }
.why-item h3::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold-grad); margin-bottom: 14px; }
.why-item p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Engagements */
.engagements { background: var(--ivory-2); }
.engagement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.engagement {
  padding: 28px 24px; background: var(--navy); color: #fff; border-radius: var(--radius);
  border-bottom: 3px solid var(--gold);
}
.engagement h3 { color: var(--gold-light); }
.engagement p { color: rgba(255,255,255,.75); font-size: 0.92rem; margin: 0; }
.fine { text-align: center; color: var(--muted); font-size: 0.88rem; max-width: 760px; margin: 32px auto 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--gold-deep);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); padding-bottom: 12px; }

/* Contact */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-copy > p { color: rgba(255,255,255,.75); }
.contact-details { margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(217,160,90,.3); }
.contact-details dt { font-weight: 600; color: var(--gold-light); margin-bottom: 6px; }
.contact-details dd { margin: 0 0 4px; color: rgba(255,255,255,.8); }
.contact-details a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(217,160,90,.5); }
.contact-details a:hover { color: var(--gold-light); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
  background: var(--ivory); color: var(--ink); padding: 32px; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.field label span { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,160,90,.22); }
.field .invalid { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 0.9rem; }
.form-status.ok { color: #1f6b3a; }
.form-status.err { color: #b3261e; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: #000820; color: rgba(255,255,255,.6); padding: 44px 0; text-align: center; font-size: 0.82rem; }
.footer-logo { width: 220px; margin: 0 auto 18px; }
.footer-disclaimer { max-width: 680px; margin: 0 auto 10px; }
.copyright { margin: 0; color: rgba(255,255,255,.4); }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid, .steps, .engagement-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item, .why-item:nth-child(4) { grid-column: auto; }
  .why-item:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(217,160,90,.25);
    padding: 8px 16px 18px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .card-grid, .profile-grid, .steps, .engagement-grid, .why-grid { grid-template-columns: 1fr; }
  .why-item:last-child { grid-column: auto; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .service-card ul { padding-left: 44px; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}
