/* ============================================================
   USA Medical Surplus — L.A. Division Landing Page Styles
   Mobile-first, clean, professional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #1B2A4A;
  --red: #C0392B;
  --gold: #E6A817;
  --blue: #2563EB;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --border: #E5E7EB;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --max-w: 1200px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); }
p { line-height: 1.7; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 2.5rem; } }

.section { padding: 2.5rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }

.section-title { text-align: center; margin-bottom: 0.75rem; color: var(--navy); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 2.5rem; }
.text-center { text-align: center; }
.bg-light { background: var(--light-gray); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy p, .bg-navy a:not(.btn) { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: opacity 0.15s, transform 0.1s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-full { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.10); }

.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.logo-link { flex-shrink: 0; }
.logo { width: 64px; height: 64px; object-fit: contain; }

.main-nav { display: none; align-items: center; gap: 1.5rem; margin-left: auto; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a { font-weight: 500; color: var(--navy); }
.main-nav a:hover { color: var(--red); }
.nav-cta { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

.lang-switcher { display: none; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--text-muted); flex-shrink: 0; }
@media (min-width: 768px) { .lang-switcher { display: flex; } }
.lang-active { font-weight: 600; color: var(--navy); }
.lang-sep { color: var(--border); }
.lang-link { color: var(--blue); font-weight: 500; }
.lang-link:hover { text-decoration: underline; }

.mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; margin-left: auto; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

.mobile-nav { background: var(--white); border-top: 1px solid var(--border); padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { font-weight: 500; color: var(--navy); font-size: 1.05rem; }
.mobile-lang { font-size: 0.875rem; color: var(--text-muted); }

/* Hero */
.hero {
  position: relative; min-height: 80vh;
  background-size: cover; background-position: center 20%; background-repeat: no-repeat;
  display: flex; align-items: center;
}
@media (min-width: 1024px) { .hero { min-height: 90vh; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,42,74,0.72) 0%, rgba(27,42,74,0.55) 100%); }
.hero-content { position: relative; z-index: 1; color: var(--white); text-align: center; padding: 3rem 1.25rem; width: 100%; }
.hero-logo { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 1.5rem; border-radius: 50%; background: rgba(255,255,255,0.12); padding: 0.5rem; }
.hero-content h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-sub { font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto 1.5rem; }
.hero-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1rem; margin-bottom: 2rem; font-size: 0.9375rem; font-weight: 600; color: var(--gold); }
.hero-benefits .sep { color: rgba(255,255,255,0.4); font-weight: 400; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { color: var(--navy); margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9375rem; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.product-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.product-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.product-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Form */
.form-wrap { max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-wrap { padding: 2.5rem 3rem; } }
.form-wrap h2 { color: var(--navy); margin-bottom: 0.5rem; }
.form-sub { color: var(--text-muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form-group label { font-weight: 500; font-size: 0.9rem; color: var(--text); }
.req { color: var(--red); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.625rem 0.875rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.9375rem; color: var(--text); background: var(--white); transition: border-color 0.15s; width: 100%;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group input.error { border-color: var(--red); }
.field-error { font-size: 0.8125rem; color: var(--red); min-height: 1rem; }
.field-note { font-size: 0.8125rem; color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input[type="file"] { padding: 0.5rem; font-size: 0.875rem; border: 1.5px dashed var(--border); background: var(--light-gray); }
.form-consent { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.consent-link { color: var(--blue); text-decoration: underline; }
.form-error-msg { margin-top: 1rem; padding: 0.75rem 1rem; background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius); color: var(--red); font-size: 0.9rem; }
.form-success { text-align: center; padding: 2rem; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--navy); margin-bottom: 0.75rem; }
.form-success p { color: var(--text-muted); }
.form-success a { color: var(--blue); text-decoration: underline; }

/* Phone CTA */
.phone-cta { padding: 3rem 0; }
.phone-label { font-size: 1rem; opacity: 0.8; margin-bottom: 0.5rem; }
.phone-number { display: block; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; color: var(--gold); letter-spacing: -0.02em; margin-bottom: 0.5rem; text-decoration: none; }
.phone-number:hover { opacity: 0.85; }
.phone-sub { opacity: 0.75; font-size: 1rem; }

/* Referral */
.referral-inner { max-width: 680px; margin: 0 auto; background: var(--light-gray); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; }
.referral-content h2 { color: var(--navy); margin-bottom: 1rem; }
.referral-content p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Social */
.social-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.social-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; color: var(--white); transition: opacity 0.15s, transform 0.1s; }
.social-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-tt { background: #010101; }
.social-yt { background: #FF0000; }

/* Review */
.review-section p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Trust */
.trust-photo-wrap { max-width: 600px; margin: 2rem auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.trust-photo { width: 100%; height: auto; }
.trust-points { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 768px) { .trust-points { grid-template-columns: repeat(3, 1fr); } }
.trust-point { text-align: center; }
.trust-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.trust-point h3 { color: var(--navy); margin-bottom: 0.5rem; }
.trust-point p { color: var(--text-muted); font-size: 0.9375rem; }

/* FAQ */
.faq-list { max-width: 720px; margin: 2rem auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 1rem 1.25rem; font-size: 0.9375rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; background: var(--white); cursor: pointer; border: none; transition: background 0.15s; }
.faq-q:hover { background: var(--light-gray); }
.faq-q::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--text-muted); flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { padding: 0 1.25rem 1rem; background: var(--white); }
.faq-a p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }

/* Final CTA */
.final-cta { padding: 4rem 0; }
.final-cta h2 { color: var(--white); margin-bottom: 1rem; }
.final-cta p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.final-cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { width: 80px; height: 80px; object-fit: contain; margin-bottom: 1rem; }
.footer-biz { font-weight: 700; color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.footer-tagline { font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-phone { display: inline-block; color: var(--gold); font-weight: 700; font-size: 1.125rem; }
.footer-phone:hover { opacity: 0.85; }
.footer-links h3, .footer-social h3, .footer-legal h3 { color: var(--white); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.footer-links ul li, .footer-social ul li, .footer-legal ul li { margin-bottom: 0.5rem; }
.footer-links a, .footer-social a, .footer-legal a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-links a:hover, .footer-social a:hover, .footer-legal a:hover { color: var(--white); }
.footer-lang { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-lang a { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; text-align: center; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.45); }

/* Mobile Sticky */
.mobile-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; display: flex; transform: translateY(100%); transition: transform 0.3s ease; }
.mobile-sticky.visible { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-sticky { display: none; } }
.sticky-call, .sticky-quote { flex: 1; padding: 1rem; text-align: center; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.sticky-call { background: var(--navy); color: var(--white); }
.sticky-quote { background: var(--gold); color: var(--navy); }
