/*
 * Pages N Prestige - Custom CSS Design System
 * Inspired by StoryNest Kids Publishing Layout and Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --navy: #16253A;
  --navy2: #0F1724;
  --navy3: #22344D;
  --gold: #D4AF37;
  --gold2: #E5C158;
  --gold3: #F9DF8C;
  --cream: #F8F9FB;
  --cream2: #FFFFFF;
  --cream3: #E5E7EB;
  --text: #16253A;
  --muted: #4B5563;
  --white: #fff;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--cream2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ───────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.tag-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.tag-white {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tag-cream {
  background: rgba(248, 249, 251, 0.2);
  color: var(--cream);
  border: 1px solid rgba(248, 249, 251, 0.35);
}

.sec-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
}

.sec-sub {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 540px;
}

.star-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 20px;
}

.star-rule::before,
.star-rule::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.star-rule span {
  color: var(--gold);
  font-size: .9rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
    justify-content: center;
}

.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.45);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #fff !important;
  font-weight: 500;
  font-size: .9rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all .25s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s;
}

.btn-navy:hover {
  background: var(--navy2);
  transform: translateY(-2px);
}

/* ── KEYFRAME ANIMATIONS ─────────────────────── */
@keyframes twinkle {

  0%,
  100% {
    opacity: .3;
    transform: scale(.8)
  }

  50% {
    opacity: 1;
    transform: scale(1.2)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes drift {
  0% {
    transform: translateX(0) translateY(0)
  }

  50% {
    transform: translateX(8px) translateY(-6px)
  }

  100% {
    transform: translateX(0) translateY(0)
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.fu {
  opacity: 0;
  animation: fadeUp .7s ease forwards;
}

.d1 {
  animation-delay: .1s
}

.d2 {
  animation-delay: .25s
}

.d3 {
  animation-delay: .4s
}

.d4 {
  animation-delay: .55s
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  box-shadow: 0 4px 24px rgba(22, 37, 58, 0.4);
}

.nav-in {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text .logo-a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.15;
}

.logo-text .logo-a span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: .87rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  width: 204px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.nav-cta:hover {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F1724 0%, #16253A 40%, #22344D 70%, #1a2a52 100%);
  padding: 100px 28px 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold3), var(--gold), transparent);
}

.hero-inner {
  max-width: 1410px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 360px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero left content */
.hero-tag {
  margin-bottom: 20px;
  align-self: flex-start;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 12px;
}

.hero-title .gold-word {
  color: var(--gold3);
}

.hero-gold-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold3));
  border-radius: 2px;
  margin: 18px 0 22px;
}

.hero-sub {
  color: rgba(255, 255, 255, .75);
  line-height: 1.8;
  font-size: .97rem;
  margin-bottom: 28px;
}

.hero-checks {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .88);
  font-size: .88rem;
}

.star-check {
  color: var(--gold3);
  font-size: .9rem;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero center visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-book-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  border: 3px solid rgba(212, 175, 55, 0.3);
  animation: float 4s ease-in-out infinite;
  width: 200px;
  height: 240px;
}

.hero-book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pencils {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  animation: float 4s ease-in-out infinite 1s;
  width: 200px;
  height: 100px;
}

.hero-pencils img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero form */
.hero-form {
  background: rgba(255, 255, 255, .97);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.hero-form h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}

.hf-rule {
  width: 32px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  margin: 8px auto 18px;
}

.f-row {
  margin-bottom: 12px;
}

.f-row input,
.f-row select,
.f-row textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #dde5f0;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .84rem;
  color: var(--text);
  background: #f8faff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.f-row input:focus,
.f-row select:focus,
.f-row textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  background: #fff;
}

.f-row textarea {
  resize: vertical;
  min-height: 70px;
}

.form-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--navy), var(--navy3));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .25s;
  margin-top: 6px;
  box-shadow: 0 4px 16px rgba(22, 37, 58, 0.35);
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--navy3), var(--navy2));
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(22, 37, 58, 0.45);
}

