/* ============================================================
   jayson-malo.css
   Scoped to .jj-malo — paste into Punchmark Site Manager
   under Design > Theme Settings > Global CSS field.
   Do not paste into the page editor.
   ============================================================ */

.jj-malo {
  --jj-primary: #335e90;
  --jj-accent: #99acc7;
  --jj-bg: #f5f9fa;
  --jj-dark: #1e2d40;
  --jj-mid: #5a7fa8;
  --jj-border: #ccd8e6;
  --jj-white: #ffffff;
  --jj-font-display: 'Adelle', 'Adelle Light', Georgia, serif;
  --jj-font-body: 'Open Sans', 'Helvetica Neue', sans-serif;
  font-family: var(--jj-font-body);
  color: var(--jj-dark);
  background: var(--jj-white);
  overflow-x: hidden;
}

.jj-malo *,
.jj-malo *::before,
.jj-malo *::after {
  box-sizing: border-box;
}

.jj-malo p {
  font-family: var(--jj-font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: #3a5270;
  margin-bottom: 1.25rem;
}

.jj-malo p:last-child {
  margin-bottom: 0;
}

.jj-malo ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── Shared tokens ── */
.jj-malo__eyebrow {
  font-family: var(--jj-font-body) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--jj-accent) !important;
  display: block;
  margin-bottom: 0.75rem !important;
  line-height: 1 !important;
}

