/* ---------- Scoped box-sizing fix ---------- */
.am-home-pillars-section,
.am-home-pillars-section *,
.am-home-pillars-section *::before,
.am-home-pillars-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell (full width, bg on outer) ---------- */
.am-home-pillars-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 80px 0 70px;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #163a6b 0%, #0B1E40 45%, #0A1533 100%);
  color: #ffffff;
}
.am-home-pillars-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(45deg, #ffffff 1px, transparent 1px),
    linear-gradient(-45deg, #ffffff 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000000 0%, transparent 75%);
}
.am-home-pillars-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.am-home-pillars-head {
  max-width: 960px;
  margin: 0 auto 52px;
  text-align: center;
  animation: amHomePillarsFadeUp 0.8s ease both;
}
.am-home-pillars-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(32, 192, 118, 0.45);
  border-radius: 50px;
  background: rgba(32, 192, 118, 0.1);
  color: #20C076;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.am-home-pillars-title {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
.am-home-pillars-title span {
  color: #20C076;
}
.am-home-pillars-lead {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}
.am-home-pillars-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Grid ---------- */
.am-home-pillars-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

/* ---------- Card ---------- */
.am-home-pillars-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation: amHomePillarsFadeUp 0.8s ease both;
}
.am-home-pillars-card-1 { animation-delay: 0.15s; }
.am-home-pillars-card-2 { animation-delay: 0.3s; }
.am-home-pillars-card-3 { animation-delay: 0.45s; }

.am-home-pillars-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #12A66C, #20C076, #C9952A);
}
.am-home-pillars-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 192, 118, 0.45);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}
.am-home-pillars-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.am-home-pillars-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(32, 192, 118, 0.35);
  background: rgba(32, 192, 118, 0.12);
  color: #20C076;
}
.am-home-pillars-icon svg {
  width: 28px;
  height: 28px;
}
.am-home-pillars-num {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}
.am-home-pillars-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9952A;
}
.am-home-pillars-card-title {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
}
.am-home-pillars-card-text {
  flex-grow: 1;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}
.am-home-pillars-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  border: 1px solid #20C076;
  background: transparent;
  color: #20C076;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.am-home-pillars-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.am-home-pillars-cta:hover,
.am-home-pillars-cta:focus {
  background: #20C076;
  color: #0A1533;
}
.am-home-pillars-cta:hover svg {
  transform: translateX(4px);
}

/* ---------- Link nodes between cards (desktop) ---------- */
.am-home-pillars-link {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  border: 2px solid #20C076;
  background: #0B1E40;
  color: #20C076;
  box-shadow: 0 0 0 6px rgba(32, 192, 118, 0.12);
  animation: amHomePillarsPop 0.6s ease 0.7s both;
}
.am-home-pillars-link svg {
  width: 18px;
  height: 18px;
}
/* centre each node in the 36px gap */
.am-home-pillars-link-a { left: calc((100% - 72px) / 3 + 18px - 22px); }
.am-home-pillars-link-b { left: calc(((100% - 72px) / 3) * 2 + 54px - 22px); }

/* ---------- Converging connector ---------- */
.am-home-pillars-converge {
  position: relative;
  height: 54px;
  margin: 0 auto;
  animation: amHomePillarsFade 0.8s ease 0.8s both;
}
.am-home-pillars-branch {
  position: absolute;
  top: 0;
  display: block;
}
/* left and right elbows run from card centres down and inward */
.am-home-pillars-branch-l,
.am-home-pillars-branch-r {
  width: calc((100% - 72px) / 3 + 36px);
  height: 30px;
  border-bottom: 1px dashed rgba(32, 192, 118, 0.55);
}
.am-home-pillars-branch-l {
  left: calc((100% - 72px) / 6);
  border-left: 1px dashed rgba(32, 192, 118, 0.55);
  border-bottom-left-radius: 14px;
}
.am-home-pillars-branch-r {
  right: calc((100% - 72px) / 6);
  border-right: 1px dashed rgba(32, 192, 118, 0.55);
  border-bottom-right-radius: 14px;
}
.am-home-pillars-branch-c {
  left: 50%;
  width: 1px;
  height: 54px;
  border-left: 1px dashed rgba(32, 192, 118, 0.55);
}

/* ---------- Closing statement ---------- */
.am-home-pillars-closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 28px 14px 14px;
  border: 1px solid rgba(201, 149, 42, 0.45);
  border-radius: 50px;
  background: rgba(201, 149, 42, 0.08);
  animation: amHomePillarsFadeUp 0.8s ease 0.95s both;
}
.am-home-pillars-closing-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C9952A;
  color: #0A1533;
}
.am-home-pillars-closing-icon svg {
  width: 20px;
  height: 20px;
}
.am-home-pillars-closing p {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.am-home-pillars-closing strong {
  font-style: normal;
  font-weight: 600;
  color: #20C076;
}

/* ---------- Animations ---------- */
@keyframes amHomePillarsFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes amHomePillarsFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes amHomePillarsPop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .am-home-pillars-section { padding: 64px 0 56px; }
  .am-home-pillars-title { font-size: 34px; }
  .am-home-pillars-grid { gap: 28px; }
  .am-home-pillars-card { padding: 26px 22px 24px; }
  .am-home-pillars-card-title { font-size: 18px; }
  .am-home-pillars-link-a { left: calc((100% - 56px) / 3 + 14px - 22px); }
  .am-home-pillars-link-b { left: calc(((100% - 56px) / 3) * 2 + 42px - 22px); }
  .am-home-pillars-branch-l,
  .am-home-pillars-branch-r { width: calc((100% - 56px) / 3 + 28px); }
  .am-home-pillars-branch-l { left: calc((100% - 56px) / 6); }
  .am-home-pillars-branch-r { right: calc((100% - 56px) / 6); }
}

@media (max-width: 860px) {
  .am-home-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
  }
  /* vertical spine linking stacked cards */
  .am-home-pillars-grid::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    border-left: 1px dashed rgba(32, 192, 118, 0.55);
  }
  .am-home-pillars-card { background: #0F2650; }
  .am-home-pillars-link {
    position: relative;
    top: auto;
    left: auto;
    justify-self: center;
    margin: 14px 0;
    width: 38px;
    height: 38px;
  }
  .am-home-pillars-link-a,
  .am-home-pillars-link-b { left: auto; }
  .am-home-pillars-converge { max-width: 560px; height: 40px; }
  .am-home-pillars-branch-l,
  .am-home-pillars-branch-r { display: none; }
  .am-home-pillars-branch-c { height: 40px; }
}

@media (max-width: 600px) {
  .am-home-pillars-section { padding: 52px 0 46px; }
  .am-home-pillars-head { margin-bottom: 38px; }
  .am-home-pillars-title { font-size: 27px; }
  .am-home-pillars-lead { font-size: 16px; }
  .am-home-pillars-text { font-size: 14px; }
  .am-home-pillars-num { font-size: 38px; }
  .am-home-pillars-icon { width: 50px; height: 50px; }
  .am-home-pillars-closing {
    border-radius: 18px;
    padding: 14px 18px;
    text-align: left;
  }
  .am-home-pillars-closing p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .am-home-pillars-section * { animation: none !important; transition: none !important; }
}


/* ---------- Scoped box-sizing fix ---------- */
.am-home-tech-section,
.am-home-tech-section *,
.am-home-tech-section *::before,
.am-home-tech-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell ---------- */
.am-home-tech-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 92% 12%, rgba(32, 192, 118, 0.10) 0%, transparent 38%),
    radial-gradient(circle at 4% 92%, rgba(201, 149, 42, 0.10) 0%, transparent 35%),
    #FAF8F2;
  color: #0B1E40;
}
.am-home-tech-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 56px;
  align-items: center;
}
.am-home-tech-inner > * { min-width: 0; }

