/* ============================================================
   OMAR HUERTAS LLC — UNIFIED THEME
   Shared design system across all pages.
   ============================================================ */

:root {
  --navy-900: #02141f;
  --navy-800: #021c2a;
  --navy-700: #032D42;
  --navy-600: #0a4a5e;
  --navy-500: #0b4866;
  --teal-700: #00857C;
  --teal-600: #00b388;
  --mint-500: #00d09c;
  --mint-300: #5eead4;
  --ink-900: #1a2b3c;
  --ink-700: #4a6275;
  --ink-500: #6b7d8a;
  --line: #e5ecf0;
  --line-soft: #eef2f5;
  --paper: #ffffff;
  --paper-alt: #f8fafb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 4px 12px rgba(3,45,66,0.06);
  --shadow-md: 0 16px 34px rgba(3,45,66,0.08);
  --shadow-lg: 0 24px 48px rgba(3,45,66,0.14);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--ink-900);
  line-height: 1.6;
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ============================================================
   NAV — identical across all pages
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-700);
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--teal-700) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--ink-900);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal-700); }
.nav-cta {
  background: var(--navy-700);
  color: white !important;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-700);
  margin: 5px 0;
  transition: .3s;
}

/* ============================================================
   HERO — shared dark dramatic hero base (mint accent)
   Each page can vary content but keeps this aesthetic
   ============================================================ */
.hero-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,208,156,0.22), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(0,110,255,0.16), transparent 36%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-500) 100%);
  color: #fff;
  padding-top: 80px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .45;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(92px);
  opacity: .35;
  pointer-events: none;
}
.hero-orb.o1 { width: 340px; height: 340px; background: var(--mint-500); top: -70px; left: -95px; animation: floatA 14s ease-in-out infinite; }
.hero-orb.o2 { width: 400px; height: 400px; background: #005eff; bottom: -130px; right: -120px; animation: floatB 18s ease-in-out infinite; }
.hero-orb.o3 { width: 240px; height: 240px; background: var(--teal-600); top: 42%; right: 18%; animation: floatC 12s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(40px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-35px); } }
@keyframes floatC { 0%,100% { transform: translateX(0); } 50% { transform: translateX(34px); } }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 32px 110px;
}
.hero-inner.center { text-align: center; max-width: 1100px; }

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.breadcrumb.center { justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint-300); }

.hero-badge {
  display: inline-block;
  margin-bottom: 26px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -2px;
  font-weight: 800;
  margin-bottom: 26px;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--mint-300), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .mint { color: var(--mint-500); }

.hero-lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin-bottom: 38px;
}
.hero-inner.center .hero-lede { margin-left: auto; margin-right: auto; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-inner.center .hero-actions { justify-content: center; }

/* SHARED BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-mint {
  background: linear-gradient(135deg, var(--teal-600), var(--mint-500));
  color: white;
  box-shadow: 0 12px 30px rgba(0,208,156,0.28);
}
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,208,156,0.35); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-primary {
  background: var(--navy-700);
  color: white;
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(3,45,66,0.2); }
.btn-light {
  background: white;
  color: var(--navy-700);
}
.btn-light:hover { background: var(--mint-300); transform: translateY(-2px); }

/* ============================================================
   LAYOUT — sections, container, headings
   ============================================================ */
section { padding: 100px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--mint-300); }

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy-700);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.h2.on-dark { color: #fff; }

.lede {
  font-size: 17px;
  color: var(--ink-700);
  line-height: 1.75;
  max-width: 680px;
}
.lede.on-dark { color: rgba(255,255,255,0.82); }

.section-head { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.section-head .lede { margin-left: auto; margin-right: auto; }

.bg-alt { background: var(--paper-alt); }
.bg-dark {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.bg-dark::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 133, 124, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   FOOTER — shared, but tagline varies per page via inline content
   ============================================================ */
footer {
  background: var(--navy-800);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 420px;
}
.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14.5px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--mint-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .mobile-toggle { display: block; }
  section { padding: 70px 0; }
  .hero-inner { padding: 50px 20px 80px; }
  .container, .nav-container { padding-left: 20px; padding-right: 20px; }
  .nav-container { padding-top: 14px; padding-bottom: 14px; }
  .hero-title { font-size: 38px; }
}
