/* =====================================================
   Club Merchant Services — Main Stylesheet
   Converted from WordPress/Brooklyn theme
   ===================================================== */

:root {
  --accent:       #015138;
  --accent-light: #027a52;
  --accent-dark:  #013324;
  --text:         #333333;
  --text-light:   #666666;
  --white:        #ffffff;
  --off-white:    #f7f7f7;
  --border:       #e0e0e0;
  --nav-height:   72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* ---- Layout Helpers ---- */
.container {
  width: 90%;
  max-width: 1180px;
  margin-inline: auto;
}
.section-pad { padding: 80px 0; }
.section-pad--sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .2s, transform .1s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-light); color: var(--white); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--accent); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
#site-header.scrolled {
  background: rgba(1, 40, 28, .97);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .03em;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--accent-light);
}
.main-nav .btn { border-bottom: none; padding: .5rem 1.25rem; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO — video background, text slides
   ===================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
/* Video fills the whole section, behind everything */
.slide-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Suppress all browser video UI */
  pointer-events: none;
}
.slide-video-bg::-webkit-media-controls            { display: none !important; }
.slide-video-bg::-webkit-media-controls-enclosure  { display: none !important; }
.slide-video-bg::-webkit-media-controls-overlay-play-button { display: none !important; }
/* Overlay sits above video */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,51,36,.75) 0%, rgba(0,0,0,.45) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Swiper sits above overlay */
#hero .swiper {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
  max-width: 900px;
}
.slide-content .eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
  display: block;
}
.slide-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.slide-content p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  max-width: 640px;
  margin-inline: auto;
}
.slide-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Swiper custom nav */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  color: var(--white);
}
.swiper-button-prev { left: 1.5rem; }
.swiper-button-next { right: 1.5rem; }
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.8);
}
.swiper-button-next svg,
.swiper-button-prev svg {
  width: 20px;
  height: 20px;
}
/* Hide Swiper's default ::after arrows since we use SVG */
.swiper-button-next::after,
.swiper-button-prev::after { display: none; }
.swiper-pagination-bullet { background: var(--white); opacity: .6; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--accent-light); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-hint svg { width: 24px; height: 24px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   SECTION: WHO WE ARE
   ===================================================== */
#section-who-we-are {
  background: var(--white);
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.who-grid img {
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}
.who-content .section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.who-content h2 { margin-bottom: 1.25rem; }
.who-content p  { color: var(--text-light); margin-bottom: 1rem; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
}
.feature-card .fc-icon {
  font-size: 1.75rem;
  margin-bottom: .75rem;
  display: block;
}
.feature-card h4 { font-size: .95rem; margin-bottom: .5rem; }
.feature-card p { font-size: .85rem; color: var(--text-light); }

/* =====================================================
   SECTION: PAYMENT SOLUTIONS
   ===================================================== */
#section-payment-solutions {
  background: var(--off-white);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-light); max-width: 640px; margin-inline: auto; }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.solution-card {
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1,81,56,.25);
}
.solution-card .sc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  opacity: .9;
}
.solution-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.solution-card p {
  font-size: .9rem;
  opacity: .88;
  line-height: 1.6;
}

/* =====================================================
   SECTION: EXPECTATIONS / ARE WE MEETING
   ===================================================== */
#section-expectation {
  background: var(--accent-dark);
  color: var(--white);
  text-align: center;
}
.expectation-inner { max-width: 760px; margin-inline: auto; }
.expectation-inner .big-q {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.expectation-inner p {
  font-size: 1.1rem;
  opacity: .85;
  margin-bottom: 2rem;
}
.expectation-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .85rem;
  opacity: .7;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .5rem;
  display: block;
}

/* =====================================================
   SECTION: BENEFITS
   ===================================================== */
#section-benefits {
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.benefit-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  transition: box-shadow .2s;
}
.benefit-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.benefit-item .bi-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--white);
}
.benefit-item h3 { font-size: 1rem; margin-bottom: .75rem; }
.benefit-item p { font-size: .88rem; color: var(--text-light); }

/* =====================================================
   SECTION: CONTACT
   ===================================================== */
#section-contact {
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); margin-bottom: 2rem; }
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item .ci-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
a.ci-icon {
  cursor: pointer;
}
a.ci-icon:hover {
  background: var(--accent-light);
  transform: scale(1.1);
  color: var(--white);
}
.contact-item .ci-text strong { display: block; font-size: .85rem; color: var(--text-light); margin-bottom: .15rem; }
.contact-item .ci-text a, .contact-item .ci-text span { color: var(--text); font-weight: 600; }

.contact-cta-box {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  text-align: center;
}
.contact-cta-box h3 { margin-bottom: 1rem; }
.contact-cta-box p { color: var(--text-light); margin-bottom: 1.5rem; font-size: .95rem; }
.contact-cta-box .mailto-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s, transform .1s;
}
.contact-cta-box .mailto-btn:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,.6);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--white); }

/* =====================================================
   SPLASH SCREEN
   ===================================================== */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition: transform .85s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}
#splash-screen.slide-up {
  transform: translateY(-100%);
}
#splash-screen img {
  width: 220px;
  height: auto;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .who-grid,
  .contact-grid,
  .solutions-grid { grid-template-columns: 1fr; }
  .who-grid img { order: -1; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(1,40,28,.97);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1rem; }
  .nav-toggle { display: block; }
  .benefits-grid { grid-template-columns: 1fr; }
  .expectation-stats { gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
