/* ===== Stones – HOME / HERO ===== */

/* HERO wrapper with background image set inline on the section */
.home-main .hero{
  position: relative;
  min-height: 800px;                /* desktops */
  padding: 15px;                    /* gold-frame gutter */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  color: #fff;
}

/* Dark overlay */
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,.55), rgba(10,12,16,.35) 40%, rgba(10,12,16,.55));
  pointer-events: none;
  z-index: 1;
}

/* Gold frame box */
.hero-inner{
  position: relative; z-index: 2;
  width: 100%;
  min-height: 768px;
  padding: 30px 0;
  border: 2px solid var(--gold);
  background: transparent;
  box-sizing: border-box;
}

/* NAV that lives INSIDE the hero */
.navbar.nav--in-hero{
  position: absolute; top: 0; left: 0; right: 0;
  color: #fff; background: transparent;
}
.navbar .nav-inner{
  display: flex; align-items: center; gap: 20px;
  height: 80px; padding: 0 24px;
}
.navbar .primary-nav .menu{ display: flex; gap: 18px; }
.navbar .primary-nav a{ color: #fff; font-weight: 600; }
.navbar .nav-cta{ margin-left: auto; display: flex; gap: 12px; align-items: center; }
.navbar .nav-cta a.estimate,
.navbar .nav-cta a.design-guide{
  color:#fff; font-weight:700; opacity:.95;
}
.navbar .nav-cta a.phone{ color:#fff; font-weight:700; }

/* Content row inside the frame */
.hero-content-wrapper{
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 200px 16px 24px;
  display: flex;
  align-items: flex-start;           /* top-align text + form */
  justify-content: space-between;
  gap: clamp(20px, 4vw, 40px);
}

/* Left column: text */
.hero-text{
  flex: 1 1 clamp(360px, 42vw, 520px);
  min-width: 280px;
  color: #fff;
  text-align: left;
}

/* Section label (keeps your gold wave + side line rules from base.css) */
.section-head.align-left .section-gold-text{
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Headline & subheadline */
.hero-title{
  /* Manrope via base.css tokens */
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin: 14px 0 12px;
  font-size: clamp(34px, 6vw, 72px);
}
.hero-subtitle{
  color: rgba(255,255,255,.88);
  font-size: 17px; line-height: 1.45;
  margin-bottom: 26px;
  max-width: 64ch;
}

/* CTA */
#hero-gold-button-01,
.hero .btn-primary{
  /* keep both working; prefer .btn.btn-primary (red) */
  text-decoration: none;
}
.hero .btn-primary{ /* uses --red from base.css */
  padding: 14px 22px;
  border-radius: 10px;
}

/* Right column: form card — hard size so it doesn’t become a giant slab */
.form-section{
  flex: 0 0 355px;
  width: 355px;
  max-width: 355px;
  margin: 0;
  background: rgba(255,255,255,.96);
  color: var(--text-900);
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.form-header h3{
  margin: 0 0 12px;
  font: 700 18px/1.25 'Manrope', system-ui, sans-serif;
  color: var(--text-900);
}
.quoteForm{ display: grid; gap: 10px; }
.quoteForm label{
  display: block; margin-bottom: 8px; line-height: 1.4; color: var(--text-700);
}
.quoteForm input,
.quoteForm textarea{
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  font: 500 15px/1.2 'Poppins', system-ui, sans-serif;
  color: var(--text-900);
  background: #fff;
}
.quoteForm textarea{ min-height: 96px; resize: vertical; }
.quoteForm button{ width: 100%; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-content-wrapper{
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-top: 56px;
    padding-bottom: 10px;
  }
  .form-section{
    flex: 0 1 100%; width: 100%; max-width: 480px; margin-inline: auto;
  }
}
@media (max-width: 900px){
  .hero-subtitle{ font-size: clamp(16px, 4.2vw, 18px); }
  .hero{ min-height: 0; }
  .hero-inner{ min-height: 0; padding: 16px 0 10px; }
}
@media (max-width: 600px){
  .hero-title{ font-size: clamp(34px, 11vw, 46px); letter-spacing: -.01em; }
  .hero-content-wrapper{ padding: 40px 16px 8px; gap: 20px; }
}
@media (max-width: 768px){
  #hero-gold-button-01{ display: none !important; } /* trims duplicate CTA on small screens */
}