/* =========================================================
   SANSKRUTI PUBLICATIONS — PREMIUM UI
   Existing content + image paths preserved
========================================================= */

:root {
  --primary: #315efb;
  --primary-dark: #2448d8;
  --violet: #7c3aed;
  --ink: #15213b;
  --muted: #68768e;
  --soft: #f6f8fd;
  --line: #e7ebf2;
  --white: #fff;
  --dark: #0b1530;
  --shadow: 0 18px 55px rgba(21, 33, 59, .09);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

img {
  max-width: 100%
}

.container {
  width: min(1180px, 92%);
  margin: auto
}

.site-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  z-index: 10000;
  transition: width .08s linear;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 235, 242, .85);
  transition: .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(21, 33, 59, .07)
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

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

.logo img {
  width: 185px;
  height: 68px;
  object-fit: contain;
  display: block
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav a {
  position: relative;
  color: #59657a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  transition: .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
  transition: .25s ease;
}

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

.nav a:hover::after,
.nav a.active::after {
  right: 0
}

.nav-enquiry {
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 12px 17px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(49, 94, 251, .22);
  transition: .25s ease;
}

.nav-enquiry:hover {
  transform: translateY(-2px);
  background: var(--primary-dark)
}

.nav-enquiry span {
  margin-left: 6px
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 5px;
  transition: .25s
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.menu-btn.open span:nth-child(2) {
  opacity: 0
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* GLOBAL TYPE */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(49, 94, 251, .10)
}

.section {
  padding: 105px 0
}

.section-head {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 48px;
}

.section-head h2,
.about-content h2 {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -2px;
}

.section-head h2 span,
.about-content h2 span {
  color: var(--primary)
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8
}

.muted {
  color: var(--muted)
}

/* HERO */
.hero {
  position: relative;
  min-height: 680px;
  padding: 88px 0 75px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(49, 94, 251, .13), transparent 27%),
    radial-gradient(circle at 20% 90%, rgba(124, 58, 237, .06), transparent 28%),
    linear-gradient(135deg, #f8faff 0%, #fff 54%, #f3f6ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(49, 94, 251, .09);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none
}

.hero-glow-one {
  width: 18px;
  height: 18px;
  right: 18%;
  top: 22%;
  background: rgba(49, 94, 251, .4);
  box-shadow: 0 0 30px rgba(49, 94, 251, .3)
}

.hero-glow-two {
  width: 9px;
  height: 9px;
  left: 10%;
  bottom: 18%;
  background: rgba(124, 58, 237, .45)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 55px;
  position: relative;
  z-index: 2
}

.hero-content {
  max-width: 660px
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 6.3vw, 78px);
  line-height: .99;
  letter-spacing: -4px;
  color: var(--ink);
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--primary)
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 31px;
  color: #5e6b82;
  font-size: 17px;
  line-height: 1.8
}

.hero-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 13px 21px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .28s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(49, 94, 251, .2)
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(49, 94, 251, .25)
}

.btn.outline {
  background: #fff;
  color: var(--primary);
  border-color: #cdd7ed
}

.btn.outline:hover {
  border-color: var(--primary);
  background: #f7f9ff;
  transform: translateY(-3px)
}

.btn.white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14)
}

.btn.white:hover {
  transform: translateY(-3px)
}

.btn.full {
  width: 100%
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #59657a;
  font-size: 12px;
  font-weight: 700
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 6px
}

.trust-row b {
  color: var(--primary)
}

.hero-book {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 510px;
  align-items: center
}

.book-image-wrap {
  position: relative;
  width: min(100%, 570px);
  height: 540px;
  display: grid;
  place-items: center
}

.book-glass {
  position: absolute;
  width: 405px;
  height: 405px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 94, 251, .12), rgba(49, 94, 251, .035) 57%, transparent 70%);
}

.book-image-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(21, 33, 59, .20));
  animation: bookFloat 5s ease-in-out infinite;
}

@keyframes bookFloat {

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

  50% {
    transform: translateY(-10px) rotate(.5deg)
  }
}

.book-orbit {
  position: absolute;
  border: 1px dashed rgba(49, 94, 251, .16);
  border-radius: 50%;
  pointer-events: none
}

.orbit-one {
  width: 430px;
  height: 430px
}

.orbit-two {
  width: 510px;
  height: 510px;
  border-color: rgba(124, 58, 237, .10)
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e8ecf4;
  padding: 12px 15px;
  border-radius: 13px;
  box-shadow: 0 15px 40px rgba(21, 33, 59, .12);
  backdrop-filter: blur(12px);
  animation: cardFloat 4s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  font-size: 12px;
  color: var(--ink)
}

