/* ============================================
   Card Processing With Mel — Main Stylesheet
   American Merchant Services
   ============================================ */

/* --- Variables --- */
:root {
  --navy: #0A1F3F;
  --navy-light: #132D5E;
  --red: #B22234;
  --red-dark: #8B1A1A;
  --gold: #C5A46E;
  --gold-light: #D4B37D;
  --white: #FFFFFF;
  --cream: #F5F3EC;
  --light-gray: #F8F7F4;
  --gray: #6B7280;
  --dark: #111827;
  --text: #1F2937;
  --text-light: #4B5563;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Tag --- */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(178, 34, 52, 0.08);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* --- Section Title --- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-accent { color: var(--gold); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(178, 34, 52, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: var(--nav-height);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { font-size: 1.5rem; }
.logo-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--red); }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
}
.mobile-link-cta {
  color: var(--red);
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0D284F 50%, var(--navy-light) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 164, 110, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(178, 34, 52, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197, 164, 110, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-subtitle strong { color: var(--white); }
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.hero-cta .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-frame {
  width: 340px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(197, 164, 110, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.hero-photo, .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-badge-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.hero-card-1 { bottom: -20px; left: 10px; }
.hero-card-icon { font-size: 1.5rem; }
.hero-card-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-light);
}
.hero-card-text strong { color: var(--navy); font-size: 0.9rem; }

/* Hero content badges (in text column) */
.hero-content-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-content-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.hero-content-badge strong {
  color: var(--gold);
}
.badge-icon {
  font-size: 1rem;
}

/* ===== TESTIMONIAL BAR ===== */
.testimonial-bar {
  background: var(--cream);
  padding: 40px 0;
}
.testimonial-bar-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.testimonial-bar-stars {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.testimonial-bar-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-bar-cite {
  font-size: 0.9rem;
  color: var(--gray);
  font-style: normal;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.about-image-frame {
  width: 100%;
  max-width: 400px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(197, 164, 110, 0.3);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.about-trust-card {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}
.about-trust-img {
  width: 100%;
  height: auto;
  display: block;
}
.about-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.highlight-icon { font-size: 1.2rem; }

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--light-gray);
}
.services-header {
  text-align: center;
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.services-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--navy);
  border-radius: var(--radius);
}
.services-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.services-cta p strong { color: var(--gold); }
.services-cta .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.services-cta .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(197, 164, 110, 0.4);
}

/* ===== TESTIMONIAL SPOTLIGHT ===== */
.testimonial-spotlight {
  padding: 80px 0;
  background: var(--white);
}
.testimonial-spotlight-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--cream), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.spotlight-stars { font-size: 1.8rem; margin-bottom: 16px; }
.spotlight-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.spotlight-cite {
  font-size: 0.9rem;
  color: var(--gray);
  font-style: normal;
}

/* ===== PROCESS ===== */
.process {
  padding: 80px 0;
  background: var(--navy);
}
.process-header {
  text-align: center;
  margin-bottom: 48px;
}
.process-header .section-tag { background: rgba(255,255,255,0.1); color: var(--gold); }
.process-header .section-title { color: var(--white); }
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ===== TESTIMONIAL INLINE ===== */
.testimonial-inline {
  padding: 60px 0;
  background: var(--light-gray);
}
.testimonial-inline-card {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}
.inline-stars { font-size: 1.5rem; margin-bottom: 12px; }
.inline-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}
.inline-cite {
  font-size: 0.9rem;
  color: var(--gray);
  font-style: normal;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-logo-badge {
  margin-top: 24px;
  text-align: left;
}
.contact-logo-img {
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-sm);
}
.contact-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 16px 0 24px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
}
.detail-icon { font-size: 1.3rem; }

/* Form */
.contact-form-wrap {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 164, 110, 0.15);
}
.form-select {
  appearance: none;
  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 fill='%236B7280' d='M1.41.59L6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.success-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Form error state */
.form-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.1);
}
.form-error-msg {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.form-input.error ~ .form-error-msg { display: block; }

/* ===== REVIEWS ===== */
.reviews {
  padding: 100px 0;
  background: var(--light-gray);
}
.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review-stars { font-size: 1.2rem; margin-bottom: 12px; }
.review-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-size: 0.9rem; color: var(--text); display: block; }
.review-source {
  font-size: 0.78rem;
  color: var(--gray);
}
.reviews-footer {
  text-align: center;
  margin-top: 36px;
}
.reviews-badge {
  margin-bottom: 20px;
  padding: 12px 24px;
  background: var(--navy);
  display: inline-block;
  border-radius: 100px;
  color: var(--white);
}
.reviews-rating {
  font-size: 1rem;
  margin-right: 8px;
}
.reviews-stats {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.reviews-stats strong {
  color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .about-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding: 120px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-image-frame { width: 260px; height: 320px; }
  .hero-card-1 { bottom: -15px; left: 5px; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .hero-cta { flex-direction: column; }

  .about { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-frame { height: 320px; }
  .about-highlights { grid-template-columns: 1fr; }

  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .services-cta { padding: 28px 20px; }

  .process-steps {
    flex-direction: column;
    gap: 20px;
  }
  .step-arrow { transform: rotate(90deg); }

  .contact { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .reviews { padding: 60px 0; }
  .reviews-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .testimonial-spotlight { padding: 40px 0; }
  .testimonial-spotlight-card { padding: 24px; }
  .process { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-image-frame { width: 220px; height: 280px; }
  .contact-form-wrap { padding: 24px; }
}