.form-note {
  font-size: .68rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

.form-note a {
  color: var(--navy);
  text-decoration: none;
}

/* ── TRUST BAR ───────────────────────────── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #e8e4da;
  box-shadow: 0 4px 20px rgba(22, 37, 58, 0.06);
}

.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid #f0eae0;
  position: relative;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold3));
  border-radius: 0 0 2px 2px;
}

.t-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 37, 58, 0.08), rgba(22, 37, 58, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.trust-item h4 {
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.trust-item p {
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── SERVICES / GRID (Section 3) ────────────────────────────── */
.services {
  padding: 80px 28px;
  background: var(--cream);
}

.services-head {
  text-align: center;
  margin-bottom: 60px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid #e8e4da;
  transition: transform .3s, box-shadow .3s;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(22, 37, 58, 0.12);
}

.svc-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.svc-card:hover .svc-img img {
  transform: scale(1.08);
}

.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(22, 37, 58, 0.65) 100%);
}

.svc-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.svc-body {
  padding: 22px;
}

.svc-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-body p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ────────────────────────── */
.how {
  padding: 80px 28px;
  background: linear-gradient(135deg, #0F1724 0%, #16253A 100%);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212, 175, 55, 0.06), transparent 70%);
}

.how-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.how-head .sec-title {
  color: #fff;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.how-connector {
  position: absolute;
  top: 48px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold3), var(--gold));
  opacity: .3;
  z-index: 0;
}

.how-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.how-num-wrap {
  position: relative;
  margin: 0 auto 22px;
  width: 64px;
  height: 64px;
}

.how-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
  position: relative;
  z-index: 1;
}

.how-num-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  animation: twinkle 2s ease-in-out infinite;
}

.how-ico {
  color: var(--gold3);
  margin-bottom: 14px;
  opacity: .9;
  font-size: 1.5rem;
}

.how-step h3 {
  font-weight: 600;
  font-size: .94rem;
  color: #fff;
  margin-bottom: 8px;
}

.how-step p {
  font-size: .81rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ── BENEFITS ────────────────────────────── */
.benefits {
  padding: 80px 28px;
  background: var(--cream2);
}

.benefits-head {
  text-align: center;
  margin-bottom: 56px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  border: 1.5px solid #e8e4da;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold3));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(22, 37, 58, 0.09);
}

.b-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 37, 58, 0.06), rgba(22, 37, 58, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: .81rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── SPLIT FEATURE (Section 4) ─────────────── */
.reading-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.rf-img {
  position: relative;
  overflow: hidden;
}

.rf-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.rf-img:hover img {
  transform: scale(1.04);
}

.rf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(22, 37, 58, 0.15) 100%);
}

