/* SMS Service Provider page (templates/page-sms.html). Builds on pragati-hero.css (.ph-root tokens, .ph-sec type,
   buttons, CTA band). Everything here is prefixed .sm- so it can't touch other pages. */

/* ---------------------------------------------------------------- hero */
.ph-root .sm-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF5F6 0%, #FFFDFD 78%, #fff 100%); }
.ph-root .sm-hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42vw 42vw at 88% 18%, rgba(255,205,212,.75), rgba(255,205,212,0) 70%),
    radial-gradient(30vw 30vw at 6% 90%, rgba(255,228,232,.8), rgba(255,228,232,0) 70%); }
/* soft ring behind the phone, echoing the home hero */
.ph-root .sm-hero__bg::after { content: ""; position: absolute; right: clamp(-160px, -6vw, -60px); top: 50%; width: clamp(520px, 52vw, 860px); aspect-ratio: 1;
  transform: translateY(-46%); border-radius: 50%; border: clamp(26px, 3vw, 46px) solid rgba(230,0,0,.07); }
.ph-root .sm-hero__in { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(118px, 11vw, 150px) clamp(20px, 4.5vw, 72px) clamp(56px, 6vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 80px); }

.ph-root .sm-crumbs { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 16px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px #F4D3D8, 0 10px 24px -16px rgba(200,30,50,.4); font-size: 13px; font-weight: 600; color: #9aa3b5; }
.ph-root .sm-crumbs a { color: var(--ph-navy); text-decoration: none; }
.ph-root .sm-crumbs a:hover { color: var(--ph-red); }
.ph-root .sm-crumbs [aria-current] { color: var(--ph-red); }
.ph-root .sm-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-red); }
.ph-root .sm-eyebrow svg { width: 18px; height: 18px; }
.ph-root .sm-hero h1 { margin: 0 0 18px; font-size: clamp(2.3rem, 4.2vw, 3.7rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; color: var(--ph-navy); text-wrap: balance; }
.ph-root .sm-hero h1 span { display: block; color: var(--ph-red); }
.ph-root .sm-hero__lead { margin: 0 0 30px; max-width: 32em; font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.7; color: var(--ph-ink-2); text-wrap: pretty; }
.ph-root .sm-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ph-root .sm-hero__ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; }
.ph-root .sm-hero__ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ph-navy); }
.ph-root .sm-hero__ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: #E60000 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 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* phone with a live SMS thread */
.ph-root .sm-hero__art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.ph-root .sm-phone { position: relative; width: min(330px, 100%); padding: 12px; border-radius: 46px; background: linear-gradient(150deg, #f6f6f8, #c9ccd3 40%, #f3f3f5 70%, #b9bdc5);
  box-shadow: 0 50px 90px -40px rgba(120,20,40,.55), 0 0 0 1px rgba(255,255,255,.7) inset; transform: rotate(-3deg); }
.ph-root .sm-phone > * { position: relative; }
.ph-root .sm-phone::before { content: ""; position: absolute; inset: 12px; border-radius: 36px; background: #fff; }
.ph-root .sm-phone__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 6px; font-size: 13px; font-weight: 700; color: var(--ph-navy); }
.ph-root .sm-phone__top i { width: 84px; height: 24px; border-radius: 14px; background: #10141c; }
.ph-root .sm-phone__sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.ph-root .sm-phone__sig b { width: 3px; border-radius: 1px; background: var(--ph-navy); }
.ph-root .sm-phone__sig b:nth-child(1) { height: 5px; } .ph-root .sm-phone__sig b:nth-child(2) { height: 8px; } .ph-root .sm-phone__sig b:nth-child(3) { height: 11px; }
.ph-root .sm-phone__head { display: flex; align-items: center; gap: 10px; margin: 6px 14px 4px; padding-bottom: 12px; border-bottom: 1px solid #EEF0F4; }
.ph-root .sm-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); }
.ph-root .sm-phone__head b { display: block; font-size: 14px; color: var(--ph-navy); }
.ph-root .sm-phone__head small { font-size: 11.5px; color: #8b93a5; }
.ph-root .sm-thread { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 26px; min-height: 360px; }
.ph-root .sm-msg { max-width: 88%; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #EEF0F5; font-size: 13.5px; line-height: 1.45; color: #1f2937;
  animation: sm-in .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.5s + var(--i) * .55s); }
.ph-root .sm-msg b { color: var(--ph-navy); }
@keyframes sm-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

.ph-root .sm-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px #F4D3D8, 0 24px 44px -24px rgba(120,20,40,.45); animation: sm-bob 6s ease-in-out infinite; }
.ph-root .sm-chip i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #fff; }
.ph-root .sm-chip i svg { width: 18px; height: 18px; }
.ph-root .sm-chip b { display: block; font-size: 14px; color: var(--ph-navy); }
.ph-root .sm-chip small { font-size: 11.5px; color: #8b93a5; }
.ph-root .sm-chip--report { left: clamp(-10px, 1vw, 20px); bottom: 16%; }
.ph-root .sm-chip--report i { background: linear-gradient(150deg, #34d16a, #1fa64e); }
.ph-root .sm-chip--dlt { right: clamp(-10px, 0vw, 10px); top: 22%; animation-delay: -3s; }
.ph-root .sm-chip--dlt i { background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); }
.ph-root .sm-ico { position: absolute; right: clamp(0px, 3vw, 40px); bottom: 4%; width: clamp(84px, 9vw, 124px); height: auto; filter: drop-shadow(0 18px 22px rgba(30,90,200,.3)); animation: sm-bob 7s ease-in-out infinite -1.5s; }
@keyframes sm-bob { 50% { transform: translateY(-10px); } }

/* ---------------------------------------------------------------- intro */
.ph-root .sm-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ph-root .sm-intro .ph-h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.ph-root .sm-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ph-root .sm-pillars li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #F3E1E4, 0 24px 48px -36px rgba(120,20,40,.45); }
.ph-root .sm-pillars i, .ph-root .sm-card > i, .ph-root .sm-track i { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; color: var(--ph-red); background: #FFECEE; box-shadow: inset 0 0 0 1px #F9D3D9; }
.ph-root .sm-pillars svg, .ph-root .sm-card > i svg, .ph-root .sm-track svg { width: 24px; height: 24px; }
.ph-root .sm-pillars h3 { margin: 2px 0 6px; font-size: 1.08rem; font-weight: 800; color: var(--ph-navy); }
.ph-root .sm-pillars p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ph-ink-2); }

/* ---------------------------------------------------------------- services */
.ph-root .sm-services { background: #FFF7F8; }
.ph-root .sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ph-root .sm-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 32px); border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px #F3E1E4, 0 20px 40px -34px rgba(120,20,40,.35); transition: box-shadow .35s, transform .35s cubic-bezier(.2,.8,.2,1); }
.ph-root .sm-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #F3D2D8, 0 34px 60px -32px rgba(200,30,50,.38); }
.ph-root .sm-card > i { margin-bottom: 20px; color: #fff; background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); box-shadow: 0 12px 24px -12px rgba(230,0,0,.7); }
.ph-root .sm-card h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: var(--ph-navy); }
.ph-root .sm-card p { margin: 0 0 20px; font-size: .97rem; line-height: 1.65; color: var(--ph-ink-2); }
.ph-root .sm-card__eg { margin-top: auto; padding-top: 16px; border-top: 1px dashed #F0D6DB; font-size: 13px; font-weight: 700; color: var(--ph-red); }

/* ---------------------------------------------------------------- use cases */
.ph-root .sm-uses .ph-sec__head .ph-body { max-width: 34em; margin: 0 auto; }
.ph-root .sm-uses__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ph-root .sm-uses__grid li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 24px; background: linear-gradient(180deg, #F7F8FB, #fff); box-shadow: 0 0 0 1px #ECEEF3; }
.ph-root .sm-tag { padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-red); background: #fff; box-shadow: inset 0 0 0 1px #F6D3D9; }
.ph-root .sm-bubble { margin: 0; padding: 13px 16px; border-radius: 18px 18px 18px 6px; background: #E9ECF2; font-size: .95rem; line-height: 1.5; color: #1f2937; }
.ph-root .sm-bubble b { color: var(--ph-navy); letter-spacing: .04em; }

/* ---------------------------------------------------------------- getting started (DLT track, no numbers) */
.ph-root .sm-start { background: linear-gradient(180deg, #fff 0%, #FFF7F8 100%); }
.ph-root .sm-start__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ph-root .sm-start .ph-h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.ph-root .sm-start__head .ph-btn { margin-top: 10px; }
.ph-root .sm-track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ph-root .sm-track::before { content: ""; position: absolute; left: 49px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(#F6C6CE, #E60000 50%, #F6C6CE); }
.ph-root .sm-track li { position: relative; display: flex; gap: 20px; align-items: center; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #F3E1E4, 0 24px 48px -36px rgba(120,20,40,.45); }
.ph-root .sm-track i { position: relative; z-index: 1; background: #fff; box-shadow: inset 0 0 0 2px #F6C6CE; }
.ph-root .sm-track h3 { margin: 0 0 5px; font-size: 1.08rem; font-weight: 800; color: var(--ph-navy); }
.ph-root .sm-track p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ph-ink-2); }

/* ---------------------------------------------------------------- FAQ */
.ph-root .sm-faq__in { max-width: 900px; }
.ph-root .sm-faq__list { display: grid; gap: 12px; }
.ph-root .sm-faq details { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #F0E2E5; transition: box-shadow .3s; }
.ph-root .sm-faq details[open] { box-shadow: 0 0 0 1px #F3C9D0, 0 24px 48px -36px rgba(200,30,50,.45); }
.ph-root .sm-faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-size: 1.04rem; font-weight: 800; line-height: 1.4; color: var(--ph-navy); }
.ph-root .sm-faq summary::-webkit-details-marker { display: none; }
.ph-root .sm-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #FFECEE
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%23E60000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .3s; }
.ph-root .sm-faq details[open] summary::after { transform: rotate(180deg); }
.ph-root .sm-faq summary:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 2px; border-radius: 20px; }
.ph-root .sm-faq details p { margin: 0; padding: 0 26px 24px; font-size: .98rem; line-height: 1.7; color: var(--ph-ink-2); }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1024px) {
  .ph-root .sm-grid, .ph-root .sm-uses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ph-root .sm-hero__in { grid-template-columns: 1fr; text-align: center; }
  .ph-root .sm-hero__lead { margin-inline: auto; }
  .ph-root .sm-hero__btns, .ph-root .sm-hero__ticks { justify-content: center; }
  .ph-root .sm-hero__bg::after { right: 50%; top: auto; bottom: -10%; transform: translateX(50%); width: 640px; }
  .ph-root .sm-intro__grid, .ph-root .sm-start__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 640px) {
  .ph-root .sm-hero__in { padding: 96px 20px 44px; gap: 20px; }
  .ph-root .sm-crumbs { margin-bottom: 16px; font-size: 12px; }
  .ph-root .sm-eyebrow { justify-content: center; font-size: 11px; }
  .ph-root .sm-hero h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); }
  .ph-root .sm-hero__lead { margin-bottom: 24px; font-size: .98rem; }
  .ph-root .sm-hero__btns { flex-direction: column; }
  .ph-root .sm-hero__btns .ph-btn { justify-content: center; width: 100%; }
  .ph-root .sm-hero__ticks { gap: 8px 16px; margin-top: 22px; }
  .ph-root .sm-hero__ticks li { font-size: 13px; }
  .ph-root .sm-phone { width: 270px; border-radius: 40px; padding: 10px; }
  .ph-root .sm-phone::before { inset: 10px; border-radius: 31px; }
  .ph-root .sm-thread { min-height: 300px; gap: 8px; }
  .ph-root .sm-msg { font-size: 12.5px; padding: 9px 12px; }
  .ph-root .sm-chip { padding: 8px 12px 8px 8px; border-radius: 15px; }
  .ph-root .sm-chip i { width: 30px; height: 30px; border-radius: 10px; }
  .ph-root .sm-chip b { font-size: 12.5px; }
  .ph-root .sm-chip small { font-size: 10.5px; }
  .ph-root .sm-chip--report { left: 0; bottom: 10%; }
  .ph-root .sm-chip--dlt { right: 0; top: 14%; }
  .ph-root .sm-ico { width: 72px; right: 4px; bottom: 0; }

  .ph-root .sm-grid, .ph-root .sm-uses__grid { grid-template-columns: 1fr; gap: 12px; }
  .ph-root .sm-pillars li, .ph-root .sm-track li { padding: 18px; gap: 14px; }
  .ph-root .sm-pillars i, .ph-root .sm-track i { width: 44px; height: 44px; border-radius: 13px; }
  .ph-root .sm-track::before { left: 39px; }
  .ph-root .sm-card { padding: 22px; }
  .ph-root .sm-card > i { width: 46px; height: 46px; margin-bottom: 16px; }
  .ph-root .sm-faq summary { padding: 18px 56px 18px 20px; font-size: .98rem; }
  .ph-root .sm-faq summary::after { right: 16px; }
  .ph-root .sm-faq details p { padding: 0 20px 20px; font-size: .94rem; }
  .ph-root .sm-start__head { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-root .sm-msg, .ph-root .sm-chip, .ph-root .sm-ico { animation: none; }
  .ph-root .sm-card { transition: none; }
}

/* ---------------------------------------------------------------- refinements */
/* desktop hero: two-line headline, chips sit on the phone's frame instead of over the messages */
.ph-root .sm-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.ph-root .sm-hero h1 { font-size: clamp(2.3rem, 3.5vw, 3.15rem); }
.ph-root .sm-phone { transform: rotate(-2deg); }
.ph-root .sm-thread { padding-bottom: 78px; }
.ph-root .sm-chip--dlt { top: 2%; right: -2%; }
.ph-root .sm-chip--report { left: -4%; bottom: 3%; }
.ph-root .sm-ico { right: -2%; bottom: 22%; }

@media (max-width: 900px) {
  .ph-root .sm-hero__in { grid-template-columns: 1fr; }
  .ph-root .sm-chip--dlt { right: 6%; }
  .ph-root .sm-chip--report { left: 6%; }
  .ph-root .sm-ico { right: 8%; }
}

@media (max-width: 640px) {
  .ph-root .sm-thread { padding-bottom: 64px; min-height: 0; }
  .ph-root .sm-chip--dlt { top: 0; right: 0; }
  .ph-root .sm-chip--report { left: 0; bottom: 2%; }
  .ph-root .sm-ico { right: 0; bottom: 26%; width: 64px; }

  /* services: compact cards, icon beside the title */
  .ph-root .sm-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px; }
  .ph-root .sm-card > i { margin: 0; }
  .ph-root .sm-card h3 { margin: 0; font-size: 1.08rem; }
  .ph-root .sm-card p, .ph-root .sm-card__eg { grid-column: 1 / -1; }
  .ph-root .sm-card p { margin: 12px 0 14px; font-size: .94rem; }
  .ph-root .sm-card__eg { padding-top: 12px; font-size: 12.5px; }

  /* campus messages: a swipe row instead of six stacked cards */
  .ph-root .sm-uses__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 14px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .ph-root .sm-uses__grid::-webkit-scrollbar { display: none; }
  .ph-root .sm-uses__grid li { flex: 0 0 82%; scroll-snap-align: center; }
  /* items off to the side never intersect, so the row reveals as one */
  .ph-root.ph-sec-js .sm-uses__grid li[data-ph-reveal] { opacity: 1; transform: none; }
  .ph-root .sm-uses__hint { display: flex; }
}
.ph-root .sm-uses__hint { display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #9aa3b5; }
.ph-root .sm-uses__hint svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .ph-root .sm-eyebrow { justify-content: center; }
  .ph-root .sm-hero__art { text-align: left; }
}
@media (max-width: 640px) { .ph-root .sm-uses__hint { display: flex; } }

/* =====================================================================
   WHATSAPP PAGE (templates/page-whatsapp.html): .wa-* pieces on the shared .sm-* page system
   ===================================================================== */
.ph-root .sm-hero--wa .sm-hero__bg {
  background:
    radial-gradient(42vw 42vw at 88% 18%, rgba(200,245,215,.7), rgba(200,245,215,0) 70%),
    radial-gradient(30vw 30vw at 6% 90%, rgba(255,228,232,.8), rgba(255,228,232,0) 70%); }
.ph-root .sm-hero--wa .sm-hero__bg::after { border-color: rgba(37,211,102,.09); }

/* phone: WhatsApp chat */
.ph-root .wa-phone::before { background: #EFE7DD; }
.ph-root .wa-phone .sm-phone__top { position: relative; z-index: 1; margin: 0 0 0; padding-bottom: 8px; background: #075E54; color: #fff; border-radius: 36px 36px 0 0; }
.ph-root .wa-phone .sm-phone__top i { background: #04342e; }
.ph-root .wa-phone .sm-phone__sig b { background: #fff; }
.ph-root .wa-head { display: flex; align-items: center; gap: 9px; padding: 6px 14px 12px; background: #075E54; color: #fff; }
.ph-root .wa-head > svg { width: 20px; height: 20px; flex: none; }
.ph-root .wa-head .sm-av { width: 34px; height: 34px; font-size: 12px; }
.ph-root .wa-head b { display: flex; align-items: center; gap: 5px; font-size: 14px; }
.ph-root .wa-head em { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #25D366; }
.ph-root .wa-head em svg { width: 10px; height: 10px; }
.ph-root .wa-head small { font-size: 11px; opacity: .8; }
.ph-root .wa-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 78px; min-height: 380px; text-align: left; }
.ph-root .wa-in, .ph-root .wa-out { position: relative; max-width: 86%; padding: 8px 11px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: #111b21;
  box-shadow: 0 1px 1px rgba(11,20,26,.13); animation: sm-in .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.5s + var(--i) * .6s); }
.ph-root .wa-out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.ph-root .wa-in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.ph-root .wa-out > span { display: block; margin-top: 2px; text-align: right; font-size: 10.5px; color: #667781; }
.ph-root .wa-out > span i { font-style: normal; color: #53bdeb; letter-spacing: -2px; }
.ph-root .wa-btns { display: grid; gap: 1px; margin: 8px -11px -8px; border-top: 1px solid #E9EDEF; }
.ph-root .wa-btns span { display: block; padding: 7px 8px; text-align: center; font-size: 13px; font-weight: 600; color: #027EB5; }
.ph-root .wa-btns span + span { border-top: 1px solid #E9EDEF; }
.ph-root .wa-doc { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; padding: 9px 10px; border-radius: 9px; background: #F5F6F6; }
.ph-root .wa-doc > b { display: grid; place-items: center; width: 30px; height: 36px; flex: none; border-radius: 5px; font-size: 9px; font-weight: 800; color: #fff; background: #E53935; }
.ph-root .wa-doc > span { font-size: 12px; font-weight: 700; color: #111b21; word-break: break-all; }
.ph-root .wa-doc small { display: block; font-weight: 500; font-size: 10.5px; color: #667781; }
.ph-root .sm-chip.wa-chip--bot i { background: linear-gradient(150deg, #34d16a, #1fa64e); }
.ph-root .sm-chip--report i { background: linear-gradient(150deg, #4fc3f7, #1e88e5); }
.ph-root .sm-hero--wa .sm-ico { filter: drop-shadow(0 18px 22px rgba(18,140,60,.3)); }

/* use cases: WhatsApp message cards with reply buttons */
.ph-root .wa-uses .sm-uses__grid li { background: #EFE7DD linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.55)); box-shadow: 0 0 0 1px #E6DCCF; }
.ph-root .wa-card { width: 100%; padding: 12px 14px 10px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 1px 1px rgba(11,20,26,.13); font-size: .95rem; line-height: 1.5; color: #111b21; }
.ph-root .wa-card__btns { display: grid; margin: 10px -14px -10px; border-top: 1px solid #E9EDEF; }
.ph-root .wa-card__btns span { padding: 9px 8px; text-align: center; font-size: .9rem; font-weight: 700; color: #027EB5; }
.ph-root .wa-card__btns span + span { border-top: 1px solid #E9EDEF; }

@media (max-width: 640px) {
  .ph-root .wa-chat { min-height: 0; padding-bottom: 64px; }
  .ph-root .wa-in, .ph-root .wa-out { font-size: 12px; }
  .ph-root .wa-btns span { font-size: 12px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-root .wa-in, .ph-root .wa-out { animation: none; }
}
/* WhatsApp hero: the 3D icon sits below the chat instead of over the replies */
.ph-root .sm-hero--wa .sm-ico { right: -3%; bottom: 3%; }
.ph-root .sm-hero--wa .sm-chip--report { bottom: 1%; }
@media (max-width: 640px) {
  .ph-root .sm-hero--wa .sm-ico { right: 0; bottom: 1%; }
  /* the long eyebrow wraps on phones: drop its icon and balance the two lines */
  .ph-root .sm-hero--wa .sm-eyebrow svg { display: none; }
  .ph-root .sm-hero--wa .sm-eyebrow { letter-spacing: .07em; text-wrap: balance; }
}

/* =====================================================================
   CONTACT PAGE (templates/page-contact.html): .ct-* on the shared .sm-* page system
   ===================================================================== */
.ph-root .ct-hero__in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
.ph-root .ct-hero h1 { margin: 0 0 18px; font-size: clamp(2.3rem, 3.6vw, 3.3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; color: var(--ph-navy); text-wrap: balance; }
.ph-root .ct-hero h1 span { display: block; color: var(--ph-red); }
.ph-root .ct-hero__copy { padding-top: clamp(0px, 2vw, 24px); }

.ph-root .ct-ways { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.ph-root .ct-ways li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px #F4DDE1, 0 20px 40px -34px rgba(120,20,40,.45); }
.ph-root .ct-ways i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); box-shadow: 0 12px 22px -12px rgba(230,0,0,.7); }
.ph-root .ct-ways i svg { width: 21px; height: 21px; }
.ph-root .ct-ways small { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 600; color: #8b93a5; }
.ph-root .ct-ways a, .ph-root .ct-ways span { display: block; font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--ph-navy); text-decoration: none; overflow-wrap: anywhere; }
.ph-root .ct-ways span { font-weight: 600; font-size: .95rem; color: var(--ph-ink-2); }
.ph-root .ct-ways a:hover { color: var(--ph-red); }

/* form card */
.ph-root .ct-card { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px #F3DCE0, 0 50px 90px -50px rgba(120,20,40,.55); scroll-margin-top: 96px; }
.ph-root .ct-form__title { margin: 0 0 6px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; color: var(--ph-navy); }
.ph-root .ct-form__sub { margin: 0 0 22px; font-size: 13.5px; color: #8b93a5; }
.ph-root .ct-form__sub span[aria-hidden], .ph-root .ct-field label span[aria-hidden] { color: var(--ph-red); }
.ph-root .ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph-root .ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ph-root .ct-field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.ph-root .ct-field > label, .ph-root .ct-chips legend { display: block; margin-bottom: 7px; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--ph-navy); }
.ph-root .ct-field input:not([type="checkbox"]), .ph-root .ct-field textarea {
  display: block; width: 100%; box-sizing: border-box; padding: 13px 15px; border: 1.5px solid #E6E8EE; border-radius: 14px; background: #FAFBFC;
  font: 500 15px/1.4 var(--ph-font, inherit); color: var(--ph-navy); transition: border-color .2s, box-shadow .2s, background .2s; }
.ph-root .ct-field textarea { resize: vertical; min-height: 116px; }
.ph-root .ct-field input::placeholder, .ph-root .ct-field textarea::placeholder { color: #A3AABA; }
.ph-root .ct-field input:hover, .ph-root .ct-field textarea:hover { border-color: #D7DBE3; }
.ph-root .ct-field input:focus, .ph-root .ct-field textarea:focus { outline: none; border-color: var(--ph-red); background: #fff; box-shadow: 0 0 0 4px rgba(230,0,0,.1); }
.ph-root .ct-err { display: none; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #C40014; }
.ph-root .ct-field.is-bad .ct-err { display: block; }
.ph-root .ct-field.is-bad input, .ph-root .ct-field.is-bad textarea { border-color: #E5485A; background: #FFF7F8; }

.ph-root .ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-root .ct-chips legend { width: 100%; float: left; }
.ph-root .ct-chips label { position: relative; cursor: pointer; }
.ph-root .ct-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ph-root .ct-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: #F6F7FA; box-shadow: inset 0 0 0 1.5px #E6E8EE; font-size: 13.5px; font-weight: 600; color: var(--ph-navy); transition: background .2s, box-shadow .2s, color .2s; }
.ph-root .ct-chips span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #C7CCD6; background: #fff center / 10px no-repeat; }
.ph-root .ct-chips input:checked + span { background: #FFF1F3; box-shadow: inset 0 0 0 1.5px var(--ph-red); color: #B3000F; }
.ph-root .ct-chips input:checked + span::before { box-shadow: none; background-color: var(--ph-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27m6 12.5 4 4L18 8%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%273.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E"); }
.ph-root .ct-chips input:focus-visible + span { box-shadow: inset 0 0 0 1.5px var(--ph-red), 0 0 0 4px rgba(230,0,0,.14); }

.ph-root .ct-submit { width: 100%; justify-content: center; margin-top: 6px; }
.ph-root .ct-submit[disabled] { opacity: .75; cursor: progress; }
.ph-root .ct-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: #8b93a5; }

.ph-root .ct-done { padding: clamp(12px, 3vw, 40px) 0; text-align: center; outline: none; }
.ph-root .ct-done i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: linear-gradient(150deg, #34d16a, #1fa64e); box-shadow: 0 16px 30px -14px rgba(31,166,78,.8); }
.ph-root .ct-done i svg { width: 30px; height: 30px; }
.ph-root .ct-done h2 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 800; color: var(--ph-navy); }
.ph-root .ct-done p { margin: 0 auto 24px; max-width: 26em; line-height: 1.65; color: var(--ph-ink-2); }
.ph-root .ct-done p a { color: var(--ph-red); font-weight: 700; text-decoration: none; }

/* map */
.ph-root .ct-map { padding-top: clamp(24px, 3vw, 48px); }
.ph-root .ct-map__frame { position: relative; overflow: hidden; border-radius: 30px; min-height: 440px; background: #EEF0F4; box-shadow: 0 0 0 1px #ECE3E5, 0 40px 80px -50px rgba(24,36,58,.5); }
.ph-root .ct-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ph-root .ct-map__card { position: absolute; right: clamp(16px, 3vw, 36px); top: 50%; transform: translateY(-50%); width: min(380px, calc(100% - 32px)); box-sizing: border-box; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -30px rgba(24,36,58,.45); }
.ph-root .ct-map__card .ph-kicker { margin-bottom: 8px; }
.ph-root .ct-map__card h2 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--ph-navy); }
.ph-root .ct-map__card h2 span { color: var(--ph-red); }
.ph-root .ct-map__card p:not(.ph-kicker) { margin: 0 0 20px; font-size: .95rem; line-height: 1.6; color: var(--ph-ink-2); }

@media (max-width: 900px) {
  .ph-root .ct-hero__in { grid-template-columns: 1fr; text-align: left; }
  .ph-root .ct-hero .sm-eyebrow { justify-content: flex-start; }
  .ph-root .ct-hero .sm-hero__lead { margin-inline: 0; }
}
@media (max-width: 640px) {
  .ph-root .ct-hero__in { padding: 96px 20px 32px; }
  .ph-root .ct-hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .ph-root .ct-ways { margin-top: 22px; gap: 10px; }
  .ph-root .ct-ways li { padding: 14px 16px; gap: 14px; }
  .ph-root .ct-ways i { width: 40px; height: 40px; border-radius: 12px; }
  .ph-root .ct-card { padding: 22px 18px; border-radius: 24px; }
  .ph-root .ct-row { grid-template-columns: 1fr; }
  /* 16px stops iOS zooming into the fields */
  .ph-root .ct-field input:not([type="checkbox"]), .ph-root .ct-field textarea { font-size: 16px; }
  .ph-root .ct-map__frame { min-height: 0; display: flex; flex-direction: column-reverse; border-radius: 24px; }
  .ph-root .ct-map__frame iframe { position: relative; height: 280px; }
  .ph-root .ct-map__card { position: relative; right: auto; top: auto; transform: none; width: auto; border-radius: 0; box-shadow: none; padding: 22px 20px; }
}
/* map: card beside the map so the Jain College pin is never covered */
@media (min-width: 641px) {
  .ph-root .ct-map__frame { display: grid; grid-template-columns: 1fr minmax(280px, 400px); background: #fff; }
  .ph-root .ct-map__card { position: relative; inset: auto; transform: none; width: auto; align-self: center; border-radius: 0; box-shadow: none; padding: clamp(24px, 3vw, 40px); }
  .ph-root .ct-map__frame iframe { position: relative; inset: auto; min-height: 440px; }
}
/* desktop: the soft ring sits around the phone (centred on it, scales with it) instead of the page edge */
@media (min-width: 901px) {
  .ph-root .sm-hero__bg::after { display: none; }
  .ph-root .sm-hero__art { isolation: isolate; }
  .ph-root .sm-hero__art::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; height: 108%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%; border: 44px solid rgba(230,0,0,.07); box-sizing: border-box; pointer-events: none; }
  .ph-root .sm-hero--wa .sm-hero__art::before { border-color: rgba(37,211,102,.09); }
}
