/* ===== HOMEPAGE REDESIGN ===== */
/* Prefix: hp- to avoid conflicts with existing Hueman theme styles */

.hp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- HEADER -------- */
.hp-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.hp-site-header.hp-header--scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.hp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.hp-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.hp-header-logo:hover {
  text-decoration: none;
}
.hp-logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.hp-logo-text {
  font-family: 'Titillium', Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}
.hp-site-header.hp-header--scrolled .hp-logo-text {
  color: #1a1a1a;
}
/* Desktop nav — only the direct top-level ul is flex */
.hp-desktop-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
/* Top-level links only */
.hp-desktop-nav > ul > li > a {
  display: block;
  padding: 7px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.hp-desktop-nav > ul > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.13);
  text-decoration: none;
}
.hp-site-header.hp-header--scrolled .hp-desktop-nav > ul > li > a {
  color: #333;
}
.hp-site-header.hp-header--scrolled .hp-desktop-nav > ul > li > a:hover {
  color: #33b7bc;
  background: rgba(51,183,188,0.08);
  text-decoration: none;
}
.hp-nav-cta {
  background: #33b7bc !important;
  color: #fff !important;
  border-radius: 5px !important;
  padding: 8px 16px !important;
  margin-left: 6px;
}
.hp-nav-cta:hover {
  background: #27a0a5 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.hp-site-header.hp-header--scrolled .hp-nav-cta {
  color: #fff !important;
}
/* Hamburger button */
.hp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.hp-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}
.hp-site-header.hp-header--scrolled .hp-hamburger span {
  background: #333;
}
/* Mobile nav drawer */
.hp-mobile-nav {
  display: none;
  background: rgba(10,40,40,0.97);
  padding: 12px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hp-mobile-nav.hp-mobile-nav--open {
  display: block;
}
.hp-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hp-mobile-nav ul li a {
  display: block;
  padding: 12px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hp-mobile-nav ul li a:hover {
  color: #33b7bc;
  text-decoration: none;
}
@media (max-width: 900px) {
  .hp-desktop-nav { display: none; }
  .hp-hamburger { display: flex; }
}

/* -------- HERO -------- */
.hp-hero {
  position: relative;
  background-image: url('/_assets/89fc6bacc7148689.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-color: #0a2a2a;
  color: #fff;
  padding: 148px 0 88px;
  text-align: center;
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,28,28,0.78) 0%, rgba(10,36,36,0.65) 60%, rgba(8,28,28,0.78) 100%);
  z-index: 0;
}
.hp-hero .hp-container {
  position: relative;
  z-index: 1;
}
.hp-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #33b7bc;
  margin: 0 0 18px;
  font-weight: 600;
  display: block;
}
.hp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 22px;
  color: #fff;
}
.hp-hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 650px;
  margin: 0 auto 40px;
}
.hp-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  line-height: 1.4;
  cursor: pointer;
}
.hp-btn-primary {
  background: #33b7bc;
  color: #fff;
  border: 2px solid #33b7bc;
}
.hp-btn-primary:hover {
  background: #27a0a5;
  border-color: #27a0a5;
  color: #fff;
  text-decoration: none;
}
.hp-btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.hp-btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}
.hp-btn-teal {
  background: #33b7bc;
  color: #fff;
  border: 2px solid #33b7bc;
}
.hp-btn-teal:hover {
  background: #27a0a5;
  border-color: #27a0a5;
  color: #fff;
  text-decoration: none;
}

/* -------- PILLARS -------- */
.hp-pillars {
  padding: 72px 0;
  background: #fff;
}
.hp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.hp-pillar {
  padding: 36px 30px;
  background: #f6f8f7;
  border-radius: 10px;
  border-top: 3px solid #33b7bc;
  transition: box-shadow 0.2s;
}
.hp-pillar:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hp-pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #33b7bc;
  display: block;
  line-height: 1;
}
.hp-pillar h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.3;
}
.hp-pillar p {
  font-size: 0.96rem;
  color: #555;
  line-height: 1.68;
  margin: 0 0 20px;
}
.hp-pillar a {
  color: #33b7bc;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.94rem;
}
.hp-pillar a:hover {
  text-decoration: underline;
  color: #33b7bc;
}

