:root {
  --ot-navy: #0E2B48;
  --ot-navy-soft: #0b1220;
  --ot-blue: #2a3f98;
  --ot-coral: #FF1654;
  --ot-border-subtle: rgba(148, 163, 184, 0.35);
  --ot-radius-lg: 999px;
}

/* Hide new desktop header on mobile */
@media (max-width: 991px) {
  .ot-desktop-header {
    display: none;
  }
}

/* Hide mobile header on desktop */
@media (min-width: 992px) {
  .ot-mobile-header,
  .ot-mobile-menu {
    display: none;
  }
}

/* Desktop Header */
@media (min-width: 992px) {
  .ot-desktop-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  }

  .ot-nav-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  /* Brand */
  .ot-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
  }

  .ot-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, var(--ot-coral), var(--ot-navy));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
  }

  .ot-brand-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ot-navy-soft);
    letter-spacing: 0.02em;
  }

  .ot-brand-text span {
    color: var(--ot-coral);
  }

  /* Main nav */
  .ot-main-nav {
    flex: 1;
  }

  .ot-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .ot-nav-item {
    position: relative;
  }

  .ot-nav-link {
    border: 0;
    background: none;
    padding: 0.5rem 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.16s ease, transform 0.16s ease;
  }

  .ot-nav-link:hover {
    color: var(--ot-coral);
    transform: translateY(-1px);
  }

  .ot-nav-caret {
    font-size: 0.65rem;
    opacity: 0.6;
  }

  /* Dropdown panel */
  .ot-dropdown-panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.5rem);
    transform: translateX(-50%) translateY(6px);
    min-width: 380px;
    padding: 1.15rem 1.4rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.15);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .ot-dropdown-panel--single {
    min-width: 220px;
    grid-template-columns: 1fr;
  }

  .ot-dropdown-col {
    min-width: 0;
  }

  .ot-dropdown-label {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
  }

  .ot-dropdown-link {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.4rem;
    transition: background-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
  }

  .ot-dropdown-link:hover {
    color: var(--ot-coral);
    transform: translateX(3px);
  }

  /* Show dropdown on hover */
  .ot-has-dropdown:hover > .ot-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* WhatsApp pill */
  .ot-nav-cta {
    display: flex;
    align-items: center;
  }

  .ot-whatsapp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--ot-radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #ecfdf3, #d1fae5);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: #047857;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }

  .ot-whatsapp-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
  }

  .ot-wa-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  }
}

/* Mobile Header */
@media (max-width: 991px) {
  .ot-mobile-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ot-navy);
    padding: 0.75rem 1rem;
  }

  .ot-mobile-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ot-mobile-header .ot-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
  }

  .ot-mobile-header .ot-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, var(--ot-coral), var(--ot-navy));
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ot-mobile-header .ot-brand-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
  }

  .ot-mobile-header .ot-brand-text span {
    color: var(--ot-coral);
  }

  .ot-mobile-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ot-hamburger {
    width: 24px;
    height: 2px;
    background: #ffffff;
    position: relative;
  }

  .ot-hamburger::before,
  .ot-hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #ffffff;
    left: 0;
  }

  .ot-hamburger::before {
    top: -7px;
  }

  .ot-hamburger::after {
    top: 7px;
  }

  /* Mobile Menu Overlay */
  .ot-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--ot-navy);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }

  .ot-mobile-menu.is-open {
    transform: translateX(0);
  }

  .ot-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
  }

  .ot-mobile-menu-header .ot-brand-text {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
  }

  .ot-mobile-menu-header .ot-brand-text span {
    color: var(--ot-coral);
  }

  .ot-mobile-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
  }

  .ot-mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .ot-mobile-link {
    display: block;
    padding: 0.9rem 0.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .ot-mobile-link:hover {
    color: var(--ot-coral);
    padding-left: 1rem;
  }

  .ot-mobile-cta {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .ot-whatsapp-pill--large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    border-radius: var(--ot-radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
  }

  .ot-whatsapp-pill--large .ot-wa-dot {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  }
}

/* Footer */
.ot-footer {
  background: var(--ot-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem 1.5rem;
}

.ot-footer-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.ot-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ot-footer .ot-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, var(--ot-coral), var(--ot-navy));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ot-footer .ot-brand-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
}

.ot-footer .ot-brand-text span {
  color: var(--ot-coral);
}

.ot-footer-tagline {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.ot-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ot-footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.ot-footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.ot-footer-col a:hover {
  color: var(--ot-coral);
}

.ot-footer-bottom {
  text-align: center;
}

.ot-footer-bottom p {
  margin: 0.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
