/* ============================================================================
   HawaiiGuide Homepage Beta v1
   All selectors scoped under .hg-beta to prevent leaking to other pages.
   Uses px font sizes (site base is 1rem = 10px — never use rem for fonts).
   ============================================================================ */

.hg-beta {
  --hg-oahu: #F27A24;
  --hg-maui: #1866B4;
  --hg-big-island: #c3232f;
  --hg-kauai: #1D9771;
  --hg-green: #1b4332;
  --hg-green-mid: #2d6a4f;
  --hg-green-soft: #f0f7f4;
  --hg-cream: #faf8f3;
  --hg-ink: #1a1a1a;
  --hg-muted: #6b7280;
  --hg-border: #e5e7eb;
  --hg-radius: 16px;
  --hg-radius-lg: 24px;
  --hg-shadow: 0 4px 16px rgba(0,0,0,0.08);
  --hg-shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
  font-family: inherit;
}

.hg-beta * { box-sizing: border-box; }
.hg-beta a { color: var(--hg-green); }

.hg-beta-section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.hg-beta-section-narrow { max-width: 1100px; }
.hg-beta-section-header { text-align: center; margin-bottom: 48px; }
.hg-beta-eyebrow-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hg-green);
  margin: 0 0 10px;
}
.hg-beta-section-title {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--hg-ink);
  font-weight: 700;
}
.hg-beta-section-sub {
  font-size: 18px;
  color: var(--hg-muted);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================================
   1. HERO — split layout (desktop) / stacked (mobile)
   ============================================================================ */

.hg-beta-hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 620px;
  background: var(--hg-cream);
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
}
.hg-beta-hero-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}
.hg-beta-hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hg-oahu);
  margin: 0 0 18px;
}
.hg-beta-hero-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 112px;
  line-height: 0.92;
  font-weight: 700;
  color: var(--hg-ink);
  margin: 0 0 24px;
  letter-spacing: -3px;
}
.hg-beta-hero-sub {
  font-size: 22px;
  line-height: 1.45;
  color: #333;
  max-width: 480px;
  margin: 0 0 36px;
  font-weight: 400;
}
.hg-beta-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 44px;
}
.hg-beta-btn-primary {
  display: inline-block;
  background: var(--hg-green);
  color: #fff !important;
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--hg-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}
.hg-beta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--hg-shadow-lg);
  background: var(--hg-green-mid);
}
.hg-beta-hero-link {
  font-size: 16px;
  color: var(--hg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hg-beta-hero-link:hover { color: var(--hg-ink); }
.hg-beta-hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--hg-muted);
}
.hg-beta-hero-trust img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--hg-shadow);
}
.hg-beta-hero-trust strong {
  color: var(--hg-ink);
  font-weight: 700;
}

.hg-beta-hero-media {
  position: relative;
  overflow: hidden;
  background: #000;
}
.hg-beta-hero-media .video-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.hg-beta-hero-media .video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 101%;
  min-height: 101%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hg-beta-aloha-watermark {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 5;
  font-family: Georgia, 'Playfair Display', serif;
  font-style: italic;
  font-size: 56px;
  color: #fff;
  opacity: 0.85;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  pointer-events: none;
  margin: 0;
  line-height: 1;
}

/* Tablet + mobile — stacked with video behind */
@media (max-width: 1023px) {
  .hg-beta-hero {
    display: block;
    min-height: 560px;
    background: #000;
    position: relative;
  }
  .hg-beta-hero-media {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
  }
  .hg-beta-hero-media::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
    pointer-events: none;
  }
  .hg-beta-hero-text {
    padding: 72px 32px 56px;
    min-height: 560px;
    color: #fff;
  }
  .hg-beta-hero-title,
  .hg-beta-hero-sub { color: #fff; }
  .hg-beta-hero-title { font-size: 80px; }
  .hg-beta-hero-sub { font-size: 18px; }
  .hg-beta-hero-link { color: rgba(255,255,255,0.85); }
  .hg-beta-hero-trust { color: rgba(255,255,255,0.85); }
  .hg-beta-hero-trust strong { color: #fff; }
  .hg-beta-aloha-watermark { display: none; }
}
@media (max-width: 600px) {
  .hg-beta-hero-title { font-size: 60px; letter-spacing: -2px; }
  .hg-beta-hero-sub { font-size: 17px; }
  .hg-beta-hero-text { padding: 56px 22px 44px; }
}

/* ============================================================================
   2. PICK YOUR ISLAND — 4 equal cards
   ============================================================================ */

.hg-beta-islands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hg-beta-island-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--hg-radius);
  overflow: hidden;
  box-shadow: var(--hg-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 5px solid var(--hg-accent, var(--hg-green));
}
.hg-beta-island-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hg-shadow-lg);
}
.hg-beta-island-card[data-island="oahu"] { --hg-accent: var(--hg-oahu); }
.hg-beta-island-card[data-island="maui"] { --hg-accent: var(--hg-maui); }
.hg-beta-island-card[data-island="big-island"] { --hg-accent: var(--hg-big-island); }
.hg-beta-island-card[data-island="kauai"] { --hg-accent: var(--hg-kauai); }

