/* Mayan protocol menus — ortizcare.com (Nov 27 2026). Desktop thumbnail mega menu + Serenity-layout mobile drawer. */
.hdr__phone,.hdr__phone span,.d2 .nw,.mt-tel span{white-space:nowrap}
/* ---------- desktop: compact dropdown under each menu item, small thumbnails, one-line labels */
.nav__item.nav__item--mega{position:relative}
.mega.mega--t{left:50%;right:auto;top:calc(100% + 6px);width:460px;margin-left:-230px;border:1px solid var(--line);border-top:3px solid var(--leaf);border-radius:14px;box-shadow:0 18px 40px -18px rgba(11,58,33,.35)}
.mega--t .mt-in{display:block;max-width:none;margin:0;padding:12px 12px 10px}
.mega--t .mega__h{margin:2px 6px 6px;font-size:.68rem}
.mt-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:2px 6px}
.mt-grid li{margin:0}
.mega .mt{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 8px 5px 5px;border-radius:9px;color:var(--ink);text-decoration:none}
.mega .mt:hover,.mega .mt:focus-visible,.mega .mt[aria-current="page"]{background:var(--surface-alt)}
.mt img{width:32px;height:32px;border-radius:7px;object-fit:cover;flex:none;background:var(--surface-alt)}
.mt b{display:block;font:600 .86rem/1.2 var(--font-body);color:var(--heading)}
.mega .mt-all{display:flex;align-items:center;gap:6px;margin:6px 6px 0;padding-top:8px;min-height:36px;border-top:1px solid var(--line);font:700 .84rem/1 var(--font-body);color:var(--primary);text-decoration:none}
.mt-ic{display:grid;place-items:center;flex:none;border-radius:7px;background:var(--surface-alt);color:var(--primary);border:1px solid var(--line)}
.mt-ic svg{width:16px;height:16px}
.d2 .mt-ic{background:rgba(143,220,171,.14);color:#8FDCAB;border-color:rgba(255,255,255,.12)}
/* ---------- mobile drawer (Serenity layout, Ortiz greens) */
.drawer__panel.d2{width:100%;max-width:520px;padding:0 0 calc(22px + env(safe-area-inset-bottom));background:radial-gradient(520px 380px at 85% -10%,#1f7a47 0%,rgba(31,122,71,0) 70%),linear-gradient(180deg,#0B3A21 0%,#08301b 55%,#062615 100%);color:#fff;overflow-x:hidden;position:absolute}
.d2 *{box-sizing:border-box}
.d2 .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.d2-leaf{position:absolute;right:-40px;top:130px;width:260px;height:260px;color:#8FDCAB;opacity:.08;pointer-events:none}
.d2-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 18px 10px;background:linear-gradient(180deg,#0B3A21 82%,rgba(11,58,33,0))}
.d2-logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.d2-logo img{width:48px;height:48px;border-radius:50%;background:#fff;padding:2px;display:block}
.d2-logo b{display:block;font:600 1.12rem/1.1 var(--font-display)}
.d2-logo small{display:block;margin-top:3px;font:700 .62rem/1 var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:#8FDCAB}
.d2-x{width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.d2-x .icon{width:20px;height:20px}
.d2-rv{margin:4px 18px 0;display:grid;gap:10px}
.drawer .d2 a.d2-rate{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none}
.d2-rate>b{font:900 30px/1 var(--font-display);letter-spacing:-.02em}
.d2-rate .st{color:#F4B400;font-size:17px;letter-spacing:2px;line-height:1}
.d2-rate .st i{font-style:normal;background:linear-gradient(90deg,#F4B400 50%,rgba(255,255,255,.35) 50%);-webkit-background-clip:text;background-clip:text;color:transparent}
.d2-rate .d2-rt{display:block;font:800 1.05rem/1.1 var(--font-display)}
.d2-rate small{display:block;margin-top:4px;font:600 .8rem/1 var(--font-body);color:#cfe9d8}
.d2-gbadge{width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none}
.d2-gbadge .d2-g{width:24px;height:24px;padding:0;background:none}
.d2-rate .go{margin-left:auto;color:#8FDCAB;font:700 .82rem/1 var(--font-body);white-space:nowrap}
.drawer .d2 a.d2-write{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 16px;border-radius:16px;background:linear-gradient(135deg,#F7C948,#F4B400);color:#0B2A18;font:800 1rem/1 var(--font-display);text-decoration:none;box-shadow:0 10px 24px -12px rgba(244,180,0,.8)}
.d2-write .d2-g{width:22px;height:22px;padding:3px;border-radius:50%;background:#fff;flex:none}
.d2-wst{font-size:.8rem;letter-spacing:1px;color:#0B2A18;opacity:.75}
.drawer .d2 a.d2-write:active{transform:scale(.98)}
.d2-acts{margin:14px 18px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.drawer .d2 a.d2-act{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;min-height:96px;padding:14px;border-radius:18px;text-decoration:none;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.d2-act .icon{width:24px;height:24px;color:#8FDCAB}
.d2-act b{display:block;font:800 1.02rem/1.15 var(--font-display)}
.d2-act small{display:block;margin-top:3px;font:600 .76rem/1.2 var(--font-body);color:#c4e3cf}
.drawer .d2 a.d2-act--main{background:linear-gradient(140deg,#ffffff,#e6f4ea);color:#0B3A21;border-color:transparent;box-shadow:0 16px 30px -16px rgba(0,0,0,.6)}
.d2-act--main .icon{color:#006837}
.d2-act--main small{color:#2f6e48}
.d2-nav{margin:18px 18px 0;border-top:1px solid rgba(255,255,255,.12)}
.drawer .d2 .d2-row{display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:58px;padding:0 2px;border-bottom:1px solid rgba(255,255,255,.12);color:#fff;text-decoration:none;font:700 1.12rem/1.2 var(--font-display);list-style:none;cursor:pointer}
.d2-row::-webkit-details-marker{display:none}
.d2-row[aria-current="page"]{color:#8FDCAB}
.d2-row .ic{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:rgba(143,220,171,.12);color:#8FDCAB;flex:none}
.d2-row .ic svg{width:19px;height:19px}
.d2-row .chev{margin-left:auto;width:18px;height:18px;color:#8FDCAB;transition:transform .25s}
.drawer .d2 details{border-bottom:0}
.drawer .d2 details[open] summary .icon{transform:none}
.drawer .d2 .d2-det[open]>.d2-row .chev{transform:rotate(180deg)}
.d2-det[open]>.d2-row{border-bottom-color:transparent}
.d2-sub{padding:0 0 12px;border-bottom:1px solid rgba(255,255,255,.12)}
.d2-cat{margin:2px 0 6px;font:800 .7rem/1 var(--font-body);letter-spacing:.18em;text-transform:uppercase;color:#8FDCAB}
.d2-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.drawer .d2 details a.d2-svc{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 6px;border-radius:11px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#fff;text-decoration:none;min-height:46px}
.drawer .d2 details a.d2-svc[aria-current="page"]{border-color:#8FDCAB}
.d2-svc img{width:32px;height:32px;border-radius:7px;object-fit:cover;flex:none;background:#1f7a47}
.d2-svc b{display:block;font:600 .8rem/1.2 var(--font-body);color:#fff}
.d2-svc small{display:block;margin-top:2px;font:600 .7rem/1.2 var(--font-body);color:#c4e3cf}
.drawer .d2 details a.d2-all{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:999px;border:1.5px solid rgba(255,255,255,.3);color:#fff;text-decoration:none;font:700 .92rem/1 var(--font-body)}
.drawer .d2 details a.d2-svc:hover,.drawer .d2 a.d2-act:hover{background:rgba(255,255,255,.12)}
.drawer .d2 a.d2-act--main:hover{background:linear-gradient(140deg,#ffffff,#d9efe0)}
.d2-foot{text-align:center;margin:20px 18px 0;padding:16px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);font:600 .86rem/1.5 var(--font-body);color:#cfe9d8}
.d2-foot a{color:#fff}
.d2-soc{display:flex;justify-content:center;gap:12px;margin-top:14px}
.drawer .d2 .d2-soc a{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:0;background:rgba(255,255,255,.1);color:#fff}
.d2-soc .icon{width:18px;height:18px}
body:has(.drawer.is-open) .oai-launch,body:has(.drawer.is-open) .oai-nudge{display:none!important}
.d2 a:focus-visible,.d2 summary:focus-visible,.d2 button:focus-visible{outline:3px solid #8FDCAB;outline-offset:2px}
@media (max-width:360px){.d2-grid{grid-template-columns:1fr}.d2-acts{gap:8px}.drawer .d2 a.d2-act{padding:12px}}
