/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background: #1E2A3A;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === Header === */
.site-header {
  background: transparent;
  padding: 15px 20px;
  text-align: center;
}
.site-header.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo { max-height: 70px; margin: 0 auto; }
.site-header.step-header .logo { margin: 0; max-height: 55px; }
.step-indicator {
  color: #C5A55A;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

/* === Page Top Background === */
.page-top {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), #0a0a14 url('/img/bg-jewelry.webp') center top / cover no-repeat;
  background-size: cover;
  padding-top: 20px;
}

/* === Hero === */
.hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  padding: 0 20px;
}
.hero img { width: 100%; display: block; border-radius: 8px; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,42,58,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(1.3rem, 4vw, 2.4rem);
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,.7);
  line-height: 1.3;
}
.hero-overlay h1 span { color: #C5A55A; }

/* === Buttons === */
.btn {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: background .2s, transform .1s, box-shadow .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 0 15px rgba(76,175,80,.3);
}
.btn:hover { background: #43A047; transform: translateY(-1px); box-shadow: 0 0 20px rgba(76,175,80,.5); }
.btn:active { transform: translateY(0); }
.btn-block { display: block; width: 100%; }

/* === Sections === */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
}
.section-title {
  text-align: center;
  font-size: 1.6rem;
  color: #1E2A3A;
  margin-bottom: 20px;
  border-bottom: 2px solid #C5A55A;
  padding-bottom: 10px;
}
.page-top .section-title { color: #fff; }

/* === How It Works === */
.how-it-works {
  max-width: 600px;
  margin: 20px auto;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.how-step .step-num {
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  min-width: 36px;
  text-align: center;
}
.how-step h3 { color: #fff; margin-bottom: 4px; font-size: 1.1rem; }
.how-step p { font-size: .9rem; color: #ccc; }

/* === Form Elements === */
.form-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  border: 2px solid #C5A55A;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 10px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
  color: #1E2A3A;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #C5A55A;
  box-shadow: 0 0 0 2px rgba(197,165,90,.25);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* === Checkboxes === */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 10px;
  border: 2px solid #C5A55A;
  border-radius: 6px;
  overflow: hidden;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
}
.checkbox-item:last-child { border-bottom: none; }
.checkbox-item:hover span { color: #C5A55A; }
.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #4CAF50;
  flex-shrink: 0;
}
.checkbox-item span { font-size: .95rem; font-weight: 500; color: #333; }

/* === Info Box === */
.info-box {
  background: #fff;
  border-left: 4px solid #C5A55A;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.info-box h3 {
  color: #1E2A3A;
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.info-box ul { padding-left: 20px; }
.info-box li { margin-bottom: 6px; color: inherit; }

/* === FAQ === */
.faq-item { margin-bottom: 16px; }
.faq-item h4 {
  color: #1E2A3A;
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.faq-item p { color: #555; font-size: .95rem; }
.page-top .faq-item h4 { color: #C5A55A; }
.page-top .faq-item p { color: #ddd; }

/* === Video Embed === */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* === Testimonials === */
.testimonials { padding: 30px 20px; background: #f0f0f0; }
.testimonials .section-title { color: #1E2A3A; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  border: 2px solid #C5A55A;
}
.testimonial-card p {
  font-size: .95rem;
  color: #444;
  flex: 1;
  font-style: italic;
  margin-bottom: 14px;
}
.stars { color: #F5A623; font-size: .9rem; margin-bottom: 8px; }
.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-top img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #C5A55A;
}
.testimonial-name { font-weight: 700; color: #2a7a8a; text-transform: uppercase; font-size: .85rem; letter-spacing: .5px; }
.testimonial-source { font-size: .75rem; color: #888; }

/* === Footer === */
.site-footer {
  background: #1E2A3A;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  border-top: 3px solid #C5A55A;
  margin-top: 20px;
}
.site-footer .logo { max-height: 50px; margin: 0 auto 14px; }
.footer-contact { margin: 10px 0; font-size: .9rem; }
.footer-contact a { color: #C5A55A; }
.footer-social { margin: 14px 0; display: flex; justify-content: center; gap: 18px; }
.footer-social a {
  color: #C5A55A;
  font-size: 1.4rem;
  transition: opacity .2s;
}
.footer-social a:hover { opacity: .75; }
.footer-copy { font-size: .8rem; color: #999; margin-top: 10px; }

/* === Thank You === */
.thank-you-box {
  background: #1E2A3A;
  color: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  border: 2px solid #C5A55A;
}
.thank-you-box h1 {
  color: #C5A55A;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.thank-you-box h2 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 400;
}
.thank-you-box .contact-info {
  background: rgba(255,255,255,.1);
  padding: 20px;
  border-radius: 6px;
  margin: 20px 0;
  text-align: left;
  border: 1px solid rgba(197,165,90,.3);
}
.thank-you-box .contact-info p { margin-bottom: 6px; color: #fff; }

/* === Utilities === */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.error-msg { color: #d32f2f; font-size: .85rem; margin-top: 4px; display: none; }
.form-group.has-error input,
.form-group.has-error select { border-color: #d32f2f; }
.form-group.has-error .error-msg { display: block; }

/* === 3-Column Form Row (City/State/Zip) === */
.form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

/* === Mobile-First Optimizations === */

/* Prevent iOS zoom on input focus (requires 16px minimum) */
@media (max-width: 768px) {
  .form-group input,
  .form-group select {
    font-size: 16px;
    padding: 10px 12px;
  }
  .form-group { margin-bottom: 8px; }
  .form-group label { margin-bottom: 2px; }
}

/* Tablet */
@media (max-width: 768px) {
  .how-it-works { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row-3 { grid-template-columns: 1fr; gap: 0; }
}

/* Phone */
@media (max-width: 600px) {
  .site-header { padding: 10px 14px; }
  .site-header .logo { max-height: 55px; }
  .site-header.step-header .logo { max-height: 45px; }
  .section { padding: 20px 12px; }
  .form-card { padding: 20px 14px; }

  /* Bigger, chunkier buttons for thumb targets */
  .btn {
    padding: 16px 24px;
    font-size: 1.1rem;
    border-radius: 8px;
    min-height: 52px;
  }

  /* Hero text readable on small screens */
  .hero-overlay { padding: 12px; }
  .hero-overlay h1 { font-size: 1.15rem; line-height: 1.4; }

  /* Tighter testimonial cards */
  .testimonial-card { padding: 16px; }
  .testimonial-top { gap: 10px; margin-bottom: 8px; }
  .testimonial-top img { width: 44px; height: 44px; }
  .testimonial-card p { font-size: .88rem; }

  /* Checkbox items */
  .checkbox-item { padding: 10px 12px; gap: 10px; }
  .checkbox-item input[type="checkbox"] { width: 20px; height: 20px; }
  .checkbox-item span { font-size: .95rem; }

  /* Form rows stack on phone */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row-3 { grid-template-columns: 1fr; gap: 0; }

  /* Info box tighter */
  .info-box { padding: 16px 18px; margin: 18px 0; }

  /* Footer tighter */
  .site-footer { padding: 24px 14px; }

  /* Thank you box */
  .thank-you-box { padding: 30px 18px; }
  .thank-you-box h1 { font-size: 1.5rem; }
  .thank-you-box .contact-info { padding: 16px; }

  /* FAQ spacing */
  .faq-item { margin-bottom: 20px; }
  .faq-item p { font-size: .92rem; line-height: 1.5; }

  /* Section titles */
  .section-title { font-size: 1.35rem; }

  /* Step indicator */
  .step-indicator { font-size: .9rem; }
}

/* Small phones (SE, older models) */
@media (max-width: 375px) {
  .hero-overlay h1 { font-size: 1rem; }
  .btn { padding: 14px 18px; font-size: 1rem; }
  .section { padding: 16px 10px; }
  .form-card { padding: 16px 12px; }
  .section-title { font-size: 1.2rem; }
  .testimonial-top img { width: 38px; height: 38px; }
}