.hg-beta-island-topo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5fa 0%, #e4eff5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 14px 8px;
  position: relative;
}
.hg-beta-island-topo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
}
.hg-beta-island-card:hover .hg-beta-island-topo img {
  transform: scale(1.05);
}
.hg-beta-island-body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hg-beta-island-name {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--hg-accent);
  line-height: 1.1;
}
.hg-beta-island-stat {
  font-size: 14px;
  color: var(--hg-muted);
  margin: 0 0 18px;
  line-height: 1.4;
  flex: 1;
}
.hg-beta-island-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--hg-accent);
  color: #fff !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
  align-self: flex-start;
  transition: opacity 0.15s ease;
}
.hg-beta-island-card:hover .hg-beta-island-cta { opacity: 0.92; }
.hg-beta-island-links {
  display: flex;
  gap: 14px;
  font-size: 13px;
  border-top: 1px solid var(--hg-border);
  padding-top: 12px;
}
.hg-beta-island-links span {
  color: var(--hg-muted);
  text-decoration: none;
}
@media (max-width: 1023px) {
  .hg-beta-islands-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .hg-beta-islands-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   3. PLAN YOUR TRIP — 4 tool tiles
   ============================================================================ */

.hg-beta-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hg-beta-tool {
  display: block;
  background: #fff;
  border: 1px solid var(--hg-border);
  border-radius: var(--hg-radius);
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  text-align: left;
}
.hg-beta-tool:hover {
  border-color: var(--hg-green);
  box-shadow: var(--hg-shadow);
  transform: translateY(-3px);
}
.hg-beta-tool-icon {
  font-size: 34px;
  color: var(--hg-green);
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}
.hg-beta-tool-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--hg-ink);
}
.hg-beta-tool-desc {
  font-size: 15px;
  color: var(--hg-muted);
  margin: 0;
  line-height: 1.45;
}
@media (max-width: 1023px) {
  .hg-beta-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hg-beta-tools-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   4. WHAT'S HAPPENING NOW — dynamic strip
   ============================================================================ */

.hg-beta-now {
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f2ec 100%);
  border-radius: var(--hg-radius-lg);
  padding: 40px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.hg-beta-now-title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hg-green);
  margin: 0 0 24px;
  font-weight: 700;
}
.hg-beta-now-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hg-beta-now-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.15s ease;
  border-left: 4px solid var(--hg-green);
}
.hg-beta-now-chip:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.hg-beta-now-chip[data-status="alert"] { border-left-color: #d97706; }
.hg-beta-now-chip[data-status="active"] { border-left-color: #059669; }
.hg-beta-now-chip[data-status="inactive"] { border-left-color: #cbd5e1; }
.hg-beta-now-icon {
  font-size: 26px;
  color: var(--hg-green);
  flex-shrink: 0;
  line-height: 1;
}
.hg-beta-now-chip[data-status="alert"] .hg-beta-now-icon { color: #d97706; }
.hg-beta-now-chip[data-status="active"] .hg-beta-now-icon { color: #059669; }
.hg-beta-now-chip[data-status="inactive"] .hg-beta-now-icon { color: #94a3b8; }
.hg-beta-now-text {
  flex: 1;
  min-width: 0;
}
.hg-beta-now-label {
  font-size: 11px;
  color: var(--hg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 2px;
  font-weight: 700;
}
.hg-beta-now-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--hg-ink);
  margin: 0;
  line-height: 1.3;
}
.hg-beta-now-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
  vertical-align: middle;
  animation: hg-beta-pulse 2s ease-in-out infinite;
}
.hg-beta-now-chip[data-status="alert"] .hg-beta-now-dot { background: #d97706; }
.hg-beta-now-chip[data-status="inactive"] .hg-beta-now-dot {
  background: #cbd5e1;
  animation: none;
}
@keyframes hg-beta-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}
@media (max-width: 1023px) {
  .hg-beta-now-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hg-beta-now-grid { grid-template-columns: 1fr; }
  .hg-beta-now { padding: 28px 20px; }
}

/* ============================================================================
   5. LATEST FROM THE BLOG — 6 post cards
   ============================================================================ */

.hg-beta-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hg-beta-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--hg-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--hg-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hg-beta-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hg-shadow-lg);
}
.hg-beta-blog-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: #f4f4f4;
}
.hg-beta-blog-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hg-beta-blog-card:hover .hg-beta-blog-img-wrap img {
  transform: scale(1.06);
}
.hg-beta-blog-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hg-beta-blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hg-muted);
  font-weight: 700;
}
.hg-beta-blog-category {
  background: var(--hg-green-soft);
  color: var(--hg-green);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.hg-beta-blog-title {
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
  margin: 0;
  color: var(--hg-ink);
}
.hg-beta-blog-cta-wrap {
  text-align: center;
  margin-top: 48px;
}
.hg-beta-btn-outline {
  display: inline-block;
  padding: 15px 34px;
  border: 2px solid var(--hg-green);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hg-green) !important;
  text-decoration: none;
  background: transparent;
  transition: all 0.15s ease;
}
.hg-beta-btn-outline:hover {
  background: var(--hg-green);
  color: #fff !important;
}
@media (max-width: 1023px) {
  .hg-beta-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .hg-beta-blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   6. MALAMA HAWAIʻI
   ============================================================================ */

.hg-beta-malama-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hg-beta-malama {
  position: relative;
  border-radius: var(--hg-radius-lg);
  overflow: hidden;
  padding: 120px 40px;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hg-beta-malama::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,40,25,0.55) 0%, rgba(10,30,20,0.82) 100%);
}
.hg-beta-malama-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.hg-beta-malama-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 14px;
  font-weight: 700;
}
.hg-beta-malama h2 {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 48px;
  margin: 0 0 22px;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
}
.hg-beta-malama p {
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.92);
}
.hg-beta-malama a.hg-beta-malama-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  font-size: 16px;
}
@media (max-width: 768px) {
  .hg-beta-malama { padding: 72px 28px; }
  .hg-beta-malama h2 { font-size: 34px; }
  .hg-beta-malama p { font-size: 17px; }
}

