/* =============================================
   Nosy Joe's PI — Styles
   Clean, warm, trustworthy — not corporate
   ============================================= */

/* --- Tokens --- */
:root {
  --nj-navy: #1a2332;
  --nj-navy-mid: #2d3a4f;
  --nj-cream: #faf6f0;
  --nj-cream-dark: #ede8e0;
  --nj-gold: #c8933a;
  --nj-gold-light: #e8b85a;
  --nj-red: #c0392b;
  --nj-text: #2c2c2c;
  --nj-muted: #6b7280;
  --nj-white: #ffffff;
  --nj-border: #ddd5c8;
  --nj-shadow: 0 2px 12px rgba(26,35,50,.12);
  --nj-radius: 6px;
  --nj-font: 'DM Sans', system-ui, sans-serif;
  --nj-serif: 'Libre Baskerville', Georgia, serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--nj-font);
  color: var(--nj-text);
  background: var(--nj-cream);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px; /* nav height */
}

/* --- Nav --- */
.nj-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nj-navy);
  height: 72px;
  box-shadow: var(--nj-shadow);
}
.nj-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nj-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nj-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nj-gold);
}
.nj-logo-text { display: flex; flex-direction: column; }
.nj-logo-name {
  font-family: var(--nj-serif);
  color: var(--nj-white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.nj-logo-sub {
  color: var(--nj-gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.nj-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nj-nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
}
.nj-nav-links a:hover { color: var(--nj-gold-light); }
.nj-nav-cta {
  background: var(--nj-gold) !important;
  color: var(--nj-navy) !important;
  padding: 8px 20px;
  border-radius: var(--nj-radius);
  font-weight: 600;
  transition: background .2s !important;
}
.nj-nav-cta:hover { background: var(--nj-gold-light) !important; }
.nj-mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nj-mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nj-white);
  border-radius: 2px;
  transition: all .2s;
}
.nj-mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: var(--nj-navy);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.nj-mobile-drawer.open { display: flex; }
.nj-drawer-link {
  color: var(--nj-white);
  text-decoration: none;
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: block;
}
.nj-drawer-cta {
  color: var(--nj-gold-light) !important;
  font-weight: 600;
  border-bottom: none;
  margin-top: 8px;
}

/* --- Hero --- */
.nj-hero {
  background: var(--nj-navy);
  color: var(--nj-white);
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nj-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,147,58,.15) 0%, transparent 70%);
  pointer-events: none;
}
.nj-hero-inner { max-width: 680px; margin: 0 auto; position: relative; }
.nj-hero-badge {
  display: inline-block;
  background: rgba(200,147,58,.2);
  border: 1px solid rgba(200,147,58,.4);
  color: var(--nj-gold-light);
  font-size: 0.75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.nj-hero-headline {
  font-family: var(--nj-serif);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--nj-white);
}
.nj-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.nj-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.nj-hero-rate {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}
.nj-hero-rate::before { content: '— '; }

/* --- Buttons --- */
.nj-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--nj-radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  font-family: var(--nj-font);
  line-height: 1;
}
.nj-btn-primary {
  background: var(--nj-gold);
  color: var(--nj-navy);
  border-color: var(--nj-gold);
}
.nj-btn-primary:hover {
  background: var(--nj-gold-light);
  border-color: var(--nj-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,147,58,.35);
}
.nj-btn-secondary {
  background: transparent;
  color: var(--nj-white);
  border-color: rgba(255,255,255,.5);
}
.nj-btn-secondary:hover {
  border-color: var(--nj-white);
  color: var(--nj-white);
  transform: translateY(-1px);
}
.nj-btn-block { display: block; text-align: center; width: 100%; }

/* --- No Domestic --- */
.nj-no-domestic {
  background: var(--nj-navy-mid);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 18px 24px;
}
.nj-no-domestic-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nj-no-domestic-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(192,57,43,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e57373;
}
.nj-no-domestic-text {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.nj-no-domestic-text strong { color: var(--nj-white); }

/* --- Service Sections --- */
.nj-service { padding: 80px 24px; }
.nj-service-alt { background: var(--nj-white); }
.nj-service-inner { max-width: 720px; margin: 0 auto; }
.nj-service-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nj-gold);
  margin-bottom: 16px;
}
.nj-service-headline {
  font-family: var(--nj-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nj-navy);
  margin-bottom: 20px;
}
.nj-service-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--nj-muted);
  margin-bottom: 28px;
}
.nj-service-who {
  background: var(--nj-cream);
  border: 1px solid var(--nj-border);
  border-radius: var(--nj-radius);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.nj-service-alt .nj-service-who { background: var(--nj-cream-dark); }
.nj-service-who-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--nj-navy);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nj-service-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nj-service-who-list li {
  font-size: 0.95rem;
  color: var(--nj-text);
  padding-left: 20px;
  position: relative;
}
.nj-service-who-list li::before {
  content: '\u2713';
  position: absolute;
  left: 0;
  color: var(--nj-gold);
  font-weight: 700;
}
.nj-service-area-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(200,147,58,.12);
  border: 1px solid rgba(200,147,58,.3);
  color: var(--nj-navy-mid);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.nj-service-area-badge svg { color: var(--nj-gold); }

