/* Estiva Unified Layout Layer v4
   Purpose: consistent frontend header/footer and admin sidebar/topbar while preserving supplied page body designs. */
:root{
  --estiva-navy:#0A192F;
  --estiva-charcoal:#1A1A1A;
  --estiva-gold:#E5C76B;
  --estiva-gold-dark:#B8860B;
  --estiva-surface:#faf9fa;
  --estiva-border:rgba(255,255,255,.12);
  --estiva-text:#1b1c1d;
}
*{box-sizing:border-box}
.estiva-site-header{position:sticky;top:0;z-index:90;background:rgba(10,25,47,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--estiva-border);box-shadow:0 8px 28px rgba(0,0,0,.16)}
.estiva-site-shell{max-width:1440px;margin:0 auto;min-height:76px;padding:0 clamp(18px,4.5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.estiva-site-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;min-width:max-content}
.estiva-site-mark{width:36px;height:36px;border:1px solid rgba(229,199,107,.55);display:grid;place-items:center;color:var(--estiva-gold);font-family:Georgia,serif;font-size:20px;font-weight:700;letter-spacing:-.04em;background:rgba(255,255,255,.05)}
.estiva-site-name{font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1;font-weight:700;color:#fff;letter-spacing:.01em}
.estiva-site-nav{display:flex;align-items:center;justify-content:center;gap:22px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.estiva-site-nav::-webkit-scrollbar{display:none}
.estiva-site-nav a{white-space:nowrap;text-decoration:none;color:rgba(255,255,255,.72);font:600 13px/1.2 Inter,Arial,sans-serif;letter-spacing:.02em;transition:.18s ease}.estiva-site-nav a:hover,.estiva-site-nav a.estiva-active{color:var(--estiva-gold)}
.estiva-site-actions{display:flex;align-items:center;gap:12px;min-width:max-content}.estiva-site-pill{border:1px solid rgba(255,255,255,.16);height:38px;padding:0 13px;display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.78);text-decoration:none;font:600 12px Inter,Arial,sans-serif}.estiva-site-cta{height:42px;padding:0 18px;border:1px solid var(--estiva-gold);background:var(--estiva-gold);color:#0A192F;text-decoration:none;font:800 12px/42px Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 8px 22px rgba(229,199,107,.18)}
.estiva-site-footer{background:var(--estiva-navy);color:#fff;border-top:1px solid rgba(255,255,255,.08);padding:72px clamp(18px,4.5vw,72px) 28px}.estiva-footer-shell{max-width:1440px;margin:0 auto}.estiva-footer-grid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:34px;margin-bottom:52px}.estiva-footer-brand{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:700;color:var(--estiva-gold);margin-bottom:18px}.estiva-footer-copy{max-width:360px;color:rgba(255,255,255,.62);font:400 14px/1.8 Inter,Arial,sans-serif}.estiva-footer-title{font:800 11px/1 Inter,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--estiva-gold);margin-bottom:18px}.estiva-footer-list{display:flex;flex-direction:column;gap:12px}.estiva-footer-list a{color:rgba(255,255,255,.64);text-decoration:none;font:500 14px/1.4 Inter,Arial,sans-serif}.estiva-footer-list a:hover{color:#fff}.estiva-footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid rgba(255,255,255,.1);padding-top:24px;color:rgba(255,255,255,.48);font:500 12px/1.6 Inter,Arial,sans-serif}
.estiva-floating-contact{position:fixed;right:24px;bottom:24px;z-index:120;display:flex;flex-direction:column;gap:12px}.estiva-floating-contact a{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,.24)}.estiva-floating-contact .whatsapp{background:#25D366;color:#fff}.estiva-floating-contact .call{background:var(--estiva-navy);color:var(--estiva-gold);border:1px solid rgba(229,199,107,.35)}
body.estiva-admin-unified{background:#faf9fa!important;color:#1b1c1d!important;overflow-x:hidden}.estiva-admin-sidebar{position:fixed;left:0;top:0;width:264px;height:100vh;background:var(--estiva-navy);color:#fff;z-index:100;border-right:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;box-shadow:8px 0 24px rgba(0,0,0,.12)}.estiva-admin-brand{padding:22px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.estiva-admin-brand strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:21px;color:var(--estiva-gold)}.estiva-admin-brand span{display:block;margin-top:4px;font:700 10px/1 Inter,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.48)}.estiva-admin-nav{flex:1;overflow:auto;padding:14px 12px 18px}.estiva-admin-section-title{padding:14px 10px 8px;color:rgba(255,255,255,.42);font:800 10px/1 Inter,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}.estiva-admin-nav a{display:flex;align-items:center;gap:10px;min-height:38px;padding:9px 10px;border-radius:10px;text-decoration:none;color:rgba(255,255,255,.72);font:600 13px/1.25 Inter,Arial,sans-serif}.estiva-admin-nav a:hover,.estiva-admin-nav a.estiva-active{background:rgba(229,199,107,.12);color:var(--estiva-gold)}.estiva-admin-nav .material-symbols-outlined{font-size:20px}.estiva-admin-footer{padding:14px 16px;border-top:1px solid rgba(255,255,255,.08);font:600 12px Inter,Arial,sans-serif;color:rgba(255,255,255,.58)}.estiva-admin-topbar{position:fixed;left:264px;right:0;top:0;height:68px;z-index:95;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(15,23,42,.08);display:flex;align-items:center;justify-content:space-between;padding:0 28px;box-shadow:0 4px 18px rgba(10,25,47,.06)}.estiva-admin-search{display:flex;align-items:center;gap:10px;min-width:min(420px,42vw);height:40px;border:1px solid #e3e2e3;background:#f5f3f4;border-radius:12px;padding:0 14px;color:#5a5f63;font:500 13px Inter,Arial,sans-serif}.estiva-admin-actions{display:flex;align-items:center;gap:12px}.estiva-admin-icon{width:38px;height:38px;border:1px solid #e3e2e3;border-radius:10px;display:grid;place-items:center;color:#0A192F;background:#fff}.estiva-admin-user{display:flex;align-items:center;gap:10px;font:700 13px Inter,Arial,sans-serif;color:#0A192F}.estiva-admin-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--estiva-navy),var(--estiva-gold));border:2px solid #fff;box-shadow:0 0 0 1px #e3e2e3}
body.estiva-admin-unified main{margin-left:264px!important;padding-top:88px!important;min-height:100vh}body.estiva-admin-unified main.ml-64{margin-left:264px!important}body.estiva-admin-unified [class*="ml-64"]{margin-left:264px!important}.estiva-admin-unified .estiva-admin-layout-note{margin-left:264px;padding:88px 28px 0;color:#5a5f63;font:500 13px Inter,Arial,sans-serif}.estiva-builder-page .estiva-admin-sidebar,.estiva-builder-page .estiva-admin-topbar{display:none!important}.estiva-builder-page main{margin-left:16rem!important;padding-top:0!important}
@media(max-width:1120px){.estiva-site-shell{min-height:auto;padding-top:14px;padding-bottom:14px;align-items:flex-start;flex-direction:column}.estiva-site-actions{width:100%;justify-content:space-between}.estiva-site-nav{width:100%;justify-content:flex-start}.estiva-footer-grid{grid-template-columns:repeat(2,1fr)}.estiva-admin-sidebar{width:84px}.estiva-admin-brand strong{font-size:16px}.estiva-admin-brand span,.estiva-admin-nav a span:last-child,.estiva-admin-section-title,.estiva-admin-footer{display:none}.estiva-admin-topbar{left:84px}.estiva-admin-search{min-width:0;width:220px}body.estiva-admin-unified main,body.estiva-admin-unified [class*="ml-64"]{margin-left:84px!important}.estiva-admin-unified .estiva-admin-layout-note{margin-left:84px}}
@media(max-width:720px){.estiva-site-nav{gap:16px}.estiva-site-name{font-size:19px}.estiva-site-cta{padding:0 12px}.estiva-footer-grid{grid-template-columns:1fr}.estiva-footer-bottom{flex-direction:column}.estiva-admin-sidebar{position:relative;width:100%;height:auto;display:block}.estiva-admin-nav{display:flex;overflow-x:auto;gap:8px}.estiva-admin-nav a{min-width:max-content}.estiva-admin-topbar{position:sticky;left:0;height:auto;padding:12px 16px;flex-wrap:wrap}.estiva-admin-search{width:100%;min-width:0}.estiva-admin-actions{width:100%;justify-content:flex-end}body.estiva-admin-unified main,body.estiva-admin-unified [class*="ml-64"]{margin-left:0!important;padding-top:20px!important}.estiva-admin-unified .estiva-admin-layout-note{margin-left:0;padding:16px}}
/* v4 alignment hardening for admin screens that use div wrappers instead of <main>. */
body.estiva-admin-unified > div[class*="ml-64"]:not([class*="fixed"]):not(.estiva-admin-topbar){margin-left:264px!important;padding-top:88px!important;min-height:100vh}
body.estiva-admin-unified > div[class*="pl-64"]:not([class*="fixed"]){padding-left:264px!important;padding-top:88px!important;min-height:100vh}
@media(max-width:1120px){body.estiva-admin-unified > div[class*="ml-64"]:not([class*="fixed"]):not(.estiva-admin-topbar){margin-left:84px!important}body.estiva-admin-unified > div[class*="pl-64"]:not([class*="fixed"]){padding-left:84px!important}}
@media(max-width:720px){body.estiva-admin-unified > div[class*="ml-64"]:not([class*="fixed"]):not(.estiva-admin-topbar){margin-left:0!important;padding-top:20px!important}body.estiva-admin-unified > div[class*="pl-64"]:not([class*="fixed"]){padding-left:0!important;padding-top:20px!important}}
