/* Compact product previews follow the height of the four navigation items. */
header ul[role=list]{height:auto!important;overflow:visible!important;align-self:start}
header ul[role=list]+div{height:auto!important;min-height:0;align-self:stretch}
.ac-menu-panel{position:absolute;inset:0;height:auto;padding:12px;gap:8px;min-height:0;overflow:hidden}
.ac-menu-services-compact{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px}
.ac-menu-description{font-size:12px;line-height:1.5;color:#78716c;margin:0}
.ac-menu-key-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:auto 0}
.ac-menu-key-service{display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 6px;background:#fff;border:1px solid #e7e5e4;border-radius:10px;font-size:12px;font-weight:600;line-height:1.35}
.ac-menu-panel .ac-menu-cta{font-size:12px;padding:7px 14px;line-height:1.4;margin-top:auto}
.ac-menu-brand-grid{margin:0;height:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));gap:4px;overflow:visible;flex:1}
.ac-menu-brand-grid .ac-menu-brand{min-height:0;padding:2px 3px;font-size:11px;line-height:1.1;border-radius:7px}
.ac-menu-portal-compact{height:100%;min-height:0;display:flex;flex-direction:column;gap:7px}
.ac-menu-portal-compact .ac-menu-widget{padding:7px 10px;border-radius:12px;gap:7px}
.ac-menu-portal-compact .ac-menu-widget strong{font-size:12px;line-height:1.35}
.ac-menu-portal-compact .ac-menu-widget small{margin-top:1px;font-size:11px;line-height:1.3}
.ac-menu-portal-compact .ac-menu-metrics>div{padding:7px 10px}
.ac-menu-portal-compact .ac-menu-metrics strong{font-size:16px;line-height:1.2;margin:2px 0 0}
.ac-menu-portal-compact .ac-menu-alert{gap:2px}
.ac-menu-panel .ac-menu-phone-wrap{height:100%;min-height:0}
.ac-menu-panel .ac-menu-phone{height:100%;width:auto;aspect-ratio:172/350;border-width:4px;border-radius:21px;max-width:100%}
.ac-menu-panel .ac-menu-phone img{width:70%;height:auto}
.ac-menu-panel .ac-menu-island{top:2.5%;width:32%;height:4.6%}
.ac-menu-panel .ac-menu-phone:after{bottom:2.5%;width:34%;height:3px}
/* Main page: services directly after the portal slides, followed by side-by-side procedures. */
.ac-home-services{padding:32px 0 64px}
.ac-home-section-title{font-family:inherit;font-size:24px;font-weight:400;line-height:1.35;letter-spacing:-.02em;margin:0}
.ac-home-services>.ac-home-section-title{text-align:center;margin:0 0 32px}
.ac-home-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.ac-home-service-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding-top:24px;border-top:1px solid #e7e5e4}
.ac-home-service-card h3{font-size:15px;font-weight:600;line-height:1.4;letter-spacing:-.01em;margin:0 0 10px}
.ac-home-service-card p{font-size:14px;line-height:1.6;color:#78716c;margin:0 0 24px}
.ac-home-button{display:inline-flex;justify-content:center;align-items:center;font-size:13px;font-weight:500;line-height:1.4;padding:10px 20px;border-radius:999px;background:#1c1917;color:#fff!important;text-decoration:none!important}
.ac-home-service-card .ac-home-button{margin-top:auto}
.ac-home-button:hover{background:#35312e}.ac-home-button:focus-visible{outline:2px solid #0066ff;outline-offset:4px}
.ac-home-tramites{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:64px;align-items:center;padding:64px 0 80px}
.ac-home-tramites-heading{max-width:440px}
.ac-home-tramites-intro{font-size:15px;line-height:1.6;color:#78716c;margin:20px 0 28px}
.ac-home-tramites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.ac-home-tramite{display:flex;align-items:flex-start;gap:12px;min-width:0}
.ac-home-tramite img{width:18px;height:18px;flex:none;opacity:.7;margin-top:2px}
.ac-home-tramite p{font-size:14.5px;font-weight:500;line-height:1.4;color:#0e0e10;margin:0}
@media(min-width:768px){.ac-home-section-title{font-size:28px}.ac-home-tramites-intro{font-size:16px}}
@media(max-width:1023px){.ac-home-tramites{gap:36px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.ac-home-tramites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}}
@media(max-width:767px){.ac-home-services{padding:24px 0 40px}.ac-home-services-grid{grid-template-columns:1fr;gap:28px}.ac-home-service-card p{margin-bottom:20px}.ac-home-tramites{grid-template-columns:1fr;gap:32px;padding:40px 0 56px}.ac-home-tramites-heading{max-width:none}.ac-home-tramites-intro{margin-top:16px}.ac-home-tramites-grid{gap:26px 24px}}

/* Absolute bounds keep the app mockup proportional inside the compact preview. */
.ac-menu-panel .ac-menu-phone-wrap{position:absolute;inset:12px;display:block;height:auto;min-height:0}
.ac-menu-panel .ac-menu-phone{position:absolute;top:0;bottom:0;left:50%;height:100%;width:auto;transform:translateX(-50%);max-width:none}
