/* =========================================================
   Passport New Mexico, Inc. — Site-wide stylesheet
   Modern responsive layout · refined southwestern palette
   ========================================================= */
:root {
  --adobe: #b3553a;      /* terracotta / adobe red */
  --chile: #9b2c2c;      /* deep chile red */
  --turq: #2e7d80;       /* turquoise */
  --turq-dark: #235f62;
  --gold: #c9a227;       /* pueblo gold */
  --sand: #f6efe4;       /* warm sand background */
  --cream: #fffaf2;      /* card background */
  --ink: #33271f;        /* near-black text */
  --brown: #5b4636;      /* secondary text */
  --line: #e4d6c3;       /* hairline borders */
  --shadow: 0 6px 20px rgba(80, 45, 20, .08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sand);
  background-image: radial-gradient(circle at 15% 8%, rgba(195,83,58,.06), transparent 42%);
}

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

a { color: var(--turq); text-decoration: none; }
a:hover { color: var(--chile); text-decoration: underline; }

/* Layout shell */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg, #5b2f23, var(--adobe) 55%, #b46a3a);
  color: #fff;
  box-shadow: var(--shadow);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 14px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 62px; width: auto; border-radius: 8px; }
.brand-name { font-size: 1.45rem; font-weight: 700; letter-spacing: .4px; line-height: 1.1; }
.brand-name span { display: block; font-size: .8rem; font-weight: 400; opacity: .9; letter-spacing: 2px; text-transform: uppercase; }
.header-phone { font-weight: 700; color: var(--gold); font-size: 1.05rem; white-space: nowrap; }
.header-phone a { color: #fff; text-decoration: none; }
.header-phone a:hover { color: var(--gold); }

/* ---------- Navigation ---------- */
.site-nav { background: var(--turq); position: sticky; top: 0; z-index: 50; }
.nav-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 12px 18px; color: #fff; font-weight: 600;
  font-size: .95rem; letter-spacing: .3px;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--chile); text-decoration: none; }

/* ---------- Main / sections ---------- */
main { padding: 34px 0 50px; }
.page-title {
  margin: 0 0 6px; font-size: 2rem; color: var(--adobe); line-height: 1.15;
}
.lead { font-size: 1.15rem; color: var(--brown); max-width: 760px; }

section { margin-top: 34px; }
section h2 {
  font-size: 1.5rem; color: var(--adobe); margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
section h3 { font-size: 1.15rem; color: var(--brown); margin: 18px 0 6px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; color: var(--adobe); }
.card p { margin: 6px 0 0; color: var(--brown); }

/* Call-to-action banner */
.cta {
  background: linear-gradient(135deg, var(--adobe), var(--chile));
  color: #fff; border-radius: 14px; padding: 26px 30px; margin-top: 38px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta h2 { border: 0; color: #fff; margin: 0 0 4px; }
.cta p { margin: 0; opacity: .92; }
.btn {
  display: inline-block; background: #fff; color: var(--chile); font-weight: 700;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; transition: transform .12s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--adobe); text-decoration: none; }

.prose p { margin: 12px 0; }
.prose ul { margin: 8px 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }

.img-frame { border-radius: 12px; box-shadow: var(--shadow); }
.hero-img { width: 100%; border-radius: 12px; margin-top: 20px; box-shadow: var(--shadow); }

/* Related / Recommended module */
.related { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.related ul { margin: 8px 0 0; padding-left: 20px; }
.related li { margin: 6px 0; }

blockquote {
  margin: 16px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold);
  font-style: italic; color: var(--brown);
}
.testimonial cite { display: block; margin-top: 6px; font-style: normal; font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9dccb; padding: 30px 0 26px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.footer-grid h4 { color: var(--gold); margin: 0 0 10px; font-size: 1rem; letter-spacing: .4px; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: #e9dccb; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: .85rem; text-align: center; opacity: .85; }
.footer-bottom a { color: #d7c6ae; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-inner { padding: 10px 0; }
  .header-inner { padding: 10px 0; }
  .brand-logo { height: 48px; }
  .brand-name { font-size: 1.15rem; }
  .header-phone { width: 100%; }
  .page-title { font-size: 1.6rem; }
  .nav-list a { padding: 11px 14px; font-size: .88rem; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