/* ---------- Left content ---------- */
.am-home-tech-content {
  animation: amHomeTechFadeUp 0.8s ease both;
}
.am-home-tech-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(18, 166, 108, 0.4);
  border-radius: 50px;
  background: rgba(18, 166, 108, 0.08);
  color: #12A66C;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.am-home-tech-title {
  margin: 0 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.22;
  color: #0B1E40;
}
.am-home-tech-title span { color: #12A66C; }
.am-home-tech-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #4a5568;
}
.am-home-tech-text-strong {
  font-size: 16px;
  font-weight: 500;
  color: #0B1E40;
}
.am-home-tech-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #e6e1d3;
  border-left: 3px solid #C9952A;
  border-radius: 12px;
  background: #ffffff;
}
.am-home-tech-note-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 149, 42, 0.12);
  color: #BD9332;
}
.am-home-tech-note-icon svg { width: 20px; height: 20px; }
.am-home-tech-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4a5568;
}
.am-home-tech-note strong { font-weight: 600; color: #0B1E40; }
.am-home-tech-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.am-home-tech-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.am-home-tech-btn svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.am-home-tech-btn-primary {
  background: #12A66C;
  border: 1px solid #12A66C;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 166, 108, 0.25);
}
.am-home-tech-btn-primary:hover,
.am-home-tech-btn-primary:focus {
  background: #0e8a59;
  border-color: #0e8a59;
  color: #ffffff;
  transform: translateY(-2px);
}
.am-home-tech-btn-primary:hover svg { transform: translateX(4px); }
.am-home-tech-btn-secondary {
  background: #ffffff;
  border: 1px solid #0B1E40;
  color: #0B1E40;
}
.am-home-tech-btn-secondary:hover,
.am-home-tech-btn-secondary:focus {
  background: #0B1E40;
  color: #ffffff;
}

/* =====================================================================
   RIGHT: Example Demo
   ===================================================================== */
.am-home-tech-demo {
  position: relative;
  padding: 30px 26px 24px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(32, 192, 118, 0.2) 0%, transparent 50%),
    linear-gradient(150deg, #0B1E40 0%, #0A1533 100%);
  box-shadow: 0 30px 60px rgba(11, 30, 64, 0.22);
  animation: amHomeTechFadeUp 0.8s ease 0.2s both;
}
.am-home-tech-demo-badge {
  position: absolute;
  top: -15px;
  left: 26px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50px;
  background: #C9952A;
  color: #0A1533;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(201, 149, 42, 0.35);
}
.am-home-tech-demo-badge svg { width: 15px; height: 15px; }

/* ---------- Window ---------- */
.am-home-tech-win {
  position: relative;
  margin-right: 110px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.am-home-tech-win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: #eef0f4;
  border-bottom: 1px solid #e2e5ec;
}
.am-home-tech-win-dots { display: flex; gap: 5px; }
.am-home-tech-win-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9cfd9;
}
.am-home-tech-win-dots i:first-child { background: #20C076; }
.am-home-tech-win-dots i:nth-child(2) { background: #C9952A; }
.am-home-tech-win-title {
  flex-grow: 1;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}
.am-home-tech-win-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: #0B1E40;
  color: #20C076;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
}
.am-home-tech-win-body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 330px;
}

/* Sidebar */
.am-home-tech-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  background: #0B1E40;
}
.am-home-tech-side-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 0 12px 4px;
  border-radius: 9px;
  background: #20C076;
  color: #0A1533;
}
.am-home-tech-side-logo svg { width: 18px; height: 18px; }
.am-home-tech-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10.5px;
  font-weight: 500;
}
.am-home-tech-side-item svg { flex-shrink: 0; width: 14px; height: 14px; }
.am-home-tech-side-item em { font-style: normal; white-space: nowrap; }
.am-home-tech-side-active {
  background: rgba(32, 192, 118, 0.16);
  color: #20C076;
  font-weight: 600;
}

/* Main */
.am-home-tech-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
  background: #f7f6f1;
}
.am-home-tech-main-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.am-home-tech-main-hello {
  display: block;
  font-size: 10px;
  color: #6b7280;
}
.am-home-tech-main-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0B1E40;
}
.am-home-tech-main-date {
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(201, 149, 42, 0.14);
  color: #9a6f17;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Prayer strip */
.am-home-tech-prayers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.am-home-tech-prayer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border: 1px solid #e6e1d3;
  border-radius: 9px;
  background: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  color: #0B1E40;
}
.am-home-tech-prayer b {
  font-size: 9px;
  font-weight: 500;
  color: #6b7280;
}
.am-home-tech-prayer-next {
  border-color: #12A66C;
  background: #12A66C;
  color: #ffffff;
}
.am-home-tech-prayer-next b { color: rgba(255, 255, 255, 0.85); }
.am-home-tech-prayer small {
  position: absolute;
  top: -7px;
  padding: 1px 6px;
  border-radius: 50px;
  background: #C9952A;
  color: #0A1533;
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Cards */
.am-home-tech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.am-home-tech-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid #e6e1d3;
  border-radius: 10px;
  background: #ffffff;
}
.am-home-tech-card-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #0B1E40;
}
.am-home-tech-row,
.am-home-tech-ann {
  display: flex;
  align-items: center;
  gap: 8px;
}
.am-home-tech-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(18, 166, 108, 0.12);
  color: #0e8a59;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.am-home-tech-date b { font-size: 11px; font-weight: 700; }
.am-home-tech-date-gold { background: rgba(201, 149, 42, 0.14); color: #9a6f17; }
.am-home-tech-row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 8.5px;
  color: #6b7280;
}
.am-home-tech-row-text b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  color: #0B1E40;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.am-home-tech-ann-dot {
  flex-shrink: 0;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12A66C;
  box-shadow: 0 0 0 3px rgba(18, 166, 108, 0.15);
}
.am-home-tech-ann-dot-gold { background: #C9952A; box-shadow: 0 0 0 3px rgba(201, 149, 42, 0.18); }

/* Community strip */
.am-home-tech-community {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0B1E40;
}
.am-home-tech-community .am-home-tech-row-text { flex-grow: 1; color: rgba(255, 255, 255, 0.6); }
.am-home-tech-community .am-home-tech-row-text b { color: #ffffff; }
.am-home-tech-avatars { display: flex; }
.am-home-tech-avatars i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border: 2px solid #0B1E40;
  border-radius: 50%;
  background: #20C076;
  color: #0A1533;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.am-home-tech-avatars i:first-child { margin-left: 0; }
.am-home-tech-avatars i:nth-child(2) { background: #C9952A; }
.am-home-tech-avatars i:nth-child(3) { background: #5b8def; }
.am-home-tech-avatars i:nth-child(4) { background: #ffffff; }
.am-home-tech-pill {
  padding: 4px 10px;
  border-radius: 50px;
  background: #20C076;
  color: #0A1533;
  font-size: 9px;
  font-weight: 700;
}

/* ---------- Phone ---------- */
.am-home-tech-phone {
  position: absolute;
  right: 22px;
  bottom: 74px;
  z-index: 3;
  width: 150px;
  padding: 7px;
  border-radius: 26px;
  background: #050d20;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
  animation: amHomeTechFloat 5s ease-in-out 1s infinite;
}
.am-home-tech-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 40px;
  height: 5px;
  margin-left: -20px;
  border-radius: 5px;
  background: #050d20;
}
.am-home-tech-phone-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 270px;
  padding: 22px 10px 12px;
  border-radius: 20px;
  background: #f7f6f1;
}
.am-home-tech-app-head {
  display: flex;
  flex-direction: column;
}
.am-home-tech-app-brand {
  font-size: 12px;
  font-weight: 700;
  color: #0B1E40;
}
.am-home-tech-app-loc {
  font-size: 8.5px;
  color: #6b7280;
}
.am-home-tech-app-next {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #12A66C, #0e8a59);
  color: #ffffff;
}
.am-home-tech-app-next small { font-size: 8px; opacity: 0.85; }
.am-home-tech-app-next b { font-size: 12.5px; font-weight: 700; }
.am-home-tech-app-bar {
  display: block;
  height: 4px;
  margin-top: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.am-home-tech-app-bar i {
  display: block;
  width: 64%;
  height: 100%;
  background: #C9952A;
}
.am-home-tech-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.am-home-tech-app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: 1px solid #e6e1d3;
  border-radius: 9px;
  background: #ffffff;
  color: #0B1E40;
  font-size: 8.5px;
  font-weight: 600;
}
.am-home-tech-app-tile svg { width: 15px; height: 15px; color: #12A66C; }
.am-home-tech-app-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #0B1E40;
  color: #ffffff;
  font-size: 8px;
  line-height: 1.3;
}
.am-home-tech-app-notice i {
  flex-shrink: 0;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C9952A;
}

/* ---------- Legend ---------- */
.am-home-tech-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.am-home-tech-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  line-height: 1.35;
}
.am-home-tech-legend-item > span:last-child {
  display: flex;
  flex-direction: column;
}
.am-home-tech-legend-item b {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}
.am-home-tech-legend-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(32, 192, 118, 0.35);
  background: rgba(32, 192, 118, 0.12);
  color: #20C076;
}
.am-home-tech-legend-icon svg { width: 18px; height: 18px; }
.am-home-tech-legend-link {
  flex-grow: 1;
  min-width: 14px;
  height: 1px;
  border-top: 1px dashed rgba(32, 192, 118, 0.5);
}

/* ---------- Animations ---------- */
@keyframes amHomeTechFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes amHomeTechFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .am-home-tech-inner { gap: 40px; }
  .am-home-tech-title { font-size: 32px; }
  .am-home-tech-win-body { grid-template-columns: 44px 1fr; }
  .am-home-tech-side-item em { display: none; }
  .am-home-tech-side-item { justify-content: center; padding: 8px 0; }
  .am-home-tech-side-logo { margin: 0 auto 12px; }
  .am-home-tech-win { margin-right: 92px; }
  .am-home-tech-phone { width: 128px; bottom: 128px; right: 18px; }
  .am-home-tech-phone-screen { min-height: 240px; }
  .am-home-tech-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .am-home-tech-legend-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .am-home-tech-legend-link { display: none; }
}
@media (max-width: 960px) {
  .am-home-tech-section { padding: 64px 0; }
  .am-home-tech-inner { grid-template-columns: 1fr; gap: 48px; }
  .am-home-tech-demo { max-width: 760px; width: 100%; margin: 0 auto; }
  .am-home-tech-win-body { grid-template-columns: 128px 1fr; }
  .am-home-tech-side-item em { display: inline; }
  .am-home-tech-side-item { justify-content: flex-start; padding: 7px 8px; }
  .am-home-tech-side-logo { margin: 0 0 12px 4px; }
  .am-home-tech-win { margin-right: 110px; }
  .am-home-tech-phone { width: 150px; bottom: 74px; right: 22px; }
  .am-home-tech-phone-screen { min-height: 270px; }
  .am-home-tech-legend { display: flex; justify-content: flex-start; gap: 10px; }
  .am-home-tech-legend-item { flex-direction: row; align-items: center; gap: 10px; }
  .am-home-tech-legend-link { display: block; }
}
@media (max-width: 680px) {
  .am-home-tech-demo { padding: 28px 14px 18px; }
  .am-home-tech-win { margin-right: 0; }
  .am-home-tech-win-body { grid-template-columns: 1fr; min-height: 0; }
  .am-home-tech-side { display: none; }
  .am-home-tech-cards { grid-template-columns: 1fr; }
  .am-home-tech-phone { animation: none; }
  .am-home-tech-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 150px;
    margin: 18px auto 0;
  }
  .am-home-tech-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .am-home-tech-legend-link { display: none; }
}
@media (max-width: 600px) {
  .am-home-tech-section { padding: 52px 0; }
  .am-home-tech-title { font-size: 26px; }
  .am-home-tech-text-strong { font-size: 15px; }
  .am-home-tech-ctas { flex-direction: column; align-items: stretch; }
  .am-home-tech-btn { justify-content: center; }
  .am-home-tech-prayers { gap: 4px; }
  .am-home-tech-prayer { font-size: 10px; padding: 8px 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-home-tech-section * { animation: none !important; transition: none !important; }
}







/* ---------- Scoped box-sizing fix ---------- */
.am-home-init-section,
.am-home-init-section *,
.am-home-init-section *::before,
.am-home-init-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell ---------- */
.am-home-init-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(32, 192, 118, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 100%, rgba(201, 149, 42, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #0B1E40 0%, #0A1533 100%);
  color: #ffffff;
}
.am-home-init-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.am-home-init-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
  animation: amHomeInitFadeUp 0.8s ease both;
}
.am-home-init-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(32, 192, 118, 0.45);
  border-radius: 50px;
  background: rgba(32, 192, 118, 0.1);
  color: #20C076;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.am-home-init-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
.am-home-init-title span {
  color: #20C076;
}
.am-home-init-head-right {
  padding-left: 26px;
  border-left: 2px solid rgba(201, 149, 42, 0.6);
}
.am-home-init-lead {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: #ffffff;
}
.am-home-init-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Grid ---------- */
.am-home-init-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* ---------- Card ---------- */
.am-home-init-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: #0F2650;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation: amHomeInitFadeUp 0.8s ease both;
}
.am-home-init-card-1 { animation-delay: 0.15s; }
.am-home-init-card-2 { animation-delay: 0.3s; }
.am-home-init-card-1:hover { border-color: rgba(32, 192, 118, 0.5); }
.am-home-init-card-2:hover { border-color: rgba(201, 149, 42, 0.55); }
.am-home-init-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Media */
.am-home-init-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.am-home-init-media img {
  display: block;
  width: 100%;
  height: 100%!Important;
  object-fit: cover;
  transition: transform 0.6s ease;
      object-position: center center!Important;
}
.am-home-init-card:hover .am-home-init-media img {
  transform: scale(1.05);
}
.am-home-init-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 51, 0.1) 0%, rgba(15, 38, 80, 0.9) 100%);
}
.am-home-init-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 50px;
  background: #C9952A;
  color: #0A1533;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.am-home-init-media-icon {
  position: absolute;
  left: 28px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #20C076;
  color: #0A1533;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}
