/* ===== Prime Haven Market — enhancements ===== */
@media (min-width: 900px) { .footer-inner { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .footer-inner { grid-template-columns: 1.3fr repeat(4, 1fr) 1.2fr; } }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-sm); color: rgba(245,243,237,0.7); line-height: 1.45; }
[data-theme='dark'] .footer-contact li { color: var(--color-text-muted); }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--color-accent); }
.footer-contact a { color: #f5f3ed !important; font-weight: 600; }
[data-theme='dark'] .footer-contact a { color: var(--color-text) !important; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(245,243,237,0.18); color: rgba(245,243,237,0.75); }
[data-theme='dark'] .footer-badge { border-color: var(--color-border); color: var(--color-text-muted); }
.footer-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

/* Shipping strip */
.ship-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-4); }
.ship-item { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-5); border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-border); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ship-item:hover { transform: translateY(-3px); border-color: var(--color-accent); box-shadow: 0 10px 28px rgba(26,93,58,0.12); }
.ship-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary-light); color: var(--color-primary); }
[data-theme='dark'] .ship-icon { background: rgba(79,175,122,0.15); color: var(--color-accent); }
.ship-icon svg { width: 22px; height: 22px; }
.ship-item h4 { font-size: var(--text-base); font-weight: 700; color: var(--color-text); margin-bottom: 2px; }
.ship-item p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.45; }
.carrier-row { display: flex; justify-content: center; align-items: center; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-8); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--color-text-faint); }
.carrier-pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-text-muted); letter-spacing: .06em; }

/* Map: pulsing hubs + animated shipping lanes + legend */
.phm-hub { position: relative; width: 18px; height: 18px; }
.phm-hub span { position: absolute; inset: 0; border-radius: 50%; background: #1a5d3a; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); z-index: 2; }
.phm-hub::before, .phm-hub::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(79,175,122,.45); animation: phmPulse 2.4s ease-out infinite; }
.phm-hub::after { animation-delay: 1.2s; }
@keyframes phmPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.phm-lane { stroke-dasharray: 6 10; animation: phmDash 1.6s linear infinite; }
@keyframes phmDash { to { stroke-dashoffset: -32; } }
.phm-dest { width: 8px; height: 8px; border-radius: 50%; background: #4faf7a; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.phm-legend { position: absolute; z-index: 500; left: 56px; top: 12px; background: rgba(253,252,249,.94); backdrop-filter: blur(6px); border: 1px solid var(--color-border); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: #2b2722; line-height: 1.6; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.phm-legend b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.phm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
@media (prefers-reduced-motion: reduce) { .phm-hub::before, .phm-hub::after, .phm-lane { animation: none; } }

/* Floating call/text button */
.phm-fab { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1a5d3a; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 10px 30px rgba(26,93,58,.35); transition: transform .2s ease, box-shadow .2s ease; }
.phm-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(26,93,58,.45); }
.phm-fab svg { width: 18px; height: 18px; }
.phm-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgba(126,226,168,.7); animation: phmLive 2s infinite; }
@keyframes phmLive { 70% { box-shadow: 0 0 0 8px rgba(126,226,168,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,168,0); } }
@media (max-width: 600px) { .phm-fab .lbl { display: none; } .phm-fab { padding: 14px; } }

/* Scroll progress bar */
.phm-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1000; background: linear-gradient(90deg, #1a5d3a, #4faf7a); transition: width .08s linear; }

/* ===== Announcement bar ===== */
.phm-announce { background: #10231a; color: rgba(245,243,237,.85); font-size: 13px; text-align: center; padding: 8px 16px; line-height: 1.4; }
.phm-announce a { color: #7ee2a8; font-weight: 700; text-decoration: none; white-space: nowrap; }
.phm-announce a:hover { text-decoration: underline; }
.phm-announce .sep { opacity: .35; margin: 0 10px; }
@media (max-width: 640px) { .phm-announce .hide-sm { display: none; } }

/* ===== Hero trust strip ===== */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--space-6); font-size: 13px; font-weight: 600; color: var(--color-text-muted); }
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip svg { width: 16px; height: 16px; color: var(--color-accent); }

/* ===== Prose / policy pages ===== */
.policy-wrap { display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: start; }
@media (min-width: 960px) { .policy-wrap { grid-template-columns: 240px 1fr; } }
.policy-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.policy-toc b { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--color-text-faint); margin-bottom: 6px; }
.policy-toc a { font-size: 14px; color: var(--color-text-muted); padding: 5px 0; text-decoration: none; }
.policy-toc a:hover { color: var(--color-primary); }
@media (max-width: 959px) { .policy-toc { position: static; } }
.prose { max-width: 76ch; color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.7; }
.prose h2 { font-family: var(--font-display, inherit); color: var(--color-text); font-size: clamp(1.35rem, 2vw, 1.7rem); margin: var(--space-10) 0 var(--space-3); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--color-text); font-size: 1.05rem; margin: var(--space-6) 0 var(--space-2); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--color-text); }
.prose a { color: var(--color-primary); font-weight: 600; }
.prose .updated { font-size: 13px; color: var(--color-text-faint); margin-bottom: var(--space-6); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-6); font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.prose th { color: var(--color-text); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: var(--color-surface-2); }
.callout { border-left: 3px solid var(--color-accent); background: var(--color-primary-light); padding: var(--space-4) var(--space-5); border-radius: 0 12px 12px 0; color: var(--color-text); margin-bottom: var(--space-6); }
[data-theme='dark'] .callout { background: rgba(79,175,122,.1); }

/* ===== FAQ ===== */
.faq-group { max-width: 860px; margin: 0 auto var(--space-10); }
.faq-group h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--color-text-faint); margin-bottom: var(--space-3); }
.faq-item { border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--color-accent); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--color-text); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--color-accent); transition: transform .25s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--color-text-muted); line-height: 1.65; }
.faq-item .faq-a a { color: var(--color-primary); font-weight: 600; }

/* ===== Verify / credentials ===== */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-4); }
.cred-card { padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--color-border); background: var(--color-surface); }
.cred-card .k { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--color-text-faint); font-weight: 700; }
.cred-card .v { font-size: 1.15rem; font-weight: 800; color: var(--color-text); margin: 6px 0 8px; }
.cred-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }
.cred-card a { color: var(--color-primary); font-weight: 700; font-size: 14px; }

/* ===== Line card CTA ===== */
.linecard-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-8); border-radius: var(--radius-xl); background: linear-gradient(135deg, #1a5d3a, #10231a); color: #f5f3ed; }
.linecard-cta h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 6px; }
.linecard-cta p { color: rgba(245,243,237,.75); max-width: 56ch; }
.linecard-cta .btn-light { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #1a5d3a; font-weight: 800; padding: 14px 22px; border-radius: 999px; text-decoration: none; transition: transform .2s; }
.linecard-cta .btn-light:hover { transform: translateY(-2px); }
.linecard-cta svg { width: 18px; height: 18px; }

/* ===== 404 ===== */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--space-16) var(--space-4); }
.nf .code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; line-height: 1; color: var(--color-primary); letter-spacing: -.04em; }
.hero .trust-strip, .hero-content .trust-strip { justify-content: center; }

/* Section headings: always centered (was a centered box with left-aligned text) */
.section-header { text-align: center; margin-left: auto; margin-right: auto; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }
.login-error { background: #fdecea; border: 1px solid #f3b8b0; color: #8a1f12; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; } .login-error[hidden] { display: none; }
.brand-badge { width: 44px; height: 44px; border-radius: 50%; flex: none; display: block; } .footer .brand-badge { width: 52px; height: 52px; }
