/* ==========================================================================
   NJ Book Services - OFFICIAL REPLICA STYLESHEET
   Accurate color grading, typography, fluid layouts & interactive components
   ========================================================================== */

:root {
  --primary: #b6975b;
  --primary-hover: #a2a9b0;
  --primary-dark: #5d6b79;
  --primary-light: #f9f7f1;
  --accent-gold: #d4af37;
  --accent-warm: #e59d23;
  --bg-slate: #5d6b79;
  --bg-hero-overlay: rgba(14, 32, 50, 0.78);
  --bg-dark: #0e2032;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-soft: #f9f7f1;
  --text-dark: #0e2032;
  --text-muted: #5d6b79;
  --text-light: #f9f7f1;
  --border-light: rgba(182, 151, 91, 0.22);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 25px rgba(182, 151, 91, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1440px;
}

/* Base Reset & Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-slate);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Utilities */
.container {
  width: min(var(--container-width), calc(100% - 36px));
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, calc(100% - 32px));
  margin-inline: auto;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.color-primary {
  color: var(--primary);
}
.color-accent {
  color: var(--accent-gold);
}
.text-light {
  color: var(--text-light);
}
.text-muted {
  color: var(--text-muted);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(182, 151, 91, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(182, 151, 91, 0.45);
}

.btn-secondary {
  background: #0e2032;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #d4af37, #f3cf65);
  color: #0e2032;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #c49f2b, #e0bc50);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--bg-dark);
}

/* Header & Top Bar */
.top-notice-bar {
  background: #0e2032;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-contact a:hover {
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 247, 241, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #b6975b, #5d6b79);
  border-radius: 12px 12px 12px 2px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(182, 151, 91, 0.35);
  transform: rotate(-3deg);
  transition: var(--transition);
}

.brand-logo:hover .brand-emblem {
  transform: rotate(0deg) scale(1.05);
}

.brand-words {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0e2032;
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0e2032;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}

.nav-links li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: var(--radius-sm);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #1e354c !important;
  text-transform: none !important;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark) !important;
  transform: translateX(4px);
}

.dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(182, 151, 91, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0e2032;
}

.phone-badge:hover {
  color: var(--primary);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: #0e2032;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  background: #ffffff;
  z-index: 1200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  overflow-y: auto;
  padding: 24px;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #555;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu-list a {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  display: block;
  padding: 8px 0;
}

.mobile-menu-list a:hover {
  color: var(--primary);
}