.jj-malo__section-heading {
  font-family: var(--jj-font-display) !important;
  font-size: clamp(1.85rem, 3vw, 2.6rem) !important;
  font-weight: 300 !important;
  color: var(--jj-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 1.25rem !important;
}

.jj-malo__section-intro {
  font-size: 1.05rem !important;
  color: var(--jj-mid) !important;
  max-width: 680px;
  margin-bottom: 3rem !important;
}

/* ── Buttons ── */
.jj-malo__btn {
  display: inline-block;
  font-family: var(--jj-font-body) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 0.95rem 2.25rem !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
  border-radius: 0;
}

.jj-malo__btn--primary {
  background: var(--jj-primary) !important;
  color: var(--jj-white) !important;
  border: 1px solid var(--jj-primary) !important;
}

.jj-malo__btn--primary:hover {
  background: var(--jj-dark) !important;
  border-color: var(--jj-dark) !important;
  color: var(--jj-white) !important;
}

.jj-malo__btn--outline {
  background: transparent !important;
  color: var(--jj-primary) !important;
  border: 1px solid var(--jj-primary) !important;
}

.jj-malo__btn--outline:hover {
  background: var(--jj-primary) !important;
  color: var(--jj-white) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.jj-malo__hero {
  background: var(--jj-primary);
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jj-malo__hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
}

.jj-malo__hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

.jj-malo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.jj-malo__hero-content .jj-malo__eyebrow {
  color: var(--jj-accent) !important;
}

.jj-malo__hero-heading {
  font-family: var(--jj-font-display) !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: var(--jj-white) !important;
  line-height: 1.1 !important;
  margin-bottom: 1.25rem !important;
  margin-top: 0.5rem !important;
}

.jj-malo__hero-sub {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.72) !important;
  line-height: 1.8 !important;
  margin-bottom: 2.25rem !important;
}

/* ============================================================
   BUILDER IFRAME
   ============================================================ */
.jj-malo__builder-wrap {
  background: var(--jj-bg);
  padding: 5rem 2rem;
}

.jj-malo__builder-label {
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.jj-malo__iframe-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  border: 1px solid var(--jj-border);
  background: var(--jj-white);
  overflow: hidden;
  position: relative;
}

.jj-malo__iframe-container iframe {
  width: 100%;
  height: 1050px;
  border: none;
  display: block;
}

.jj-malo__builder-heading {
  font-family: var(--jj-font-display) !important;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem) !important;
  font-weight: 300 !important;
  color: var(--jj-dark) !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

.jj-malo__builder-actions {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  display: flex;
  justify-content: flex-end;
}

.jj-malo__builder-note {
  max-width: 1100px;
  margin: 1.25rem auto 0 !important;
  font-size: 0.88rem !important;
  color: var(--jj-mid) !important;
  font-style: italic;
  border-left: 2px solid var(--jj-accent);
  padding-left: 1rem;
}

/* ============================================================
   METAL GUIDE
   ============================================================ */
.jj-malo__metals {
  background: var(--jj-white);
  padding: 6rem 2rem;
}

.jj-malo__metals-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.jj-malo__metal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.jj-malo__metal-card {
  border: 1px solid var(--jj-border);
  padding: 2rem;
  background: var(--jj-bg);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.jj-malo__metal-card:hover {
  box-shadow: 0 8px 32px rgba(51,94,144,0.1);
  transform: translateY(-2px);
}

.jj-malo__metal-swatch {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.jj-malo__metal-swatch--yellow  { background: linear-gradient(90deg, #c8a84b, #e8c97a, #c8a84b); }
.jj-malo__metal-swatch--white   { background: linear-gradient(90deg, #b8bec8, #e8eaf0, #b8bec8); }
.jj-malo__metal-swatch--rose    { background: linear-gradient(90deg, #c07060, #e8a898, #c07060); }
.jj-malo__metal-swatch--platinum{ background: linear-gradient(90deg, #8a9098, #d0d4dc, #8a9098); }
.jj-malo__metal-swatch--tantalum{ background: linear-gradient(90deg, #4a5868, #7a8898, #4a5868); }
.jj-malo__metal-swatch--black   { background: linear-gradient(90deg, #1a1e24, #3a4048, #1a1e24); }

.jj-malo__metal-name {
  font-family: var(--jj-font-display) !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--jj-dark) !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.2 !important;
}

.jj-malo__metal-desc {
  font-size: 0.92rem !important;
  line-height: 1.78 !important;
  color: #3a5270 !important;
  margin-bottom: 1.25rem !important;
}

.jj-malo__metal-specs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid var(--jj-border);
  padding-top: 1rem;
}

.jj-malo__metal-specs li {
  font-family: var(--jj-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jj-mid);
  padding-left: 1rem;
  position: relative;
}

.jj-malo__metal-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jj-accent);
}

/* ============================================================
   WHY MALO
   ============================================================ */
.jj-malo__why {
  background: var(--jj-primary);
  padding: 6rem 2rem;
}

.jj-malo__why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.jj-malo__why .jj-malo__eyebrow {
  color: var(--jj-accent) !important;
}

.jj-malo__why .jj-malo__section-heading {
  color: var(--jj-white) !important;
}

.jj-malo__why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  margin-top: 3rem;
}

.jj-malo__why-item {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.75rem;
}

.jj-malo__why-icon {
  display: block;
  font-size: 0.85rem;
  color: var(--jj-accent);
  margin-bottom: 0.85rem;
}

.jj-malo__why-title {
  font-family: var(--jj-font-display) !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--jj-white) !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.25 !important;
}

.jj-malo__why-item p {
  font-size: 0.92rem !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.78 !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   CTA
   ============================================================ */
.jj-malo__cta {
  background: var(--jj-bg);
  padding: 6rem 2rem;
  text-align: center;
}

.jj-malo__cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.jj-malo__cta-heading {
  font-family: var(--jj-font-display) !important;
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  font-weight: 300 !important;
  color: var(--jj-dark) !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.15 !important;
}

.jj-malo__cta-body {
  font-size: 1rem !important;
  color: var(--jj-mid) !important;
  margin-bottom: 2.5rem !important;
}

.jj-malo__cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .jj-malo__metal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jj-malo__why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jj-malo__iframe-container iframe {
    height: 900px;
  }
}

@media (max-width: 575.98px) {
  .jj-malo__hero {
    padding: 4rem 1.5rem;
  }

  .jj-malo__metal-grid,
  .jj-malo__why-grid {
    grid-template-columns: 1fr;
  }

  .jj-malo__iframe-container iframe {
    height: 750px;
  }

  .jj-malo__metals,
  .jj-malo__why,
  .jj-malo__cta,
  .jj-malo__builder-wrap {
    padding: 4rem 1.5rem;
  }

  .jj-malo__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .jj-malo__btn {
    text-align: center !important;
    width: 100%;
    max-width: 300px;
  }
}
