/* v2 additions: mtglawyers.com structure (dropdown nav, tiles, prose, article pages) on the v1 design system */
.menu{align-items:center}
.menu .dd{position:relative;padding:14px 0;margin:-14px 0}
.menu .caret{font-size:10px;opacity:.6;margin-left:4px}
.menu .sub{position:absolute;top:100%;left:-16px;min-width:280px;background:var(--night2);border:1px solid var(--line-d);border-radius:14px;padding:8px;display:none;flex-direction:column;box-shadow:0 24px 54px rgba(0,0,0,.5);z-index:60}
.menu .dd:hover>.sub,.menu .dd:focus-within>.sub{display:flex}
.menu .sub .dd{padding:0;margin:0}
.menu .sub .sub{top:-9px;left:calc(100% + 4px)}
.menu .sub a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;border-radius:8px;white-space:nowrap;font-size:13.5px}
.menu .sub a:hover,.menu .sub a.on{background:rgba(255,255,255,.07);color:#fff}
@media (max-width:1180px){.site-header .menu{display:none}.site-header .burger{display:inline-flex}}
.mobile-menu{overflow-y:auto}
.mobile-menu a.mm.l1{padding-left:18px;font-size:17px;opacity:.85}
.mobile-menu a.mm.l2{padding-left:36px;font-size:15px;opacity:.75}
.mm-acts{display:grid;gap:10px;margin:22px 0 30px}
/* sections */
.wrap.narrow{max-width:880px}
.sec .wrap>h2{margin-bottom:18px}
.band-h h2{max-width:900px;margin:0 auto}
.prose{font-size:16.5px;line-height:1.7;color:#3b3842}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{padding-left:22px;margin:0 0 18px}.prose li{margin:6px 0}
.prose h2{font-size:34px;margin:34px 0 14px}.prose h3{font-size:24px;margin:28px 0 10px}.prose h4,.prose h5{font-size:19px;margin:22px 0 8px}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.prose table{border-collapse:collapse;margin:0 0 18px}.prose td{padding:8px 16px 8px 0;border-bottom:1px solid var(--line-l)}
.dark .prose{color:#d6d4de}.dark .prose a{color:var(--gold)}
.cta-row{margin-top:8px}
.split{margin-bottom:0}
.split.rev>img,.split.rev>.imglink{order:2}
.split .imglink{display:block;height:100%}.split .imglink img{height:100%}
.split .body .prose{font-size:16px}
.split .body h2:first-child{margin-top:0}
.split .body .cta-row{margin-top:18px}
.cards{margin:22px 0}
.card.photo img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.card.photo .cdesc p{font-size:14.5px;color:var(--muted);line-height:1.6;margin:0 0 10px}
.card.photo .cdesc ul{padding-left:18px;font-size:14.5px;color:var(--muted)}
.inline-img{border-radius:18px;margin:18px 0;max-height:420px;object-fit:cover;width:100%}
/* tiles (live: image-box + button) */
.tiles{gap:18px;margin-bottom:18px}
.tiles.t4{grid-template-columns:repeat(4,1fr)}.tiles.t3{grid-template-columns:repeat(3,1fr)}.tiles.t2{grid-template-columns:repeat(2,1fr)}.tiles.t1{grid-template-columns:minmax(0,380px)}
.tile{position:relative;border-radius:18px;overflow:hidden;display:block;aspect-ratio:4/3;background:var(--ink);box-shadow:0 14px 34px rgba(30,25,10,.14)}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,10,20,.94) 0%,rgba(10,10,20,.45) 45%,rgba(10,10,20,.05) 75%)}
.tile .tl{position:absolute;left:18px;right:18px;bottom:16px;z-index:1;color:#fff;font:600 19px/1.25 var(--serif);display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.tile .tl svg{width:18px;height:18px;color:var(--gold);flex:none;margin-bottom:3px}
.tile:hover img{transform:scale(1.05)}
/* contact */
.ilist{list-style:none;padding:0;margin:14px 0 24px}
.ilist li{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line-l);font-size:16px}
.ilist svg{width:18px;height:18px;color:var(--gold2);flex:none}
.ilist a{color:var(--text)}
.contact-grid{gap:48px;align-items:start}
.prose-col h2{font-size:30px;margin:0 0 12px}.prose-col h2:not(:first-child){margin-top:26px}
.contact-grid>div>h2{font-size:30px;margin:0 0 16px}
.map-ph{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:28px}
.map-ph svg{width:34px;height:34px;color:var(--gold2)}
/* article (SEO guide) pages */
.article-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:60px;align-items:start}
.article h2{font-size:32px;margin:42px 0 14px}.article>h2:first-child,.article>p:first-child{margin-top:0}
.side{position:sticky;top:24px;display:grid;gap:18px}
.side-card{background:var(--cream);border-radius:20px;padding:26px}
.side-card h3{font-size:24px;margin-bottom:8px}.side-card p{font-size:14.5px;color:var(--muted)}
.side-card .callout.fee{margin-top:16px}
.mini-atty h4 a{color:inherit}
.tr-banner{background:#fbf3dc;padding:14px 0;text-align:center;font-size:14px}
/* home */
.home-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.home-side .port{border-radius:18px;overflow:hidden;background:#fff;color:var(--text);display:block;box-shadow:0 24px 54px rgba(0,0,0,.35)}
.home-side img{aspect-ratio:4/5;object-fit:cover;width:100%;display:block}
.home-side .cap{padding:14px 16px}.home-side .cap b{display:block;font:600 19px var(--serif)}.home-side .cap small{font:700 10.5px var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--blue)}
.tagline .sec-head{margin-bottom:24px}
/* footer */
.hours{list-style:none;padding:0}.hours li{font-size:13.5px}.hours .hday{display:block;color:#c9c6d3;font-weight:600}
.legal .disc{margin:0 0 10px}.legal .copy{margin-top:12px;color:#c9c6d3}
.nolink{opacity:.6;cursor:not-allowed}
.remove-box{padding:34px;text-align:left;font-size:16px;line-height:1.7}
.tree{list-style:none;padding-left:0;margin:10px 0}.tree .tree{padding-left:18px;border-left:1px dashed var(--line-l);margin:4px 0 4px 6px}
.tree li{padding:4px 0;font-size:15px}.tree a{color:var(--navy)}
@media (max-width:1080px){.tiles.t4{grid-template-columns:repeat(2,1fr)}.article-grid{grid-template-columns:1fr}.side{position:static}}
@media (max-width:720px){
  .tiles.t4,.tiles.t3,.tiles.t2{grid-template-columns:1fr 1fr;gap:12px}.tile .tl{font-size:14.5px;left:12px;right:12px;bottom:10px}.tile .tl svg{display:none}
  .prose h2,.article h2{font-size:27px}.prose{font-size:16px}
  .home-side{gap:12px}.home-side .cap b{font-size:16px}
  .split.rev>img,.split.rev>.imglink{order:0}
  .map-ph{min-height:240px}
  .contact-grid{gap:28px}
}
/* Spanish menu labels are longer */
@media (max-width:1600px){html[lang=es] .site-header .menu{gap:14px}html[lang=es] .site-header .menu>a,html[lang=es] .site-header .menu>.dd>a{font-size:13px}}
@media (max-width:1380px){html[lang=es] .site-header .menu{display:none}html[lang=es] .site-header .burger{display:inline-flex;align-items:center;justify-content:center}html[lang=es] .nav-right .phone-btn{display:none}}
@media (max-width:420px){html[lang=es] .nav-right .chat-top{padding:0 10px;font-size:12px}html[lang=es] .nav-right .chat-top svg{display:none}}
/* production additions */
.notice-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-left:4px solid var(--gold,#c9a24b);border-radius:14px;padding:22px 26px}
.notice-card h3{margin:0 0 8px;font-size:20px}.notice-card p{margin:0 0 8px}.notice-card p:last-child{margin-bottom:0}
.contact-card p{margin:0 0 16px}.contact-card .btn{justify-content:center}
.map-embed{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.map-embed iframe{width:100%;height:360px;border:0;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
/* 10/29: Retell chat FAB sits bottom-right; keep call bubble bottom-left, dock clear of the FAB */
.chat-bubble{right:auto;left:26px}
.mg-form .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.mg-form{position:relative}
.mg-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mg-form .consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;color:#5d5966;margin:4px 0 14px}
.mg-form .consent input{margin-top:3px;flex:none;width:18px;height:18px}
.mg-form .form-foot{flex-wrap:wrap}
.form-msg{padding:14px;border-radius:10px;margin:0 0 16px;font-size:14px}
.form-msg.ok{background:#eef7f0;border:1px solid #b9dcc3;color:#245a34}
.form-msg.err{background:#fbeeee;border:1px solid #e3bcbc;color:#7a2626}
#email-form{scroll-margin-top:110px}
@media (max-width:760px){.mg-form .row2{grid-template-columns:1fr;gap:0}.dock{right:92px!important}}
