/* Altahany V94.3 Final Launch Polish */
:root{
  --athp-bg:#fffaf3;
  --athp-card:#ffffff;
  --athp-gold:#b98a36;
  --athp-gold2:#dfc078;
  --athp-brown:#3f2a1b;
  --athp-ink:#2b2118;
  --athp-muted:#756556;
  --athp-line:rgba(185,138,54,.22);
  --athp-shadow:0 18px 48px rgba(75,51,34,.10);
  --athp-radius:24px;
}
html,body{max-width:100%;overflow-x:hidden}
body{background:linear-gradient(180deg,#fffdf8,#fffaf3 55%,#fff)!important;color:var(--athp-ink)}
img,video,iframe,svg{max-width:100%;height:auto}
img{display:block}
body main,#altahany-main-content{width:100%;max-width:100%;overflow:hidden}
[style*="altahany.com"],[class*="watermark"],.altahany-watermark,.ath-bg-watermark{background-image:none!important}

/* Hide duplicated old chrome. Keep content sections. */
body .athx-header,
body .athx-footer,
body .athx-rail,
body .athx-rail-toggle,
body .athx-cookie,
body .ath91-dock,
body .ath91-link-map,
body .ath91-launch-social,
body .ath-v87-floating,
body .at-page-tools,
body [id*="altahany-command-center-link"],
body [id*="altahany-admin-control-center-link"]{
  display:none!important;
}

/* Hide empty right-side floating boxes */
body div[style*="position:fixed"],
body section[style*="position:fixed"],
body aside[style*="position:fixed"]{
  max-width:100vw;
}
body .athp-header,
body .athp-footer,
body .athp-side,
body .athp-wa,
body .athp-fav,
body .athp-lightbox{
  display:initial;
}

/* Header */
.athp-header{
  position:sticky;
  top:0;
  z-index:9999;
  background:rgba(255,253,248,.96);
  border-bottom:1px solid var(--athp-line);
  box-shadow:0 10px 30px rgba(75,51,34,.07);
  backdrop-filter:blur(14px);
  font-family:Arial,Tahoma,sans-serif;
}
.athp-wrap{width:min(1220px,calc(100% - 28px));margin:auto}
.athp-header__inner{
  min-height:76px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}
.athp-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--athp-brown);
  text-decoration:none;
  min-width:0;
}
.athp-brand img{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--athp-line);
  padding:5px;
}
.athp-brand b{display:block;font-size:15px;line-height:1.2;color:var(--athp-brown)}
.athp-brand span{display:block;font-size:11px;color:var(--athp-muted);margin-top:2px}
.athp-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
.athp-nav a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:38px;
  padding:8px 11px;
  border-radius:999px;
  text-decoration:none;
  color:var(--athp-brown);
  font-weight:900;
  font-size:13px;
}
.athp-nav a:hover,.athp-nav a.is-active{background:#fff5df;color:#8d611f}
.athp-actions{display:flex;align-items:center;gap:8px}
.athp-btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:9px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  border:1px solid var(--athp-line);
  background:#fff;
  color:var(--athp-brown);
  cursor:pointer;
  font-family:Arial,Tahoma,sans-serif;
}
.athp-btn.gold{
  background:linear-gradient(135deg,var(--athp-gold),var(--athp-gold2));
  color:#fff;
  border:0;
  box-shadow:0 10px 24px rgba(185,138,54,.24);
}
.athp-btn.whatsapp{background:#25D366;color:#fff;border:0}
.athp-phone{direction:ltr!important;unicode-bidi:isolate!important}
.athp-menu{display:none}
.athp-mobile{
  display:none;
  position:fixed;
  z-index:99999;
  inset:0;
  background:rgba(43,33,24,.38);
  backdrop-filter:blur(4px);
}
.athp-mobile.is-open{display:block}
.athp-mobile__panel{
  position:absolute;
  inset-block:0;
  inset-inline-end:0;
  width:min(360px,88vw);
  background:#fffaf3;
  padding:16px;
  overflow:auto;
  box-shadow:var(--athp-shadow);
}
.athp-mobile__panel a{
  display:flex;
  align-items:center;
  gap:9px;
  padding:13px;
  margin:7px 0;
  border-radius:16px;
  border:1px solid var(--athp-line);
  background:#fff;
  color:var(--athp-brown);
  text-decoration:none;
  font-weight:900;
}
.athp-close{
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid var(--athp-line);
  background:#fff;
  color:var(--athp-brown);
  font-weight:900;
  cursor:pointer;
}

/* Top announcement polish */
body marquee,
body [class*="announcement"],
body [class*="ticker"]{
  max-width:100%;
}

/* Main page alignment */
body section,
body .container,
body [class*="container"],
body [class*="wrapper"]{
  max-width:100%;
}
body h1,body h2,body h3{text-wrap:balance}
body p{line-height:1.85}

/* Forms and dropdowns */
body input,
body select,
body textarea{
  border-radius:16px!important;
  border:1px solid rgba(185,138,54,.26)!important;
  background:#fff!important;
  color:var(--athp-ink)!important;
  min-height:46px;
  font-family:Arial,Tahoma,sans-serif!important;
}
body select{
  appearance:auto!important;
  padding-inline:14px!important;
}
body textarea{min-height:120px}
body input:focus,
body select:focus,
body textarea:focus{
  outline:none!important;
  border-color:rgba(185,138,54,.62)!important;
  box-shadow:0 0 0 4px rgba(185,138,54,.10)!important;
}
body button,
body .btn,
body a[class*="btn"],
body [type="submit"]{
  border-radius:999px!important;
  font-weight:900!important;
}

/* Fix homepage/media image alignment */
.ath-v94-media-rescue,
.athp-media{
  width:min(1220px,calc(100% - 28px));
  margin:30px auto;
  padding:24px;
  border-radius:32px;
  border:1px solid var(--athp-line);
  background:linear-gradient(135deg,#fffaf3,#fff);
  box-shadow:var(--athp-shadow);
  font-family:Arial,Tahoma,sans-serif;
}
.athp-media__head{
  text-align:center;
  max-width:850px;
  margin:0 auto 20px;
}
.athp-media__tag{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:#fff5df;
  color:#8d611f;
  border:1px solid var(--athp-line);
  font-weight:900;
  font-size:13px;
}
.athp-media h2{
  margin:12px 0 8px;
  color:var(--athp-brown);
  font-size:clamp(26px,3.8vw,46px);
  line-height:1.15;
}
.athp-media p{margin:0;color:var(--athp-muted)}
.athp-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.athp-card-img{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:#fff5df;
  border:1px solid rgba(185,138,54,.18);
  box-shadow:0 10px 24px rgba(75,51,34,.08);
  min-height:260px;
  cursor:zoom-in;
}
.athp-card-img img,
.athp-card-img video{
  width:100%;
  height:285px;
  object-fit:cover;
  display:block;
}
.athp-card-img b{
  position:absolute;
  inset:auto 12px 12px 12px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.90);
  color:var(--athp-brown);
  font-size:13px;
  backdrop-filter:blur(8px);
  text-align:center;
}
.athp-media__actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
}

