/* ==========================================================================
   Fremeau Jewelers — Modern Stylesheet
   Elegant, responsive, SEO-friendly design for a Burlington, VT jeweler.
   ========================================================================== */

:root {
  --navy: #1c2b39;
  --navy-dark: #131e29;
  --navy-soft: #24384a;
  --gold: #b08d57;
  --gold-light: #c9a86a;
  --gold-pale: #e8d9bd;
  --ivory: #faf7f2;
  --cream: #f3ede3;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e3d9c8;
  --white: #ffffff;

  --font-serif: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 3px rgba(28, 43, 57, 0.08);
  --shadow-md: 0 6px 20px rgba(28, 43, 57, 0.10);
  --shadow-lg: 0 12px 34px rgba(28, 43, 57, 0.16);

  --radius: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }

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

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: var(--gold-pale);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: var(--gold-pale); }
.topbar a:hover { color: var(--white); }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header / Brand ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.5rem;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 3px;
}
.header-cta { text-align: right; }
.header-cta .phone {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  font-weight: 700;
}
.header-cta .tagline { font-size: 0.8rem; color: var(--gold-pale); }

/* ---------- Navigation ---------- */
.site-nav {
  background: var(--navy-soft);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  margin: 10px 20px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.nav-list li { position: relative; }
.nav-list a {
  display: block;
  padding: 14px 18px;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}
.nav-list .has-dropdown > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7rem;
  color: var(--gold);
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  z-index: 50;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.nav-list li:hover .dropdown,
.nav-list li:focus-within .dropdown { display: block; }
.dropdown a {
  color: var(--navy);
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.dropdown a:hover { background: var(--cream); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,168,106,0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--navy-soft));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 2.9rem;
  max-width: 760px;
  margin: 0 auto 0.4em;
}
.hero .hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 1.2em;
}
.hero p.lead { max-width: 640px; margin: 0 auto 1.6em; color: var(--gold-pale); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); color: var(--white); }
.btn-outline { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--gold-pale); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-head p { color: var(--muted); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .card-icon {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.card .card-link { margin-top: 14px; display: inline-block; font-weight: 600; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split .split-body h2 { margin-bottom: 0.5em; }
.split ul { padding-left: 20px; }
.split li { margin-bottom: 8px; }

/* ---------- Stats / trust bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold-light);
  font-weight: 700;
}
.stat .stat-label { color: var(--gold-pale); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote { margin: 0 0 10px; font-family: var(--font-serif); font-style: italic; color: var(--ink); }
.testimonial .attribution { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { margin-bottom: 14px; }
.faq-item details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.faq-item details[open] summary { color: var(--gold); }
.faq-item .faq-body { margin-top: 12px; color: var(--muted); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 14px 0;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-soft));
  color: var(--white);
  padding: 44px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.page-hero p { color: var(--gold-pale); max-width: 640px; margin: 0; }

/* ---------- Content / article ---------- */
.content { max-width: 820px; }
.content h2 { margin-top: 1.6em; }
.content ul, .content ol { padding-left: 22px; margin-bottom: 1.2em; }
.content li { margin-bottom: 6px; }
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content th, .content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.content th { background: var(--navy); color: var(--white); font-family: var(--font-serif); }
.content tr:last-child td { border-bottom: none; }
.content tr:nth-child(even) td { background: var(--cream); }

.callout {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 1.4em 0;
}

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 0.3em; }
.contact-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); font-weight: 700; }
.contact-card .value { font-size: 1.1rem; color: var(--navy); font-weight: 600; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--gold-pale);
  padding: 50px 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 34px;
}
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: var(--gold-pale); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(232,217,189,0.7);
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--white);
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  h1 { font-size: 1.9rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta { text-align: left; }
  .nav-toggle { display: inline-block; }
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-list.open { display: flex; }
  .nav-list a { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dropdown { position: static; box-shadow: none; background: var(--navy-dark); }
  .dropdown a { color: var(--gold-pale); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .dropdown a:hover { background: transparent; color: var(--white); }
  .hero { padding: 44px 0; }
  .section { padding: 44px 0; }
}