.am-home-init-media-icon svg { width: 28px; height: 28px; }
.am-home-init-media-icon-gold { background: #C9952A; }

/* Body */
.am-home-init-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 28px 28px;
}
.am-home-init-card-title {
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}
.am-home-init-sub {
  margin: 0 0 14px;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: #20C076;
}
.am-home-init-sub-gold { color: #d9a945; }
.am-home-init-card-text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* Phase / focus box */
.am-home-init-phase {
  flex-grow: 1;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(32, 192, 118, 0.25);
  border-radius: 14px;
  background: rgba(32, 192, 118, 0.06);
}
.am-home-init-phase-gold {
  border-color: rgba(201, 149, 42, 0.3);
  background: rgba(201, 149, 42, 0.06);
}
.am-home-init-phase-text {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.am-home-init-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.am-home-init-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(32, 192, 118, 0.14);
  color: #20C076;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.am-home-init-chips li svg { width: 13px; height: 13px; flex-shrink: 0; }
.am-home-init-chips-gold li {
  background: rgba(201, 149, 42, 0.15);
  color: #d9a945;
}

/* Button */
.am-home-init-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid #20C076;
  background: #20C076;
  color: #0A1533;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.am-home-init-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.am-home-init-btn:hover,
.am-home-init-btn:focus {
  background: transparent;
  color: #20C076;
}
.am-home-init-btn:hover svg { transform: translateX(4px); }
.am-home-init-btn-gold {
  border-color: #C9952A;
  background: #C9952A;
}
.am-home-init-btn-gold:hover,
.am-home-init-btn-gold:focus {
  background: transparent;
  color: #d9a945;
}

/* ---------- Animations ---------- */
@keyframes amHomeInitFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .am-home-init-section { padding: 64px 0; }
  .am-home-init-title { font-size: 33px; }
  .am-home-init-head { gap: 32px; }
  .am-home-init-grid { gap: 22px; }
  .am-home-init-body { padding: 20px 22px 24px; }
}
@media (max-width: 860px) {
  .am-home-init-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }
  .am-home-init-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .am-home-init-section { padding: 52px 0; }
  .am-home-init-title { font-size: 27px; }
  .am-home-init-head-right { padding-left: 16px; }
  .am-home-init-lead { font-size: 15px; }
  .am-home-init-media { height: 190px; }
  .am-home-init-media-icon { left: 22px; width: 48px; height: 48px; }
  .am-home-init-card-title { font-size: 21px; }
  .am-home-init-btn { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .am-home-init-section * { animation: none !important; transition: none !important; }
}

/* ---------- Scoped box-sizing fix ---------- */
.am-home-eco-section,
.am-home-eco-section *,
.am-home-eco-section *::before,
.am-home-eco-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell ---------- */
.am-home-eco-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 192, 118, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(201, 149, 42, 0.09) 0%, transparent 40%),
    #FDFBF3;
  color: #0B1E40;
}
.am-home-eco-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.am-home-eco-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
  animation: amHomeEcoFadeUp 0.8s ease both;
}
.am-home-eco-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(18, 166, 108, 0.4);
  border-radius: 50px;
  background: rgba(18, 166, 108, 0.08);
  color: #12A66C;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.am-home-eco-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #0B1E40;
}
.am-home-eco-title span {
  color: #12A66C;
}
.am-home-eco-head-right {
  padding-left: 26px;
  border-left: 2px solid rgba(201, 149, 42, 0.6);
}
.am-home-eco-lead {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #0B1E40;
}
.am-home-eco-text {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a5568;
}
.am-home-eco-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid #12A66C;
  background: #12A66C;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(18, 166, 108, 0.22);
  transition: background 0.3s ease, transform 0.3s ease;
}
.am-home-eco-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.am-home-eco-btn:hover,
.am-home-eco-btn:focus {
  background: #0e8a59;
  border-color: #0e8a59;
  color: #ffffff;
  transform: translateY(-2px);
}
.am-home-eco-btn:hover svg { transform: translateX(4px); }

