/* Getnomik Diwali landing page. Mobile first, plain CSS. */

:root {
  --maroon: #5b0e2d;
  --maroon-d: #3a0820;
  --maroon-dd: #260514;
  --plum: #7a1240;
  --pink: #d6336c;
  --saffron: #f28c0f;
  --saffron-d: #d97706;
  --gold: #f5c451;
  --gold-l: #ffe9a8;
  --cream: #fff8ec;
  --cream-2: #fff1d9;
  --ink: #2a1320;
  --muted: #6b5560;
  --line: #ecdcc4;
  --wa: #138a43;
  --wa-d: #0e6e35;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(91, 14, 45, 0.12);
  --shadow-lg: 0 18px 44px rgba(91, 14, 45, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Poppins", "Noto Sans Devanagari", "Noto Sans Gujarati", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  padding-bottom: 76px; /* room for the sticky bar on phones */
}

html[lang="hi"] body, html[lang="gu"] body { line-height: 1.75; }

img, svg { max-width: 100%; }
a { color: var(--maroon); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.wrap--narrow { max-width: 680px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- festive lights ---------- */
.lights {
  position: relative; z-index: 60; height: 16px; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0 6px; overflow: hidden; background: var(--maroon-dd); border-bottom: 1px solid rgba(245, 196, 81, 0.35);
}
.lights span {
  width: 8px; height: 10px; margin-top: 2px; border-radius: 50% 50% 55% 55%;
  box-shadow: 0 0 8px 2px rgba(255, 211, 107, 0.7);
  animation: twinkle 2.2s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(58, 8, 32, 0.96); backdrop-filter: blur(6px); color: var(--white); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 62px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--maroon); }
.brand__badge {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 12px;
  background: var(--white); border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.brand__badge--sm { min-height: 36px; }
.brand__logo { display: block; height: 34px; width: auto; max-width: 160px; }
.brand__badge--sm .brand__logo { height: 28px; }
.brand__name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; color: var(--maroon); }

.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; overflow: hidden; }
.lang__btn {
  background: transparent; color: var(--white); border: 0; padding: 8px 14px; font: inherit; font-size: 0.85rem;
  cursor: pointer; min-width: 46px; min-height: 40px;
}
.lang__btn + .lang__btn { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.lang__btn.is-on { background: var(--gold); color: var(--maroon-d); font-weight: 700; }
.lang__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white); padding: 40px 0 52px;
  background:
    radial-gradient(700px 360px at 90% -8%, rgba(214, 51, 108, 0.42), transparent 62%),
    radial-gradient(640px 360px at 0% 105%, rgba(242, 140, 15, 0.3), transparent 62%),
    radial-gradient(circle at 12% 18%, rgba(245, 196, 81, 0.2) 0 2px, transparent 3px) 0 0 / 44px 44px,
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dd) 100%);
}
.hero::after { /* soft scalloped edge into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
  background:
    radial-gradient(circle at 50% 100%, var(--cream) 0 11px, transparent 12px) 0 0 / 28px 22px repeat-x;
}

.hero__art {
  position: absolute; z-index: 0; width: 380px; right: -110px; top: 30px; opacity: 0.2; pointer-events: none;
}
.art__spin { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.art__flame { transform-origin: 0 -8px; animation: flicker 1.6s ease-in-out infinite alternate; }
.art__flameglow { animation: glow 2.4s ease-in-out infinite alternate; }
@keyframes flicker { 0% { transform: scale(1, 1) rotate(-1.5deg); } 100% { transform: scale(0.94, 1.07) rotate(1.5deg); } }
@keyframes glow { 0% { opacity: 0.25; } 100% { opacity: 0.5; } }
.art__star { transform-box: fill-box; transform-origin: center; animation: sparkle 3s ease-in-out infinite; }
.art__star.s2 { animation-delay: 0.5s; } .art__star.s3 { animation-delay: 1s; }
.art__star.s4 { animation-delay: 1.5s; } .art__star.s5 { animation-delay: 2s; } .art__star.s6 { animation-delay: 2.5s; }
@keyframes sparkle { 0%, 100% { opacity: 0.2; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1.15); } }

.hero__in { position: relative; z-index: 1; text-align: center; }
.hero__copy { max-width: 640px; margin: 0 auto; }

.badge {
  display: inline-block; margin: 0 0 16px; padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ffd98a); color: var(--maroon-d); font-weight: 700; font-size: 0.82rem;
  box-shadow: 0 4px 14px rgba(245, 196, 81, 0.35);
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(1.9rem, 6.2vw, 3.1rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
html[lang="hi"] .hero h1, html[lang="gu"] .hero h1 { line-height: 1.35; letter-spacing: 0; }
.hero__sub { margin: 0 auto 24px; max-width: 560px; color: #fbe9d0; font-size: 1.02rem; }

.cd { margin: 0 auto 26px; }
.cd__label { margin: 0 0 8px; font-size: 0.8rem; color: var(--gold-l); text-transform: uppercase; letter-spacing: 0.1em; }
.cd__row { display: inline-flex; gap: 10px; }
.cd__box {
  min-width: 78px; padding: 10px 8px 8px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(245, 196, 81, 0.55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.cd__box span { display: block; font-size: 1.9rem; font-weight: 800; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd__box small { font-size: 0.72rem; color: var(--gold-l); }

.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 24px; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.22); color: #fdebd3;
}
.chips .ico { color: var(--gold); width: 17px; height: 17px; }
.chips__glyph { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-align: center;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 6px 18px rgba(19, 138, 67, 0.35); }
.btn--wa:hover { background: var(--wa-d); }
.btn--primary { background: linear-gradient(135deg, var(--saffron), #e8590c); color: var(--white); box-shadow: 0 8px 20px rgba(232, 89, 12, 0.35); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--primary[disabled] { opacity: 0.65; cursor: progress; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--link { background: transparent; color: var(--maroon); text-decoration: underline; padding: 8px 10px; min-height: 44px; font-size: 0.92rem; }
.btn--block { width: 100%; }

.pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 6px 18px rgba(19, 138, 67, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%, 100% { box-shadow: 0 6px 18px rgba(19, 138, 67, 0.35), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section--tight { padding: 8px 0 44px; }
.section--alt { background: var(--cream-2); }
.section__title { margin: 0 0 8px; font-size: clamp(1.45rem, 4.4vw, 2rem); color: var(--maroon); text-align: center; font-weight: 800; }
.section__title::after {
  content: ""; display: block; width: 68px; height: 4px; margin: 12px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--pink));
}
.section__sub { margin: 14px 0 0; text-align: center; color: var(--muted); }

/* ---------- offer cards ---------- */
.cards { display: grid; gap: 18px; margin-top: 30px; grid-template-columns: 1fr; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px 20px; box-shadow: var(--shadow); scroll-margin-top: 90px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--saffron), var(--gold), var(--pink)); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.ribbon {
  position: absolute; top: 16px; right: 14px; padding: 4px 12px; border-radius: 999px; color: var(--white);
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; background: linear-gradient(135deg, var(--pink), var(--saffron));
  box-shadow: 0 4px 12px rgba(214, 51, 108, 0.35);
}
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 12px;
  background: linear-gradient(145deg, #fff3cf, var(--gold)); color: var(--maroon); box-shadow: inset 0 -3px 0 rgba(122, 18, 64, 0.12);
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__tag { margin: 0 0 6px; font-size: 0.76rem; font-weight: 700; color: var(--saffron-d); text-transform: uppercase; letter-spacing: 0.05em; }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; color: var(--maroon); line-height: 1.3; }
.card p { margin: 0 0 10px; font-size: 0.95rem; }
.ticks { list-style: none; margin: 0 0 12px; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 5px; font-size: 0.92rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
/* order: icon, availability chip, tag, title, text, ticks, buttons, small print */
.card > .card__icon { order: 0; }
.card > .avail { order: 1; }
.card > .card__tag { order: 2; }
.card > h3 { order: 3; }
.card > p:not(.avail):not(.card__tag):not(.fine) { order: 4; }
.card > .ticks { order: 5; }
.card > .card__cta { order: 6; }
.card > .fine { order: 7; }
.avail { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: -2px 0 12px !important; padding: 5px 11px; border-radius: 999px; font-size: 0.8rem !important; font-weight: 600; }
.avail .ico { width: 15px; height: 15px; }
.avail--india { background: #e6f6ec; color: #0f6b36; }
.avail--local { background: #fff0d6; color: #8a4f00; }
.card__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; }
.fine { margin: 12px 0 0 !important; font-size: 0.76rem !important; color: var(--muted); line-height: 1.5; }

/* ---------- coverage ---------- */
.cov { display: grid; gap: 14px; margin-top: 26px; grid-template-columns: 1fr; }
.cov__tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px 22px; position: relative; box-shadow: var(--shadow); }
.cov__tile::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 5px 5px 0; }
.cov__tile--india::before { background: var(--wa); }
.cov__tile--local::before { background: var(--saffron); }
.cov__tile h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--maroon); }
.cov__tile p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 68px; position: relative; box-shadow: var(--shadow); }
.steps__n {
  position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(145deg, var(--maroon), var(--plum)); color: var(--gold); display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 0 0 4px rgba(245, 196, 81, 0.3);
}
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--maroon); }
.steps p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- form ---------- */
.form { margin-top: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.92rem; }
.field label em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 13px; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid #d9c6a8; border-radius: 12px;
}
.field textarea { min-height: 86px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242, 140, 15, 0.35); border-color: var(--saffron); }
.field.has-error input, .field.has-error select { border-color: #c0392b; }

.hint { margin: 0 0 15px; padding: 11px 13px; border-radius: 12px; background: #fff0d6; border: 1px solid #f0c27a; color: #7a4300; font-size: 0.88rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 0.85rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--saffron); }

.form__msg { min-height: 1.4em; margin: 0 0 10px; font-size: 0.9rem; color: #c0392b; }
.form__msg.is-ok { color: var(--wa-d); }

.thanks { margin-top: 26px; background: var(--white); border: 2px solid var(--wa); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.thanks h3 { margin: 0 0 8px; color: var(--wa-d); }
.thanks p { margin: 0 0 16px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-top: 12px; }
.faq:first-of-type { margin-top: 26px; }
.faq summary { cursor: pointer; padding: 13px 0; font-weight: 600; color: var(--maroon); }
.faq summary:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.faq p { margin: 0 0 13px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--maroon-dd); color: #f0dcc0; padding: 34px 0 28px; font-size: 0.85rem; }
.footer a { color: var(--gold); }
.footer p { margin: 0 0 8px; }
.footer__brand { margin-bottom: 14px; }
.footer__name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.footer__legal { color: #d8c1a3; font-size: 0.78rem; max-width: 880px; }
.footer__note { color: #b99f84; font-size: 0.75rem; }

/* ---------- floating + sticky contact ---------- */
.fab {
  display: none; position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: var(--white); place-items: center; box-shadow: 0 10px 26px rgba(19, 138, 67, 0.45);
  animation: pulse 2.4s ease-out infinite;
}
.fab svg { width: 30px; height: 30px; }
.fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(38, 5, 20, 0.97); border-top: 1px solid rgba(245, 196, 81, 0.35);
}
.sticky__btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--white); }
.sticky__btn--wa { background: var(--wa); }
.sticky__btn--call { background: linear-gradient(135deg, var(--saffron), #e8590c); }
.sticky__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- scroll reveal (only hides content when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .card:nth-child(2) { transition-delay: 0.08s; }
.js .cards .card:nth-child(3) { transition-delay: 0.16s; }
.js .cards .card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cov { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-direction: row; justify-content: center; }
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
  .fab { display: grid; }
  .section { padding: 68px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 70px 18px 18px; }
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 90px; }
  .hero__art { width: clamp(380px, 38vw, 470px); right: 4%; top: 50%; margin-top: calc(clamp(380px, 38vw, 470px) / -2); opacity: 1; }
  .hero__in { text-align: left; }
  .hero__copy { margin: 0; max-width: 580px; }
  .hero__sub { margin-left: 0; }
  .hero__cta, .chips { justify-content: flex-start; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card .fine { min-height: 6.2em; } /* keeps the buttons level across the four cards */
  .card .avail { white-space: nowrap; font-size: 0.74rem !important; padding: 5px 10px; }
  .card h3 { min-height: 3.9em; }
  .card__tag { min-height: 2.6em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lights span, .art__spin, .art__flame, .art__flameglow, .art__star, .pulse, .fab { animation: none !important; }
  .btn, .card, .js .reveal { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
