.global-site-header,
.global-site-footer {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: #020617;
  border-radius: 8px;
}

.global-shell-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.global-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #0f172a;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  backdrop-filter: blur(14px);
}

.global-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.global-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.global-logo-icon { width: 40px; height: 40px; }
.global-logo-text { width: 116px; height: auto; }

.global-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
}

.global-desktop-nav a {
  color: #334155;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.global-desktop-nav a:hover,
.global-desktop-nav a:focus-visible,
.global-footer-links a:hover,
.global-footer-links a:focus-visible { color: #0f766e; text-decoration: underline; }

.global-call-button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0f766e;
  border-radius: 12px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .92rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.global-call-button:hover,
.global-call-button:focus-visible { color: #fff; background: #115e59; }

.global-mobile-menu { display: none; position: relative; }
.global-mobile-menu summary {
  min-height: 42px;
  padding: 9px 13px;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.global-mobile-menu summary::-webkit-details-marker { display: none; }
.global-mobile-menu summary::after { content: none !important; }
.global-mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(270px, calc(100vw - 28px));
  display: grid;
  padding: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
}
.global-mobile-menu nav a {
  padding: 10px 12px;
  color: #334155;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}
.global-mobile-menu nav a:hover,
.global-mobile-menu nav a:focus-visible { color: #0f766e; background: #f0fdfa; }

.global-site-footer {
  padding: 58px 0 28px;
  color: #e2e8f0;
  background: #020617;
}

.global-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr 1.25fr;
  gap: 42px;
}

.global-footer-brand {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
}

.global-footer-heading {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.global-footer-copy,
.global-legal-statement {
  margin: 12px 0;
  color: #cbd5e1;
  font-size: .9rem;
  line-height: 1.65;
}

.global-footer-copy a,
.global-legal-statement a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.global-footer-links { display: grid; gap: 8px; }
.global-footer-links a { color: #e2e8f0; text-decoration: none; }
.global-footer-links a:hover,
.global-footer-links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.measurement-consent {
  position: fixed;
  z-index: 2100;
  box-sizing: border-box;
  right: 18px;
  bottom: 18px;
  width: min(430px, calc(100vw - 36px));
  padding: 18px;
  color: #e2e8f0;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, .3);
}

.measurement-consent p { margin: 0; font-size: .88rem; line-height: 1.5; }
.measurement-consent a { color: #fff; text-underline-offset: 3px; }
.measurement-consent div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.measurement-consent button {
  min-height: 42px;
  padding: 9px 14px;
  color: #fff;
  background: transparent;
  border: 1px solid #64748b;
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.measurement-consent .measurement-consent-accept { color: #042f2e; background: #5eead4; border-color: #5eead4; }
.measurement-consent button:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }

.global-niceic-logo {
  width: auto;
  height: 45px;
  margin-top: 16px;
  padding: 5px;
  background: #fff;
  border-radius: 5px;
}

.global-footer-bottom {
  margin-top: 38px;
  padding-top: 24px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
}
.global-footer-bottom p { margin: 5px 0; }

.global-mobile-tabbar { display: none; }

/* Global button colour contract.
   These rules intentionally use !important so page-level link styles, visited
   states and future content components cannot make labels disappear. */
:is(a, button).button:not(.button-secondary),
:is(a, button).btn-primary,
:is(a, button).btn-wa {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

:is(a, button).button:not(.button-secondary),
:is(a, button).btn-primary {
  background-color: #0f766e !important;
}

:is(a, button).btn-wa,
:is(a, button).whatsapp-submit {
  background-color: #087f5b !important;
}

.whatsapp-brand-icon {
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px;
  overflow: visible;
  fill: none !important;
  stroke: none !important;
}

.whatsapp-brand-icon circle {
  fill: #25d366 !important;
  stroke: rgba(255, 255, 255, .92) !important;
  stroke-width: 1 !important;
}

.whatsapp-brand-icon path {
  fill: #fff !important;
  stroke: none !important;
}

.btn-wa::before {
  content: "";
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  background: url("/assets/icons/whatsapp.svg") center / contain no-repeat;
}

.btn-wa > svg {
  display: none;
}

.btn-call::before {
  content: "";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  background: url("/assets/icons/phone-call.svg") center / contain no-repeat;
}

:is(a, button).button:not(.button-secondary):hover,
:is(a, button).button:not(.button-secondary):focus-visible,
:is(a, button).btn-primary:hover,
:is(a, button).btn-primary:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #115e59 !important;
}

:is(a, button).btn-wa:hover,
:is(a, button).btn-wa:focus-visible,
:is(a, button).whatsapp-submit:hover,
:is(a, button).whatsapp-submit:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #066a4c !important;
}

:is(a, button).button-secondary,
:is(a, button).btn-outline {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  background-color: #fff !important;
  border-color: #cbd5e1 !important;
  opacity: 1 !important;
}

:is(a, button).button-secondary:hover,
:is(a, button).button-secondary:focus-visible,
:is(a, button).btn-outline:hover,
:is(a, button).btn-outline:focus-visible {
  color: #0f766e !important;
  -webkit-text-fill-color: #0f766e !important;
  background-color: #f0fdfa !important;
  border-color: #0d9488 !important;
}

:is(a, button).button:focus-visible,
:is(a, button).btn:focus-visible,
.global-call-button:focus-visible {
  outline: 3px solid #f59e0b !important;
  outline-offset: 3px;
}

:is(a, button).button:disabled,
:is(a, button).btn:disabled {
  opacity: .58 !important;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .global-desktop-nav { display: none; }
  .global-header-inner { grid-template-columns: auto 1fr auto auto; gap: 12px; }
  .global-mobile-menu { display: block; }
}

@media (max-width: 720px) {
  .global-shell-container { width: min(100% - 28px, 1180px); }
  .global-site-header { box-shadow: 0 8px 28px rgba(15, 23, 42, .08); }
  .global-header-inner { min-height: 68px; gap: 9px; }
  .global-logo-icon { width: 32px; height: 32px; }
  .global-logo-text { width: 96px; }
  .global-call-button { min-height: 40px; padding: 8px 13px; border-radius: 13px; }
  .global-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .global-site-footer { padding-bottom: calc(122px + env(safe-area-inset-bottom, 0px)); }
  .measurement-consent {
    left: 8px;
    right: 8px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2, 6, 23, .24);
  }
  .measurement-consent p { font-size: .7rem; line-height: 1.28; }
  .measurement-consent p span { display: none; }
  .measurement-consent p strong { display: block; font-size: .78rem; }
  .measurement-consent div { flex-wrap: nowrap; gap: 6px; margin-top: 0; }
  .measurement-consent button { min-height: 34px; padding: 6px 9px; border-radius: 8px; font-size: .72rem; white-space: nowrap; }

  .global-mobile-tabbar {
    position: fixed;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 1900;
    width: min(500px, calc(100% - 16px));
    min-height: 76px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    padding: 8px;
    color: #334155;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #cbd5e1;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .24), 0 2px 8px rgba(15, 23, 42, .1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateX(-50%);
  }

  .conversion-page .global-mobile-tabbar { display: none; }
  .conversion-page .global-site-footer { padding-bottom: 34px; }
  .conversion-page .measurement-consent { bottom: 8px; }

  .global-mobile-tabbar a {
    position: relative;
    min-width: 0;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 3px;
    color: #334155;
    border-radius: 14px;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .global-mobile-tabbar svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .global-mobile-tabbar a[aria-current="page"] {
    color: #0f766e;
    background: #ccfbf1;
    box-shadow: inset 0 0 0 1px #5eead4;
  }

  .global-mobile-tabbar a[aria-current="page"]::after {
    position: absolute;
    top: 3px;
    width: 24px;
    height: 3px;
    content: "";
    background: #0d9488;
    border-radius: 999px;
  }

  .global-mobile-tabbar .global-tab-primary {
    min-height: 70px;
    margin: -17px 3px 0;
    color: #fff;
    background: linear-gradient(145deg, #0f766e, #0d9488);
    border: 3px solid #f8fafc;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(13, 148, 136, .36);
  }

  .global-mobile-tabbar .global-tab-primary[aria-current="page"] {
    background: linear-gradient(145deg, #115e59, #0f766e);
    box-shadow: 0 10px 24px rgba(13, 148, 136, .36), inset 0 0 0 2px #5eead4;
  }

  .global-mobile-tabbar a:hover,
  .global-mobile-tabbar a:focus-visible {
    color: #0f766e;
    background: #f0fdfa;
    outline: 3px solid #2dd4bf;
    outline-offset: -3px;
  }

  .global-mobile-tabbar .global-tab-primary:hover,
  .global-mobile-tabbar .global-tab-primary:focus-visible {
    color: #fff;
    background: linear-gradient(145deg, #115e59, #0f766e);
  }
}

@media (max-width: 430px) {
  .global-header-inner { grid-template-columns: auto 1fr auto; }
  .global-logo-icon { display: none; }
  .global-logo-text { width: 92px; }
  .global-call-button { display: inline-flex; justify-self: center; min-height: 38px; padding-inline: 11px; font-size: .82rem; }
  .global-mobile-menu summary { min-height: 38px; padding: 8px 10px; font-size: .82rem; }
  .global-mobile-tabbar { width: calc(100% - 10px); bottom: calc(5px + env(safe-area-inset-bottom, 0px)); border-radius: 18px; }
  .global-mobile-tabbar a { font-size: .67rem; }
  .global-mobile-tabbar svg { width: 23px; height: 23px; }
}