/* ---------- Legend ---------- */
.am-home-eco-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  padding: 14px 20px;
  border: 1px solid #e6e1d3;
  border-radius: 14px;
  background: #ffffff;
  animation: amHomeEcoFadeUp 0.8s ease 0.1s both;
}
.am-home-eco-legend-title {
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid #e6e1d3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0B1E40;
}
.am-home-eco-legend-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 22px;
  flex-grow: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.am-home-eco-legend-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
}
.am-home-eco-legend-list strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #0B1E40;
}
.am-home-eco-dot {
  position: absolute;
  top: 4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.am-home-eco-dot-live    { background: #12A66C; }
.am-home-eco-dot-dev     { background: #C9952A; }
.am-home-eco-dot-planned { background: #2f6fd6; }
.am-home-eco-dot-future  { background: transparent; border: 2px dashed #8a93a6; }

/* ---------- Grid ---------- */
.am-home-eco-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* ---------- Card ---------- */
.am-home-eco-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid #e6e1d3;
  border-radius: 16px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: amHomeEcoFadeUp 0.7s ease both;
}
.am-home-eco-card:nth-child(1)  { animation-delay: 0.15s; }
.am-home-eco-card:nth-child(2)  { animation-delay: 0.2s; }
.am-home-eco-card:nth-child(3)  { animation-delay: 0.25s; }
.am-home-eco-card:nth-child(4)  { animation-delay: 0.3s; }
.am-home-eco-card:nth-child(5)  { animation-delay: 0.35s; }
.am-home-eco-card:nth-child(6)  { animation-delay: 0.4s; }
.am-home-eco-card:nth-child(7)  { animation-delay: 0.45s; }
.am-home-eco-card:nth-child(8)  { animation-delay: 0.5s; }
.am-home-eco-card:nth-child(9)  { animation-delay: 0.55s; }
.am-home-eco-card:nth-child(10) { animation-delay: 0.6s; }
.am-home-eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 166, 108, 0.45);
  box-shadow: 0 16px 32px rgba(11, 30, 64, 0.08);
}
.am-home-eco-card-link { cursor: pointer; }

.am-home-eco-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.am-home-eco-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(150deg, #0B1E40 0%, #163a6b 100%);
  color: #20C076;
  transition: background 0.3s ease, color 0.3s ease;
}
.am-home-eco-icon svg { width: 23px; height: 23px; }
.am-home-eco-card:hover .am-home-eco-icon {
  background: #12A66C;
  color: #ffffff;
}
.am-home-eco-card-title {
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #0B1E40;
}
.am-home-eco-card-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

/* ---------- Status pills ---------- */
.am-home-eco-status {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.am-home-eco-status-live {
  background: rgba(18, 166, 108, 0.12);
  color: #0e8a59;
}
.am-home-eco-status-dev {
  background: rgba(201, 149, 42, 0.14);
  color: #9a6f17;
}
.am-home-eco-status-planned {
  background: rgba(47, 111, 214, 0.1);
  color: #2459b3;
}
.am-home-eco-status-future {
  background: transparent;
  border: 1px dashed #a3abba;
  color: #6b7280;
}

/* ---------- Animations ---------- */
@keyframes amHomeEcoFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .am-home-eco-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .am-home-eco-section { padding: 64px 0; }
  .am-home-eco-title { font-size: 33px; }
  .am-home-eco-head { gap: 32px; }
  .am-home-eco-grid { grid-template-columns: repeat(3, 1fr); }
  .am-home-eco-legend { flex-direction: column; align-items: flex-start; gap: 12px; }
  .am-home-eco-legend-title { padding-right: 0; border-right: 0; }
  .am-home-eco-legend-list { grid-template-columns: repeat(2, 1fr); width: 100%; }
}
@media (max-width: 860px) {
  .am-home-eco-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }
}
@media (max-width: 680px) {
  .am-home-eco-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .am-home-eco-card { padding: 16px 14px; }
  .am-home-eco-card-top { flex-direction: column; gap: 10px; margin-bottom: 12px; }
  .am-home-eco-icon { width: 40px; height: 40px; }
  .am-home-eco-icon svg { width: 20px; height: 20px; }
  .am-home-eco-card-title { font-size: 15px; }
  .am-home-eco-card-text { font-size: 12.5px; }
}
@media (max-width: 600px) {
  .am-home-eco-section { padding: 52px 0; }
  .am-home-eco-title { font-size: 27px; }
  .am-home-eco-head-right { padding-left: 16px; }
  .am-home-eco-lead { font-size: 15px; }
  .am-home-eco-legend { padding: 14px 16px; }
  .am-home-eco-legend-list { gap: 10px 14px; }
}
@media (max-width: 380px) {
  .am-home-eco-grid { grid-template-columns: 1fr; }
  .am-home-eco-card-top { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  .am-home-eco-section * { animation: none !important; transition: none !important; }
}

/* ---------- Scoped box-sizing fix ---------- */
.am-home-close-section,
.am-home-close-section *,
.am-home-close-section *::before,
.am-home-close-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell (full-bleed image + overlay) ---------- */
.am-home-close-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 90px 0 70px;
  font-family: 'Poppins', sans-serif;
  background: #0A1533;
  color: #ffffff;
  text-align: center;
}
.am-home-close-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/29849654/pexels-photo-29849654.jpeg?auto=compress&cs=tinysrgb&w=1920");
  background-size: cover;
  background-position: center;
  animation: amHomeCloseZoom 1.6s ease both;
}
.am-home-close-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(11, 30, 64, 0.72) 0%, rgba(10, 21, 51, 0.94) 70%),
    linear-gradient(180deg, rgba(10, 21, 51, 0.6) 0%, rgba(10, 21, 51, 0.95) 100%);
}
.am-home-close-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Mark ---------- */
.am-home-close-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  color: #C9952A;
  animation: amHomeCloseFadeUp 0.8s ease both;
}
.am-home-close-mark svg { width: 64px; height: 64px; }

/* ---------- Heading + copy ---------- */
.am-home-close-title {
  margin: 0 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  animation: amHomeCloseFadeUp 0.8s ease 0.1s both;
}
.am-home-close-title span {
  color: #20C076;
}
.am-home-close-lead {
  max-width: 800px;
  margin: 0 auto 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
  animation: amHomeCloseFadeUp 0.8s ease 0.2s both;
}
.am-home-close-text {
  max-width: 800px;
  margin: 0 auto 34px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  animation: amHomeCloseFadeUp 0.8s ease 0.25s both;
}

/* ---------- Four-step principle ---------- */
.am-home-close-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1060px;
  margin: 0 auto 36px;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(201, 149, 42, 0.4);
  border-radius: 18px;
  background: rgba(10, 21, 51, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.am-home-close-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 20px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  animation: amHomeCloseFadeUp 0.7s ease both;
}
.am-home-close-step + .am-home-close-step {
  border-left: 1px solid rgba(201, 149, 42, 0.25);
}
/* chevron between steps */
.am-home-close-step + .am-home-close-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-top: 1px solid rgba(201, 149, 42, 0.6);
  border-right: 1px solid rgba(201, 149, 42, 0.6);
  background: #0f1c3d;
  transform: rotate(45deg);
}
.am-home-close-step-1 { animation-delay: 0.3s; }
.am-home-close-step-2 { animation-delay: 0.4s; }
.am-home-close-step-3 { animation-delay: 0.5s; }
.am-home-close-step-4 { animation-delay: 0.6s; }
.am-home-close-step-1 { color: #d9a945; }
.am-home-close-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #20C076;
}

/* ---------- CTAs ---------- */
.am-home-close-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
  animation: amHomeCloseFadeUp 0.8s ease 0.7s both;
}
.am-home-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.am-home-close-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}
.am-home-close-btn-primary {
  border: 1px solid #20C076;
  background: #20C076;
  color: #0A1533;
  box-shadow: 0 12px 28px rgba(32, 192, 118, 0.3);
}
.am-home-close-btn-primary:hover,
.am-home-close-btn-primary:focus {
  background: #1aa865;
  border-color: #1aa865;
  color: #0A1533;
  transform: translateY(-2px);
}
.am-home-close-btn-primary:hover svg { transform: translateX(4px); }
.am-home-close-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #ffffff;
}
.am-home-close-btn-secondary:hover,
.am-home-close-btn-secondary:focus {
  border-color: #ffffff;
  background: #ffffff;
  color: #0A1533;
}

/* ---------- Footer message ---------- */
.am-home-close-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  animation: amHomeCloseFadeUp 0.8s ease 0.8s both;
}
.am-home-close-footer strong {
  font-style: normal;
  font-weight: 600;
  color: #d9a945;
}
.am-home-close-footer-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 149, 42, 0.8));
}
.am-home-close-footer-line:last-child {
  background: linear-gradient(90deg, rgba(201, 149, 42, 0.8), transparent);
}

