/*Header*/
:root{
  --gold:#C3A890;
  --text:#E8E3D5;
  --green:#3D7031;
  --dark:#191A18;
}

.sta-header-all{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1200;
  font-family:"Poppins","Noto Sans TC",sans-serif;
  background:transparent;
}

.sta-topbar{
  background:var(--dark);
  position:relative;
  z-index:2;
}

.sta-topbar__wrap{
  min-height:44px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  width:100%;
  padding:8px 0;
}

.sta-topbar__mail{
  justify-self:start;
  margin-left:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--gold)!important;
  text-decoration:none!important;
  font-size:15px;
  font-weight:500;
}

.sta-topbar__mail svg{
  width:16px;
  height:16px;
  fill:currentColor;
}

.sta-topbar__social{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:14px;
}

.sta-topbar__social a{
  color:var(--gold);
  text-decoration:none;
  display:inline-flex;
}

.sta-topbar__social svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.sta-topbar__spacer{
  justify-self:end;
  width:1px;
  height:1px;
}

.sta-topbar__mail:hover,
.sta-topbar__social a:hover{
  color:var(--text)!important;
}

.sta-nav{
  background:rgba(17,17,17,.46);
  position:relative;
  z-index:1;
}

.sta-nav__inner{
  width:100%;
  padding:8px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.sta-nav__logo{
  flex:0 0 auto;
}

.sta-nav__logo img{
  height:68px;
  width:auto;
  display:block;
}

.sta-nav__right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.sta-nav__menu{
  display:flex !important;
  align-items:center;
  min-width:0;
}

.sta-nav__menu-list{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}

.sta-nav__menu-list > li{
  position:relative;
  list-style:none;
  margin:0;
  padding:0;
}

.sta-nav__menu-list > li > a{
  display:inline-block;
  font-size:clamp(12px,0.78vw,15px);
  line-height:1.15;
  font-weight:700;
  color:var(--text)!important;
  text-decoration:none!important;
  padding:8px 5px;
  white-space:nowrap;
}

.sta-nav__menu-list > li > a:hover,
.sta-nav__menu-list > li > a:focus,
.sta-nav__menu-list > li.current-menu-item > a,
.sta-nav__menu-list > li.current_page_item > a{
  color:var(--gold)!important;
}

.sta-nav__lang{
  position:relative;
  display:flex;
  align-items:center;
}

.sta-lang-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border:1px solid rgba(195,168,144,.45);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  cursor:pointer;
  padding:0;
}

.sta-lang-toggle img{
  width:20px;
  height:auto;
  display:block;
}

.sta-lang-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:58px;
  background:rgba(25,26,24,.96);
  border:1px solid rgba(195,168,144,.35);
  border-radius:10px;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  padding:8px 6px;
  display:none;
  z-index:1600;
}

.sta-lang-dropdown.is-open{
  display:block;
}

.sta-lang-dropdown ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}

.sta-lang-dropdown li{
  list-style:none;
  margin:0;
  padding:0;
}

.sta-lang-dropdown a{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
}

.sta-lang-dropdown img{
  width:20px;
  height:auto;
  display:block;
  border-radius:2px;
}

.sta-nav__cta,
.sta-nav__cta:visited{
  display:inline-block;
  background:#3D7031!important;
  color:#fff!important;
  text-decoration:none!important;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  font-size:13px;
  line-height:1.15;
  white-space:nowrap;
}

.sta-nav__toggle{
  display:none !important;
  width:44px;
  height:44px;
  background:transparent !important;
  cursor:pointer;
  padding:0;
}

.sta-nav__toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:4px auto;
  background:#B79A84!important;
  border-radius:2px;
}

.sta-nav__panel{
  display:none;
  position:fixed;
  top:0;
  right:0;
  width:min(88vw,360px);
  height:100dvh;
  background:rgba(17,17,17,.92)!important;
  backdrop-filter:blur(10px);
  border-left:1px solid rgba(195,168,144,.35);
  padding:72px 18px 20px;
  z-index:2100;
  overflow:auto;
}

.sta-nav__panel.is-open{
  display:block !important;
}

.sta-nav__panel-close{
  position:absolute;
  top:18px;
  right:18px;
  background:transparent !important;
  border:none !important;
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  display:none;
  padding:0;
  width:auto;
  height:auto;
}

