/* ============================================
   Southtrust Pawn & Loan — Custom Styles
   ============================================ */

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navbar --- */
header.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
header:not(.nav-scrolled) {
  background: transparent;
  box-shadow: none;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: #0f172a;
  font-weight: 400;
}
.nav-logo-icon {
  color: #0d9488;
}
.nav-logo-text { color: #0f172a; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #0d9488; background: #f0fdfa; }
.btn-nav {
  background: #0d9488;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: #0f766e; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: #0f172a;
  margin-left: auto;
}
.nav-toggle svg { display: block; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #042f2e;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,47,46,0.92) 0%,
    rgba(13,148,136,0.82) 50%,
    rgba(15,23,42,0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #5eead4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-badge svg { opacity: 0.9; }
.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  color: #f8fafc;
  margin: 0 0 1.25rem;
  max-width: 720px;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #cbd5e1;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #5eead4;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(148,163,184,0.3);
  align-self: stretch;
  margin: 0.25rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #0d9488;
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}
.btn-primary:hover {
  background: #0f766e;
  box-shadow: 0 6px 20px rgba(13,148,136,0.45);
}
.btn-outline-light {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #f8fafc;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Section --- */
.section {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d9488;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

/* --- Services --- */
.services {
  background: #f8fafc;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 30px rgba(13,148,136,0.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  color: #0d9488;
  margin-bottom: 1.25rem;
}
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
}
.service-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* --- How It Works --- */
.how-it-works { background: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem;
  color: #ccfbf1;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 16px;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.step-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* --- About --- */
.about { background: #f8fafc; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-img-float {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15,23,42,0.18);
  border: 4px solid #fff;
}
.about-img-float img {
  width: 320px;
  height: 240px;
  object-fit: cover;
  display: block;
}
.about-badge {
  position: absolute;
  top: -1rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0d9488;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(13,148,136,0.4);
}
.about-content .section-tag { margin-bottom: 0.75rem; }
.about-content .section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}
.about-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}
.about-features svg { color: #0d9488; flex-shrink: 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #042f2e 0%, #0d9488 50%, #115e59 100%);
  padding: 5rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #f8fafc;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.cta-desc {
  font-size: 1.05rem;
  color: #99f6e4;
  line-height: 1.7;
  margin: 0;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- FAQ --- */
.faq { background: #fff; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: #99f6e4; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  transition: background 0.2s;
}
.faq-q:hover { background: #f8fafc; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-chevron {
  flex-shrink: 0;
  color: #0d9488;
  transition: transform 0.3s;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-a p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}
.faq-a a { color: #0d9488; font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

/* --- Contact --- */
.contact { background: #f8fafc; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 0.75rem; }
.contact-info .section-title {
  text-align: left;
  margin-bottom: 0.75rem;
}
.contact-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.contact-details {
  display: grid;
  gap: 1.25rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 12px;
  color: #0d9488;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.contact-detail span,
.contact-detail a {
  font-size: 0.95rem;
  color: #475569;
}
.contact-detail a:hover { color: #0d9488; text-decoration: underline; }

/* --- Form --- */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15,23,42,0.06);
}
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: grid; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Success --- */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.success-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdfa;
  border: 2px solid #99f6e4;
  border-radius: 50%;
  color: #0d9488;
  margin: 0 auto 1.25rem;
}
.form-success h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.form-success p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

/* --- Map --- */
.map-section {
  background: #e2e8f0;
}
.map-section iframe {
  filter: saturate(0.8) contrast(1.05);
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}
.footer-logo span { color: #5eead4; }
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f8fafc;
  margin: 0 0 1rem;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: #64748b;
  transition: color 0.2s;
}
.footer-links a:hover { color: #5eead4; }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  color: #64748b;
}
.footer-contact a { color: #64748b; transition: color 0.2s; }
.footer-contact a:hover { color: #5eead4; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #475569;
}

/* --- Mobile Menu --- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
}
.mobile-overlay.open { display: block; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  z-index: 100;
  background: #fff;
  padding: 5rem 2rem 2rem;
  display: grid;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(15,23,42,0.15);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #334155;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: #0d9488; background: #f0fdfa; }
.mobile-menu .btn-nav {
  text-align: center;
  margin-top: 0.75rem;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-images { max-width: 480px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 7rem 1.5rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 4rem 0; }
  .cta-banner { padding: 3.5rem 0; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-img-float { right: 0; bottom: -1.5rem; }
  .about-img-float img { width: 240px; height: 180px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { display: none; }
}