/* Quick side */
.athp-side-toggle{
  position:fixed;
  z-index:9990;
  inset-inline-start:14px;
  top:96px;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid var(--athp-line);
  background:linear-gradient(135deg,var(--athp-gold),var(--athp-gold2));
  color:#fff;
  box-shadow:var(--athp-shadow);
  cursor:pointer;
  font-weight:900;
}
.athp-side{
  position:fixed;
  z-index:9989;
  inset-inline-start:14px;
  top:150px;
  width:300px;
  max-width:calc(100vw - 28px);
  max-height:calc(100vh - 170px);
  overflow:auto;
  padding:13px;
  border-radius:24px;
  border:1px solid var(--athp-line);
  background:rgba(255,255,255,.96);
  box-shadow:var(--athp-shadow);
  backdrop-filter:blur(14px);
  transform:translateX(-112%);
  opacity:0;
  pointer-events:none;
  transition:.22s ease;
  font-family:Arial,Tahoma,sans-serif;
}
html[dir="rtl"] .athp-side{transform:translateX(112%)}
.athp-side.is-open{
  transform:translateX(0)!important;
  opacity:1;
  pointer-events:auto;
}
.athp-side h3{margin:4px 4px 10px;color:var(--athp-brown);font-size:15px}
.athp-side a{
  display:block;
  margin:8px 0;
  padding:11px 12px;
  border-radius:16px;
  border:1px solid var(--athp-line);
  background:#fff;
  color:var(--athp-brown);
  text-decoration:none;
  font-weight:900;
}
.athp-side small{
  display:block;
  color:var(--athp-muted);
  font-weight:700;
  margin-top:3px;
  line-height:1.5;
}

