/* =====================================================================
   HP NAVYA CAMPAIGN PAGE - extra styles (only loaded on /navya-cylinder/)
   Ported from the Elementor HTML widget (Handoff.md, Appendix A).
   The white-background overrides for the old theme are no longer needed.
   ===================================================================== */

/* ---- COLOURS AND BASE (change brand colours here) ---- */
.sgnv {
  --ink:      #14213d;   /* main text */
  --muted:    #566074;   /* grey text */
  --navy:     #12256e;   /* Navya navy blue */
  --red:      #d3202a;   /* Navya red */
  --yellow:   #f7b500;   /* Navya yellow */
  --accent:   #d3202a;   /* main buttons (red) */
  --accent-d: #a9161f;   /* darker red (hover) */
  --green:    #178a43;   /* WhatsApp green */
  --green-d:  #0f6e34;   /* darker green (hover) */
  --cream:    #ffffff;   /* page background (white) */
  --line:     #e3e7ee;   /* thin borders */

  --font: 'Poppins', Arial, sans-serif;   /* page font: change it here */

  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
.sgnv, .sgnv * { font-family: var(--font); }   /* forces Poppins on everything inside the page */
.sgnv * { box-sizing: border-box; }
.sgnv a { text-decoration: none; }

/* ---- LAYOUT: centred column ---- */
.sgnv-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADINGS AND INTRO TEXT ---- */
.sgnv .sgnv-h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
  margin: 16px 0 14px;
  color: var(--ink);
  font-weight: 800;
  font-family: inherit;
}
.sgnv .sgnv-h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 800;
  font-family: inherit;
}
.sgnv .sgnv-lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 520px;
}
.sgnv .sgnv-sub {
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 620px;
}
.sgnv-small {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ---- BUTTONS ---- */
.sgnv-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sgnv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  gap: 10px;                       /* space between icon and text */
}
.sgnv-wa { width: 22px; height: 22px; flex: none; fill: currentColor; }   /* WhatsApp icon */
.sgnv-btn.p { background: var(--accent); color: #fff; }          /* filled button */
.sgnv-btn.p:hover { background: var(--accent-d); border-color: var(--accent-d); }
.sgnv-btn.book {                   /* "Book now" / "Book Navya": dark purple with a light moving around the edge */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: #11005B;
  color: #fff;
  animation: sgnv-pulse 1.8s ease-in-out infinite;
}
.sgnv-btn.book:before {            /* the light that travels around the edge */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 220%;
  aspect-ratio: 1;
  z-index: -2;
  background: conic-gradient(#11005B 0 35%, #f7b500 47%, #ffffff 50%, #f7b500 53%, #11005B 65% 100%);
  animation: sgnv-spin 2.6s linear infinite;
}
.sgnv-btn.book:after {             /* dark purple fill, leaving a 3px edge so the light shows */
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  border-radius: 999px;
  background: #11005B;
}
.sgnv-btn.book:hover:after { background: #0a003a; }
@keyframes sgnv-spin  { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sgnv-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(17, 0, 91, 0.45); } 50% { box-shadow: 0 0 0 7px rgba(17, 0, 91, 0); } }
@media (prefers-reduced-motion: reduce) {   /* people who turn animations off see a plain button */
  .sgnv-btn.book, .sgnv-btn.book:before { animation: none; }
}
.sgnv-cal { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }   /* calendar icon */
.sgnv-btn.s { background: transparent; color: var(--accent-d); } /* outline button */
.sgnv-btn.s:hover { background: #fff; }
.sgnv-btn.w { background: var(--green); border-color: var(--green); color: #fff; }   /* WhatsApp green */
.sgnv-btn.w:hover { background: var(--green-d); border-color: var(--green-d); }

/* ---- HERO (top section) ---- */
.sgnv-hero { padding: 48px 0 28px; }
.sgnv-hero .sgnv-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;       /* text | poster */
  gap: 40px;
  align-items: center;
}
.sgnv-pill {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sgnv-pill .sgnv-city {            /* "Nagercoil" in the top pill: larger, dark purple */
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #11005B;
}
.sgnv-poster {                     /* the HP Navya poster in the hero */
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(18, 37, 110, 0.18);
}

/* ---- THREE FACT TILES ---- */
.sgnv-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 8px 0 40px;
}
/* Each tile takes its colours from --bg (fill) and --fg (text) */
.sgnv-fact {
  padding: 18px;
  text-align: center;
  background: var(--bg);
  color: var(--fg);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(18, 37, 110, 0.15);
}
.sgnv-fact:nth-child(1) { --bg: var(--navy);   --fg: #fff; }          /* navy   */
.sgnv-fact:nth-child(2) { --bg: var(--red);    --fg: #fff; }          /* red    */
.sgnv-fact:nth-child(3) { --bg: var(--yellow); --fg: var(--navy); }   /* yellow */
.sgnv-fact b    { display: block; font-size: 24px; color: inherit; }
.sgnv-fact span { font-size: 14px; color: inherit; opacity: 0.9; }

/* ---- GENERIC SECTION (w = white background) ---- */
.sgnv-sec   { padding: 46px 0; }
.sgnv-sec.w { background: #fff; }

/* ---- "WHY NAVYA" CARDS ---- */
.sgnv-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sgnv-card {
  padding: 22px;
  background: var(--bg);
  color: var(--fg);
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(18, 37, 110, 0.15);
}
.sgnv-card:nth-child(1) { --bg: var(--navy);   --fg: #fff; }          /* navy   */
.sgnv-card:nth-child(2) { --bg: var(--red);    --fg: #fff; }          /* red    */
.sgnv-card:nth-child(3) { --bg: var(--yellow); --fg: var(--navy); }   /* yellow */
.sgnv-card:nth-child(4) { --bg: var(--navy);   --fg: #fff; }          /* navy   */
.sgnv-card i {
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  font-size: 28px;
}
.sgnv .sgnv-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  color: inherit;
  font-family: inherit;
}
.sgnv-card p { margin: 0; font-size: 15px; color: inherit; opacity: 0.92; }

/* ---- OFFER SECTION (benefits left, price card right) ---- */
.sgnv-offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.sgnv .sgnv-tagline {
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 700;
}
.sgnv-perks {                      /* the four benefit rows */
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.sgnv-perks li { display: flex; align-items: flex-start; gap: 14px; }
.sgnv-ico {                        /* coloured square behind each icon */
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 22px;
}
.sgnv-perks li:nth-child(1) .sgnv-ico { --bg: var(--navy); }
.sgnv-perks li:nth-child(2) .sgnv-ico { --bg: var(--red); }
.sgnv-perks li:nth-child(3) .sgnv-ico { --bg: var(--yellow); }
.sgnv-perks li:nth-child(4) .sgnv-ico { --bg: var(--navy); }
.sgnv-perks b { display: block; font-size: 16px; line-height: 1.4; }
.sgnv-perks div span { display: block; font-size: 14px; color: var(--muted); }

.sgnv-box {                        /* the price card */
  position: relative;
  overflow: hidden;
  padding: 36px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(18, 37, 110, 0.12);
}
.sgnv-box:before {                 /* navy | red | yellow strip */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--red) 33.3% 66.6%, var(--yellow) 66.6%);
}
.sgnv-now {                        /* "Available now" tag */
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sgnv-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sgnv-big {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.sgnv-refill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
}
.sgnv-refill strong { font-size: 18px; color: var(--navy); }
.sgnv-hurry {                      /* red "limited stock" banner */
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #DD2222;               /* banner colour */
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}
.sgnv-stack { display: grid; gap: 10px; }
.sgnv-stack .sgnv-btn { width: 100%; }
.sgnv-trust { margin: 12px 0 0; font-size: 13px; text-align: center; color: var(--muted); }

/* ---- THREE STEPS ---- */
.sgnv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.sgnv-steps li {
  counter-increment: s;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.sgnv-steps li:before {            /* the numbered circle */
  content: counter(s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.sgnv-steps li:nth-child(2):before { background: var(--red); }
.sgnv-steps li:nth-child(3):before { background: var(--yellow); color: var(--navy); }
.sgnv .sgnv-steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink);
  font-family: inherit;
}
.sgnv-steps p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---- BOOKING FORM ---- */
.sgnv-book {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.sgnv-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.sgnv-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.sgnv-form input,
.sgnv-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid #c9d0dc;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
}
.sgnv-form input:focus,
.sgnv-form textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.sgnv-err { min-height: 1em; margin: 0; font-size: 14px; color: #b3261e; }  /* error message */

/* ---- EXTRA PICTURES (tap to open full size) ---- */
.sgnv-pic { display: block; margin: 0 auto; }
.sgnv-pic img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(18, 37, 110, 0.14);
}
.sgnv-pic.big  { max-width: 920px; }     /* the 12-panel picture */
.sgnv-pic.wide { max-width: 820px; }     /* the referral card */
.sgnv-hint { margin: 10px 0 0; font-size: 13px; text-align: center; color: var(--muted); }

/* ---- QUESTIONS (FAQ) ---- */
.sgnv-faq details {
  margin-bottom: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.sgnv-faq summary { cursor: pointer; font-weight: 700; }
.sgnv-faq p { margin: 10px 0 0; color: var(--muted); }

/* ---- SAFETY BOX AND SMALL PRINT ---- */
.sgnv-safe {
  margin-top: 18px;
  padding: 16px 20px;
  background: #fff3ee;
  border: 1px solid #f3c9b9;
  border-radius: 16px;
  font-size: 15px;
}
.sgnv-legal { padding: 22px 0 30px; font-size: 13px; color: var(--muted); }

/* ---- MOBILE "CALL / WHATSAPP" BAR (hidden on desktop) ---- */
.sgnv-bar { display: none; }

/* ---- TABLET: stack columns ---- */
@media (max-width: 800px) {
  .sgnv-hero .sgnv-wrap,
  .sgnv-offer,
  .sgnv-book   { grid-template-columns: 1fr; }
  .sgnv-cards  { grid-template-columns: 1fr 1fr; }
  .sgnv-steps,
  .sgnv-facts  { grid-template-columns: 1fr; }
}

/* ---- PHONE: single column and bottom bar ---- */
@media (max-width: 700px) {
  .sgnv { padding-bottom: 76px; }
  .sgnv-cards { grid-template-columns: 1fr; }
  .sgnv-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .sgnv-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    text-align: center;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
  }
  .sgnv-bar a.t { background: var(--navy); }
}

/* The page has its own phone Call/WhatsApp bar, so hide the round WhatsApp button on phones */
@media (max-width: 700px) {
  .wa-float { display: none; }
}
