/* ============================================================
   Mando's Painting — Shared Page Styles
   Used by: services.html, gallery.html, about.html, faq.html,
            reviews.html, contact.html
   Brand tokens match the landing page (index.html).
   ============================================================ */

:root {
  --gold: #BC9448;
  --gold-bright: #C7A655;
  --gold-dark: #A8783D;
  --gold-deep: #8B5F2A;
  --sandstone: #E8D9C0;
  --sandstone-light: #F2EBDD;
  --saguaro: #5C6B4A;
  --saguaro-dark: #495739;
  --midnight: #2A2F3A;
  --midnight-deep: #1B1F26;
  --ink: #2B2420;
  --paper: #FAF6EF;
  --paper-warm: #F5EFE3;
  --shadow: #8A7A6A;
  --error: #B5532A;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-deep); }
button { font-family: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}

/* ===== Header ===== */
.header {
  background: var(--paper);
  border-bottom: 1px solid rgba(138,122,106,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250,246,239,0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--gutter);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-badge {
  width: 40px; height: 40px;
  background: var(--midnight-deep);
  border-radius: var(--radius);
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(188,148,72,0.3), 0 1px 2px rgba(43,36,32,0.1);
}
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.logo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0.15rem;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: 0.93rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav.open {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(138,122,106,0.2);
    padding: 1rem var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; }
  .nav.open .nav-links a { padding: 0.8rem 0; border-bottom: 1px solid rgba(138,122,106,0.1); }
  .nav.open .nav-cta { display: inline-flex; margin-top: 1rem; justify-content: center; }
  .logo-tag { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-gold {
  background: var(--midnight);
  color: var(--gold-bright);
  border-color: var(--midnight);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.btn-gold:hover {
  background: var(--midnight-deep);
  color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--gold), 0 4px 12px rgba(43,47,58,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

/* ===== Page hero (sub-page header) ===== */
.page-hero {
  background: var(--paper-warm);
  border-bottom: 1px solid rgba(138,122,106,0.15);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background-image: radial-gradient(circle at 70% 30%, rgba(188,148,72,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p.lede {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--shadow);
  max-width: 640px;
  margin: 0;
}
.page-hero .breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shadow);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a { color: var(--shadow); }
.page-hero .breadcrumb a:hover { color: var(--gold-dark); }

/* ===== Section utilities ===== */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-dark {
  background: var(--midnight);
  color: var(--paper);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-warm { background: var(--paper-warm); }

/* ===== Cards ===== */
.card-soft {
  background: var(--sandstone-light);
  border: 1px solid rgba(138,122,106,0.15);
  border-radius: 6px;
  padding: 1.5rem;
}

/* ===== Disclaimer/notice ===== */
.notice {
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--shadow);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.notice strong { color: var(--ink); }

/* ===== Footer ===== */
.footer {
  background: var(--midnight-deep);
  color: rgba(250,246,239,0.7);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo {
  display: flex; align-items: center; gap: 0.7rem;
}
.footer-logo-badge {
  width: 44px; height: 44px;
  background: var(--midnight);
  border-radius: var(--radius);
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(188,148,72,0.3);
}
.footer-logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.footer-logo-name {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--paper);
  font-size: 1.15rem;
}
.footer-logo-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.2rem;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(250,246,239,0.6);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.9rem; }
.footer-col a {
  color: rgba(250,246,239,0.75);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,239,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(250,246,239,0.5);
}
.footer-bottom .credit-mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
