/* ============================================================
   INNER-PAGES.CSS
   Extends style.css for About / Services / Contact / Service
   sub-pages. Uses the same :root variables defined in style.css,
   so style.css must always be loaded BEFORE this file.
   ============================================================ */

/* ── PAGE HERO (small banner used on every inner page) ── */
.page-hero {
  padding: 150px 60px 64px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(184,134,42,0.10) 0%, transparent 70%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream2) 50%, var(--cream3) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .hero-sub { margin-bottom: 0; max-width: 640px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1200px;
  margin: 14px auto 0;
  padding: 0 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--gold); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gold-border); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ── CONTENT SECTIONS ── */
.content-section { padding: 80px 60px; background: var(--white); }
.content-section.alt { background: var(--cream2); }
.content-narrow { max-width: 860px; margin: 0 auto; }
.content-wide { max-width: 1200px; margin: 0 auto; }

.content-narrow p, .content-wide p, .split-layout > div p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 22px;
}
.content-narrow h2, .content-wide h2, .split-layout > div h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--brown);
  margin: 44px 0 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.content-narrow h2:first-child, .content-wide h2:first-child, .split-layout > div h2:first-child { margin-top: 0; }
.content-narrow h3, .content-wide h3, .split-layout > div h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--brown);
  margin: 38px 0 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.content-narrow a, .content-wide a, .split-layout > div a {
  color: var(--brown);
  text-decoration: underline;
  text-decoration-color: var(--gold-border);
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}
.content-narrow a:hover, .content-wide a:hover, .split-layout > div a:hover {
  color: var(--gold);
}
.content-narrow ul, .content-wide ul, .split-layout > div ul {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-light);
  margin: 0 0 22px;
  padding-left: 22px;
}
.content-narrow ul li, .content-wide ul li, .split-layout > div ul li {
  margin-bottom: 10px;
}
.content-narrow ul li::marker, .content-wide ul li::marker, .split-layout > div ul li::marker {
  color: var(--gold);
}

/* ── TWO-COLUMN LAYOUT (content + sidebar CTA) ── */
.split-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 56px;
  align-items: start;
}
.sidebar-box {
  background: var(--cream2);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 32px 26px;
  position: sticky;
  top: 92px;
}
.sidebar-box h3 {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.sidebar-box p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.sidebar-box .btn-primary { width: 100%; text-align: center; margin-bottom: 12px; }
.sidebar-box .btn-outline { width: 100%; text-align: center; }
.sidebar-list { list-style: none; margin: 18px 0; }
.sidebar-list li {
  padding: 10px 0;
  border-top: 1px solid var(--gold-border);
  font-size: 14.5px;
}
.sidebar-list li:first-child { border-top: none; }
.sidebar-list a { color: var(--brown-mid); text-decoration: none; font-weight: 600; }
.sidebar-list a:hover { color: var(--gold); }

/* ── ICON / CHECK LIST ── */
.icon-list { list-style: none; margin: 20px 0 28px; display: grid; gap: 18px; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}
.icon-list-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brown, var(--text));
  margin-bottom: 4px;
}
.icon-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ── PAYOUT FACTORS TABLE (no visible borders/lines) ── */
.payout-table {
  display: flex;
  flex-direction: column;
  margin: 24px 0 28px;
}
.payout-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
}
.payout-row + .payout-row {
  border-top: none;
}
.payout-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown);
}
.payout-desc {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
@media (max-width: 640px) {
  .payout-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ── PROCESS STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.step-card {
  background: var(--cream2);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 28px 22px;
  position: relative;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}
.step-title { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--brown); margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── DATA TABLE (purity / rate reference) ── */
.data-table-wrap { overflow-x: auto; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--cream3);
}
.data-table th {
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12.5px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) { background: var(--cream2); }

/* ── FAQ ACCORDION ── */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 4px 22px;
  margin-bottom: 14px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--brown);
  font-weight: 700;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 14px;
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  padding-bottom: 20px;
  margin: 0;
}

/* ── RELATED SERVICES GRID (reuses service-card look) ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #591311 0%, var(--gold) 100%);
  border-radius: 16px;
  padding: 56px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.cta-banner h2 em { color: var(--gold-border); font-style: italic; }
.cta-banner p { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-banner .hero-btns { justify-content: center; margin-bottom: 0; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ── ABOUT: STORY / MILESTONES ── */
.milestone-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}
.milestone { text-align: center; min-width: 130px; }
.milestone-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.milestone-label { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); margin-top: 6px; }

/* ── 4 contact cards in one row on /contact (doesn't affect homepage's 3-card version) ── */
.contact-container--4up {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}
.contact-container--4up .contact-card { width: auto; }
@media (max-width: 900px) {
  .contact-container--4up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .contact-container--4up { grid-template-columns: 1fr; }
}

/* ── CONTACT PAGE CARDS (reuse contact-card, extra tweaks) ── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
  align-items: start;
}
.hours-table { width: 100%; margin-top: 10px; }
.hours-table tr td { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--cream3); }
.hours-table tr td:first-child { color: var(--brown); font-weight: 700; }
.hours-table tr td:last-child { text-align: right; color: var(--text-light); }
.form-feedback { min-height: 20px; font-size: 14px; margin-top: 4px; display: none; }
.form-feedback--success { color: var(--green); }
.form-feedback--error { color: #B3261E; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

/* ── Make entire service-card clickable (not just the "Learn More" text) ── */
/* .service-card already has position:relative in style.css, so this ::before
   just stretches the existing .service-link to cover the whole card. */
.service-link {
  position: relative;
  z-index: 2;
}
.service-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-card { cursor: pointer; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .page-hero { padding: 130px 30px 56px; }
  .breadcrumb, .content-section, .related-grid, .split-layout, .cta-banner, .contact-page-grid { padding-left: 30px; padding-right: 30px; }
  .split-layout { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 110px 20px 44px; }
  .breadcrumb { padding: 0 20px; }
  .content-section { padding: 56px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .cta-banner { padding: 40px 24px; margin: 0 20px; }
  .milestone-row { gap: 22px; }
  .faq-item summary { font-size: 15.5px; padding-right: 28px; }
}