/* Medisy landing page (2026 redesign) */
:root {
   --lp-navy: #0b3c68;
   --lp-blue: #1479d0;
   --lp-blue-band: #3a91d8;
   --lp-orange: #ff9330;
   --lp-text: #5b6b7f;
   --lp-soft: #f2f7fd;
   --lp-soft-2: #eaf3fd;
   --lp-line: #cfe3f7;
   --lp-radius: 20px;
   --lp-font: 'Satoshi', 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Navbar (all pages) ---------- */
#navbar .navbar { font-family: var(--lp-font); }
#navbar .navbar .nav-link {
   color: var(--lp-navy);
   font-weight: 500;
   font-size: 16px;
}
#navbar .navbar .nav-link:hover { color: var(--lp-blue); }
.lp-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   border: 0;
   border-radius: 999px;
   padding: 11px 22px;
   font-family: var(--lp-font);
   font-weight: 700;
   font-size: 16px;
   line-height: 1.2;
   color: #fff;
   text-decoration: none;
   transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
   white-space: nowrap;
}
.lp-btn:hover { color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 60, 104, .15); }
.lp-btn:focus-visible { outline: 3px solid rgba(20, 121, 208, .4); outline-offset: 2px; }
.lp-btn--blue { background: var(--lp-blue); }
.lp-btn--blue:hover { background: #0f6bbb; }
.lp-btn--orange { background: var(--lp-orange); }
.lp-btn--orange:hover { background: #f5831a; }
.lp-btn--sm { padding: 8px 16px; font-size: 15px; }
.lp-btn[disabled] { opacity: .7; transform: none; }

/* ---------- Page base ---------- */
body.lp { font-family: var(--lp-font); color: var(--lp-text); }
body.lp .square { display: none; }
.lp h1, .lp h2, .lp h3, .lp h4, .lp h5, .lp h6 { font-family: var(--lp-font); }
.lp-section { padding: 80px 0; position: relative; }
.lp-accent { color: var(--lp-blue); }
/* !important: legacy app.css styles section headings via #id selectors */
.lp-title {
   color: var(--lp-navy) !important;
   font-weight: 700 !important;
   font-size: clamp(28px, 3.4vw, 42px) !important;
   line-height: 1.2 !important;
   letter-spacing: -.01em;
   margin-bottom: 16px;
}
.lp-lead {
   color: var(--lp-text);
   font-size: 17px;
   line-height: 1.6;
   margin-bottom: 0;
}
.lp-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lp-text-justify { text-align: justify; }

/* ---------- Hero ---------- */
.lp-hero { padding: 40px 0 48px; }
.lp-hero__media img { width: 100%; height: auto; border-radius: 8px; }
.lp-badge {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 6px 20px;
   border: 1px solid #8cc0ec;
   background: var(--lp-soft-2);
   border-radius: 999px;
   color: var(--lp-navy);
   font-size: 15px;
   font-weight: 500;
}
.lp-badge svg { color: var(--lp-blue); }
.lp-hero h1 {
   color: var(--lp-navy);
   font-weight: 700;
   font-size: clamp(30px, 3.1vw, 40px);
   line-height: 1.18;
   margin: 24px 0 28px;
}
.lp-hero__desc { font-size: 17px; line-height: 1.55; text-align: justify; margin-bottom: 36px; }
.lp-hero__desc p:last-child { margin-bottom: 0; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.lp-stores img { height: 42px; width: auto; }
.lp-stores--lg img { height: 60px; }

/* ---------- Banner + trusted logos ---------- */
.lp-banner { position: relative; padding: 0; }
.lp-banner__image {
   display: block;
   width: 100%;
   height: auto;
   aspect-ratio: 1440 / 700;
   object-fit: cover;
   min-height: 320px;
}
.lp-video {
   position: relative;
   width: 100%;
   aspect-ratio: 1440 / 700;
   min-height: 320px;
   overflow: hidden;
   background: var(--lp-navy);
   container-type: size;
}
.lp-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-video iframe {
   position: absolute;
   top: 50%;
   left: 50%;
   width: max(100cqw, 177.78cqh);
   height: max(100cqh, 56.25cqw);
   transform: translate(-50%, -50%);
   border: 0;
   pointer-events: none;
}
.lp-video__sound {
   position: absolute;
   right: 24px;
   top: 24px;
   z-index: 2;
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 16px;
   border: 1px solid rgba(255, 255, 255, .7);
   border-radius: 999px;
   background: rgba(11, 60, 104, .35);
   backdrop-filter: blur(6px);
   color: #fff;
   font-weight: 700;
   font-size: 14px;
   cursor: pointer;
}
.lp-video__sound:hover { background: rgba(11, 60, 104, .55); }
.lp-trusted {
   position: relative;
   margin-top: -150px;
   padding: 40px 0 20px;
   background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 60%);
}
.lp-trusted__title { text-align: center; color: #fff; font-weight: 500; font-size: 20px; margin-bottom: 24px; text-shadow: 0 1px 8px rgba(11, 60, 104, .35); }
.lp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: lp-marquee 40s linear infinite; }
.lp-marquee:hover .lp-marquee__track { animation-play-state: paused; }
.lp-marquee__item img { height: 60px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.lp-marquee__item img:hover { filter: none; opacity: 1; }
@keyframes lp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Split blocks ---------- */
.lp-split img { width: 100%; height: auto; }
.lp-split + .lp-split { padding-top: 0; }
.lp-carousel .owl-dots { text-align: left !important; margin-top: 28px !important; }
.lp-carousel .owl-stage-outer { overflow: hidden; margin: 0 !important; padding: 0 !important; width: auto !important; }
.lp-carousel .owl-dots { display: flex; gap: 8px; }
.lp-carousel .owl-dot { padding: 0 !important; border: 0; background: none; }
.lp-carousel .owl-dot:focus { outline: none; }
.lp-carousel .owl-dot span { display: block; width: 12px !important; height: 12px !important; margin: 0 !important; border-radius: 50%; background: #fff !important; border: 1.5px solid var(--lp-blue); }
.lp-carousel .owl-dot.active span { background: var(--lp-blue) !important; }

/* ---------- Feature packages ---------- */
.lp-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.lp-package {
   background: #f7faff;
   border: 1.5px solid var(--lp-line);
   border-radius: 18px;
   padding: 24px 24px 28px;
}
.lp-package h3 { text-align: center; color: var(--lp-navy); font-size: 20px; font-weight: 700; line-height: 1.3; min-height: 52px; margin-bottom: 16px; }
.lp-checklist { list-style: none; padding: 0; margin: 0; }
.lp-checklist li { display: flex; gap: 12px; align-items: flex-start; color: #33475b; font-size: 15px; line-height: 1.35; padding: 5px 0; }
.lp-checklist svg { flex: 0 0 20px; color: var(--lp-orange); margin-top: -1px; }

/* ---------- Facility types ---------- */
.lp-facilities { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; }
.lp-facility { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 #eef2f7; }
.lp-facility img { display: block; width: 100%; aspect-ratio: 142 / 280; object-fit: cover; filter: grayscale(1); transition: filter .3s ease, transform .3s ease; }
.lp-facility::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 72%); pointer-events: none; }
.lp-facility:hover img { filter: none; transform: scale(1.03); }
.lp-facility h3 { position: absolute; left: 16px; right: 8px; bottom: 16px; z-index: 1; margin: 0; color: var(--lp-blue); font-size: 20px; font-weight: 700; }

/* ---------- Ecosystem ---------- */
.lp-ecosystem img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 55%, transparent 75%); }

/* ---------- Bento ---------- */
.lp-bento { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; max-width: 1020px; margin: 0 auto; }
.lp-card { background: var(--lp-soft-2); border-radius: var(--lp-radius); padding: 24px; display: flex; flex-direction: column; }
.lp-card--tall { grid-row: span 2; }
.lp-card--wide { grid-column: span 2; }
.lp-card--full { grid-column: 1 / -1; }
.lp-card__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--lp-blue); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.lp-card h3 { color: var(--lp-navy); font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.lp-card p { font-size: 14.5px; line-height: 1.55; color: #3f5165; margin-bottom: 16px; }
.lp-card .lp-btn { align-self: flex-start; margin-top: auto; }
.lp-card__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; height: 100%; }
.lp-card__row > div:first-child { display: flex; flex-direction: column; height: 100%; }
.lp-mock { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 10px 30px rgba(20, 121, 208, .08); font-size: 12.5px; }
.lp-mock__head { display: flex; align-items: center; justify-content: space-between; color: var(--lp-navy); font-weight: 700; margin-bottom: 10px; }
.lp-mock__head span:first-child::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-blue); margin-right: 8px; vertical-align: middle; }
.lp-mock__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; background: var(--lp-soft-2); color: #33475b; margin-top: 6px; }
.lp-mock--outline { background: transparent; box-shadow: none; border: 1px solid var(--lp-line); }
.lp-mock--outline .lp-mock__head { border: 1px solid var(--lp-line); border-radius: 8px; padding: 9px 12px; background: #fff; }
.lp-mock--outline .lp-mock__row { background: #fff; border: 1px solid var(--lp-line); margin-left: 16px; }
.lp-pill { font-size: 10.5px; color: var(--lp-blue); border: 1px solid #a9cff1; border-radius: 999px; padding: 1px 8px; background: #fff; }
.lp-mock__row .lp-pill { border: 0; background: transparent; padding: 0; }
.lp-mock--outline .lp-mock__row .lp-pill { border: 1px solid #a9cff1; padding: 1px 8px; }
.lp-card__shot { width: 100%; height: auto; border-radius: 14px; }
.lp-card--tall .lp-mock { margin: auto 0 20px; }

/* ---------- Articles ---------- */
.lp-search { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 32px; }
.lp-search input { width: 300px; max-width: 100%; border: 1px solid var(--lp-line); background: #f7faff; border-radius: 6px; padding: 10px 12px; font-size: 15px; color: var(--lp-navy); }
.lp-search input:focus { outline: none; border-color: var(--lp-blue); box-shadow: 0 0 0 3px rgba(20, 121, 208, .15); }
.lp-search button { width: 42px; border: 0; border-radius: 6px; background: var(--lp-blue); color: #fff; }
.lp-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-article { background: #f5f9fe; border-radius: var(--lp-radius); padding: 20px; transition: box-shadow .2s, transform .2s; position: relative; }
.lp-article:hover { box-shadow: 0 14px 30px rgba(11, 60, 104, .08); transform: translateY(-2px); }
.lp-article__thumb { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 312 / 233; background: #dfe9f5; }
.lp-article__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-article__cat { position: absolute; top: 0; right: 0; background: var(--lp-blue); color: #fff; font-size: 15px; padding: 8px 18px; border-radius: 0 14px 0 14px; z-index: 2; }
.lp-article__cat:hover { color: #fff; text-decoration: none; background: #0f6bbb; }
.lp-article__pin { position: absolute; top: 0; left: 0; background: var(--lp-orange); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 14px 0 14px 0; z-index: 2; }
.lp-article h3 { font-size: 18px; line-height: 1.35; font-weight: 700; margin: 20px 0 10px; }
.lp-article h3 a { color: var(--lp-blue); }
.lp-article h3 a::after { content: ''; position: absolute; inset: 0; }
.lp-article p { font-size: 15px; line-height: 1.4; text-align: justify; margin: 0; }
.lp-center { text-align: center; margin-top: 48px; }

/* ---------- Testimonials ---------- */
.lp-testimonial { position: relative; background: #f7f9fd; border-radius: 14px; padding: 48px 28px; display: flex; gap: 24px; align-items: center; min-height: 240px; }
.lp-testimonial--reverse { flex-direction: row-reverse; }
.lp-testimonial__avatar { flex: 0 0 96px; }
.owl-carousel .lp-testimonial__avatar img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; }
.lp-testimonial__quote { position: absolute; top: 24px; right: 32px; font-size: 96px; line-height: 1; font-weight: 700; color: #fbe9dc; font-family: Georgia, serif; }
.lp-testimonial--reverse .lp-testimonial__quote { right: 150px; }
.lp-testimonial__body { position: relative; }
.lp-testimonial__body h3 { color: var(--lp-blue); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.lp-testimonial__body h4 { color: var(--lp-blue); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.lp-testimonial__body div, .lp-testimonial__body p { font-size: 14.5px; line-height: 1.5; color: var(--lp-text); margin: 0; }
.lp-testimonials .owl-nav { text-align: center; margin-top: 20px; }
.lp-testimonials .owl-nav button { width: 40px; height: 40px; border-radius: 50% !important; background: var(--lp-soft-2) !important; color: var(--lp-blue) !important; margin: 0 6px !important; }

/* ---------- Stats ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(4, 182px); gap: 22px; justify-content: center; }
.lp-stat { background: var(--lp-soft-2); border-radius: 16px; padding: 28px 12px 24px; text-align: center; color: var(--lp-blue); }
.lp-stat i { font-size: 54px; line-height: 1; }
.lp-stat strong { display: block; font-size: 26px; font-weight: 700; margin-top: 20px; }
.lp-stat .counter { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }
.lp-stat span { font-size: 16px; font-weight: 500; }

/* ---------- Forms ---------- */
.lp-form { max-width: 812px; margin: 0 auto; }
.lp-form .lp-field { width: 100%; border: 1px solid #a9cff1; background: #f7faff; border-radius: 6px; padding: 14px 12px; font-size: 16px; color: var(--lp-navy); margin-bottom: 20px; }
.lp-form .lp-field::placeholder { color: #8796a7; }
.lp-form .lp-field:focus { outline: none; border-color: var(--lp-blue); box-shadow: 0 0 0 3px rgba(20, 121, 208, .15); background: #fff; }
.lp-form textarea.lp-field { min-height: 140px; resize: vertical; }
.lp-form select.lp-field {
   height: auto;
   -webkit-appearance: none;
   appearance: none;
   padding-right: 40px;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231479d0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 14px center;
   cursor: pointer;
}
.lp-form select.lp-field:invalid,
.lp-form select.lp-field.is-placeholder { color: #8796a7; }
.lp-form .lp-field.is-invalid { border-color: #e5484d; background: #fff8f8; }
.lp-form .lp-field.is-invalid:focus { box-shadow: 0 0 0 3px rgba(229, 72, 77, .15); }
.lp-hint { display: block; margin: -14px 0 14px; font-size: 13px; line-height: 1.4; color: #d93025; text-align: left; }
.lp-hint:empty { display: none; }
.lp-subscribe { display: flex; gap: 12px; justify-content: center; max-width: 480px; margin: 0 auto; }
.lp-subscribe input { flex: 1; border: 1px solid var(--lp-line); background: #f7faff; border-radius: 8px; padding: 12px; font-size: 15px; }
.lp-subscribe input:focus { outline: none; border-color: var(--lp-blue); }
.lp-subscribe .lp-btn { border-radius: 8px; padding: 12px 20px; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 886px; margin: 0 auto; }
.lp-faq__item { background: #f7f9fd; border-radius: 8px; margin-bottom: 12px; }
.lp-faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; padding: 16px 28px; font-size: 18px; font-weight: 500; color: var(--lp-navy); }
.lp-faq__q:hover, .lp-faq__q[aria-expanded="true"] { color: var(--lp-blue); }
.lp-faq__q:focus { outline: none; }
.lp-faq__q:focus-visible { outline: 3px solid rgba(20, 121, 208, .3); border-radius: 8px; }
.lp-faq__q svg { flex: 0 0 18px; transition: transform .2s; }
.lp-faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.lp-faq__a { padding: 0 28px 20px; font-size: 15.5px; line-height: 1.6; }
.lp-faq__a p:last-child { margin-bottom: 0; }

/* ---------- Download band ---------- */
/* legacy app.css forces section { background-color: transparent !important } */
#download.lp-download { background-image: none; background-color: var(--lp-blue-band) !important; color: #fff; padding: 72px 0 40px; }
.lp-download h2 { color: #fff; font-weight: 700; font-size: clamp(28px, 3vw, 38px); }
.lp-download p { color: #fff; opacity: .95; font-size: 17px; }
.lp-download img.lp-download__art { width: 100%; max-width: 440px; height: auto; }

/* ---------- Footer (all pages) ---------- */
.lp-footer { background: var(--lp-blue-band); color: #fff; padding: 56px 0 24px; font-family: var(--lp-font); }
.lp-download + .lp-footer { padding-top: 24px; }
.lp-footer a { color: #fff; }
.lp-footer a:hover { color: #fff; opacity: .8; text-decoration: none; }
.lp-footer__about p { font-size: 14px; line-height: 1.5; max-width: 320px; margin: 16px 0 24px; }
.lp-footer__social { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.lp-footer h2 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.lp-footer ul.lp-footer__menu { list-style: none; padding: 0; margin: 0; }
.lp-footer ul.lp-footer__menu li { margin-bottom: 10px; font-size: 14px; }
.lp-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.lp-footer__contact i { width: 16px; margin-top: 3px; }
.lp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .6); margin-top: 36px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.lp-footer__bottom p { margin: 0; }
.lp-footer__legal { display: flex; gap: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
   .lp-facilities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
   .lp-section { padding: 56px 0; }
   .lp-hero__media { margin-bottom: 32px; }
   .lp-bento { grid-template-columns: 1fr 1fr; }
   .lp-card--tall { grid-row: auto; }
   .lp-card--wide, .lp-card--full { grid-column: 1 / -1; }
   .lp-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .lp-stats { grid-template-columns: repeat(2, minmax(0, 182px)); }
   .lp-trusted { margin-top: -80px; }
   .lp-split .lp-split__media { margin-top: 32px; }
   .lp-split--reverse .lp-split__media { margin: 0 0 32px; }
   #navbar .lp-btn { margin: 8px 0 0 !important; }
}
@media (max-width: 767.98px) {
   .lp-facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .lp-facility img { aspect-ratio: 3 / 4; }
   .lp-bento, .lp-articles { grid-template-columns: 1fr; }
   .lp-card__row { grid-template-columns: 1fr; }
   .lp-testimonial, .lp-testimonial--reverse { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
   .lp-testimonial--reverse .lp-testimonial__quote { right: 32px; }
   .lp-search { justify-content: center; }
   .lp-search input { flex: 1; }
   .lp-hero__desc { text-align: left; }
   .lp-text-justify { text-align: left; }
   .lp-trusted { margin-top: 0; padding-top: 24px; }
   .lp-trusted__title { font-size: 17px; color: var(--lp-navy); text-shadow: none; }
   .lp-video__sound { right: 12px; top: 12px; padding: 6px 12px; font-size: 13px; }
   .lp-marquee__item img { height: 44px; }
   .lp-download { text-align: center; }
   .lp-download .lp-stores { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
   .lp-marquee__track { animation: none; }
   .lp-btn, .lp-facility img, .lp-article { transition: none; }
}