/* ---------- Animations ---------- */
@keyframes amHomeCloseFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes amHomeCloseZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .am-home-close-section { padding: 72px 0 60px; }
  .am-home-close-title { font-size: 44px; }
  .am-home-close-step { font-size: 14px; padding: 18px 10px; }
}
@media (max-width: 760px) {
  .am-home-close-steps { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .am-home-close-step:nth-child(3) { border-left: 0; }
  .am-home-close-step:nth-child(3),
  .am-home-close-step:nth-child(4) { border-top: 1px solid rgba(201, 149, 42, 0.25); }
  .am-home-close-step + .am-home-close-step::before { display: none; }
}
@media (max-width: 600px) {
  .am-home-close-section { padding: 56px 0 46px; }
  .am-home-close-mark,
  .am-home-close-mark svg { width: 50px; height: 50px; }
  .am-home-close-title { font-size: 32px; }
  .am-home-close-lead { font-size: 16px; }
  .am-home-close-text { font-size: 14px; margin-bottom: 26px; }
  .am-home-close-step { font-size: 13px; }
  .am-home-close-ctas { flex-direction: column; align-items: stretch; margin-bottom: 34px; }
  .am-home-close-btn { justify-content: center; }
  .am-home-close-footer-line { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-home-close-section *,
  .am-home-close-bg { animation: none !important; transition: none !important; }
}

/* ---------- Scoped box-sizing fix ---------- */
.am-home-ihsan-section,
.am-home-ihsan-section *,
.am-home-ihsan-section *::before,
.am-home-ihsan-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell ---------- */
.am-home-ihsan-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(189, 147, 50, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #2A2418 0%, #1A170F 55%, #0F0D08 100%);
  color: #ffffff;
}
.am-home-ihsan-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 60px;
  align-items: center;
}

/* ---------- Emblem ---------- */
.am-home-ihsan-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  animation: amHomeIhsanFade 1s ease both;
}
.am-home-ihsan-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 147, 50, 0.3) 0%, rgba(189, 147, 50, 0.1) 45%, transparent 70%);
  filter: blur(10px);
}
.am-home-ihsan-star {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.am-home-ihsan-star-outer {
  animation: amHomeIhsanSpin 60s linear infinite;
}
.am-home-ihsan-star-inner {
  animation: amHomeIhsanSpin 45s linear infinite reverse;
}
.am-home-ihsan-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(189, 147, 50, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2A2418 0%, #1A170F 100%);
  box-shadow: 0 0 0 8px rgba(189, 147, 50, 0.08), 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
}
.am-home-ihsan-arabic {
  font-family: 'Amiri', serif;
  font-size: 54px;
  line-height: 1.2;
  color: #BD9332;
  direction: rtl;
}
.am-home-ihsan-latin {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
}

/* ---------- Content ---------- */
.am-home-ihsan-content {
  animation: amHomeIhsanFadeUp 0.8s ease 0.15s both;
}
.am-home-ihsan-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(189, 147, 50, 0.5);
  border-radius: 50px;
  background: rgba(189, 147, 50, 0.1);
  color: #BD9332;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.am-home-ihsan-title {
  margin: 0 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
.am-home-ihsan-title span {
  color: #BD9332;
}
.am-home-ihsan-lead {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
}
.am-home-ihsan-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* Guides box */
.am-home-ihsan-guides {
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid #BD9332;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.am-home-ihsan-guides-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.am-home-ihsan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.am-home-ihsan-chips li {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(189, 147, 50, 0.45);
  border-radius: 50px;
  background: rgba(189, 147, 50, 0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

/* Footer: statement + CTA */
.am-home-ihsan-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.am-home-ihsan-statement {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}
.am-home-ihsan-statement span {
  color: #BD9332;
}
.am-home-ihsan-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  border: 1px solid #BD9332;
  background: #BD9332;
  color: #1A170F;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.am-home-ihsan-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.am-home-ihsan-btn:hover,
.am-home-ihsan-btn:focus {
  background: transparent;
  color: #BD9332;
}
.am-home-ihsan-btn:hover svg { transform: translateX(4px); }

/* ---------- Animations ---------- */
@keyframes amHomeIhsanFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes amHomeIhsanFade {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes amHomeIhsanSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .am-home-ihsan-section { padding: 64px 0; }
  .am-home-ihsan-inner { gap: 40px; }
  .am-home-ihsan-title { font-size: 34px; }
  .am-home-ihsan-arabic { font-size: 44px; }
}
@media (max-width: 860px) {
  .am-home-ihsan-inner { grid-template-columns: 1fr; gap: 30px; }
  .am-home-ihsan-visual { max-width: 300px; }
  .am-home-ihsan-section {
    background:
      radial-gradient(ellipse at 50% 18%, rgba(189, 147, 50, 0.18) 0%, transparent 50%),
      linear-gradient(135deg, #2A2418 0%, #1A170F 55%, #0F0D08 100%);
  }
}
@media (max-width: 600px) {
  .am-home-ihsan-section { padding: 52px 0; }
  .am-home-ihsan-visual { max-width: 240px; }
  .am-home-ihsan-arabic { font-size: 36px; }
  .am-home-ihsan-latin { font-size: 10px; letter-spacing: 3px; }
  .am-home-ihsan-title { font-size: 28px; }
  .am-home-ihsan-lead { font-size: 15.5px; }
  .am-home-ihsan-text { font-size: 14px; }
  .am-home-ihsan-statement { font-size: 21px; }
  .am-home-ihsan-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .am-home-ihsan-section * { animation: none !important; transition: none !important; }
}

/* ---------- Scoped box-sizing fix ---------- */
.am-home-join-section,
.am-home-join-section *,
.am-home-join-section *::before,
.am-home-join-section *::after {
  box-sizing: border-box;
}

/* ---------- Section shell (cream outer, dark panel inside) ---------- */
.am-home-join-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 70px 0;
  font-family: 'Poppins', sans-serif;
  background: #FAF8F2;
}
.am-home-join-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.am-home-join-panel {
  position: relative;
  overflow: hidden;
  padding: 60px 50px 120px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(32, 192, 118, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0B1E40 0%, #0A1533 100%);
  color: #ffffff;
  box-shadow: 0 30px 60px rgba(11, 30, 64, 0.22);
  animation: amHomeJoinFadeUp 0.8s ease both;
}
.am-home-join-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(45deg, #ffffff 1px, transparent 1px),
    linear-gradient(-45deg, #ffffff 1px, transparent 1px);
  background-size: 42px 42px;
}
.am-home-join-skyline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  opacity: 0.06;
  pointer-events: none;
}

/* ---------- Header ---------- */
.am-home-join-head {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}
.am-home-join-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(201, 149, 42, 0.5);
  border-radius: 50px;
  background: rgba(201, 149, 42, 0.1);
  color: #d9a945;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.am-home-join-title {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
}
.am-home-join-title span {
  color: #20C076;
}
.am-home-join-text {
  max-width: 740px;
  margin: 0 auto 26px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}
.am-home-join-choose {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: #d9a945;
}
.am-home-join-choose-line {
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9952A);
}
.am-home-join-choose-line:last-child {
  background: linear-gradient(90deg, #C9952A, transparent);
}

/* ---------- Grid ---------- */
.am-home-join-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- Card ---------- */
.am-home-join-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  animation: amHomeJoinFadeUp 0.8s ease both;
}
.am-home-join-card-1 { animation-delay: 0.2s; }
.am-home-join-card-2 { animation-delay: 0.35s; }
.am-home-join-card-3 { animation-delay: 0.5s; }
.am-home-join-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(32, 192, 118, 0.5);
}
.am-home-join-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.am-home-join-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #20C076;
  color: #0A1533;
}
.am-home-join-icon svg { width: 25px; height: 25px; }
.am-home-join-label {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
}
.am-home-join-card-text {
  flex-grow: 1;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* Button: full-width bar with arrow chip */
.am-home-join-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 7px 7px 20px;
  border-radius: 50px;
  background: #ffffff;
  color: #0B1E40;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.am-home-join-btn-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0B1E40;
  color: #20C076;
  transition: transform 0.3s ease, background 0.3s ease;
}
.am-home-join-btn-arrow svg { width: 16px; height: 16px; }
.am-home-join-btn:hover,
.am-home-join-btn:focus {
  background: #20C076;
  color: #0A1533;
}
.am-home-join-btn:hover .am-home-join-btn-arrow {
  transform: translateX(3px);
  background: #0A1533;
}

/* ---------- Animations ---------- */
@keyframes amHomeJoinFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .am-home-join-section { padding: 56px 0; }
  .am-home-join-panel { padding: 50px 30px 100px; }
  .am-home-join-title { font-size: 33px; }
  .am-home-join-grid { gap: 16px; }
  .am-home-join-card { padding: 22px 18px 20px; }
}
@media (max-width: 860px) {
  .am-home-join-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .am-home-join-section { padding: 40px 0; }
  .am-home-join-panel { padding: 40px 18px 80px; border-radius: 22px; }
  .am-home-join-title { font-size: 26px; }
  .am-home-join-text { font-size: 14px; }
  .am-home-join-choose { font-size: 14px; gap: 10px; }
  .am-home-join-choose-line { display: none; }
  .am-home-join-skyline { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-home-join-section * { animation: none !important; transition: none !important; }
}

/* Calligraphy page started */

/* ---------- Hero section ---------- */
/* ---------- Scoped box-sizing fix ---------- */
.calligraphy-hero,
.calligraphy-hero *,
.calligraphy-hero *::before,
.calligraphy-hero *::after {
  box-sizing: border-box;
}

/* ---------- Section (full width navy background, as homepage) ---------- */
.calligraphy-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 90px 0 100px;
  font-family: 'Poppins', sans-serif;
  background-color: #0B1E40;
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(30, 72, 150, 0.55) 0%, rgba(30, 72, 150, 0) 60%),
    radial-gradient(circle at 70% 55%, rgba(32, 192, 118, 0.10) 0%, rgba(32, 192, 118, 0) 40%),
    linear-gradient(180deg, #0F2654 0%, #0B1E40 55%, #0A1533 100%);
}

