/* RE5 Online Mega Menu */
:root{
  --re5mm-navy:#07172f;
  --re5mm-navy-2:#0b2446;
  --re5mm-blue:#173b6c;
  --re5mm-red:#c81d25;
  --re5mm-red-dark:#a8161c;
  --re5mm-white:#ffffff;
  --re5mm-text:#142033;
  --re5mm-muted:#637087;
  --re5mm-border:#e3e8ef;
  --re5mm-bg:#f7f9fc;
  --re5mm-radius:16px;
  --re5mm-shadow:0 18px 45px rgba(7,23,47,.14);
}

.re5mm, .re5mm *{box-sizing:border-box}
.re5mm{position:relative;z-index:9997;font-family:inherit;color:var(--re5mm-text)}
.re5mm a{text-decoration:none}
.re5mm button,.re5mm input{font:inherit}
.re5mm-wrap{width:min(1440px,calc(100% - 32px));margin-inline:auto}
.re5mm-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.re5mm-utility{background:#031022;color:#d8e1ee;font-size:12px}
.re5mm-utility-inner{min-height:34px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.re5mm-utility-left,.re5mm-utility-right{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.re5mm-utility a{color:#d8e1ee}
.re5mm-utility a:hover{color:#fff}

.re5mm-header{background:var(--re5mm-navy);color:#fff;position:relative}
.re5mm-header-inner{min-height:82px;display:flex;align-items:center;gap:24px}
.re5mm-brand{flex:0 0 auto;display:flex;align-items:center;max-width:190px}
.re5mm-brand .custom-logo-link{display:block}
.re5mm-brand img,.re5mm-brand .custom-logo{display:block;max-width:180px;max-height:58px;width:auto;height:auto}
.re5mm-brand-fallback{display:inline-flex;background:#fff;color:#0c1727;padding:10px 14px;border-radius:9px;font-weight:900;font-size:20px;letter-spacing:-.4px}
.re5mm-brand-fallback b{color:var(--re5mm-red);margin-left:6px}

.re5mm-main{min-width:0;flex:1;display:flex;align-items:center;justify-content:space-between;gap:18px}
.re5mm-tabs{display:flex;min-width:0;align-items:center;gap:2px}
.re5mm-tab{appearance:none;border:0;background:transparent;color:#dbe4f0;min-height:44px;padding:0 12px;border-radius:10px;font-weight:800;font-size:12px;letter-spacing:.02em;cursor:pointer;white-space:nowrap}
.re5mm-tab:hover,.re5mm-tab:focus-visible{background:rgba(255,255,255,.08);color:#fff}
.re5mm-tab.is-active{background:rgba(255,255,255,.13);color:#fff}

.re5mm-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.re5mm-action{min-height:44px;border-radius:11px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;font-weight:850;font-size:11px;letter-spacing:.02em;cursor:pointer;border:1px solid transparent;white-space:nowrap}
.re5mm-action-ask{background:transparent;border-color:rgba(255,255,255,.24);color:#fff}
.re5mm-action-find{background:var(--re5mm-blue);color:#fff!important}
.re5mm-action-book{background:var(--re5mm-red);color:#fff;border:0}
.re5mm-action:hover{filter:brightness(1.08)}

.re5mm-mobile-toggle{display:none;margin-left:auto;border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;border-radius:10px;width:46px;height:46px;font-size:22px;cursor:pointer}

.re5mm-panels{position:absolute;left:0;right:0;top:100%;background:#fff;color:var(--re5mm-text);box-shadow:var(--re5mm-shadow);border-top:1px solid rgba(0,0,0,.05);z-index:9998}
.re5mm-panel{padding:25px 0 20px}
.re5mm-panel[hidden]{display:none!important}
.re5mm-intro{margin-bottom:18px}
.re5mm-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--re5mm-red);text-transform:uppercase}
.re5mm-intro h2,.re5mm-modal-card h2{font-size:22px;line-height:1.22;margin:5px 0 0;color:#0a1a32}
.re5mm-grid{display:grid;gap:20px;align-items:start}
.re5mm-grid-3{grid-template-columns:1fr 1fr 1.1fr}
.re5mm-grid-4{grid-template-columns:1fr 1fr 1fr 1.12fr}
.re5mm-col{min-width:0}
.re5mm-col-title{font-size:10px;letter-spacing:.14em;font-weight:900;color:var(--re5mm-muted);margin-bottom:7px}
.re5mm-link{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center;border-radius:10px;padding:8px 10px;color:var(--re5mm-text);transition:.15s ease}
.re5mm-link:hover{background:#f0f5fb;color:var(--re5mm-blue)}
.re5mm-link-title{font-size:13px;font-weight:720}
.re5mm-desc{grid-column:1;font-size:11px;color:var(--re5mm-muted);margin-top:1px}
.re5mm-arrow{grid-column:2;grid-row:1 / span 2;color:#9ba8b9;font-size:18px}
.re5mm-feature{background:linear-gradient(145deg,#f7f9fc,#eef3f9);border:1px solid var(--re5mm-border);border-radius:var(--re5mm-radius);padding:18px}
.re5mm-feature-popular{background:linear-gradient(145deg,#fff8f8,#f7f9fc)}
.re5mm-feature-tag{font-size:10px;letter-spacing:.13em;font-weight:900;color:var(--re5mm-red)}
.re5mm-feature h3{font-size:18px;line-height:1.25;margin:7px 0;color:#0a1a32}
.re5mm-feature p{font-size:12px;line-height:1.55;color:var(--re5mm-muted);margin:0 0 14px}
.re5mm-feature-btn{appearance:none;border:0;width:100%;min-height:43px;border-radius:10px;background:var(--re5mm-red);color:#fff!important;font-weight:850;font-size:12px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.re5mm-feature-btn:hover{background:var(--re5mm-red-dark)}
.re5mm-popular{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid var(--re5mm-border);padding-top:14px;margin-top:18px;font-size:11px}
.re5mm-popular>span{font-weight:900;color:#49566b}
.re5mm-popular a{color:#44526a;border:1px solid var(--re5mm-border);border-radius:999px;padding:6px 10px;background:#fff}
.re5mm-popular a:hover{border-color:#b8c6d8;color:var(--re5mm-blue)}

.re5mm-modal[hidden]{display:none!important}
.re5mm-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:flex-start;justify-content:center;padding:8vh 18px 30px}
.re5mm-modal-backdrop{position:absolute;inset:0;background:rgba(3,16,34,.72);backdrop-filter:blur(4px)}
.re5mm-modal-card{position:relative;width:min(720px,100%);background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.3);padding:28px}
.re5mm-modal-card p{color:var(--re5mm-muted);font-size:14px;line-height:1.55}
.re5mm-modal-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border:1px solid var(--re5mm-border);background:#fff;border-radius:10px;font-size:24px;line-height:1;cursor:pointer}
.re5mm-search{display:grid;grid-template-columns:1fr auto;gap:9px;margin:18px 0}
.re5mm-search input{width:100%;min-height:50px;border:1px solid #bdc8d7;border-radius:11px;padding:0 14px;font-size:16px;color:#18253a}
.re5mm-search button{min-height:50px;border:0;border-radius:11px;padding:0 22px;background:var(--re5mm-blue);color:#fff;font-weight:850;cursor:pointer}
.re5mm-quick{display:flex;flex-wrap:wrap;gap:8px}
.re5mm-quick a{border:1px solid var(--re5mm-border);border-radius:999px;padding:8px 11px;color:#46546a;font-size:12px}
.re5mm-whatsapp{margin-top:20px;min-height:48px;border-radius:11px;background:#12365f;color:#fff!important;font-weight:850;display:flex;align-items:center;justify-content:center;font-size:12px}
.re5mm-book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.re5mm-book-grid a{border:1px solid var(--re5mm-border);border-radius:13px;padding:16px;color:#17253a;min-height:90px;display:flex;flex-direction:column;justify-content:center;transition:.15s ease}
.re5mm-book-grid a:hover{border-color:#9eb0c6;background:#f7f9fc}
.re5mm-book-grid strong{font-size:15px}
.re5mm-book-grid span{font-size:11px;color:var(--re5mm-muted);margin-top:4px}
.re5mm-book-bottom{margin-top:16px;padding-top:14px;border-top:1px solid var(--re5mm-border);display:flex;justify-content:space-between;align-items:center;font-size:13px}
.re5mm-book-bottom a{font-weight:850;color:var(--re5mm-red)}

.re5mm-mobile-actions{display:none}

body.re5mm-modal-open{overflow:hidden}

@media(max-width:1180px){
  .re5mm-tab{padding:0 8px;font-size:11px}
  .re5mm-action{padding:0 10px}
  .re5mm-action-ask{display:none}
}

@media(max-width:980px){
  .re5mm-utility{display:none}
  .re5mm-header-inner{min-height:72px}
  .re5mm-mobile-toggle{display:block}
  .re5mm-main{display:none;position:absolute;top:100%;left:0;right:0;background:var(--re5mm-navy);padding:12px 16px 18px;box-shadow:0 20px 40px rgba(0,0,0,.22)}
  .re5mm-main.is-open{display:block}
  .re5mm-tabs{display:block}
  .re5mm-tab{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:0 13px;margin:2px 0;font-size:13px}
  .re5mm-tab::after{content:"+";font-size:18px;font-weight:400}
  .re5mm-tab.is-active::after{content:"−"}
  .re5mm-actions{display:none}
  .re5mm-panels{position:static;box-shadow:none;background:var(--re5mm-bg);border-top:1px solid rgba(255,255,255,.1)}
  .re5mm-main:not(.is-open)+.re5mm-panels{display:none}
  .re5mm-panel{padding:18px 0 16px}
  .re5mm-intro h2{font-size:19px}
  .re5mm-grid-3,.re5mm-grid-4{grid-template-columns:1fr}
  .re5mm-col{border-bottom:1px solid var(--re5mm-border);padding-bottom:10px}
  .re5mm-link{padding:9px 4px}
  .re5mm-feature{margin-top:2px}
  .re5mm-popular{display:none}
  .re5mm-mobile-actions{position:fixed;left:10px;right:10px;bottom:10px;z-index:9996;display:grid;grid-template-columns:1.35fr 1fr .8fr;gap:6px;padding:6px;background:rgba(7,23,47,.96);border-radius:14px;box-shadow:0 10px 32px rgba(0,0,0,.25);backdrop-filter:blur(8px)}
  .re5mm-mobile-actions a,.re5mm-mobile-actions button{border:0;border-radius:10px;min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;font-size:10px;font-weight:900;background:transparent;padding:0 5px}
  .re5mm-mobile-actions a{background:var(--re5mm-blue)}
  .re5mm-mobile-actions button:last-child{background:var(--re5mm-red)}
}

@media(max-width:600px){
  .re5mm-wrap{width:min(100% - 22px,1440px)}
  .re5mm-brand img,.re5mm-brand .custom-logo{max-width:145px;max-height:48px}
  .re5mm-brand-fallback{font-size:17px}
  .re5mm-modal{padding:18px 10px}
  .re5mm-modal-card{padding:22px 16px;border-radius:16px}
  .re5mm-search{grid-template-columns:1fr}
  .re5mm-search button{width:100%}
  .re5mm-book-grid{grid-template-columns:1fr 1fr}
  .re5mm-book-bottom{align-items:flex-start;gap:10px;flex-direction:column}
}

@media(prefers-reduced-motion:reduce){
  .re5mm *{scroll-behavior:auto!important;transition:none!important}
}