.mobile-contact-block {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14, 32, 50, 0.88), rgba(14, 32, 50, 0.94)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%232c3725" width="100" height="100"/><path d="M0 0l50 50L0 100z" fill="%23273121" opacity="0.3"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 70px 0 90px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(182, 151, 91, 0.28) 0%,
    rgba(182, 151, 91, 0) 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1040px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(182, 151, 91, 0.22);
  border: 1px solid rgba(182, 151, 91, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f9f7f1;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

/* Hero Form Container */
.hero-form-wrapper {
  background: rgba(14, 32, 50, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(182, 151, 91, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  max-width: 960px;
  margin-inline: auto;
}

.hero-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 10px 14px;
  background: #ffffff;
  color: #0e2032;
  border: 1px solid #e5dcca;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(182, 151, 91, 0.25);
}

.consent-row {
  grid-column: 1 / -1;
  margin-top: 8px;
  text-align: left;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.consent-label a {
  color: #e5dcca;
  text-decoration: underline;
}

.form-submit-row {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.form-submit-row .btn {
  width: 100%;
  height: 52px;
  font-size: 1.05rem;
}

/* Trust Metric Bar */
.trust-metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(182, 151, 91, 0.2);
  border: 1px solid rgba(182, 151, 91, 0.4);
  color: #e5dcca;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.metric-text {
  text-align: left;
  line-height: 1.25;
}

.metric-text strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
}

.metric-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   FEATURED MEDIA TICKER
   ========================================================================== */
.featured-media-bar {
  background: #0e2032;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.media-ticker-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

.media-ticker-track:hover {
  animation-play-state: paused;
}

.media-logo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0.7;
  transition: var(--transition);
}

.media-logo-card:hover {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.05);
}

.media-badge-icon {
  font-size: 1rem;
  color: var(--primary);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   HOW WE WORK SECTION
   ========================================================================== */
.how-we-work-section {
  padding: 85px 0;
  background: #ffffff;
}

.how-we-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.work-visual-card {
  position: relative;
  background: linear-gradient(135deg, #1e354c, #0e2032);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.work-visual-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(182, 151, 91, 0.25) 0%,
    transparent 70%
  );
}

.book-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stack-item:hover {
  background: rgba(182, 151, 91, 0.18);
  border-color: rgba(182, 151, 91, 0.4);
  transform: translateX(6px);
}

.stack-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.stack-info strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.stack-info span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}

.work-content-box {
  padding-left: 10px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0e2032;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ==========================================================================
   DISTRIBUTORS SHOWCASE
   ========================================================================== */
.distributors-section {
  padding: 70px 0;
  background: #f9f7f1;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.distributor-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.distributor-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.distributor-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(182, 151, 91, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.distributor-name {
  font-weight: 700;
  font-size: 1rem;
  color: #0e2032;
}

.distributor-role {
  font-size: 0.78rem;
  color: #5d6b79;
}

/* ==========================================================================
   OUR SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 95px 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5dcca;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

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

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(182, 151, 91, 0.16),
    rgba(182, 151, 91, 0.05)
  );
  border: 1px solid rgba(182, 151, 91, 0.25);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0e2032;
}

.service-description {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ==========================================================================
   AMAZON A+ CONTENT FEATURE BANNER
   ========================================================================== */
.a-plus-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0e2032, #1e354c);
  color: #ffffff;
  position: relative;
}

.a-plus-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.a-plus-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.a-feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.a-feature-pill svg {
  color: #e5dcca;
  flex-shrink: 0;
}

.a-plus-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.a-plus-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #0e2032;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-section {
  padding: 95px 0;
  background: #f9f7f1;
}

.portfolio-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 45px;
}

.tab-btn {
  background: #ffffff;
  color: #1e354c;
  border: 1px solid #e5dcca;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(182, 151, 91, 0.3);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.book-card {
  perspective: 1000px;
  transition: var(--transition);
}

.book-cover-wrap {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #ffffff;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.book-card:hover .book-cover-wrap {
  transform: translateY(-8px) rotateY(-4deg);
  box-shadow: -10px 22px 40px rgba(0, 0, 0, 0.25);
}

.book-spine-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.02) 80%,
    rgba(0, 0, 0, 0.2)
  );
  z-index: 2;
  pointer-events: none;
}

.book-tag {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
}

.book-details {
  z-index: 3;
}

.book-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.book-author {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
}