.floating-card small {
  display: block;
  margin-top: 2px;
  color: #7b8698;
  font-size: 10px
}

.floating-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eef3ff;
  font-size: 17px
}

.card-one {
  left: -2px;
  top: 17%
}

.card-two {
  right: -5px;
  bottom: 16%;
  animation-delay: -1.7s
}

@keyframes cardFloat {

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

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

/* CARDS */
.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.card {
  position: relative;
  padding: 31px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(26, 43, 77, .045);
  overflow: hidden;
  transition: .3s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: #dce3f2
}

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

.icon {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef3ff;
  font-size: 25px;
  margin-bottom: 22px;
  transition: .3s ease;
}

.card:hover .icon {
  transform: scale(1.08) rotate(-3deg)
}

.card-number {
  position: absolute;
  right: 24px;
  top: 24px;
  color: #dfe6f4;
  font-size: 12px;
  font-weight: 900
}

.card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  margin-bottom: 9px
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75
}

.card-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  margin-top: 20px;
}

.card-link span,
.text-link span {
  transition: .25s
}

.card-link:hover span,
.text-link:hover span {
  transform: translateX(5px)
}

/* ABOUT */
.about-publications {
  background: #f7f9fc;
  position: relative;
  overflow: hidden
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 75px
}

.about-content {
  max-width: 620px
}

.about-content h2 {
  margin-bottom: 23px
}

.about-intro {
  font-size: 17px;
  color: #3e4b63;
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 14px
}

.about-content .muted {
  font-size: 14px;
  line-height: 1.8
}

.about-points {
  display: grid;
  gap: 13px;
  margin-top: 28px
}

.about-point {
  display: flex;
  align-items: center;
  gap: 14px
}

.point-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.about-point h4 {
  font-size: 14px;
  margin-bottom: 2px
}

.about-point p {
  font-size: 12px;
  color: #7a8496
}

.publications-visual {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center
}

.visual-background {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 94, 251, .12), rgba(49, 94, 251, .03) 58%, transparent 72%);
}

.visual-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: .5;
  background-image: linear-gradient(rgba(49, 94, 251, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 94, 251, .06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, black, transparent 70%);
}

.books-image {
  position: relative;
  z-index: 2;
  width: min(100%, 570px);
  display: flex;
  justify-content: center
}

.books-image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 25px 28px rgba(21, 33, 59, .13));
  transition: .45s ease
}

.books-image img:hover {
  transform: translateY(-9px)
}

.publication-label {
  position: absolute;
  z-index: 4;
  left: 5px;
  top: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e6eaf1;
  box-shadow: 0 12px 28px rgba(21, 33, 59, .08);
  border-radius: 10px;
}

.label-line {
  width: 4px;
  height: 32px;
  border-radius: 5px;
  background: var(--primary)
}

.publication-label strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1px
}

.publication-label small {
  display: block;
  margin-top: 2px;
  color: #7a8496;
  font-size: 9px;
  letter-spacing: 2px
}

.edition-info {
  position: absolute;
  right: 2px;
  bottom: 58px;
  z-index: 4;
  padding: 14px 17px;
  background: var(--ink);
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(21, 33, 59, .16)
}

.edition-info strong {
  display: block;
  color: #fff;
  font-size: 12px
}

.edition-info span {
  display: block;
  margin-top: 3px;
  color: #c8d1e2;
  font-size: 9px
}

/* ==========================================================
   CATALOGUE
========================================================== */

.catalogue {
    background: #fff;
}


/* ==========================================================
   BOOK GRID
========================================================== */

.books-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}


/* ==========================================================
   COMPACT BOOK CARD
========================================================== */

.book-card {
    position: relative;

    min-width: 0;
    height: 250px;

    background: #fff;

    border: 1px solid #e5eaf2;
    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(26, 43, 77, .07);

    cursor: pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.book-card:hover {
    transform: translateY(-6px);

    border-color: #d6dfef;

    box-shadow:
        0 18px 38px rgba(26, 43, 77, .14);
}


/* ==========================================================
   BOOK IMAGE
========================================================== */

.book-image {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #f8faff,
            #edf2f8
        );
}


/* ==========================================================
   BOOK COVER
========================================================== */

.book-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    padding: 12px;

    display: block;

    transition:
        transform .55s cubic-bezier(.22, .61, .36, 1),
        filter .4s ease;
}


/* Image zoom */

.book-card:hover .book-image img {
    transform: scale(1.07);
}


/* ==========================================================
   BOOK NUMBER
========================================================== */

