/* Boston Diabetes · Oman diabetic foot landing page · v1.0 (Nov 2026)
   Self-contained: does not depend on /assets/css/site.css. RTL-first (Arabic default), LTR when lang=en. */
:root{
  --teal:#077A80;--teal-d:#05636A;--clay:#B84A27;--clay-d:#9A3B1D;--saffron:#E3A33A;--gold:#FFD58A;
  --navy:#142A4C;--ink:#1B2433;--muted:#4A5568;--sand:#FFF1D6;--cream:#FFFBF3;--line:#F1E2C6;--white:#fff;--wa:#1F9D55;--wa-d:#178246;
  --r:22px;--shadow:0 14px 34px rgba(20,42,76,.12);
  --body:'IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
  --head:'Noto Kufi Arabic','IBM Plex Sans Arabic',system-ui,sans-serif;
}
html[lang="en"]{--head:'IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--body);font-size:17px;line-height:1.8;color:var(--ink);background:var(--cream)}
img{max-width:100%;height:auto;display:block}
a{color:var(--clay)}a:hover{color:var(--clay-d)}
h1,h2,h3{font-family:var(--head);color:var(--navy);margin:0;line-height:1.45}
p{margin:0}
.wrap{max-width:1160px;margin:0 auto;padding:0 22px}
.skip{position:absolute;inset-inline-start:-9999px;top:8px;background:#fff;padding:8px 14px;border-radius:8px;z-index:100}
.skip:focus{inset-inline-start:8px}
.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.i-fill{fill:currentColor;stroke:none}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
:focus-visible{outline:3px solid var(--saffron);outline-offset:2px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:999px;font-weight:700;font-size:17px;text-decoration:none;border:0;cursor:pointer;font-family:var(--body);line-height:1.2}
.btn-call{background:var(--teal);color:#fff}.btn-call:hover{background:var(--teal-d);color:#fff}
.btn-wa{background:var(--wa);color:#fff}.btn-wa:hover{background:var(--wa-d);color:#fff}
.btn-clay{background:var(--clay);color:#fff}.btn-clay:hover{background:var(--clay-d);color:#fff}
.btn-ghost{background:#fff;color:var(--teal);border:2px solid var(--teal)}
.btn-sm{min-height:44px;padding:0 16px;font-size:15px}

/* Header */
.site-header{background:#fff;border-bottom:4px solid var(--teal);position:relative;z-index:5}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;padding-bottom:10px}
.logo img{height:50px;width:auto}
.hdr-actions{display:flex;align-items:center;gap:8px}
.lang-btn{min-height:44px;padding:0 16px;border-radius:999px;border:2px solid var(--teal);background:#fff;color:var(--teal);font-weight:700;font-size:15px;cursor:pointer;font-family:var(--body)}

/* Hero */
.hero{position:relative;background:var(--sand);overflow:hidden}
.pattern{position:absolute;inset:0;pointer-events:none;opacity:.55;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23E3A33A' stroke-opacity='.55' stroke-width='1.2'%3E%3Crect x='23' y='23' width='26' height='26'/%3E%3Crect x='23' y='23' width='26' height='26' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E")}
.pattern.light{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.2'%3E%3Crect x='23' y='23' width='26' height='26'/%3E%3Crect x='23' y='23' width='26' height='26' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");opacity:1}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:52px;align-items:center;padding-top:44px;padding-bottom:64px}
.eyebrow{display:inline-block;padding:7px 16px;border-radius:999px;background:var(--teal);color:#fff;font-size:14px;font-weight:700}
.hero h1{margin-top:20px;font-size:clamp(34px,5vw,54px);font-weight:800}
.hero .sub{margin-top:6px;font-family:var(--head);font-size:clamp(23px,3vw,32px);font-weight:800;color:var(--clay);line-height:1.5}
.hero .lede{margin-top:18px;font-size:19px;color:#2D3748;max-width:560px}
.call-card{margin-top:26px;display:flex;align-items:center;gap:16px;max-width:480px;padding:16px 20px;border-radius:var(--r);background:var(--teal);color:#fff;text-decoration:none;box-shadow:0 14px 30px rgba(7,122,128,.3)}
.call-card:hover{background:var(--teal-d);color:#fff}
.call-ico{flex:none;width:56px;height:56px;border-radius:50%;background:#fff;color:var(--teal);display:flex;align-items:center;justify-content:center}
.call-ico .i{width:26px;height:26px}
.call-top{font-size:15px;font-weight:600;color:#E6FAFA;line-height:1.5}
.call-num{font-size:clamp(26px,3.4vw,34px);font-weight:800;letter-spacing:.02em;line-height:1.25}
.call-sub{font-size:14px;color:#E6FAFA;line-height:1.5}
.hero-ctas{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.text-link{font-weight:700;font-size:16px}
.hero-media{position:relative;justify-self:center;width:100%;max-width:430px}
.arch{aspect-ratio:4/5;border-radius:215px 215px 30px 30px;background:var(--saffron);padding:12px}
.arch img{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:205px 205px 22px 22px}
.badge{position:absolute;bottom:26px;inset-inline-start:-12px;background:#fff;border-radius:16px;padding:12px 16px;box-shadow:var(--shadow);max-width:250px}
.badge b{display:block;color:var(--teal);font-size:13px;direction:ltr;text-align:start}
.badge span{display:block;margin-top:2px;font-size:14px;line-height:1.55;font-weight:600;color:var(--navy)}

/* Sections */
.sec{padding:76px 0}
.sec-white{background:#fff}
.sec-head{max-width:760px;margin:0 auto 36px;text-align:center}
.sec-head h2{font-size:clamp(28px,3.4vw,38px)}
.sec-head p{margin-top:10px;font-size:18px;color:var(--muted)}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.sym{background:var(--cream);border:1px solid var(--line);border-radius:24px;overflow:hidden}
.sym img{width:100%;aspect-ratio:4/3;object-fit:cover}
.sym-body{padding:20px 22px 24px;border-top:6px solid var(--saffron)}
.sym:nth-child(2) .sym-body{border-top-color:var(--teal)}
.sym:nth-child(3) .sym-body{border-top-color:var(--clay)}
.sym h3{font-size:21px}
.sym p{margin-top:8px;color:#2D3748}
.note{margin-top:26px;display:flex;gap:12px;align-items:flex-start;padding:15px 20px;border-radius:14px;background:#FDECE6;color:#7A2410;font-size:15px;line-height:1.75}
.note .i{margin-top:3px}

/* Family band */
.family{position:relative;background:var(--clay);color:#fff;text-align:center;overflow:hidden}
.family .wrap{position:relative;max-width:900px}
.family .big{font-family:var(--head);font-size:clamp(26px,3.6vw,36px);line-height:1.6;font-weight:800;color:#fff}
.family p.lead{margin:14px auto 0;max-width:680px;font-size:19px;color:#FFF1E8}
.family .btn{margin-top:26px;background:#fff;color:var(--navy)}
.family .btn .i{color:var(--wa)}

/* Assessment */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.device{background:#fff;border-radius:24px;padding:16px;box-shadow:var(--shadow);max-width:540px;justify-self:center}
.device img{border-radius:16px}
.device figcaption{margin-top:10px;font-size:13px;color:var(--muted);text-align:center}
.split h2{font-size:clamp(28px,3.4vw,38px)}
.split .lead{margin-top:10px;font-size:18px;color:var(--muted)}
.checks{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px}
.checks li{display:flex;gap:12px;align-items:center;padding:13px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;font-weight:500}
.checks li::before{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat}

/* Options */
.options{position:relative;background:var(--teal);color:#fff;overflow:hidden}
.options .sec-head h2{color:#fff}
.options .sec-head p{color:#E6FAFA}
.opt{position:relative;background:#fff;color:var(--ink);border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
.opt-media{aspect-ratio:16/9;background:var(--sand);position:relative;overflow:hidden}
.opt-media img{width:100%;height:100%;object-fit:cover}
.opt-oman{display:flex;align-items:center;justify-content:center;background:linear-gradient(0deg,var(--sand),var(--sand))}
.opt-body{padding:24px 26px 28px}
.tag{display:inline-block;padding:5px 14px;border-radius:999px;background:var(--sand);color:#7A4E0E;font-size:14px;font-weight:800}
.opt h3{margin-top:10px;font-size:23px}
.opt p{margin-top:6px;color:#2D3748}
.options .foot{margin-top:24px;text-align:center;color:#E6FAFA}

/* Team */
.doc{background:var(--cream);border:1px solid var(--line);border-radius:20px;padding:24px 16px;text-align:center}
.mono{width:96px;height:96px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Sans Arabic',sans-serif;font-weight:700;font-size:30px;color:#fff;background:var(--teal);border:4px solid var(--sand);direction:ltr}
.doc:nth-child(2) .mono{background:var(--clay)}.doc:nth-child(3) .mono{background:var(--navy)}.doc:nth-child(4) .mono{background:#8A5A12}
.doc h3{margin-top:14px;font-size:18px}
.doc .q{margin-top:4px;font-size:14px;font-weight:700;direction:ltr}
.doc .r{margin-top:2px;font-size:14px;color:var(--muted)}
.team-label{margin:0 0 16px;text-align:center;font-size:14px;font-weight:800;letter-spacing:.05em;color:var(--teal)}
.adv-wrap{max-width:960px;margin:40px auto 0}
.adv-wrap .team-label{color:var(--clay)}
.adv{background:var(--navy);color:#fff;border-radius:20px;padding:22px 16px;text-align:center}
.adv .mono{background:#fff;color:var(--navy);border-color:var(--saffron)}
.adv h3{color:#fff;margin-top:12px;font-size:18px}
.adv .q{color:var(--gold);font-size:14px;font-weight:700;direction:ltr}
.adv .r{color:#DCE3EE;font-size:14px}
.adv-note{margin-top:12px;text-align:center;font-size:13px;color:var(--muted)}

/* FAQ */
.faq{max-width:860px;margin:0 auto}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 20px;margin-top:12px}
.faq summary{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;font-size:18px;color:var(--navy);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--clay);font-size:28px;line-height:1;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding-bottom:18px;color:var(--muted)}

/* Form */
.enquiry{position:relative;background:var(--teal);overflow:hidden}
.form-card{position:relative;max-width:620px;margin:0 auto;background:#fff;border-radius:28px;padding:32px 26px;box-shadow:0 24px 60px rgba(0,0,0,.22);border-top:8px solid var(--saffron)}
.form-card h2{text-align:center;font-size:clamp(26px,3vw,34px)}
.form-card .lead{margin-top:6px;text-align:center;color:var(--muted)}
.fgrid{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:700}
.field input,.field select{min-height:50px;padding:0 14px;border:1px solid #D8C7A6;border-radius:12px;background:#fff;font:inherit;font-size:16px;color:var(--ink);width:100%}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:#C0392B;background:#FFF7F5}
.phone{display:flex;direction:ltr;border:1px solid #D8C7A6;border-radius:12px;overflow:hidden;background:#fff}
.phone span{display:flex;align-items:center;padding:0 12px;background:var(--sand);font-weight:700;color:#7A4E0E}
.phone input{border:0;border-radius:0;min-height:48px}
.err{min-height:0;font-size:13px;color:#B42318;line-height:1.5}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
fieldset{border:0;margin:0;padding:0;min-width:0}
.submit{margin-top:16px;width:100%;min-height:56px;font-size:18px}
.privacy-note{margin-top:10px;font-size:13px;line-height:1.7;color:#5A6578;text-align:center}
.form-status{margin-top:10px;text-align:center;font-weight:600;min-height:0}
.form-status[data-state="error"]{color:#B42318}
.form-offline{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--sand);color:#6B4A12;font-size:14px;text-align:center}
.or-row{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.or-label{margin-top:18px;text-align:center;font-size:14px;color:var(--muted)}

/* Footer */
.site-footer{background:var(--navy);color:#DCE3EE;padding:36px 0 40px;font-size:14px;line-height:1.85}
.site-footer .chip{display:inline-block;background:#fff;border-radius:12px;padding:8px 14px}
.site-footer .chip img{height:38px;width:auto}
.site-footer a{color:var(--gold)}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px}
.site-footer p{margin-top:6px}

/* Mobile quick-contact bar: shown only when the hero buttons and the form are off-screen */
.qbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:none;gap:8px;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.08)}
.qbar .btn{flex:1;min-height:50px;padding:0 10px;font-size:15px}

/* Consent bar: one line, one big thumb button, sits above the quick bar on phones */
.consent{position:fixed;inset-inline:10px;bottom:10px;z-index:60;max-width:620px;margin-inline:auto;display:flex;align-items:center;gap:8px;background:var(--navy);color:#fff;border-radius:16px;padding:8px 8px 8px 14px;box-shadow:0 10px 28px rgba(0,0,0,.28);font-size:13px;line-height:1.5}
html[dir="rtl"] .consent{padding:8px 14px 8px 8px}
.consent[hidden]{display:none}
.consent p{flex:1;margin:0}
.consent button{flex:none;border:0;font-family:var(--body);cursor:pointer;font-weight:700;border-radius:999px}
.consent .yes{min-height:44px;min-width:84px;padding:0 18px;background:var(--saffron);color:var(--navy);font-size:15px}
.consent .no{min-height:44px;padding:0 6px;background:transparent;color:#C9D3E3;font-size:12px;text-decoration:underline}

/* Simple pages (thank-you, privacy) */
.page{padding:60px 0 80px}
.page .wrap{max-width:820px}
.page h1{font-size:clamp(30px,4vw,44px)}
.page h2{margin-top:30px;font-size:22px}
.page p,.page li{margin-top:10px;color:#2D3748}

@media (max-width:960px){
  .hero-grid,.split{grid-template-columns:minmax(0,1fr);gap:34px}
  .grid3{grid-template-columns:minmax(0,1fr)}
  .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  body{font-size:16px}
  .sec{padding:56px 0}
  .logo img{height:38px}
  .hdr-call,.hdr-wa{display:none}
  .grid2,.fgrid{grid-template-columns:minmax(0,1fr)}
  .hero-grid{padding-top:28px;padding-bottom:44px}
  .badge{inset-inline-start:8px;bottom:14px}
  html.qc-on .qbar{display:flex}
  html.qc-on body{padding-bottom:76px}
  html.qc-on .consent{bottom:84px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.submit:disabled,fieldset:disabled .submit{opacity:.55;cursor:not-allowed}
@media (max-width:720px){.consent{font-size:13px;padding:10px 12px}.consent .row{margin-top:6px}.consent button{min-height:36px}}

@media (max-width:960px){.adv-grid{grid-template-columns:minmax(0,1fr)}}
@media (min-width:600px) and (max-width:960px){.adv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Tap chips (one tap per answer) */
.chips-field{border:0;margin:0;padding:0;min-width:0}
.chips-field legend{font-size:14px;font-weight:700;padding:0;margin-bottom:6px}
.chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chips-stack{grid-template-columns:minmax(0,1fr)}
.chip{position:relative;display:block;cursor:pointer}
.chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.chip span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;padding:6px 12px;border:1.5px solid #D8C7A6;border-radius:14px;background:#fff;font-weight:600;font-size:15px;line-height:1.35;transition:background .15s,border-color .15s}
.chips-stack .chip span{justify-content:flex-start;text-align:start;padding-inline:16px}
.chip input:checked+span{background:var(--teal);border-color:var(--teal);color:#fff}
.chip input:focus-visible+span{outline:3px solid var(--saffron);outline-offset:2px}
.chips-field[aria-invalid="true"] .chip span{border-color:#C0392B}
.fgrid .chips-field{grid-column:1/-1}
#enquiry{scroll-margin-top:8px}
.form-card{scroll-margin-top:8px}
/* Thumb comfort */
a,button,label.chip{-webkit-tap-highlight-color:rgba(7,122,128,.15);touch-action:manipulation}
.submit{min-height:58px}
@media (max-width:720px){
  .form-card{padding:24px 16px;border-radius:22px}
  .hero .lede{font-size:17px}
  .call-card{padding:14px 16px}
  html.qc-on .consent{bottom:80px}
}

/* Kidney page: landscape hero frame + icon cards */
.hero-wide{max-width:560px}
.hero-wide .frame{border-radius:28px;background:var(--saffron);padding:10px}
.hero-wide .frame img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:20px}
.sym-ico .sym-icon{display:flex;align-items:center;justify-content:center;aspect-ratio:16/7;background:var(--sand);color:var(--teal)}
.sym-ico:nth-child(2) .sym-icon{color:var(--clay)}
.sym-ico:nth-child(3) .sym-icon{color:var(--navy)}
.device img{border-radius:16px;aspect-ratio:1/1;object-fit:cover}

/* Image slots: decorative until the photo arrives (labels show in preview builds only) */
.ph-slot{position:relative;display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden;color:var(--teal);background-color:var(--sand);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23E3A33A' stroke-opacity='.45' stroke-width='1'%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3Crect x='18' y='18' width='20' height='20' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E")}
.hero-wide .frame .ph-slot{border-radius:20px;background-color:#FFF8EA}
.device .ph-slot{border-radius:16px;color:var(--clay)}
.sym-ph2{color:var(--clay)}.sym-ph3{color:var(--navy)}
.ph-label{display:none;position:absolute;top:10px;inset-inline-start:10px;max-width:calc(100% - 20px);background:var(--navy);color:#fff;font-size:12px;font-weight:700;line-height:1.4;padding:5px 10px;border-radius:999px;direction:ltr;text-align:left}
html.show-ph .ph-label{display:block}
/* Kidney tests explainer */
.test-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 22px 24px;border-top:6px solid var(--teal)}
.test-card:nth-child(2){border-top-color:var(--saffron)}.test-card:nth-child(3){border-top-color:var(--clay)}
.test-code{display:inline-block;direction:ltr;font-weight:800;font-size:14px;letter-spacing:.04em;color:var(--teal);background:#E6F4F4;border-radius:999px;padding:3px 12px}
.test-card h3{margin-top:10px;font-size:21px}
.test-card p{margin-top:6px;color:#2D3748}
.tests-note{margin-top:22px;text-align:center;font-weight:600;color:var(--navy)}
#tests{background:#fff}
