/* =========================
   HEADER — PRO / CLEAN
========================= */
:root{
  --header-h: 68px;
}

@media (max-width: 560px){
  :root{ --header-h: 56px; }
}

body{
  padding-top: var(--header-h);
}
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(17,24,39,0.06);
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}

/* Logo */
.header__logo{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}

.header__logoImg{
  width: 40px;
  height: 40px;
  display:block;
}

/* NEW: 2-line logo text (like reference image) */
.header__logoText{
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.05;
  white-space: nowrap;
}

.header__logoTitle{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color:#111827;
  text-transform: uppercase;
}

.header__logoSub{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(17,24,39,0.55);
  text-transform: uppercase;
}

/* Responsive logo text */
@media (max-width: 560px){
  .header__logoSub{ display:none; }
  .header__logoTitle{ font-size: 16px; }
}
@media (max-width: 380px){
  .header__logoText{ display:none; }
}

/* Desktop nav */
.header__nav{
  display:flex;
  align-items:center;
  gap: 22px;
}

.header__link{
  font-size: 14px;
  font-weight: 700;
  text-decoration:none;
  color: rgba(31,41,55,0.78);
  position: relative;
}

.header__link::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom: -7px;
  height: 2px;
  background: #f97316;
  opacity: 0;
  transform: scaleX(0.65);
  transition: .2s ease;
}

.header__link:hover{ color:#111827; }
.header__link:hover::after{ opacity:1; transform: scaleX(1); }

/* Actions */
.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Base button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;

  border: 1px solid transparent;
  background: #fff;
  cursor:pointer;
  user-select:none;
}

/* WhatsApp — white text */
.btn--wa{
  text-decoration:none;
  
  background: linear-gradient(180deg, #25D366 0%, #1FC75D 100%);
  border: 1px solid rgba(31,199,93,0.28);
  box-shadow: 0 16px 42px rgba(34,197,94,0.22);
}

.btn__waIcon{
  width: 18px;
  height: 18px;
  display:block;
}

.btn__text{ white-space: nowrap;color:#fff; }

/* =========================
   DETAILS DROPDOWNS (NO JS)
========================= */

.dd{
  position: relative;
}

/* remove default marker */
.dd > summary{
  list-style: none;
}
.dd > summary::-webkit-details-marker{
  display:none;
}

.dd__chev{ opacity: .75; }

/* Menu */
.dd__menu{
  position:absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 120px;

  background:#fff;
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 60px rgba(17,24,39,0.14);

  z-index: 3000;
}

.dd__item{
  width:100%;
  display:flex;
  padding: 10px 10px;
  border-radius: 10px;
  background: transparent;
  border: 0;

  font-size: 13px;
  font-weight: 900;
  text-align:left;
  cursor:pointer;
  color: rgba(17,24,39,0.78);
}

.dd__item:hover{
  background: rgba(249,115,22,0.10);
  color:#111827;
}

.dd__item.is-active{ color:#f97316; }

/* Lang button look */
.btn--lang{
  border: 1px solid rgba(17,24,39,0.12);
  color: rgba(17,24,39,0.88);
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
}

/* =========================
   BURGER (as summary)
========================= */

.burger{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
  cursor:pointer;

  display:none;
  align-items:center;
  justify-content:center;
  flex-direction: column;
}

.burger span{
  display:block;
  width: 18px;
  height: 2px;
  background:#111827;
  margin: 3px 0;
  border-radius: 2px;
}

/* =========================
   MOBILE NAV PANEL (inside details)
========================= */

.dd--burger .mobile-nav{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);

  width: min(320px, calc(100vw - 24px));
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(17,24,39,0.18);
  overflow: hidden;
  z-index: 3000;
}

/* Links */
.mobile-nav__link{
  display:block;
  padding: 14px 16px;
  text-decoration:none;
  color: rgba(17,24,39,0.86);
  font-weight: 900;
  border-top: 1px solid rgba(17,24,39,0.06);
}

.mobile-nav__cta{
  display:block;
  margin: 14px 16px 16px;
  padding: 12px 14px;
  text-align:center;
  text-decoration:none;
  font-weight: 900;
  border-radius: 16px;
  color: #fff;
  background: #f97316;
  box-shadow: 0 18px 46px rgba(249,115,22,0.22);
}

/* Services accordion in mobile */
.m-acc{
  border-top: 1px solid rgba(17,24,39,0.06);
}

.m-acc > summary{
  list-style:none;
}
.m-acc > summary::-webkit-details-marker{ display:none; }

.m-acc__btn{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;

  padding: 14px 16px;
  cursor:pointer;
  font-weight: 900;
  color: rgba(17,24,39,0.86);
}

.m-acc[open] .m-acc__chev{ transform: rotate(180deg); }
.m-acc__chev{ transition: transform .2s ease; opacity:.7; }

.m-acc__panel{
  padding: 6px 10px 12px;
  border-top: 1px solid rgba(17,24,39,0.06);
}

.mobile-nav__sublink{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  margin: 6px 6px 0;

  text-decoration:none;
  font-weight: 800;
  color: rgba(17,24,39,0.78);
  background: rgba(249,250,251,0.92);
  border: 1px solid rgba(17,24,39,0.08);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){
  .header__nav{ display:none; }
  .burger{ display:flex; }
}

/* On desktop we can keep burger hidden; lang still works */
@media (min-width: 901px){
  .dd--burger{ display:none; }
}

.lang-flag{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(17,24,39,.10);
  border: 1px solid rgba(17,24,39,.10);
  object-fit: cover;
}

.lang-flag--current{
  margin-right: 6px;
}

/* Make dd__item align nice */
.dd__item{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* =========================
   MOBILE TIGHT HEADER FIX
   (Fix: too tall header on phones)
========================= */

@media (max-width: 560px){
  /* Make header shorter and tighter */
  .header__inner{
    min-height: 56px;
    gap: 8px;
  }

  /* Logo slightly smaller */
  .header__logo{
    gap: 10px;
    min-width: 0;
  }

  .header__logoImg{
    width: 34px;
    height: 34px;
  }

  /* Actions tighter */
  .header__actions{
    gap: 8px;
  }

  /* Buttons: less padding on mobile */
  .btn{
    padding: 8px 10px;
    font-size: 12px;
  }

  /* WhatsApp in header becomes icon-only (keeps function but saves space) */
  .btn--wa{
    width: 40px;
    height: 40px;
    padding: 0;
    box-shadow: 0 12px 34px rgba(34,197,94,0.20);
  }

  .btn--wa .btn__text{
    display:none;
  }

  .btn__waIcon{
    width: 18px;
    height: 18px;
  }

  /* Lang button smaller */
  .btn--lang{
    padding: 8px 10px;
  }

  .lang-flag{
    width: 16px;
    height: 16px;
  }

  /* Burger slightly smaller */
  .burger{
    width: 40px;
    height: 40px;
  }

  .burger span{
    width: 16px;
  }
}

/* Extra tiny phones */
@media (max-width: 380px){
  .btn--lang{
    padding: 8px 8px;
  }
}