/* ---------- Inner container ---------- */
.calligraphy-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* ---------- Left column (40%) ---------- */
.calligraphy-hero-content {
  flex: 0 0 calc(40% - 25px);
  max-width: calc(40% - 25px);
}

.calligraphy-hero-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 26px;
  border-radius: 3px;
  background: #C9952A;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.7s ease-out 0.1s forwards;
}

.calligraphy-hero-title {
  margin: 0 0 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.2s forwards;
}

.calligraphy-hero-title-accent {
  color: #20C076;
}

.calligraphy-hero-subtitle {
  margin: 0 0 36px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: #C3CCDD;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.35s forwards;
}

.calligraphy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.5s forwards;
}

.calligraphy-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.calligraphy-hero-btn-primary {
  background: #20C076;
  color: #FFFFFF !important;
  border: 2px solid #20C076;
  box-shadow: 0 10px 26px rgba(32, 192, 118, 0.28);
}

.calligraphy-hero-btn-primary:hover,
.calligraphy-hero-btn-primary:focus-visible {
  background: #12A66C;
  border-color: #12A66C;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(32, 192, 118, 0.35);
}

.calligraphy-hero-btn-icon {
  transition: transform 0.25s ease;
}

.calligraphy-hero-btn-primary:hover .calligraphy-hero-btn-icon {
  transform: translateX(4px);
}

.calligraphy-hero-btn-secondary {
  background: transparent;
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.calligraphy-hero-btn-secondary:hover,
.calligraphy-hero-btn-secondary:focus-visible {
  border-color: #20C076;
  color: #20C076 !important;
  background: rgba(32, 192, 118, 0.08);
  transform: translateY(-2px);
}

/* ---------- Right column (60%) ---------- */
.calligraphy-hero-visual {
  flex: 0 0 calc(60% - 25px);
  max-width: calc(60% - 25px);
}

/* Collage: wide landscape image in the centre (front),
   two smaller portrait images on the left & right (behind) */
.calligraphy-hero-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 50;
}

/* Frame = image wrapper only (no white box, no fixed padding) */
.calligraphy-hero-frame {
  position: absolute;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
}

/* Image sets its own shape, so no empty space can appear */
.calligraphy-hero-frame img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* Big centre image — landscape */
.calligraphy-hero-frame-main {
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 58%;
  transform: translate(-50%, -50%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  animation: calligraphyHeroFrameMain 0.9s ease-out 0.3s forwards,
             calligraphyHeroFloat 7s ease-in-out 1.2s infinite;
}

.calligraphy-hero-frame-main img {
  aspect-ratio: 2 / 1;
}

/* Smaller side images — portrait, tucked slightly behind */
.calligraphy-hero-frame-left,
.calligraphy-hero-frame-right {
  z-index: 2;
  top: 50%;
  width: 25%;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
}

.calligraphy-hero-frame-left img,
.calligraphy-hero-frame-right img {
  aspect-ratio: 3 / 4;
}

.calligraphy-hero-frame-left {
  left: 0;
  transform: translateY(-36%);
  animation: calligraphyHeroFrameLeft 0.9s ease-out 0.55s forwards,
             calligraphyHeroFloatLeft 8s ease-in-out 1.5s infinite;
}

.calligraphy-hero-frame-right {
  right: 0;
  transform: translateY(-64%);
  animation: calligraphyHeroFrameRight 0.9s ease-out 0.7s forwards,
             calligraphyHeroFloatRight 9s ease-in-out 2.2s infinite;
}

/* ---------- Load animations ---------- */
@keyframes calligraphyHeroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes calligraphyHeroFrameMain {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes calligraphyHeroFrameLeft {
  from { opacity: 0; transform: translate(24px, -36%); }
  to   { opacity: 1; transform: translate(0, -36%); }
}

@keyframes calligraphyHeroFrameRight {
  from { opacity: 0; transform: translate(-24px, -64%); }
  to   { opacity: 1; transform: translate(0, -64%); }
}

/* Continuous gentle float (uses the separate "translate" property,
   so it layers on top of each frame's positioning transform) */
@keyframes calligraphyHeroFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* side images also drift slightly OUTWARD, so the gap opens up as they move */
@keyframes calligraphyHeroFloatLeft {
  0%, 100% { translate: 0 0; }
  50%      { translate: -8px 10px; }
}

@keyframes calligraphyHeroFloatRight {
  0%, 100% { translate: 0 0; }
  50%      { translate: 8px -10px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .calligraphy-hero-title { font-size: 42px; }
}

@media (max-width: 1024px) {
  .calligraphy-hero { padding: 70px 0 80px; }
  .calligraphy-hero-inner { gap: 36px; }
  .calligraphy-hero-title { font-size: 36px; }
  .calligraphy-hero-subtitle { font-size: 16px; }
  .calligraphy-hero-btn { padding: 14px 22px; font-size: 14px; }
}

@media (max-width: 900px) {
  .calligraphy-hero-inner {
    flex-direction: column;
    gap: 44px;
  }
  .calligraphy-hero-content,
  .calligraphy-hero-visual {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .calligraphy-hero-content {
    text-align: center;
    max-width: 640px;
  }
  .calligraphy-hero-rule { margin-left: auto; margin-right: auto; }
  .calligraphy-hero-actions { justify-content: center; }
  .calligraphy-hero-collage {
    max-width: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .calligraphy-hero { padding: 52px 0 60px; }
  .calligraphy-hero-title { font-size: 30px; }
  .calligraphy-hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  .calligraphy-hero-actions { flex-direction: column; align-items: stretch; }
  .calligraphy-hero-btn { width: 100%; }
  .calligraphy-hero-frame { border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .calligraphy-hero-rule,
  .calligraphy-hero-title,
  .calligraphy-hero-subtitle,
  .calligraphy-hero-actions,
  .calligraphy-hero-frame {
    animation: none;
    opacity: 1;
  }
}

/* ---------- intro ---------- */
.calligraphy-intro,
.calligraphy-intro *,
.calligraphy-intro *::before,
.calligraphy-intro *::after {
  box-sizing: border-box;
}

/* ---------- Section ---------- */
.calligraphy-intro {
  width: 100%;
  max-width: 100%;
  padding: 90px 0;
  font-family: 'Poppins', sans-serif;
  background-color: #FAF8F2;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(32, 192, 118, 0.10) 0%, rgba(32, 192, 118, 0) 40%),
    radial-gradient(circle at 0% 100%, rgba(201, 149, 42, 0.07) 0%, rgba(201, 149, 42, 0) 40%);
  scroll-margin-top: 80px;
}

.calligraphy-intro-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 1. Header ---------- */
.calligraphy-intro-header {
  margin: 0 auto 20px;
  text-align: center;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.1s forwards;
}

.calligraphy-intro-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 3px;
  background: #C9952A;
}

.calligraphy-intro-title {
  margin: 0 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #0B1E40;
}

.calligraphy-intro-title-accent { color: #12A66C; }

.calligraphy-intro-lead {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: #0B1E40;
}

/* ---------- WooCommerce products (CSS only, no HTML changes) ---------- */
.calligraphy-intro-shop {
  scroll-margin-top: 100px;
}

.calligraphy-intro-shop .woocommerce {
  width: 100%;
  margin: 0;
}

.calligraphy-intro-shop .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* remove WooCommerce clearfix pseudo elements (they become grid cells) */
.calligraphy-intro-shop .woocommerce ul.products::before,
.calligraphy-intro-shop .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

/* card */
.calligraphy-intro-shop .woocommerce ul.products li.product {
  position: relative;
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-align: left;
  background: #FFFFFF;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(11, 30, 64, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.calligraphy-intro-shop .woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 192, 118, 0.35);
  box-shadow: 0 20px 40px rgba(11, 30, 64, 0.12);
}

/* product link (image + title + price) */
.calligraphy-intro-shop .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-decoration: none !important;
}

/* image — zooms on hover, stays inside the card (card clips it) */
.calligraphy-intro-shop .woocommerce ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.calligraphy-intro-shop .woocommerce ul.products li.product:hover a img {
  transform: scale(1.08);
}

/* title (white background sits on top so the zoomed image never spills over it) */
.calligraphy-intro-shop .woocommerce ul.products li.product .woocommerce-loop-product__title {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  padding: 18px 20px 6px !important;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #0B1E40 !important;
  transition: color 0.25s ease;
}

.calligraphy-intro-shop .woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #12A66C !important;
}

/* price */
.calligraphy-intro-shop .woocommerce ul.products li.product .price {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 !important;
  padding: 0 20px 4px;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #12A66C !important;
}

.calligraphy-intro-shop .woocommerce ul.products li.product .price del {
  margin-right: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #8A94A6 !important;
  opacity: 1;
}

.calligraphy-intro-shop .woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

/* add to cart button */
.calligraphy-intro-shop .woocommerce ul.products li.product .button {
  position: relative;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 14px 20px 20px !important;
  padding: 12px 18px !important;
  border: 2px solid #20C076 !important;
  border-radius: 50px !important;
  background: transparent !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #12A66C !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.calligraphy-intro-shop .woocommerce ul.products li.product:hover .button,
.calligraphy-intro-shop .woocommerce ul.products li.product .button:focus-visible {
  background: #20C076 !important;
  color: #FFFFFF !important;
}

/* loading + added states (WooCommerce AJAX) */
.calligraphy-intro-shop .woocommerce ul.products li.product .button.loading {
  opacity: 0.7;
}

.calligraphy-intro-shop .woocommerce ul.products li.product .button.loading::after,
.calligraphy-intro-shop .woocommerce ul.products li.product .button.added::after {
  position: static !important;
  margin-left: 8px;
  vertical-align: middle;
}

.calligraphy-intro-shop .woocommerce ul.products li.product .added_to_cart {
  display: block;
  margin: -10px 20px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #0B1E40 !important;
  text-decoration: underline !important;
}

/* sale badge (if any product goes on sale) */
.calligraphy-intro-shop .woocommerce ul.products li.product .onsale {
  position: absolute !important;
  z-index: 3;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 5px 12px !important;
  border-radius: 50px !important;
  background: #C9952A !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #FFFFFF !important;
}

/* ---------- Collection heading ---------- */
.calligraphy-intro-collection-head {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.calligraphy-intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.calligraphy-intro-divider::before,
.calligraphy-intro-divider::after {
  content: "";
  width: 70px;
  height: 1px;
  background: rgba(201, 149, 42, 0.55);
}

.calligraphy-intro-divider span {
  width: 10px;
  height: 10px;
  border: 1.5px solid #C9952A;
  transform: rotate(45deg);
}

.calligraphy-intro-collection-title {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: #0B1E40;
}

.calligraphy-intro-collection-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #4A5568;
}

/* ---------- Text after products ---------- */
.calligraphy-intro-after {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
}

.calligraphy-intro-after p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.75;
  color: #4A5568;
}

.calligraphy-intro-after p:first-child {
  font-size: 17px;
  font-weight: 600;
  color: #0B1E40;
}

.calligraphy-intro-after p:last-child { margin-bottom: 0; }

/* ---------- View all button ---------- */
.calligraphy-intro-shop-cta {
  margin: 30px 0 0;
  text-align: center;
}

.calligraphy-intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #FFFFFF !important;
  background: #20C076;
  border: 2px solid #20C076;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(32, 192, 118, 0.28);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.calligraphy-intro-btn svg { transition: transform 0.25s ease; }

.calligraphy-intro-btn:hover,
.calligraphy-intro-btn:focus-visible {
  background: #12A66C;
  border-color: #12A66C;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(32, 192, 118, 0.35);
}

.calligraphy-intro-btn:hover svg { transform: translateX(4px); }

/* ---------- Intro content ---------- */
.calligraphy-intro-more {
  max-width: 1100px;
  margin: 0 auto 50px;
}

.calligraphy-intro-callout {
  padding: 24px 50px;
  margin-bottom: 22px;
  background: #FFFFFF;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-left: 4px solid #C9952A;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(11, 30, 64, 0.06);
}

.calligraphy-intro-callout p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #2D3748;
}

.calligraphy-intro-callout strong {
  font-weight: 600;
  color: #0B1E40;
}

.calligraphy-intro-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 30px;
}

.calligraphy-intro-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 30, 64, 0.07);
  border-radius: 14px;
}