.book-number {
    position: absolute;

    z-index: 5;

    top: 12px;
    left: 12px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255,255,255,.94);

    color: var(--primary);

    font-size: 9px;
    font-weight: 900;

    box-shadow:
        0 6px 18px rgba(21,33,59,.15);

    transition:
        transform .3s ease,
        opacity .3s ease;
}


.book-card:hover .book-number {
    transform: translateY(-5px);
    opacity: .15;
}


/* ==========================================================
   HOVER TEXT OVERLAY
========================================================== */

.book-image-overlay {
    position: absolute;

    inset: 0;

    z-index: 4;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    align-items: flex-start;

    padding: 22px;

    background:
        linear-gradient(
            to top,
            rgba(7,18,40,.94) 0%,
            rgba(7,18,40,.72) 35%,
            rgba(7,18,40,.18) 70%,
            transparent 100%
        );

    opacity: 0;

    transform: translateY(12px);

    transition:
        opacity .35s ease,
        transform .4s ease;
}


/* Show text on hover */

.book-card:hover .book-image-overlay {
    opacity: 1;

    transform: translateY(0);
}


/* ==========================================================
   OVERLAY TEXT
========================================================== */

.book-image-overlay .overlay-type {
    margin-bottom: 5px;

    color: #9fb8ff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.book-image-overlay h3 {
    margin: 0 0 5px;

    color: #fff;

    font-family: "Manrope", sans-serif;

    font-size: 21px;

    line-height: 1.2;

    font-weight: 800;
}


.book-image-overlay p {
    margin: 0 0 13px;

    color: rgba(255,255,255,.72);

    font-size: 10px;

    line-height: 1.45;
}


/* ==========================================================
   OVERLAY LINK
========================================================== */

.book-image-overlay a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #fff;

    text-decoration: none;

    font-size: 10px;

    font-weight: 800;

    transition:
        gap .25s ease;
}


.book-image-overlay a span {
    font-size: 14px;
}


.book-image-overlay a:hover {
    gap: 11px;
}


/* ==========================================================
   HIDE NORMAL CONTENT
========================================================== */

.book-content {
    display: none;
}


/* ==========================================================
   VIEW ALL
========================================================== */

.center {
    text-align: center;

    margin-top: 38px;
}


/* ==========================================================
   LARGE LAPTOP
========================================================== */

@media (max-width: 1200px) {

    .books-preview {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }

    .book-card {
        height: 235px;
    }

    .book-image-overlay {
        padding: 18px;
    }

    .book-image-overlay h3 {
        font-size: 18px;
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .books-preview {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .book-card {
        height: 250px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .books-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .book-card {
        height: 215px;

        border-radius: 13px;
    }

    .book-image img {
        padding: 8px;
    }

    .book-number {
        top: 8px;
        left: 8px;

        width: 25px;
        height: 25px;

        font-size: 8px;
    }

    /*
       Mobile does not use hover.
       Show the title permanently.
    */

    .book-image-overlay {
        opacity: 1;

        transform: translateY(0);

        padding: 13px;

        background:
            linear-gradient(
                to top,
                rgba(7,18,40,.94),
                rgba(7,18,40,.35) 55%,
                transparent 100%
            );
    }

    .book-image-overlay .overlay-type {
        font-size: 7px;

        letter-spacing: 1px;

        margin-bottom: 3px;
    }

    .book-image-overlay h3 {
        font-size: 15px;

        margin-bottom: 3px;
    }

    .book-image-overlay p {
        font-size: 8px;

        margin-bottom: 7px;
    }

    .book-image-overlay a {
        font-size: 8px;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

    .books-preview {
        gap: 10px;
    }

    .book-card {
        height: 190px;
    }

    .book-image-overlay {
        padding: 11px;
    }

    .book-image-overlay h3 {
        font-size: 13px;
    }

    .book-image-overlay p {
        font-size: 7px;
    }

    .book-image-overlay a {
        font-size: 7px;
    }

}
/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #15213b, #162d63);
  color: #fff;
  padding: 72px 0
}

.cta::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -220px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.eyebrow.light {
  color: #aebfff
}

.cta h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.1;
  margin: 5px 0 10px
}

.cta p {
  color: #c0cbe0;
  font-size: 14px
}

/* FOOTER */
.footer {
  background: #0a142d;
  color: #aeb9cf;
  padding: 60px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 55px
}

.footer-logo img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95
}

.footer-brand p {
  max-width: 400px;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 14px
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px
}

.footer a:not(.logo) {
  display: block;
  color: #aeb9cf;
  text-decoration: none;
  font-size: 13px;
  margin: 8px 0;
  transition: .2s
}

.footer a:not(.logo):hover {
  color: #fff;
  transform: translateX(3px)
}

.footer p {
  font-size: 13px;
  margin: 8px 0
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px
}

.footer-socials a {
  width: 32px;
  height: 32px !important;
  display: grid !important;
  place-items: center;
  border: 1px solid #293753;
  border-radius: 9px;
  color: #dbe3f2 !important;
  font-size: 11px !important;
}

.copyright {
  text-align: center;
  border-top: 1px solid #202f4b;
  margin-top: 45px;
  padding: 20px;
  font-size: 11px;
  color: #8290a9
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 40, .72);
  backdrop-filter: blur(7px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal.open {
  display: flex;
  animation: modalFade .22s ease
}

.modal-box {
  position: relative;
  width: min(570px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .30);
  animation: modalSlide .28s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef2f8;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  transition: .2s
}

.modal-close:hover {
  background: var(--primary);
  color: #fff
}

.modal-heading h2 {
  font-family: "Manrope", sans-serif;
  font-size: 31px;
  margin: -4px 0 5px
}

.modal-heading p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px
}

label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #33415c;
  margin: 11px 0
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dce2ed;
  border-radius: 10px;
  padding: 13px 14px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  transition: .2s
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(49, 94, 251, .08)
}

