/* =========================================================
   Metamalistic Publishers - Home (standalone styles, prefix mp-)
   Purani CSS se takrata nahi. Colors yahan badal sakte hain.
   ========================================================= */
.mp-home {
    --red: #ec4a3c;
    --red-dark: #d23a2d;
    --red-soft: #fdeeec;
    --navy: #0e1a35;
    --navy-2: #16264a;
    --ink: #0e1a35;
    --muted: #5d6678;
    --bg: #f7f8fb;
    --line: #e8ebf2;
    --radius: 22px;
    color: var(--ink);
    overflow-x: hidden;
}
.mp-home *, .mp-home *::before, .mp-home *::after { box-sizing: border-box; }
.mp-home img { max-width: 100%; display: block; }
.mp-home h1, .mp-home h2, .mp-home h3, .mp-home h4, .mp-home h5, .mp-home p, .mp-home ul { margin: 0; padding: 0; }
.mp-home ul { list-style: none; }

.mp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.mp-sec { padding: 96px 0; }
.mp-sec--soft { background: var(--bg); }
.mp-sec--dark { background: var(--navy); color: #fff; }
@media (max-width: 900px) { .mp-sec { padding: 64px 0; } }

/* ---------- type ---------- */
.mp-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}
.mp-sec--dark .mp-eyebrow, .mp-hero .mp-eyebrow { color: #ff8a7f; }
.mp-h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.mp-h22 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: #ffffff; }
.mp-h2 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.mp-lead { color: var(--muted); font-size: 17px; line-height: 1.7; margin-top: 16px; }
.mp-sec--dark .mp-lead { color: #b9c3d9; }
.mp-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 18px !important; }
.mp-sec--dark .mp-note { color: #94a1bd; }
.mp-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }

/* ---------- buttons ---------- */
.mp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px;
    font-size: 14px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    text-decoration: none !important; cursor: pointer; border: 2px solid transparent;
    transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.mp-btn:hover { transform: translateY(-2px); }
.mp-btn--red { background: var(--red); color: #fff !important; box-shadow: 0 10px 24px rgba(236,74,60,.3); }
.mp-btn--red:hover { background: var(--red-dark); }
.mp-btn--ghost { border-color: rgba(255,255,255,.4); color: #fff !important; background: transparent; }
.mp-btn--ghost:hover { background: rgba(255,255,255,.1); }
.mp-btn--line { border-color: var(--line); color: var(--ink) !important; background: #fff; }
.mp-btn--line:hover { border-color: var(--ink); }
.mp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- hero ---------- */
.mp-hero {
    background:
        radial-gradient(900px 500px at 85% 0%, rgba(236,74,60,.28), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(60,100,200,.25), transparent 60%),
        var(--navy);
    color: #fff;
    padding: 90px 0 100px;
}
.mp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.mp-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.mp-hero h1 em { font-style: normal; color: #ff6a5c; }
.mp-hero .mp-lead { color: #c4cde2; max-width: 520px; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mp-chips span {
    font-size: 13px; padding: 8px 16px; border-radius: 999px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #e6ebf7;
}
.mp-form-card {
    background: #fff; color: var(--ink);
    border-radius: 26px; padding: 34px;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.mp-form-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.mp-form-card .sub { font-size: 13px; color: var(--muted); margin: 6px 0 20px; line-height: 1.5; }
.mp-form-card input[type=text], .mp-form-card input[type=email], .mp-form-card input[type=tel], .mp-form-card textarea {
    width: 100%; display: block; margin: 0 0 12px;
    padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
    background: var(--bg); font-size: 15px; font-family: inherit; color: var(--ink);
    transition: border .2s, background .2s;
}
.mp-form-card textarea { min-height: 96px; resize: vertical; }
.mp-form-card input:focus, .mp-form-card textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.mp-form-card label { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; line-height: 1.5; color: var(--muted); margin: 4px 0 16px; }
.mp-form-card label input { margin-top: 3px; flex: none; }
.mp-form-card label a { color: var(--ink); text-decoration: underline; }
.mp-form-card input[type=submit] {
    width: 100%; border: 0; border-radius: 999px; padding: 16px;
    background: var(--red); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    cursor: pointer; transition: background .2s, transform .2s;
}
.mp-form-card input[type=submit]:hover { background: var(--red-dark); transform: translateY(-2px); }
@media (max-width: 900px) {
    .mp-hero { padding: 56px 0 64px; }
    .mp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .mp-form-card { padding: 26px; }
}

/* ---------- split (about / marketing) ---------- */
.mp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.mp-split--rev .mp-split-media { order: 2; }
.mp-media {
    position: relative; border-radius: 32px; padding: 28px;
    background: linear-gradient(135deg, var(--red-soft), #eef2fb);
}
.mp-media img { border-radius: 20px; width: 100%; box-shadow: 0 20px 40px rgba(14,26,53,.15); }
.mp-sec--dark .mp-media { background: rgba(255,255,255,.06); }
.mp-ticks { margin-top: 24px; display: grid; gap: 14px; }
.mp-ticks li { position: relative; padding-left: 36px; line-height: 1.5; }
.mp-ticks li::before {
    content: "\2713"; position: absolute; left: 0; top: 0;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
    .mp-split { grid-template-columns: 1fr; gap: 36px; }
    .mp-split--rev .mp-split-media { order: 0; }
}

/* ---------- services ---------- */
.mp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mp-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mp-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(14,26,53,.1); border-color: transparent; }
.mp-card .no { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.mp-card h5 { font-size: 20px; font-weight: 700; margin: 14px 0 10px; }
.mp-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .mp-cards { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .mp-cards { grid-template-columns: 1fr 1fr; } }

/* ---------- books showcase ---------- */
.mp-showcase-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.mp-showcase-top > div { max-width: 600px; }
.mp-books { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mp-books a { display: block; transition: transform .3s; }
.mp-books a:nth-child(even) { margin-top: 28px; }
.mp-books a:hover { transform: translateY(-8px); }
.mp-books img { width: 100%; border-radius: 10px; box-shadow: 0 18px 36px rgba(0,0,0,.35); }
@media (max-width: 900px) {
    .mp-books { grid-template-columns: repeat(3, 1fr); }
    .mp-books a:nth-child(even) { margin-top: 0; }
}

/* ---------- process ---------- */
.mp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.mp-step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.mp-step::before {
    content: ""; position: absolute; top: -7px; left: 0;
    width: 12px; height: 12px; border-radius: 50%; background: var(--red);
    box-shadow: 0 0 0 5px var(--red-soft);
}
.mp-step .no { font-size: 44px; font-weight: 800; color: #e3e7f0; line-height: 1; letter-spacing: -.03em; }
.mp-step h5 { font-size: 19px; font-weight: 700; margin: 12px 0 8px; }
.mp-step p { color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .mp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mp-steps { grid-template-columns: 1fr; } }

/* ---------- genres + formats ---------- */
.mp-genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 820px; margin: 0 auto; }
.mp-genres span {
    padding: 12px 24px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
    font-weight: 600; font-size: 15px; transition: all .2s;
}
.mp-genres span:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.mp-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.mp-format {
    border-radius: var(--radius); padding: 32px; color: #fff;
    background: linear-gradient(145deg, var(--navy), var(--navy-2));
}
.mp-format:nth-child(2) { background: linear-gradient(145deg, var(--red), #f2705f); }
.mp-format h5 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: #ffffff; }
.mp-format p { font-size: 15px; line-height: 1.6; opacity: .85; color: #ffffff; }
@media (max-width: 900px) { .mp-formats { grid-template-columns: 1fr; } }

/* ---------- audiobooks ---------- */
.mp-audio-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.mp-audio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mp-audio-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; text-align: center; box-shadow: 0 10px 26px rgba(14,26,53,.06); }
.mp-audio-card img { border-radius: 10px; width: 100%; }
.mp-audio-card h6 { font-size: 14px; font-weight: 700; margin: 12px 0 2px; }
.mp-audio-card p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.mp-audio-card audio { width: 100%; height: 34px; }
@media (max-width: 900px) {
    .mp-audio-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) { .mp-audio-cards { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.mp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.mp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; transition: box-shadow .2s; }
.mp-faq details[open] { box-shadow: 0 14px 30px rgba(14,26,53,.08); }
.mp-faq summary {
    list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--red); transition: transform .2s; }
.mp-faq details[open] summary::after { transform: rotate(45deg); }
.mp-faq details p { padding: 0 0 22px; color: var(--muted); line-height: 1.7; }

/* ---------- map ---------- */
.mp-map { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 28px; margin-top: 48px; }
.mp-map img { width: 100%; border-radius: 18px; }

/* ---------- final CTA ---------- */
.mp-cta {
    background: linear-gradient(120deg, var(--red), #f2705f);
    border-radius: 36px; padding: 70px 40px; text-align: center; color: #fff;
}
.mp-cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.mp-cta p { max-width: 560px; margin: 16px auto 0; opacity: .92; line-height: 1.7; }
.mp-cta .mp-btn-row { justify-content: center; }
.mp-cta .mp-btn--white { background: #fff; color: var(--red) !important; }
.mp-cta .mp-btn--ghost { border-color: rgba(255,255,255,.7); }
.mp-cta-wrap { padding: 0 0 96px; }
@media (max-width: 900px) { .mp-cta { padding: 48px 24px; border-radius: 26px; } .mp-cta-wrap { padding-bottom: 64px; } }

body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}


/* Fix consultation form textarea alignment only */
.mp-home .mp-form-card .form-get-quote textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Keep checkbox consent below the textarea */
.mp-home .mp-form-card .form-get-quote > label {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    box-sizing: border-box !important;
}
