/* ═══════════════════════════════════════════
   BOH Wiz — Premium Styles
   Brand: #0B2447 (navy) · #19A7CE (teal) · #A6E3E9 (light blue) · #F8F9FA (white)
   ═══════════════════════════════════════════ */

:root {
  --navy: #0B2447;
  --navy-deep: #071a36;
  --teal: #19A7CE;
  --teal-bright: #1fc5f0;
  --light-blue: #A6E3E9;
  --white: #F8F9FA;
  --gray-50: #f7f8fb;
  --gray-100: #f0f2f5;
  --gray-200: #dde1e7;
  --gray-300: #c4cad4;
  --gray-600: #5a6577;
  --gray-700: #3d4656;
  --shadow-sm: 0 1px 3px rgba(11, 36, 71, 0.06);
  --shadow: 0 4px 20px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 36, 71, 0.12);
  --shadow-xl: 0 20px 60px rgba(11, 36, 71, 0.16);
  --shadow-glow: 0 0 40px rgba(25, 167, 206, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Typography ─── */
h1, h2, h3 { letter-spacing: -0.025em; }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(25, 167, 206, 0.35); }

.btn-accent {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  color: #fff;
  font-size: 1.05rem;
  padding: 18px 44px;
  border-radius: 12px;
  letter-spacing: -0.01em;
}
.btn-accent:hover {
  box-shadow: 0 8px 32px rgba(25, 167, 206, 0.4);
}
.btn-full { width: 100%; text-align: center; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: rgba(11, 36, 71, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--shadow);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  transition: transform var(--transition);
}
.logo:hover .logo-img { transform: scale(1.05); }
.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: width var(--transition);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-cta { font-size: 0.88rem; padding: 10px 24px; border-radius: 8px; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 35%, #0e3564 60%, var(--teal) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(25, 167, 206, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(166, 227, 233, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(25, 167, 206, 0.12);
  border: 1px solid rgba(25, 167, 206, 0.25);
  border-radius: 100px;
  color: var(--light-blue);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(166, 227, 233, 0.85);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 560px;
}

/* ─── Section Shared ─── */
.services, .spotlight, .integrations, .clients, .why, .contact {
  padding: 100px 0;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-sub {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 56px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Services Grid ─── */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 36, 71, 0.04);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--teal);
  background: rgba(25, 167, 206, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ─── Spotlight ─── */
.spotlight {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 167, 206, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.spotlight-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.spotlight-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  color: var(--teal);
  background: rgba(25, 167, 206, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.spotlight-icon svg { width: 100%; height: 100%; }
.spotlight h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  font-weight: 800;
}
.spotlight-lead {
  color: var(--light-blue);
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-weight: 500;
}
.spotlight p:last-child {
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  font-size: 1.05rem;
}

/* ─── Integrations ─── */
.integrations { background: var(--white); }
.integrations-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.integration-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.integration-divider {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  border-radius: 50%;
  flex-shrink: 0;
}
.integrations-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ─── Clients (Logo Grid) ─── */
.clients {
  background: var(--gray-50);
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.client-logo-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 36, 71, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 90px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.client-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.client-logo-img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
.client-logo-card:hover .client-logo-img {
  transform: scale(1.05);
}
/* Ancho & Agave logo is white-on-transparent, invert for light bg */
.client-logo-invert {
  filter: invert(1);
}

/* ─── Why BOH Wiz ─── */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.why-card {
  padding: 36px 30px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-glow);
  background: #fff;
}
.why-card:hover::before { opacity: 1; }

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--teal);
  font-weight: 700;
}
.why-card p {
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ─── Contact ─── */
.contact {
  background: var(--gray-50);
  position: relative;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 36, 71, 0.04);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--navy);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 167, 206, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-status {
  margin-top: 14px;
  padding: 0;
  font-size: 0.93rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.form-status.success {
  padding: 14px 18px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status.error {
  padding: 14px 18px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-info {
  padding: 40px;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(25, 167, 206, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
  font-weight: 700;
  position: relative;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
}
.contact-detail a,
.contact-detail span {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--light-blue); }
.contact-person {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-weight: 600;
  color: var(--light-blue);
  font-size: 0.95rem;
  position: relative;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo {
  height: 36px;
  border-radius: 8px;
}
.footer-brand p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--light-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-contact {
  display: flex;
  gap: 28px;
}
.footer-contact a {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--light-blue); }
.footer-copy {
  font-size: 0.78rem;
  margin-top: 8px;
  color: rgba(255,255,255,0.35);
}

/* ─── Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.services-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.services-grid .fade-in:nth-child(2) { transition-delay: 0.06s; }
.services-grid .fade-in:nth-child(3) { transition-delay: 0.12s; }
.services-grid .fade-in:nth-child(4) { transition-delay: 0.18s; }
.services-grid .fade-in:nth-child(5) { transition-delay: 0.24s; }
.services-grid .fade-in:nth-child(6) { transition-delay: 0.30s; }
.services-grid .fade-in:nth-child(7) { transition-delay: 0.36s; }
.services-grid .fade-in:nth-child(8) { transition-delay: 0.42s; }

.why-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.why-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.why-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.why-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 36, 71, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav.open a {
    font-size: 1.05rem;
    opacity: 1;
    padding: 4px 0;
  }
  .main-nav.open a::after { display: none; }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-headline { font-size: 2.1rem; }

  .services, .spotlight, .integrations, .clients, .why, .contact { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .client-logos { gap: 16px; }
  .client-logo-card {
    min-width: 140px;
    padding: 16px 24px;
    height: 72px;
  }
  .client-logo-img { max-height: 36px; max-width: 110px; }

  .integrations-bar { gap: 16px; }
  .integration-name { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .hero { padding: 120px 0 60px; }
  .hero-headline { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .btn-accent { padding: 16px 32px; font-size: 1rem; }
  .contact-form { padding: 28px; }
  .contact-info { padding: 28px; }
  .section-title { font-size: 1.5rem; }
}