.calligraphy-intro-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(32, 192, 118, 0.12);
  color: #12A66C;
}

.calligraphy-intro-point p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #2D3748;
}

.calligraphy-intro-closing {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  font-style: italic;
  line-height: 1.75;
  text-align: center;
  color: #0B1E40;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .calligraphy-intro-title { font-size: 38px; }
  .calligraphy-intro-shop .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 800px) {
  .calligraphy-intro { padding: 64px 0; }
  .calligraphy-intro-header { margin-bottom: 36px; }
  .calligraphy-intro-shop .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .calligraphy-intro-more { margin-bottom: 56px; }
  .calligraphy-intro-collection-title { font-size: 30px; }
  .calligraphy-intro-after { margin-top: 32px; }
  .calligraphy-intro-points { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .calligraphy-intro { padding: 52px 0; }
  .calligraphy-intro-title { font-size: 30px; }
  .calligraphy-intro-lead { font-size: 16px; }
  .calligraphy-intro-collection-title { font-size: 25px; }
  .calligraphy-intro-collection-text { font-size: 15px; }
  .calligraphy-intro-shop .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 14px 14px 4px !important;
    font-size: 14px !important;
  }
  .calligraphy-intro-shop .woocommerce ul.products li.product .price {
    padding: 0 14px 2px;
    font-size: 15px !important;
  }
  .calligraphy-intro-shop .woocommerce ul.products li.product .button {
    margin: 12px 14px 14px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .calligraphy-intro-callout { padding: 20px; }
  .calligraphy-intro-callout p { font-size: 16px; }
  .calligraphy-intro-btn { width: 100%; }
}

@media (max-width: 400px) {
  .calligraphy-intro-shop .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calligraphy-intro-header { animation: none; opacity: 1; }
  .calligraphy-intro-shop .woocommerce ul.products li.product,
  .calligraphy-intro-shop .woocommerce ul.products li.product a img {
    transition: none;
  }
}


/* ---------- Scoped box-sizing fix ---------- */
.calligraphy-craft,
.calligraphy-craft *,
.calligraphy-craft *::before,
.calligraphy-craft *::after {
  box-sizing: border-box;
}

/* ---------- Section ---------- */
.calligraphy-craft {
  width: 100%;
  max-width: 100%;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  background: #FFFFFF;
}

.calligraphy-craft-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ---------- Cards (shared) ---------- */
.calligraphy-craft-card {
  position: relative;
  overflow: hidden;
  padding: 44px 44px 40px;
  border-radius: 22px;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.1s forwards;
}

.calligraphy-craft-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 44px;
  width: 120px;
  height: 3px;
  border-radius: 0 0 3px 3px;
}

.calligraphy-craft-card-light {
  background-color: #FAF8F2;
  background-image: radial-gradient(circle at 100% 0%, rgba(32, 192, 118, 0.10) 0%, rgba(32, 192, 118, 0) 45%);
  border: 1px solid rgba(11, 30, 64, 0.08);
}

.calligraphy-craft-card-light::before {
  background: #20C076;
}

.calligraphy-craft-card-dark {
  background-color: #0B1E40;
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(30, 72, 150, 0.55) 0%, rgba(30, 72, 150, 0) 55%),
    linear-gradient(160deg, #0F2654 0%, #0B1E40 55%, #0A1533 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 50px rgba(11, 30, 64, 0.22);
  animation-delay: 0.25s;
}

.calligraphy-craft-card-dark::before {
  background: #C9952A;
}

/* ---------- Head ---------- */
.calligraphy-craft-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.calligraphy-craft-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.calligraphy-craft-icon-green {
  background: #20C076;
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(32, 192, 118, 0.28);
}

.calligraphy-craft-icon-gold {
  background: #C9952A;
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(201, 149, 42, 0.30);
}

.calligraphy-craft-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #0B1E40;
}

.calligraphy-craft-title-dark {
  color: #FFFFFF;
}