/* ============================================================================
   7. ABOUT / TRUST / SIGNUP (merged)
   ============================================================================ */

.hg-beta-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hg-beta-about-text h2 {
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--hg-ink);
  font-weight: 700;
  line-height: 1.15;
}
.hg-beta-about-text p {
  font-size: 17px;
  line-height: 1.65;
  color: #333;
  margin: 0 0 22px;
}
.hg-beta-about-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hg-beta-about-byline img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hg-green-soft);
}
.hg-beta-about-byline-text {
  font-size: 14px;
  line-height: 1.3;
}
.hg-beta-about-byline-text strong {
  display: block;
  font-size: 16px;
  color: var(--hg-ink);
}
.hg-beta-about-byline-text span { color: var(--hg-muted); }
.hg-beta-about-stats {
  display: flex;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--hg-border);
  border-bottom: 1px solid var(--hg-border);
  margin: 0 0 8px;
}
.hg-beta-about-stat { flex: 1; }
.hg-beta-about-stat strong {
  display: block;
  font-size: 24px;
  color: var(--hg-green);
  margin-bottom: 4px;
  font-weight: 700;
}
.hg-beta-about-stat span {
  font-size: 12px;
  color: var(--hg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hg-beta-signup {
  background: var(--hg-green-soft);
  border-radius: var(--hg-radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.hg-beta-signup h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--hg-ink);
  font-weight: 700;
}
.hg-beta-signup p.hg-beta-signup-sub {
  font-size: 15px;
  color: var(--hg-muted);
  margin: 0 0 24px;
  line-height: 1.4;
}
.hg-beta-signup-field {
  margin-bottom: 12px;
  text-align: left;
}
.hg-beta-signup-field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hg-muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.hg-beta-signup-field input,
.hg-beta-signup-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--hg-border);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: var(--hg-ink);
  font-family: inherit;
}
.hg-beta-signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hg-beta-signup button[type="submit"] {
  width: 100%;
  margin-top: 14px;
  padding: 16px 24px;
  background: var(--hg-green);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hg-beta-signup button[type="submit"]:hover {
  background: var(--hg-green-mid);
  transform: translateY(-1px);
}
.hg-beta-signup-note {
  font-size: 12px;
  color: var(--hg-muted);
  margin: 14px 0 0;
}
@media (max-width: 1023px) {
  .hg-beta-about { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .hg-beta-signup-row { grid-template-columns: 1fr; }
  .hg-beta-signup { padding: 32px 22px; }
}

/* ============================================================================
   Utility + final polish
   ============================================================================ */

.hg-beta-section + .hg-beta-section { padding-top: 0; }
.hg-beta h2.hg-beta-section-title { font-weight: 700; }