/* --- Pricing --- */
.nj-pricing {
  background: var(--nj-cream);
  padding: 80px 24px;
  border-top: 1px solid var(--nj-border);
  border-bottom: 1px solid var(--nj-border);
}
.nj-pricing-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.nj-pricing-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nj-gold);
  margin-bottom: 16px;
}
.nj-pricing-headline {
  font-family: var(--nj-serif);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--nj-navy);
  margin-bottom: 40px;
}
.nj-pricing-card {
  background: var(--nj-white);
  border: 2px solid var(--nj-gold);
  border-radius: 10px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--nj-shadow);
}
.nj-pricing-rate {
  font-family: var(--nj-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--nj-navy);
  line-height: 1;
}
.nj-pricing-unit {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--nj-muted);
  vertical-align: super;
}
.nj-pricing-note {
  font-size: 0.85rem;
  color: var(--nj-muted);
  margin-bottom: 28px;
  margin-top: 4px;
}
.nj-pricing-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  padding: 0 4px;
}
.nj-pricing-features li {
  font-size: 0.95rem;
  color: var(--nj-text);
  padding-left: 22px;
  position: relative;
}
.nj-pricing-features li::before {
  content: '\u2713';
  position: absolute;
  left: 0;
  color: var(--nj-gold);
  font-weight: 700;
}

/* --- Contact Form --- */
.nj-contact { padding: 80px 24px; background: var(--nj-navy); }
.nj-contact-inner { max-width: 660px; margin: 0 auto; }
.nj-contact-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nj-gold-light);
  margin-bottom: 16px;
}
.nj-contact-headline {
  font-family: var(--nj-serif);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--nj-white);
  margin-bottom: 12px;
}
.nj-contact-sub {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}
.nj-form { display: flex; flex-direction: column; gap: 20px; }
.nj-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nj-field { display: flex; flex-direction: column; gap: 7px; }
.nj-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}
.nj-required { color: var(--nj-gold-light); }
.nj-field input,
.nj-field select,
.nj-field textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--nj-radius);
  color: var(--nj-white);
  font-family: var(--nj-font);
  font-size: 1rem;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.nj-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.nj-field select option { background: var(--nj-navy); color: var(--nj-white); }
.nj-field input::placeholder,
.nj-field textarea::placeholder { color: rgba(255,255,255,.4); }
.nj-field input:focus,
.nj-field select:focus,
.nj-field textarea:focus {
  outline: none;
  border-color: var(--nj-gold);
  background: rgba(255,255,255,.12);
}
.nj-field textarea { resize: vertical; min-height: 140px; }
.nj-form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.nj-form-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}
.nj-form-note a { color: var(--nj-gold-light); }
.nj-form-success {
  background: rgba(39,174,96,.2);
  border: 1px solid rgba(39,174,96,.5);
  color: #6fdc8f;
  padding: 14px 18px;
  border-radius: var(--nj-radius);
  font-size: 0.95rem;
}
.nj-form-error {
  background: rgba(192,57,43,.2);
  border: 1px solid rgba(192,57,43,.5);
  color: #e57373;
  padding: 14px 18px;
  border-radius: var(--nj-radius);
  font-size: 0.95rem;
}
#submitBtn { min-width: 160px; }

/* --- Footer --- */
.nj-footer {
  background: var(--nj-navy);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 40px 24px 32px;
}
.nj-footer-inner { max-width: 720px; margin: 0 auto; }
.nj-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.nj-footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nj-gold);
  flex-shrink: 0;
}
.nj-footer-name {
  font-family: var(--nj-serif);
  color: var(--nj-white);
  font-size: 0.95rem;
  font-weight: 700;
}
.nj-footer-license {
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}
.nj-footer-service {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.nj-footer-contact { margin-bottom: 16px; }
.nj-footer-contact a {
  color: var(--nj-gold-light);
  text-decoration: none;
  font-size: 0.9rem;
}
.nj-footer-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 16px;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nj-nav-links { display: none; }
  .nj-mobile-menu-btn { display: flex; }
  .nj-hero { padding: 60px 20px 56px; }
  .nj-service { padding: 60px 20px; }
  .nj-form-row { grid-template-columns: 1fr; }
  .nj-form-footer { flex-direction: column; align-items: flex-start; }
  .nj-pricing-card { padding: 28px 20px; }
  .nj-contact { padding: 60px 20px; }
  .nj-no-domestic-inner { flex-direction: column; text-align: center; gap: 12px; }
  .nj-hero-actions { flex-direction: column; align-items: center; }
  .nj-btn { text-align: center; }
}
@media (max-width: 480px) {
  body { padding-top: 64px; }
  .nj-nav { height: 64px; }
  .nj-mobile-drawer { top: 64px; }
  .nj-logo-sub { display: none; }
  .nj-hero-headline { font-size: 2rem; }
  .nj-pricing-rate { font-size: 2.8rem; }
}