/* Individual Book Cover Palettes */
.cover-1 {
  background: linear-gradient(135deg, #1b263b, #0d1b2a);
}
.cover-2 {
  background: linear-gradient(135deg, #780000, #c1121f);
}
.cover-3 {
  background: linear-gradient(135deg, #1e354c, #5d6b79);
}
.cover-4 {
  background: linear-gradient(135deg, #3a0ca3, #4361ee);
}
.cover-5 {
  background: linear-gradient(135deg, #d4a373, #a98467);
}
.cover-6 {
  background: linear-gradient(135deg, #2b2d42, #8d99ae);
}
.cover-7 {
  background: linear-gradient(135deg, #582f0e, #7f4f24);
}
.cover-8 {
  background: linear-gradient(135deg, #5d6b79, #b6975b);
}

/* ==========================================================================
   OUR PROCESS SECTION (5-STEP)
   ========================================================================== */
.process-section {
  padding: 95px 0;
  background: #ffffff;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
}

.process-card {
  background: #f9f7f1;
  border: 1px solid #e5dcca;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0e2032;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mid CTA Banner */
.cta-banner-strip {
  margin-top: 60px;
  background: linear-gradient(135deg, #0e2032, #1e354c);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  color: #ffffff;
}

.cta-banner-strip h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

.cta-banner-strip p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CLIENT REVIEWS / TESTIMONIALS SLIDER
   ========================================================================== */
.reviews-section {
  padding: 95px 0;
  background: #f9f7f1;
  position: relative;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 45px auto 0;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  transition: transform 0.45s ease-in-out;
}

.review-slide {
  min-width: 100%;
  padding: 10px;
}

.review-card-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 45px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.stars-rating {
  display: flex;
  gap: 6px;
  color: var(--accent-warm);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.review-quote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #333;
  font-style: italic;
  margin-bottom: 28px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.reviewer-avatar-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b6975b, #5d6b79);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.reviewer-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: #0e2032;
}

.reviewer-role {
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5dcca;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5dcca;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 6px;
}

/* ==========================================================================
   FAQ & 50% OFF PROMO SECTION
   ========================================================================== */
.faq-promo-section {
  padding: 95px 0;
  background: #ffffff;
}

.faq-promo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 45px;
  align-items: flex-start;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid #e5dcca;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: #ffffff;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(182, 151, 91, 0.15);
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #0e2032;
  transition: var(--transition);
}

.faq-header:hover {
  color: var(--primary);
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(182, 151, 91, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 22px;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 22px 20px;
}

.faq-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 50% Off Promo Form Card */
.promo-quote-card {
  background: linear-gradient(145deg, #0e2032, #0e2032);
  border: 2px solid rgba(182, 151, 91, 0.45);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 105px;
}

.promo-badge-header {
  text-align: center;
  margin-bottom: 24px;
}

.promo-tag {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 2rem;
  padding: 4px 20px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.promo-subtag {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f9f7f1;
  margin-top: 6px;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-input-group {
  position: relative;
}

.promo-input-group input,
.promo-input-group textarea,
.promo-input-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.promo-input-group input:focus,
.promo-input-group textarea:focus,
.promo-input-group select:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.14);
}

.promo-input-group input::placeholder,
.promo-input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0e2032;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-list a:hover {
  color: var(--primary);
  padding-left: 5px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.legal-disclosure {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
}

/* ==========================================================================
   MODAL WINDOW ("GET A QUOTE")
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #777;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #111;
}

/* ==========================================================================
   INTERACTIVE LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(182, 151, 91, 0.4);
  transition: var(--transition);
}

.live-chat-trigger:hover {
  background: var(--primary-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(182, 151, 91, 0.55);
}

.chat-bubble-ping {
  width: 10px;
  height: 10px;
  background: #f9f7f1;
  border-radius: 50%;
  box-shadow: 0 0 8px #f9f7f1;
}

.live-chat-window {
  position: fixed;
  bottom: 95px;
  right: 28px;
  width: 360px;
  height: 480px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
  overflow: hidden;
}

.live-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: linear-gradient(135deg, #0e2032, #0e2032);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.agent-status strong {
  display: block;
  font-size: 0.95rem;
}

.agent-status span {
  font-size: 0.72rem;
  color: #e5dcca;
}

.chat-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.chat-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9f7f1;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg.agent {
  background: #ffffff;
  color: #222;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #e5dcca;
}

.chat-msg.user {
  background: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.quick-btn {
  background: #ffffff;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.quick-btn:hover {
  background: var(--primary);
  color: #fff;
}

.chat-input-area {
  padding: 12px;
  background: #ffffff;
  border-top: 1px solid #e5dcca;
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex-grow: 1;
  padding: 9px 12px;
  border: 1px solid #e5dcca;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
}

.chat-send-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0e2032;
  color: #ffffff;
  border-left: 5px solid var(--primary);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notice.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 991px) {
  .nav-links,
  .top-notice-bar .top-bar-contact {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .how-we-work-grid,
  .a-plus-box,
  .faq-promo-grid {
    grid-template-columns: 1fr;
  }

  .promo-quote-card {
    position: static;
  }
}

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

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

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

  .live-chat-window {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 85px;
  }

  .live-chat-trigger {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}