/* Floating actions */
.athp-wa,.athp-fav{
  position:fixed;
  z-index:9995;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:var(--athp-shadow);
}
.athp-wa{
  inset-inline-start:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
}
.athp-wa svg{width:30px;height:30px;fill:currentColor}
.athp-fav{
  inset-inline-end:18px;
  bottom:20px;
  min-height:46px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  color:var(--athp-brown);
  border:1px solid var(--athp-line);
  font-weight:900;
  gap:7px;
}
.athp-fav-count{
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--athp-gold);
  color:#fff;
  font-size:12px;
}

/* Footer */
.athp-footer{
  margin-top:42px;
  background:linear-gradient(180deg,#fffaf3,#fff);
  border-top:1px solid var(--athp-line);
  font-family:Arial,Tahoma,sans-serif;
}
.athp-footer__grid{
  width:min(1220px,calc(100% - 28px));
  margin:auto;
  padding:32px 0 18px;
  display:grid;
  grid-template-columns:1.35fr repeat(3,1fr);
  gap:22px;
}
.athp-footer h3{margin:0 0 12px;color:var(--athp-brown)}
.athp-footer p{margin:0;color:var(--athp-muted);line-height:1.8}
.athp-footer a{
  display:block;
  margin:8px 0;
  color:#8d611f;
  text-decoration:none;
  font-weight:800;
}
.athp-social{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.athp-social a{
  display:inline-flex;
  margin:0;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid var(--athp-line);
  background:#fff;
  color:var(--athp-brown);
}
.athp-footer__bottom{
  width:min(1220px,calc(100% - 28px));
  margin:auto;
  padding:14px 0 20px;
  border-top:1px solid var(--athp-line);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  color:var(--athp-muted);
  font-size:13px;
}
.athp-footer__bottom a{display:inline;margin:0}

/* Lightbox */
.athp-lightbox{
  position:fixed;
  z-index:100000;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(35,25,15,.76);
  backdrop-filter:blur(6px);
  padding:18px;
}
.athp-lightbox.is-open{display:flex}
.athp-lightbox__box{
  width:min(1120px,96vw);
  max-height:94vh;
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:14px;
  background:#fffaf3;
  border:1px solid var(--athp-line);
  border-radius:26px;
  padding:14px;
  box-shadow:0 24px 70px rgba(0,0,0,.3);
}
.athp-lightbox__media{
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:20px;
  background:#111;
}
.athp-lightbox__media img{
  max-width:100%;
  max-height:78vh;
  object-fit:contain;
}
.athp-lightbox__panel{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.athp-lightbox__panel h3{margin:4px 0;color:var(--athp-brown)}
.athp-lightbox__panel a,
.athp-lightbox__panel button{
  min-height:42px;
  border-radius:999px;
  border:1px solid var(--athp-line);
  background:#fff;
  color:var(--athp-brown);
  font-weight:900;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-family:Arial,Tahoma,sans-serif;
}
.athp-lightbox__panel .gold{background:linear-gradient(135deg,var(--athp-gold),var(--athp-gold2));color:#fff;border:0}
.athp-lightbox__panel .wa{background:#25D366;color:#fff;border:0}
.athp-lightbox__close{
  align-self:flex-end;
  width:40px;
  height:40px;
  border-radius:999px!important;
}

/* Responsive */
@media(max-width:1050px){
  .athp-nav{display:none}
  .athp-menu{display:inline-flex}
  .athp-header__inner{grid-template-columns:auto 1fr auto}
  .athp-btn.quote{display:none}
  .athp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .athp-footer__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .athp-wrap{width:calc(100% - 18px)}
  .athp-header__inner{min-height:68px;gap:8px}
  .athp-brand img{width:48px;height:48px}
  .athp-brand b{font-size:13px}
  .athp-brand span{display:none}
  .athp-phone{display:none}
  .athp-media{width:calc(100% - 18px);padding:15px;border-radius:22px}
  .athp-grid{grid-template-columns:1fr}
  .athp-card-img img,.athp-card-img video{height:265px}
  .athp-side{inset-inline:9px;width:auto;top:86px;max-height:72vh}
  .athp-side-toggle{top:82px;inset-inline-start:10px}
  .athp-footer__grid{grid-template-columns:1fr;padding-top:24px}
  .athp-footer__bottom{text-align:center;display:block}
  .athp-wa{width:54px;height:54px;bottom:14px;inset-inline-start:12px}
  .athp-fav{bottom:17px;inset-inline-end:12px;font-size:12px}
  .athp-lightbox__box{grid-template-columns:1fr;overflow:auto}
  .athp-lightbox__media{min-height:260px}
}
