/* ======================================
   VISUAL LANGUAGE OF SEAMONEY — seamoney.css
   Background: #FFFFFF (white)
   Accent:     #EA5F01 (orange)
   ====================================== */

:root {
  --sm-orange:  #EA5F01;
  --sm-orange2: #FF8F42;
  --sm-dark:    #1A1B1D;
  --sm-text:    #1A1B1D;
  --sm-muted:   rgba(26, 27, 29, 0.8);
}

/* ── Page base ── */
.sm-page {
  background: #ffffff;
  color: var(--sm-dark);
  margin: 0;
  padding: 0;
}

/* ── Header: black by default, white over dark sections ── */
.sm-page .logo img {
  filter: invert(1);
  transition: filter 0.45s ease;
}
.sm-page .nav a {
  color: #1a1a1a;
}
.sm-page .nav a:hover { background-size: 100% 1px; }
.sm-page .nav a.active { font-weight: 700; }
/* Inverted: white text over dark hero */
.sm-page .header--inverted .logo img { filter: invert(0); }
.sm-page .header--inverted .nav a   { color: #ffffff; }
.sm-page .header--inverted .nav a:hover { background-size: 100% 1px; }

/* ══════════════════════════════════════
   ① HERO
   ══════════════════════════════════════ */
.sm-hero {
  background: linear-gradient(164deg, #EA5F01 0%, #FF8F42 100%);
  display: flex;
  align-items: center;
  padding: 80px 120px 0px 120px;
  min-height: 580px;
  overflow: hidden;
}

.sm-hero-left {
  flex: 1;
  min-width: 0;
  padding-bottom: 80px;
}

.sm-hero-title {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.sm-hero-right {
  flex: 0 0 58%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: flex-end;
}

.sm-hero-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   GENERIC CONTENT SECTIONS
   ══════════════════════════════════════ */
.sm-section {
  padding: 80px 120px;
  background: white;
}

.sm-section-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.sm-section-text {
  flex: 1;
  min-width: 0;
}

.sm-section-image {
  flex: 0 0 55%;
  min-width: 0;
}

.sm-section-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Section heading */
.sm-section-heading {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--sm-dark);
  margin: 0 0 40px;
  line-height: 1.2;
}

/* Sub-heading (below main heading) */
.sm-sub-heading {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--sm-dark);
  margin: -24px 0 24px;
  line-height: 1.5;
}

/* Body text wrapper */
.sm-body {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 400;
  color: var(--sm-muted);
  line-height: 1.75;
}

.sm-body p {
  margin: 0 0 18px;
}

.sm-body p:last-child {
  margin-bottom: 0;
}

.sm-body strong {
  color: var(--sm-dark);
  font-weight: 600;
}

/* Last section: add bottom padding */
.sm-section--last {
  padding-bottom: 120px;
}

/* ══════════════════════════════════════
   ⑦ ILLUSTRATION ELEMENTS
   ══════════════════════════════════════ */
.sm-illus-section {
  padding: 40px 120px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-illus-label {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.sm-illus-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ⑨ carousel styles are in style.css (shared) */

/* ══════════════════════════════════════
   SCROLL FADE-IN ANIMATION
   ══════════════════════════════════════ */
.sm-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sm-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .sm-hero {
    padding: 80px 40px 0px;
    flex-direction: column;
    align-items: flex-start;
  }

  .sm-hero-left {
    padding-bottom: 0;
  }

  .sm-hero-right {
    flex: none;
    width: 100%;
    align-self: auto;
  }

  .sm-hero-title {
    font-size: 56px;
  }

  .sm-section {
    padding: 60px 40px;
  }

  .sm-section-inner {
    flex-direction: column;
  }

  .sm-section-text,
  .sm-section-image {
    flex: none;
    width: 100%;
  }

  .sm-section-heading {
    font-size: 36px;
  }

  .sm-illus-section {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .sm-hero {
    padding: 80px 24px 0px;
  }

  .sm-hero-title {
    font-size: 40px;
  }

  .sm-section {
    padding: 48px 24px;
  }

  .sm-section-heading {
    font-size: 32px;
  }

  .sm-illus-section {
    padding: 32px 24px;
  }
}
