/* ==========================================================================
   American Gold & Silver Coins — stylesheet
   Modern, clean, trust-focused. Palette: charcoal + gold on cream.
   ========================================================================== */

:root {
  --gold: #b8902f;
  --gold-light: #d4af52;
  --gold-soft: #f3e9d2;
  --ink: #1a1714;
  --ink-soft: #423b32;
  --cream: #faf7f1;
  --cream-2: #f3ede1;
  --line: #e2d9c6;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(26, 23, 20, 0.08);
  --shadow-sm: 0 2px 12px rgba(26, 23, 20, 0.06);
  --radius: 14px;
  --maxw: 1140px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600; color: var(--gold); margin: 0 0 1rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.brand img { height: 44px; width: 44px; object-fit: cover; }
.brand .logo-img { border-radius: 50%; box-shadow: 0 1px 4px rgba(26,23,20,0.25); }
.brand .brand-mark { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--sans); }
.header-right { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.97rem; }
.nav a:hover, .nav a.active { color: var(--gold); }
.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.phone:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.2s; }

/* ---- Guarantee banner ---- */
.guarantee {
  background: var(--ink); color: var(--cream);
  text-align: center; padding: 18px 24px;
}
.guarantee strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em; display: block; margin-bottom: 4px; }
.guarantee p { margin: 0; font-size: 0.98rem; color: #d8d0c2; max-width: 760px; margin-inline: auto; }

/* ---- Hero ---- */
.hero { text-align: center; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px); background:
  radial-gradient(ellipse at top, var(--gold-soft) 0%, var(--cream) 60%); }
.hero .brand-large { margin: 0 auto 30px; }
.hero .brand-large img.logo-lg {
  width: clamp(150px, 26vw, 230px); height: clamp(150px, 26vw, 230px);
  object-fit: cover; border-radius: 50%; margin: 0 auto;
  box-shadow: 0 16px 44px rgba(26,23,20,0.30); border: 3px solid rgba(184,144,47,0.35);
}
.hero .brand-large .brand-mark-lg { width: clamp(110px, 18vw, 170px); height: clamp(110px, 18vw, 170px); border-radius: 50%; margin: 0 auto; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; box-shadow: var(--shadow); }
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .lead { max-width: 60ch; margin: 1.2rem auto 2rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Section ---- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--cream-2); }

/* ---- Offer cards ---- */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 14px; }
.offer-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.offer-card h3 { margin-bottom: 10px; }
.offer-card p { color: var(--ink-soft); flex: 1; }
.offer-card .btn { align-self: flex-start; margin-top: 14px; }

/* ---- Testing strip ---- */
.testing { background: linear-gradient(135deg, var(--ink) 0%, #2a241d 100%); color: var(--cream); text-align: center; }
.testing .container { padding-block: clamp(48px, 7vw, 84px); }
.testing h2 { color: #fff; }
.testing p { color: #cfc6b6; max-width: 64ch; margin-inline: auto; }
.testing .badge { display: inline-block; border: 1px solid var(--gold); color: var(--gold-light); border-radius: 999px; padding: 6px 18px; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }

/* ---- Contact / forms ---- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.rep-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.rep-card h3 { margin-bottom: 4px; }
.rep-card .rep-role { color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.rep-card ul { list-style: none; padding: 0; margin: 0; }
.rep-card li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.rep-card li:first-child { border-top: 0; }
.rep-card li strong { color: var(--ink); min-width: 78px; display: inline-block; }
.hours { margin-top: 22px; background: var(--gold-soft); border-radius: 12px; padding: 16px 20px; }
.hours strong { display: block; font-family: var(--serif); font-size: 1.15rem; }

form .field { margin-bottom: 18px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
input, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,144,47,0.15); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e7f4ea; color: #1d6b34; border: 1px solid #b6e0c0; }
.form-status.error { background: #fbe9e9; color: #9b2c2c; border: 1px solid #f0c2c2; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cfc6b6; padding: 54px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.site-footer h4 { font-family: var(--serif); color: #fff; font-size: 1.25rem; margin: 0 0 10px; }
.site-footer a { color: #cfc6b6; }
.site-footer a:hover { color: var(--gold-light); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid #3a3329; padding-top: 20px; font-size: 0.85rem; color: #948a78; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav, .header-right .phone-label { display: none; }
  .nav-toggle { display: block; }
  .header-right { gap: 12px; }
  .site-header.open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px;
  }
  .offer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  /* Logo mark (or uploaded logo) carries the brand; hide the long text label so the header fits */
  .brand > span:not(.brand-mark) { display: none; }
  .brand img { height: 40px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .container { padding: 0 18px; }
  .offer-card { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