.calligraphy-craft-accent-green { color: #12A66C; }
.calligraphy-craft-accent-gold  { color: #D9A93B; }

/* ---------- Text ---------- */
.calligraphy-craft-lead {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: #0B1E40;
}

.calligraphy-craft-lead-dark {
  margin-bottom: 16px;
  color: #FFFFFF;
}

.calligraphy-craft-box {
  padding: 20px 22px;
  margin-bottom: 22px;
  border-radius: 14px;
}

.calligraphy-craft-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.calligraphy-craft-box-light {
  background: #FFFFFF;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-left: 4px solid #20C076;
  box-shadow: 0 10px 24px rgba(11, 30, 64, 0.05);
}

.calligraphy-craft-box-light p { color: #2D3748; }

.calligraphy-craft-box-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.calligraphy-craft-box-dark p { color: #C3CCDD; }

.calligraphy-craft-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.calligraphy-craft-text-light {
  padding-left: 16px;
  border-left: 2px solid #C9952A;
  color: #4A5568;
}

.calligraphy-craft-text-dark {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #C3CCDD;
}

.calligraphy-craft-check {
  flex: 0 0 18px;
  margin-top: 4px;
  color: #20C076;
}

/* ---------- Regions + tags (dark card) ---------- */
.calligraphy-craft-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.calligraphy-craft-region {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #20C076;
  background: rgba(32, 192, 118, 0.10);
  border: 1px solid rgba(32, 192, 118, 0.35);
}

.calligraphy-craft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.calligraphy-craft-tags span {
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #D9A93B;
  background: rgba(201, 149, 42, 0.12);
  border: 1px solid rgba(201, 149, 42, 0.30);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .calligraphy-craft-card { padding: 38px 32px 34px; }
  .calligraphy-craft-card::before { left: 32px; }
  .calligraphy-craft-title { font-size: 29px; }
}

@media (max-width: 900px) {
  .calligraphy-craft { padding: 60px 0; }
  .calligraphy-craft-inner { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 560px) {
  .calligraphy-craft { padding: 48px 0; }
  .calligraphy-craft-card { padding: 32px 22px 28px; border-radius: 18px; }
  .calligraphy-craft-card::before { left: 22px; }
  .calligraphy-craft-head { align-items: flex-start; }
  .calligraphy-craft-icon { flex-basis: 46px; width: 46px; height: 46px; }
  .calligraphy-craft-title { font-size: 25px; }
  .calligraphy-craft-lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .calligraphy-craft-card {
    animation: none;
    opacity: 1;
  }
}

/* closign cta */

/* ---------- Scoped box-sizing fix ---------- */
.calligraphy-market,
.calligraphy-market *,
.calligraphy-market *::before,
.calligraphy-market *::after {
  box-sizing: border-box;
}

/* ---------- Section (full width navy, as homepage) ---------- */
.calligraphy-market {
  width: 100%;
  max-width: 100%;
  padding: 90px 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0B1E40;
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(30, 72, 150, 0.55) 0%, rgba(30, 72, 150, 0) 60%),
    linear-gradient(180deg, #0F2654 0%, #0B1E40 55%, #0A1533 100%);
}

.calligraphy-market-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.calligraphy-market-header {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.1s forwards;
}

.calligraphy-market-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 3px;
  background: #C9952A;
}

.calligraphy-market-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.calligraphy-market-title-accent {
  display: block;
  color: #20C076;
}

/* ---------- Cards grid ---------- */
.calligraphy-market-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* dashed connector running behind the cards */
.calligraphy-market-line {
  position: absolute;
  z-index: 0;
  top: 58px;
  left: 8%;
  right: 8%;
  border-top: 1.5px dashed rgba(32, 192, 118, 0.45);
}

.calligraphy-market-card {
  position: relative;
  z-index: 1;
  padding: 30px 30px 32px;
  background: #102552;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.25s forwards;
}

.calligraphy-market-card:nth-of-type(2) { animation-delay: 0.4s; }
.calligraphy-market-card:nth-of-type(3) { animation-delay: 0.55s; }

.calligraphy-market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #20C076 0%, #C9952A 100%);
}

.calligraphy-market-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 192, 118, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.calligraphy-market-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.calligraphy-market-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(32, 192, 118, 0.14);
  border: 1px solid rgba(32, 192, 118, 0.40);
  color: #20C076;
}

.calligraphy-market-num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.calligraphy-market-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #C3CCDD;
}

/* ---------- Closing statement ---------- */
.calligraphy-market-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.7s forwards;
}

.calligraphy-market-stem {
  display: block;
  width: 0;
  height: 40px;
  border-left: 1.5px dashed rgba(32, 192, 118, 0.45);
}

.calligraphy-market-pill {
  padding: 22px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 149, 42, 0.45);
  border-radius: 60px;
}

.calligraphy-market-pill-lead {
  margin: 0 0 8px;
  font-size: 14px;
  font-style: italic;
  color: #C3CCDD;
}

.calligraphy-market-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
}

.calligraphy-market-value {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.calligraphy-market-value + .calligraphy-market-value::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #C9952A;
}

.calligraphy-market-value-hl {
  color: #20C076;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .calligraphy-market-title { font-size: 38px; }
  .calligraphy-market-card { padding: 26px 24px 28px; }
  .calligraphy-market-card::before { left: 24px; right: 24px; }
}

@media (max-width: 900px) {
  .calligraphy-market { padding: 64px 0; }
  .calligraphy-market-header { margin-bottom: 38px; }
  .calligraphy-market-grid { grid-template-columns: 1fr; gap: 18px; }
  .calligraphy-market-line {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    border-top: 0;
    border-left: 1.5px dashed rgba(32, 192, 118, 0.45);
  }
  .calligraphy-market-pill { border-radius: 24px; }
}

@media (max-width: 560px) {
  .calligraphy-market { padding: 52px 0; }
  .calligraphy-market-title { font-size: 28px; }
  .calligraphy-market-num { font-size: 34px; }
  .calligraphy-market-card p { font-size: 15px; }
  .calligraphy-market-pill { padding: 20px 22px; }
  .calligraphy-market-values { flex-direction: column; gap: 4px; }
  .calligraphy-market-value { font-size: 18px; }
  .calligraphy-market-value + .calligraphy-market-value::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .calligraphy-market-header,
  .calligraphy-market-card,
  .calligraphy-market-closing {
    animation: none;
    opacity: 1;
  }
}

/* ---------- Scoped box-sizing fix ---------- */
.calligraphy-cta,
.calligraphy-cta *,
.calligraphy-cta *::before,
.calligraphy-cta *::after {
  box-sizing: border-box;
}

/* ---------- Section (cream band holding the CTA card) ---------- */
.calligraphy-cta {
  width: 100%;
  max-width: 100%;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  background-color: #FAF8F2;
  background-image: radial-gradient(circle at 0% 0%, rgba(32, 192, 118, 0.08) 0%, rgba(32, 192, 118, 0) 40%);
}

.calligraphy-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Card (dark warm gold, as homepage Ihsan section) ---------- */
.calligraphy-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 56px 60px;
  border-radius: 26px;
  background-color: #17150F;
  background-image:
    radial-gradient(circle at 18% 50%, rgba(201, 149, 42, 0.22) 0%, rgba(201, 149, 42, 0) 45%),
    linear-gradient(120deg, #121210 0%, #1E1A10 55%, #3A2E12 100%);
  border: 1px solid rgba(201, 149, 42, 0.25);
  box-shadow: 0 30px 60px rgba(23, 21, 15, 0.25);
  opacity: 0;
  animation: calligraphyHeroFadeUp 0.8s ease-out 0.1s forwards;
}

/* ---------- Left ornament ---------- */
.calligraphy-cta-visual {
  flex: 0 0 34%;
  max-width: 34%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calligraphy-cta-ornament {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  animation: calligraphyCtaSpin 60s linear infinite;
}

@keyframes calligraphyCtaSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Right content ---------- */
.calligraphy-cta-content {
  flex: 1 1 auto;
  min-width: 0;
}

.calligraphy-cta-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 3px;
  background: #C9952A;
}

.calligraphy-cta-title {
  margin: 0 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.calligraphy-cta-title-accent {
  color: #D9A93B;
}

.calligraphy-cta-text {
  margin: 0 0 34px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: #CFC8B8;
}

.calligraphy-cta-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(201, 149, 42, 0.25);
}

.calligraphy-cta-footer-line {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
}

.calligraphy-cta-footer-line span {
  color: #D9A93B;
}

.calligraphy-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #17150F !important;
  background: #C9952A;
  border: 2px solid #C9952A;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(201, 149, 42, 0.30);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.calligraphy-cta-btn svg {
  transition: transform 0.25s ease;
}

.calligraphy-cta-btn:hover,
.calligraphy-cta-btn:focus-visible {
  background: #D9A93B;
  border-color: #D9A93B;
  color: #17150F !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 149, 42, 0.40);
}

.calligraphy-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .calligraphy-cta-card { padding: 46px 40px; gap: 36px; }
  .calligraphy-cta-title { font-size: 36px; }
}

@media (max-width: 860px) {
  .calligraphy-cta { padding: 60px 0; }
  .calligraphy-cta-card {
    flex-direction: column;
    text-align: center;
    gap: 26px;
    padding: 42px 30px;
  }
  .calligraphy-cta-visual {
    flex: 0 0 auto;
    max-width: 200px;
  }
  .calligraphy-cta-rule { margin-left: auto; margin-right: auto; }
  .calligraphy-cta-text { margin-left: auto; margin-right: auto; }
  .calligraphy-cta-footer {
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .calligraphy-cta { padding: 48px 0; }
  .calligraphy-cta-card { padding: 36px 22px; border-radius: 20px; }
  .calligraphy-cta-visual { max-width: 160px; }
  .calligraphy-cta-title { font-size: 28px; }
  .calligraphy-cta-text { font-size: 16px; }
  .calligraphy-cta-footer-line { font-size: 18px; }
  .calligraphy-cta-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .calligraphy-cta-card {
    animation: none;
    opacity: 1;
  }
  .calligraphy-cta-ornament { animation: none; }
}

body.woocommerce-shop .inner-pages .sidebar, 
body.woocommerce-checkout .inner-pages .sidebar,
body.woocommerce-cart .inner-pages .sidebar {display:none!Important;}