.rf-content {
  background: var(--navy);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rf-content .sec-title {
  color: #fff;
  margin-bottom: 8px;
}

.rf-content .sec-sub {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.rf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.rf-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rf-star {
  color: var(--gold3);
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.rf-item div strong {
  display: block;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 2px;
}

.rf-item div span {
  font-size: .81rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

/* ── TESTIMONIALS (Section 5) ────────────────────────── */
.testimonials {
  padding: 80px 28px;
  background: var(--cream);
}

.testi-head {
  text-align: center;
  margin-bottom: 56px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: #white;
  border-radius: var(--radius);
  padding: 32px;
  border: 1.5px solid #e8e4da;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(22, 37, 58, 0.09);
}

.testi-magic {
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 7rem;
  color: rgba(212, 175, 55, 0.08);
  line-height: 1;
}

.stars {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-card blockquote {
  font-size: .87rem;
  color: #4b5563;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0eae0;
  padding-top: 18px;
}

.av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream3);
}

.ti strong {
  display: block;
  font-size: .87rem;
  color: var(--navy);
  font-weight: 600;
}

.ti span {
  font-size: .75rem;
  color: var(--gold);
  font-weight: 600;
}

/* ── FAQ ─────────────────────────────────── */
.faq {
  padding: 80px 28px;
  background: #fff;
}

.faq-head {
  text-align: center;
  margin-bottom: 52px;
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1.5px solid #ece6da;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
  transition: color .2s;
}

.faq-q:hover {
  color: var(--gold);
}

.faq-q .fi {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q.open .fi {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--navy);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease, padding .3s;
}

.faq-body.open {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-body p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 4px;
}

/* ── CTA ─────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 37, 58, 0.94) 0%, rgba(22, 37, 58, 0.94) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 90px 28px;
}

.cta-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.cta-content h2 em {
  color: var(--gold3);
  font-style: normal;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-size: .95rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--navy);
  padding: 64px 28px 28px;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: .82rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 400px;
}

.footer-socials {
  display: none;
  gap: 10px;
  margin-top: 20px;
}

.fsoc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: .75rem;
  transition: all .2s;
}

.fsoc:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55);
  font-size: .82rem;
  line-height: 1.5;
}

.fc a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.fc i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: .74rem;
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: .74rem;
  margin-left: 14px;
  transition: color .2s;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ── MODAL FORM STYLING ────────────────────── */
.modal-dialog {
  max-width: 500px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
}

.form-label-custom {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 5px;
  display: block;
}

.form-control-custom {
  border-radius: 8px;
  border: 1.5px solid #dde5f0;
  padding: 10px 12px;
  font-size: 0.88rem;
  width: 100%;
  background: #f8faff;
  outline: none;
  transition: all 0.2s;
}

.form-control-custom:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  background: #fff;
}

/* ── RESPONSIVE ──────────────────────────── */
@media(max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr 360px;
  }

  .hero-visual {
    display: none;
  }
}

@media(max-width:960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-form {
    max-width: 500px;
    margin: 0 auto;
  }

  .trust-bar-inner,
  .svc-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .how-connector {
    display: none;
  }

  .reading-feature {
    grid-template-columns: 1fr;
  }

  .rf-img {
    min-height: 300px;
  }

  .rf-content {
    padding: 56px 40px;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid #f0eae0;
  }
}

@media(max-width:600px) {
  img[src="publish-lplayout1-assets/images/logo.png"] {
        width: 84% !important;
    margin: auto;
    display: table;
  }

  .nav-cta {

    display: none;
  }

  .svc-grid,
  .benefits-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom div {
    margin-top: 10px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .rf-content {
    padding: 40px 24px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* Table Customization */
.table-responsive {
  margin-top: 2rem;
}

.table {
  border-color: rgba(22, 37, 58, 0.1);
}

.table td,
.table th {
  padding: 1.2rem;
}

/* User custom overrides */
img[src="publish-lplayout1-assets/images/logo.png"] {
  width: 30%;
  /*filter: invert(1) brightness(100);*/
}

/* ── RECENT WORK BOOK COVERS ────────────────── */
.recent-work {
  padding: 80px 28px;
  background: var(--cream2);
  overflow: hidden;
}

.recent-work-head {
  margin-bottom: 40px;
}

.covers-slider {
  margin: 0 -12px;
}

.cover-slide-item {
  padding: 15px 12px;
  outline: none;
}

.cover-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  height: 380px;
  width: 100%;
}

.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(22, 37, 58, 0.2), 0 0 15px rgba(212, 175, 55, 0.3);
  border-color: var(--gold);
}

/* Slick slider customization */
.covers-slider .slick-prev,
.covers-slider .slick-next {
  width: 45px;
  height: 45px;
  background: var(--navy);
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.covers-slider .slick-prev:hover,
.covers-slider .slick-next:hover,
.covers-slider .slick-prev:focus,
.covers-slider .slick-next:focus {
  background: var(--gold);
}

.covers-slider .slick-prev {
  left: -20px;
}

.covers-slider .slick-next {
  right: -20px;
}

.covers-slider .slick-prev::before {
  content: '←';
  font-family: inherit;
  font-size: 20px;
  color: var(--white);
}

.covers-slider .slick-next::before {
  content: '→';
  font-family: inherit;
  font-size: 20px;
  color: var(--white);
}

.covers-slider .slick-prev:hover::before,
.covers-slider .slick-next:hover::before {
  color: var(--navy);
}

@media (max-width: 768px) {
  .covers-slider .slick-prev {
    left: 5px;
  }
  .covers-slider .slick-next {
    right: 5px;
  }
}