textarea {
  resize: vertical;
  min-height: 110px
}

.form-status {
  margin-top: 12px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 800
}

@keyframes modalFade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(25px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.reveal-delay {
  transition-delay: .10s
}

.reveal-delay-2 {
  transition-delay: .18s
}

/* RESPONSIVE */
@media(max-width:1000px) {
  .nav {
    gap: 20px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center
  }

  .hero-content {
    max-width: 760px;
    margin: auto
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto
  }

  .hero-actions,
  .trust-row {
    justify-content: center
  }

  .hero-book {
    min-height: 470px
  }

  .book-image-wrap {
    max-width: 510px
  }

  .card-one {
    left: 0
  }

  .card-two {
    right: 0
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .about-content {
    text-align: center;
    max-width: 760px;
    margin: auto
  }

  .about-points {
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto
  }

  .about-content .text-link {
    justify-content: center
  }

  .publications-visual {
    min-height: 470px
  }

  .publication-label {
    left: 3%
  }

  .edition-info {
    right: 3%
  }
}

@media(max-width:850px) {
  .nav {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 70px;
    background: #fff;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 18px 45px rgba(21, 33, 59, .12);
    flex-direction: column;
    align-items: stretch;
    gap: 3px
  }

  .nav.show {
    display: flex
  }

  .nav a {
    padding: 11px 10px;
    border-radius: 8px
  }

  .nav a:hover,
  .nav a.active {
    background: #f5f7ff
  }

  .nav a::after {
    display: none
  }

  .nav-enquiry {
    margin-top: 5px
  }

  .menu-btn {
    display: block
  }

  .cards.three,
  .books-preview {
    grid-template-columns: 1fr
  }

  .book-mini {
    max-width: 400px;
    margin: auto;
    width: 100%
  }

  .cover {
    height: 440px
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start
  }

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

@media(max-width:600px) {
  .container {
    width: min(92%, 520px)
  }

  .nav-wrap {
    min-height: 68px
  }

  .logo img {
    width: 155px;
    height: 58px
  }

  .hero {
    padding: 60px 0 55px
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px
  }

  .hero-lead {
    font-size: 15px
  }

  .hero-actions {
    flex-direction: column
  }

  .btn {
    width: 100%
  }

  .trust-row {
    flex-direction: column;
    align-items: center;
    gap: 8px
  }

  .hero-book {
    min-height: 380px
  }

  .book-image-wrap {
    height: 390px
  }

  .book-image-wrap img {
    height: 390px
  }

  .book-glass {
    width: 290px;
    height: 290px
  }

  .book-orbit.orbit-one {
    width: 300px;
    height: 300px
  }

  .book-orbit.orbit-two {
    width: 355px;
    height: 355px
  }

  .floating-card {
    display: none
  }

  .section {
    padding: 75px 0
  }

  .section-head h2,
  .about-content h2 {
    font-size: 38px;
    letter-spacing: -1.4px
  }

  .publications-visual {
    min-height: 380px
  }

  .visual-background {
    width: 300px;
    height: 300px
  }

  .books-image img {
    height: 360px
  }

  .publication-label {
    top: 30px;
    left: 0
  }

  .edition-info {
    right: 0;
    bottom: 12px
  }

  .cover {
    height: 430px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .modal-box {
    padding: 29px 20px
  }

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

  .copyright {
    margin-top: 30px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}