.sta-nav__panel-list{
  margin:0;
  padding:0;
  list-style:none;
}

.sta-nav__panel-list > li{
  list-style:none;
  margin:0;
  padding:0;
}

.sta-nav__panel-list > li > a{
  display:block;
  padding:12px 2px;
  font-size:18px;
  font-weight:600;
  color:#f2ede4!important;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.sta-nav__panel-lang{
  margin-top:18px;
}

.sta-nav__panel-lang ul{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.sta-nav__panel-lang li{
  list-style:none;
}

.sta-nav__panel-lang a{
  display:flex;
  align-items:center;
  gap:10px;
  color:#f2ede4!important;
  text-decoration:none!important;
}

.sta-nav__panel-lang img{
  width:20px;
  height:auto;
  display:block;
  border-radius:2px;
}

.sta-nav__panel-cta{
  display:block!important;
  margin-top:18px!important;
  padding:12px 16px!important;
  text-align:center!important;
  font-weight:700!important;
  border-radius:12px!important;
  background:#3D7031!important;
  color:#fff!important;
  border:none!important;
  text-decoration:none!important;
}

#staHeaderSpacer{
  width:100%;
  height:126px;
}

/* ── Off-canvas contact panel ──────────────────────────────── */

.sta-modal-overlay{
  position:fixed;
  inset:0;
  display:block;          /* always in DOM; visibility controlled by opacity/pointer-events */
  background:rgba(20,30,20,.62);
  z-index:9999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease, visibility .3s ease;
}

