.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(168px, 42vw);
  object-fit: contain;
}

.logo-split {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.logo-tagline {
  font-size: 9px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.logo--light .logo-split,
.logo--on-dark .logo-split {
  background: rgba(255, 255, 255, 0.2);
}

.logo--light .logo-tagline,
.logo--on-dark .logo-tagline {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand .logo-img {
  height: 40px;
  max-width: 188px;
}

.ext-arrow {
  font-size: 11px;
  line-height: 1;
  opacity: 0.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-deep);
}

.btn--lg {
  height: 44px;
  padding: 0 20px;
}

.btn--ghost {
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--muted);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--navy-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--navy);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1ebe5d;
}

.btn--whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: color-mix(in srgb, var(--navy) 30%, transparent);
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover {
  background: color-mix(in srgb, var(--navy) 50%, transparent);
  transform: scale(1.06);
}

.icon-btn svg {
  width: 14px;
  height: 14px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.header-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  height: 34px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 999px;
}

.header-social {
  gap: 4px;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
}

.header-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.lang button,
.lang a,
.footer-langs button {
  color: inherit;
  font: inherit;
  min-height: 32px;
  padding: 0 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.lang button:hover,
.lang a:hover,
.footer-langs button:hover {
  color: var(--white);
}

.lang .is-active {
  color: var(--white);
}

.site-header .btn--ghost {
  color: var(--white);
}

.site-header .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  z-index: calc(var(--z-header) + 1);
  min-width: 196px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.site-nav .dropdown:last-child .dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.dropdown.is-open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (hover: none) {
  .dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.dropdown-panel {
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: var(--shadow);
}

.dropdown-panel a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: color-mix(in srgb, var(--navy) 80%, white);
}

.dropdown-panel a:hover {
  background: var(--muted);
  color: var(--navy);
}

.menu-toggle {
  display: none;
}

.search-toggle {
  display: inline-flex;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-search);
  display: none;
}

.overlay.is-open {
  display: block;
}

.overlay[hidden],
.modal[hidden] {
  display: none !important;
}

.search-overlay {
  inset: var(--safe-top) auto auto 0;
  width: 100%;
  max-height: min(72vh, 640px);
  overflow: auto;
  background: color-mix(in srgb, var(--navy) 96%, black);
  color: var(--white);
  border-bottom: 1px solid var(--header-border);
  padding: 24px max(32px, var(--safe-right)) 32px max(32px, var(--safe-left));
  box-shadow: var(--shadow);
}

.search-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.search-overlay-head h2 {
  margin-bottom: 0;
  font-size: 16px;
}

.search-overlay input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.search-overlay input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 50%, transparent);
}

.search-results {
  margin-top: 8px;
}

.search-results a {
  display: block;
  padding: 8px;
  border-radius: var(--radius);
  font-size: 14px;
}

.search-results a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-overlay .btn--ghost {
  color: var(--white);
}

.search-overlay .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-results a.is-hidden {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  z-index: var(--z-nav);
  width: min(100%, 384px);
  height: 100%;
  height: 100dvh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--white);
  color: var(--navy);
  border-inline-start: 1px solid var(--border);
  padding: calc(24px + var(--safe-top)) max(24px, var(--safe-right)) calc(24px + var(--safe-bottom)) max(24px, var(--safe-left));
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  transition: transform 0.2s ease, visibility 0.2s ease;
}

html[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

.mobile-nav.is-open,
html[dir="rtl"] .mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 10px 8px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav a:hover {
  background: var(--muted);
}

.mobile-nav-label {
  margin-top: 12px;
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.mobile-nav-contact {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.mobile-nav-langs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mobile-nav-langs button.is-active {
  color: var(--navy);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop);
  background: rgba(11, 18, 32, 0.4);
  display: none;
}

.backdrop.is-open,
.backdrop.is-search-open {
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(24px, var(--safe-top)) max(24px, var(--safe-right)) max(24px, var(--safe-bottom)) max(24px, var(--safe-left));
  background: rgba(11, 18, 32, 0.55);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: min(90vh, 90dvh);
  overflow: auto;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
}

.modal-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal-card > p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
}

.field input,
.field select,
.field textarea {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: none;
  font-weight: 400;
  background: var(--background);
}

.field textarea {
  height: auto;
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: color-mix(in srgb, #b42318 40%, var(--border));
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check--locked {
  opacity: 0.85;
}

.cta-form .check,
.meeting-form .check {
  margin-bottom: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.social a:hover {
  color: var(--white);
}

.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-progress);
  height: 3px;
  pointer-events: none;
  background: rgba(11, 18, 32, 0.08);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand);
  transform-origin: left;
}

.float-tools {
  position: fixed;
  inset-inline-end: max(20px, var(--safe-right));
  bottom: max(20px, var(--safe-bottom));
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #152033;
}

.back-to-top .icon {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  animation: pulse-green 2.5s infinite;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: none;
}

@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.cookie-bar {
  position: fixed;
  inset-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
  bottom: max(16px, var(--safe-bottom));
  z-index: var(--z-cookie);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.18);
  color: var(--navy);
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar-copy {
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.cookie-bar-copy a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-bar .btn--ghost,
.cookie-modal .btn--ghost:not(.modal-close) {
  width: auto;
  height: 40px;
  padding: 0 14px;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