/* -------- HIGHLIGHTS -------- */
.hp-highlights {
  padding: 72px 0;
  background: #f4f7f6;
}
.hp-highlights > .hp-container > h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 36px;
  text-align: center;
}
.hp-highlights-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 52px;
}
.hp-highlight-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.hp-tag {
  display: inline-block;
  background: #e0f4f4;
  color: #0d6e72;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.hp-highlight-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.38;
}
.hp-highlight-card p {
  font-size: 0.94rem;
  color: #555;
  line-height: 1.65;
  margin: 0 0 20px;
}
.hp-highlight-card a {
  color: #33b7bc;
  font-weight: 600;
  text-decoration: none;
}
.hp-highlight-card a:hover {
  text-decoration: underline;
}
/* Videos */
.hp-media-section {
  margin-bottom: 48px;
}
.hp-media-section h3,
.hp-podcast-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dde8e8;
}
.hp-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.hp-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.hp-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Podcast */
.hp-podcast-section {
  margin-top: 0;
}
.hp-podcast-embed iframe {
  border-radius: 12px;
  border: 0;
  width: 100%;
  display: block;
}

/* -------- PARTNERS -------- */
.hp-partners {
  padding: 64px 0;
  background: #fff;
  text-align: center;
}
.hp-partners h2 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 40px;
}
.hp-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 56px;
}
.hp-partners-grid a {
  display: inline-flex;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.hp-partners-grid a:hover {
  opacity: 1;
}
.hp-partners-grid img {
  max-height: 72px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s;
}
.hp-partners-grid a:hover img {
  filter: none;
}

/* -------- ABOUT -------- */
.hp-about {
  padding: 72px 0;
  background: #f4f7f6;
}
.hp-about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}
.hp-about-photo {
  flex-shrink: 0;
}
.hp-about-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
  display: block;
}
.hp-about-text {
  text-align: left;
}
.hp-about-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #33b7bc;
  margin: 0 0 10px;
  display: block;
}
.hp-about h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  line-height: 1.25;
}
.hp-about p {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.78;
  margin: 0 0 28px;
}
.hp-about .hp-btn {
  margin-bottom: 18px;
  display: inline-block;
}
.hp-social-links {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
.hp-social-links a {
  color: #727776;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
.hp-social-links a:hover {
  color: #33b7bc;
  text-decoration: underline;
}

/* Dropdown nav */
.hp-desktop-nav > ul > li {
  position: relative;
}
/* Sub-menus: hidden by default, NOT flex */
.hp-desktop-nav .hp-sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  min-width: 230px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  padding: 6px 0;
  z-index: 200;
  list-style: none;
  margin: 0;
  flex-direction: unset;
  align-items: unset;
  gap: unset;
}
.hp-has-dropdown:hover .hp-sub-menu {
  display: block;
}
.hp-desktop-nav .hp-sub-menu > li > a {
  display: block !important;
  padding: 9px 18px !important;
  font-size: 0.85rem !important;
  color: #333 !important;
  font-weight: 500 !important;
  background: transparent !important;
  border-radius: 0 !important;
  white-space: normal;
  line-height: 1.4;
}
.hp-desktop-nav .hp-sub-menu > li > a:hover {
  color: #33b7bc !important;
  background: #f0fafa !important;
  text-decoration: none !important;
}

/* -------- CONTACT CTA -------- */
.hp-contact-cta {
  padding: 80px 0;
  background: #0a2a2a;
  color: #fff;
  text-align: center;
}
.hp-contact-cta h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.22;
}
.hp-contact-cta > .hp-container > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
}
.hp-contact-link {
  color: #33b7bc;
  font-weight: 600;
}
.hp-contact-link:hover {
  color: #27a0a5;
  text-decoration: underline;
}

/* -------- FOOTER BAR -------- */
.hp-footer-bar {
  background: #727776;
  color: rgba(255,255,255,0.75);
  padding: 20px 0;
}
.hp-footer-bar .hp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.hp-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.hp-footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 600;
}
.hp-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.hp-footer-sep {
  color: rgba(255,255,255,0.35);
}
.hp-footer-social {
  display: flex;
  gap: 12px;
}
.hp-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s;
}
.hp-footer-social a:hover {
  background: #33b7bc;
  color: #fff;
  text-decoration: none;
}

/* Social icon links in About section */
.hp-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-social-links a i {
  font-size: 1rem;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 900px) {
  .hp-hero {
    padding-top: 100px;
  }
}
@media (max-width: 720px) {
  .hp-about-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .hp-about-text {
    text-align: center;
  }
  .hp-social-links {
    justify-content: center;
  }
  .hp-hero {
    padding: 90px 0 56px;
  }
  .hp-hero h1 {
    font-size: 1.9rem;
  }
  .hp-pillars,
  .hp-highlights,
  .hp-about {
    padding: 52px 0;
  }
  .hp-partners {
    padding: 48px 0;
  }
  .hp-contact-cta {
    padding: 60px 0;
  }
  .hp-contact-cta h2 {
    font-size: 1.65rem;
  }
  .hp-about h2 {
    font-size: 1.55rem;
  }
  .hp-highlights > .hp-container > h2 {
    font-size: 1.55rem;
  }
}
