/* Mahalaxmi Enterprises — landing page */
:root {
  --ink: #0c2a4a;
  --ink-2: #143b63;
  --sea: #1f6fb2;
  --sky: #e9f2fb;
  --salt: #fbfaf7;
  --sand: #f4f0e7;
  --gold: #e8a93a;
  --gold-2: #f6c768;
  --wa: #1fb855;
  --text: #10243d;
  --muted: #5b6b7f;
  --line: #e3e8ef;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(12, 42, 74, .06), 0 12px 32px -12px rgba(12, 42, 74, .22);
  --shadow-lg: 0 30px 60px -20px rgba(6, 22, 40, .45);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--salt); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hide-sm { }
.link { color: var(--sea); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.muted-lg { color: var(--muted); font-size: 1.06rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 .98rem/1 var(--sans); padding: .95em 1.4em; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1a00; box-shadow: 0 8px 20px -8px rgba(232, 169, 58, .8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary:hover { box-shadow: 0 12px 26px -8px rgba(232, 169, 58, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--sm { padding: .75em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1.1em 1.4em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(12,42,74,.08); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; white-space: nowrap; }
.brand small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light { color: #fff; }
.brand--light small { color: rgba(255,255,255,.6); text-transform: none; letter-spacing: 0; white-space: normal; }
.topnav { display: flex; gap: 26px; margin-left: auto; }
.topnav a { text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink); opacity: .75; }
.topnav a:hover { opacity: 1; }
.topbar__cta { display: flex; gap: 10px; align-items: center; }
.topbar__cta .btn--ghost { padding: .7em 1em; font-size: .9rem; }
.topbar__cta .btn--ghost svg { color: var(--sea); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(88, 160, 230, .45), transparent 60%), linear-gradient(165deg, #0f3560 0%, var(--ink) 55%, #081d34 100%); padding: 64px 0 120px; scroll-margin-top: 72px; }
.hero__bg { position: absolute; inset: auto 0 0 0; height: 220px; background: url(../img/hero-pans.svg) bottom center / cover no-repeat; opacity: .95; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.5px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.14rem; color: rgba(255,255,255,.82); max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .45em .95em; border-radius: 999px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(246,199,104,.25); }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: rgba(246,199,104,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23f6c768' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks--dark li::before { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231f6fb2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; margin: 24px 0; }

/* Card + form */
.card { background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.card__head { margin-bottom: 18px; }
.card__head h2 { font-size: 1.5rem; margin-bottom: .2em; }
.card__head p { color: var(--muted); font-size: .9rem; margin: 0; }
.hero__form { border-top: 4px solid var(--gold); }
.qform { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--sans); color: var(--text); background: #f7f9fc; border: 1.5px solid var(--line); border-radius: 12px; padding: .8em .9em; transition: border-color .15s, box-shadow .15s, background .15s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235b6b7f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; background-size: 16px; padding-right: 2.4em; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(31,111,178,.14); }
.field.is-invalid input { border-color: #d64545; background: #fff7f7; }
.field .err { color: #c03434; font-size: .8rem; font-weight: 600; }
.qform__alert { background: #fff1f1; color: #a42a2a; border: 1px solid #f4c7c7; padding: .7em .9em; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.qform__fine { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin: 0; }
.qform__fine svg { width: 14px; height: 14px; fill: var(--wa); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Sections */
.section { padding: 96px 0; scroll-margin-top: 72px; }
.section--tint { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p { color: var(--muted); font-size: 1.06rem; }
.section__head--light h2 { color: #fff; }
.section__head--left { text-align: left; margin: 0; }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sea) !important; margin-bottom: .8em !important; font-size: .78rem !important; }
.section--ink .kicker, .kicker--light { color: var(--gold-2) !important; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(12,42,74,.06), 0 24px 44px -16px rgba(12,42,74,.3); }
.pcard__img { aspect-ratio: 4 / 3; background: var(--sky); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { margin-bottom: .35em; }
.pcard__body p { color: var(--muted); font-size: .93rem; margin-bottom: .6em; }
.pcard__pack { font-size: .8rem !important; font-weight: 600; color: var(--ink-2) !important; background: var(--sky); padding: .35em .7em; border-radius: 8px; align-self: flex-start; }
.pcard__cta { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--sea); text-decoration: none; }
.pcard__cta span { display: inline-block; transition: transform .2s; }
.pcard:hover .pcard__cta span { transform: translateX(4px); }

/* Featured product */
.featured { padding-top: 88px; }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.featured__img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky); aspect-ratio: 4 / 3; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; }
.pack { font-size: .95rem; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feat svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky); color: var(--sea); margin-bottom: 14px; }
.feat p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Industries */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { padding: .7em 1.2em; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; background: var(--ink); color: var(--gold-2); margin-bottom: 16px; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.tcard blockquote { margin: 0 0 18px; font-size: 1rem; }
.tcard figcaption { margin-top: auto; display: flex; flex-direction: column; }
.tcard figcaption span { color: var(--muted); font-size: .88rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq__list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq__list summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231f6fb2' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details > div { padding: 0 22px 20px; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(160deg, var(--ink-2), var(--ink) 60%); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta h2 { color: #fff; }
.cta__copy > p { color: rgba(255,255,255,.8); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--gold-2); flex: none; }
.contact-list small { display: block; color: rgba(255,255,255,.55); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }

/* Thanks / prose */
.thanks { min-height: 60vh; display: grid; place-items: center; background: var(--sand); }
.thanks__box { max-width: 640px; text-align: center; padding: 48px 32px; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #e6f7ec; color: var(--wa); display: grid; place-items: center; }
.thanks__icon svg { width: 36px; height: 36px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p { color: #33475e; }

/* Footer */
.footer { background: #071a2f; color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 16px; }
.footer__note { margin-top: 16px; font-size: .92rem; max-width: 30em; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: #fff; }
.footer__base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; padding-bottom: 22px; font-size: .84rem; color: rgba(255,255,255,.5); }

/* Floating WhatsApp + mobile bar */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31,184,85,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .topnav { display: none; }
  .topbar__cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 100px; }
  .hero__grid, .featured__grid, .why, .faq, .cta__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar__in { height: 64px; gap: 12px; }
  .brand small { display: none; }
  .brand strong { font-size: 1rem; }
  .hide-sm { display: none; }
  .topbar__cta .btn--ghost span { display: none; }
  .topbar__cta .btn--ghost { padding: .7em; }
  .hero { scroll-margin-top: 64px; }
  .stat { padding: 20px 12px; }
  .stat strong { font-size: 1.45rem; }
  .ticks { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
  .card { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .pgrid, .why__grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .chips { justify-content: flex-start; }
  .wa-float { display: none; }
  body { padding-bottom: 68px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -6px 24px -8px rgba(12,42,74,.25); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .75rem; font-weight: 700; text-decoration: none; color: var(--ink); border-radius: 12px; padding: 6px 4px; }
  .mbar a svg { width: 20px; height: 20px; fill: var(--sea); }
  .mbar a.js-wa svg { fill: var(--wa); }
  .mbar__primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1a00 !important; font-size: .95rem !important; flex-direction: row !important; }
}