.sta-modal-overlay.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.sta-modal{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(480px,100vw);
  display:flex;
  flex-direction:column;
  background:var(--sta-bg-soft,#FAF9F6);
  box-shadow:-8px 0 40px rgba(0,0,0,.22);
  transform:translateX(100%);
  transition:transform .32s cubic-bezier(.4,0,.2,1);
  overflow:hidden;
}

.sta-modal-overlay.is-open .sta-modal{
  transform:translateX(0);
}

/* Head ─────────────────────────────────────────────────────── */

.sta-modal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:28px 28px 22px;
  border-bottom:1px solid var(--sta-border,#E9E5E1);
  flex-shrink:0;
}

.sta-modal__head-text{
  flex:1;
  min-width:0;
}

.sta-modal-title{
  margin:0 0 6px;
  font-size:clamp(20px,2.6vw,26px);
  color:var(--sta-heading,#1F1F1F);
  font-weight:700;
  line-height:1.2;
}

.sta-modal-subtitle{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:var(--sta-text-soft,#676259);
}

.sta-close{
  flex-shrink:0;
  width:34px;
  height:34px;
  border:1px solid var(--sta-border,#E9E5E1)!important;
  border-radius:8px;
  background:transparent!important;
  color:var(--sta-text-soft,#676259)!important;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.sta-close:hover{
  background:var(--sta-surface-soft,#EEE7DC)!important;
  color:var(--sta-heading,#1F1F1F)!important;
  border-color:var(--sta-line,#D8D0C4)!important;
}

/* Body ─────────────────────────────────────────────────────── */

.sta-modal-body{
  flex:1;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding:26px 28px 32px;
  scrollbar-width:thin;
  scrollbar-color:var(--sta-line,#D8D0C4) transparent;
}

.sta-modal-body::-webkit-scrollbar{
  width:5px;
}

.sta-modal-body::-webkit-scrollbar-track{
  background:transparent;
}

.sta-modal-body::-webkit-scrollbar-thumb{
  background:var(--sta-line,#D8D0C4);
  border-radius:3px;
}

/* Form overrides inside the panel ─────────────────────────── */

.sta-modal .sta-contact-form-shell{
  margin-top:0;
}

.sta-modal .wpforms-form{
  font-family:var(--sta-font-body,system-ui,sans-serif);
}

.sta-modal .wpforms-field{
  margin-bottom:18px!important;
}

.sta-modal .wpforms-field-label{
  font-weight:600!important;
  font-size:13px!important;
  color:var(--sta-text-soft,#676259)!important;
  margin-bottom:6px!important;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.sta-modal .wpforms-required-label{
  color:var(--sta-gold,#C3A890)!important;
}

/* Email fieldset — quitar borde nativo */
.sta-modal .wpforms-form fieldset{
  border:0!important;
  margin:0!important;
  padding:0!important;
}

.sta-modal .wpforms-form input[type="text"],
.sta-modal .wpforms-form input[type="email"],
.sta-modal .wpforms-form input[type="tel"],
.sta-modal .wpforms-form textarea,
.sta-modal .wpforms-form select{
  width:100%!important;
  max-width:100%!important;
  background:#fff!important;
  border:1px solid var(--sta-border,#E9E5E1)!important;
  border-radius:10px!important;
  padding:11px 14px!important;
  font-size:15px!important;
  line-height:1.4!important;
  color:var(--sta-text,#2F2F2F)!important;
  box-shadow:none!important;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.sta-modal .wpforms-form input::placeholder,
.sta-modal .wpforms-form textarea::placeholder{
  color:var(--sta-muted,#555)!important;
  opacity:.5;
}

.sta-modal .wpforms-form input:focus,
.sta-modal .wpforms-form textarea:focus,
.sta-modal .wpforms-form select:focus{
  outline:none!important;
  border-color:rgba(86,96,82,.55)!important;
  box-shadow:0 0 0 3px rgba(86,96,82,.1)!important;
}

.sta-modal .wpforms-form textarea{
  min-height:110px!important;
  resize:vertical;
}

/* GDPR ─────────────────────────────────────────────────────── */

.sta-modal .wpforms-field-gdpr-checkbox .wpforms-field-label{
  text-transform:none;
  letter-spacing:0;
  font-size:13px!important;
  color:var(--sta-text-soft,#676259)!important;
}

.sta-modal .wpforms-field-label-inline,
.sta-modal .wpforms-field-gdpr-checkbox li label{
  color:var(--sta-text,#2F2F2F)!important;
  font-size:13px!important;
  line-height:1.55!important;
}

.sta-modal .wpforms-field-label-inline a,
.sta-modal .wpforms-field-gdpr-checkbox li label a{
  color:var(--sta-green,#566052)!important;
  text-decoration:underline;
}

.sta-modal .wpforms-field-gdpr-checkbox input[type="checkbox"]{
  accent-color:var(--sta-green,#566052);
  width:16px;
  height:16px;
  flex-shrink:0;
}

.sta-modal .wpforms-field-description{
  margin-top:8px!important;
  max-height:none;
  overflow:visible;
  color:var(--sta-text-soft,#676259)!important;
  font-size:11.5px!important;
  line-height:1.65!important;
  padding-right:4px;
}

.sta-modal .wpforms-field-description p{
  margin:0 0 6px;
}

.sta-modal .wpforms-field-description p:last-child{
  margin-bottom:0;
}

.sta-modal .wpforms-field-description a{
  color:var(--sta-green,#566052)!important;
}

/* Sublabels ─────────────────────────────────────────────────── */

.sta-modal .wpforms-field-sublabel,
.sta-modal .wpforms-sublabel-hide{
  display:none!important;
}

/* Submit button ─────────────────────────────────────────────── */

.sta-modal .wpforms-submit-container{
  margin-top:6px;
}

.sta-modal .wpforms-submit{
  width:100%;
  background:var(--sta-green,#566052)!important;
  color:#fff!important;
  border:0!important;
  border-radius:12px!important;
  padding:14px 28px!important;
  font-size:15px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:filter .2s ease, transform .2s ease, opacity .2s ease;
}

.sta-modal .wpforms-submit:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
}

.sta-modal .wpforms-submit:disabled{
  opacity:.7;
  cursor:wait;
  transform:none;
}

/* Status messages ───────────────────────────────────────────── */

.sta-modal .sta-contact-form__status{
  margin-bottom:16px;
  border-radius:10px;
  font-size:13px;
}

/* Mobile — full screen ──────────────────────────────────────── */

@media (max-width:600px){
  .sta-modal{
    width:100vw;
  }

  .sta-modal__head{
    padding:20px 18px 16px;
  }

  .sta-modal-body{
    padding:20px 18px 28px;
  }
}

.body--sta-lock{
  overflow:hidden;
}
@media (max-width:1360px){
  .sta-nav__inner{
    padding:8px 12px;
    gap:10px;
  }

  .sta-nav__logo img{
    height:64px;
  }

  .sta-nav__menu-list{
    gap:4px;
  }

  .sta-nav__menu-list > li > a{
    font-size:13px;
    padding:8px 4px;
  }

  .sta-nav__right{
    gap:8px;
  }

  .sta-nav__cta{
    padding:10px 12px;
    font-size:12px;
  }
}

@media (max-width:1024px){
  .sta-topbar__mail span{
    display:none;
  }

  .sta-topbar__mail{
    margin-left:10px;
    gap:0;
  }

  .sta-nav__logo img{
    height:58px;
  }
}

@media (max-width:980px){
  .sta-nav__menu,
  .sta-nav__cta,
  .sta-nav__lang{
    display:none !important;
  }

  .sta-nav__toggle,
  .sta-nav__panel-close{
    display:block !important;
  }
}
@media (min-width:981px){
  .sta-nav__menu,
  .sta-nav__cta,
  .sta-nav__lang{
    display:flex !important;
  }

  .sta-nav__toggle{
    display:none !important;
  }
}

@media (max-width:640px){
  .sta-topbar__social{
    gap:10px;
  }

  .sta-topbar__social svg{
    width:16px;
    height:16px;
  }

  .sta-nav__inner{
    padding:8px 12px;
  }

  .sta-nav__logo img{
    height:54px;
  }
}
/* ===== SELECTOR DE IDIOMA: limpiar estilos heredados ===== */
.sta-nav__lang,
.sta-nav__lang *{
  box-shadow:none !important;
}

.sta-lang-toggle,
.sta-lang-toggle:visited,
.sta-lang-toggle:hover,
.sta-lang-toggle:focus,
.sta-lang-toggle:active{
  appearance:none !important;
  -webkit-appearance:none !important;
  background:transparent !important;
  background-image:none !important;
  border:1px solid rgba(195,168,144,.45) !important;
  outline:none !important;
  box-shadow:none !important;
}

.sta-lang-toggle:hover,
.sta-lang-toggle:focus{
  border-color:var(--gold) !important;
  background:rgba(255,255,255,.06) !important;
}

.sta-lang-dropdown a,
.sta-lang-dropdown a:visited,
.sta-lang-dropdown a:hover,
.sta-lang-dropdown a:focus,
.sta-lang-dropdown a:active{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
}

.sta-lang-dropdown li{
  background:transparent !important;
}

.sta-lang-dropdown a:hover,
.sta-lang-dropdown a:focus{
  background:rgba(255,255,255,.06) !important;
  border-radius:8px;
}
.sta-nav__cta,
.sta-nav__cta:visited,
.sta-nav__panel-cta,
.sta-nav__panel-cta:visited{
  display:inline-block;
  background:#3D7031 !important;
  color:#fff !important;
  text-decoration:none !important;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  font-size:13px;
  line-height:1.15;
  white-space:nowrap;
  border:none !important;
  box-shadow:none !important;
  transition:background-color .2s ease, color .2s ease, transform .2s ease;
}

.sta-nav__cta:hover,
.sta-nav__cta:focus,
.sta-nav__panel-cta:hover,
.sta-nav__panel-cta:focus{
  background:var(--gold) !important;
  color:#111 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.sta-nav__toggle,
.sta-nav__toggle:hover,
.sta-nav__toggle:focus,
.sta-nav__toggle:active{
  background:transparent !important;
  box-shadow:none !important;
  outline:none !important;
}

.sta-nav__toggle:hover,
.sta-nav__toggle:focus{
  border-color:var(--gold) !important;
}
/* ===== HAMBURGUESA Y BOTÓN CERRAR: limpiar estilos heredados ===== */
button.sta-nav__toggle,
button.sta-nav__toggle:hover,
button.sta-nav__toggle:focus,
button.sta-nav__toggle:active,
button.sta-nav__panel-close,
button.sta-nav__panel-close:hover,
button.sta-nav__panel-close:focus,
button.sta-nav__panel-close:active{
  -webkit-appearance:none !important;
  appearance:none !important;
  background:transparent !important;
  background-image:none !important;
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
}

/* ===== BOTÓN X ===== */
button.sta-nav__panel-close{
  position:absolute;
  top:18px;
  right:18px;
  padding:0 !important;
  width:auto !important;
  height:auto !important;
  font-size:34px !important;
  line-height:1 !important;
  color:#fff !important;
  border-radius:0 !important;
  text-shadow:none !important;
}

button.sta-nav__panel-close:hover,
button.sta-nav__panel-close:focus{
  color:var(--gold) !important;
}

/* ===== HAMBURGUESA LIMPIA ===== */
button.sta-nav__toggle,
button.sta-nav__toggle:hover,
button.sta-nav__toggle:focus,
button.sta-nav__toggle:active{
  -webkit-appearance:none !important;
  appearance:none !important;
  background:transparent !important;
  background-image:none !important;
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
  padding:0 !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  min-height:54px !important;
}

button.sta-nav__toggle{
  display:none !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
}

button.sta-nav__toggle span{
  display:block !important;
  width:28px !important;
  height:3px !important;
  margin:0 !important;
  background:#B79A84 !important;
  border-radius:2px !important;
  flex:0 0 auto !important;
}

button.sta-nav__toggle:hover span,
button.sta-nav__toggle:focus span{
  background:var(--gold) !important;
}

@media (max-width:980px){
  button.sta-nav__toggle{
    display:flex !important;
  }
}

/* ===== DROPDOWN SUBMENU (desktop) ===== */

/* Indicador flecha en items con hijos */
.sta-nav__menu-list > li.menu-item-has-children > a::after{
  content:" ▾";
  font-size:10px;
  opacity:.65;
  margin-left:1px;
}

/* Sub-menu: oculto por defecto */
.sta-nav__menu-list > li > .sub-menu{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(4px);
  min-width:180px;
  background:rgba(17,17,17,.96);
  border:1px solid rgba(195,168,144,.22);
  border-radius:14px;
  /* padding-top crea el espacio visual sin romper el área de hover */
  padding:10px 6px 8px;
  list-style:none;
  margin:0;
  z-index:1500;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
}

/* Sub-menu: visible en hover / focus-within */
.sta-nav__menu-list > li:hover > .sub-menu,
.sta-nav__menu-list > li:focus-within > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}

.sta-nav__menu-list > li > .sub-menu > li{
  list-style:none;
  margin:0;
  padding:0;
}

.sta-nav__menu-list > li > .sub-menu > li > a{
  display:block;
  padding:11px 16px;
  color:var(--text) !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  border-radius:10px;
  transition:background .15s ease, color .15s ease;
}

.sta-nav__menu-list > li > .sub-menu > li > a:hover,
.sta-nav__menu-list > li > .sub-menu > li > a:focus{
  background:rgba(255,255,255,.07);
  color:var(--gold) !important;
}

/* ===== SUBMENU EN PANEL MÓVIL ===== */
.sta-nav__panel-list > li > .sub-menu{
  list-style:none;
  margin:0;
  padding:0 0 4px 14px;
}

.sta-nav__panel-list > li > .sub-menu > li{
  list-style:none;
  margin:0;
  padding:0;
}

.sta-nav__panel-list > li > .sub-menu > li > a{
  display:block;
  padding:9px 2px;
  font-size:15px;
  font-weight:500;
  color:rgba(242,237,228,.7) !important;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.sta-nav__panel-list > li > .sub-menu > li:last-child > a{
  border-bottom:0;
}

.sta-nav__panel-list > li > .sub-menu > li > a:hover,
.sta-nav__panel-list > li > .sub-menu > li > a:focus{
  color:var(--gold) !important;
}

html[lang="zh-CN"] .sta-header-all,
html[lang="zh-CN"] .sta-topbar__mail,
html[lang="zh-CN"] .sta-nav__menu-list > li > a,
html[lang="zh-CN"] .sta-nav__menu-list > li > .sub-menu > li > a,
html[lang="zh-CN"] .sta-nav__panel-list > li > a,
html[lang="zh-CN"] .sta-nav__panel-list > li > .sub-menu > li > a,
html[lang="zh-CN"] .sta-nav__panel-lang a,
html[lang="zh-CN"] .sta-nav__cta,
html[lang="zh-CN"] .sta-nav__panel-cta{
  font-family:var(--sta-font-zh-cn-sans) !important;
  font-synthesis:none;
}
