/* ============================================================
   Host Alaska — Global Styles
   Alaska Short-Term Rental Association (ASTRA)
   ============================================================ */

:root {
  --navy:       #0B2545;
  --navy-mid:   #163C6B;
  --blue:       #1B6CA8;
  --gold:       #C8973A;
  --gold-light: #E6B85A;
  --teal:       #1D6B5E;
  --teal-light: #2A9080;
  --light:      #F4F7FB;
  --border:     #D8E2EE;
  --text:       #1A2535;
  --text-mid:   #4A5568;
  --white:      #FFFFFF;
  --red-alert:  #C0392B;

  --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-w:      1160px;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(11,37,69,0.10);
  --shadow-lg:  0 6px 28px rgba(11,37,69,0.14);
}

/* ── Animations ── */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94,212,184,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(94,212,184,0); }
  100% { box-shadow: 0 0 0 0 rgba(94,212,184,0); }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-teal p { color: rgba(255,255,255,0.85); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 640px; margin: 0.75rem auto 0; font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); text-decoration: none; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.88rem; }

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: var(--navy);
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text span:first-child {
  font-weight: 800; font-size: 1.1rem; color: var(--white); letter-spacing: -0.01em;
}
.nav-logo-text span:last-child {
  font-size: 0.67rem; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: all 0.15s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links .btn { margin-left: 0.5rem; padding: 0.5rem 1.2rem; font-size: 0.88rem; }

/* Dropdown menu */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.18s;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 5px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}
.dropdown-menu a:hover {
  background: var(--light);
  color: var(--navy);
}
.dropdown-menu a strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.dropdown-menu a span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-mid);
}

/* Audience cards on homepage */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.audience-card:hover::before { transform: scaleX(1); }
.audience-card .audience-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.audience-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--navy); }
.audience-card p { font-size: 0.9rem; margin-bottom: 1rem; flex: 1; }
.audience-card .audience-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

@media (max-width: 960px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.5rem; padding: 0.25rem;
}
.mobile-nav {
  display: none;
  background: var(--navy-mid);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; color: rgba(255,255,255,0.85); padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem;
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; margin-top: 0.5rem; }

/* ── Alert Banner ── */
.alert-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.alert-banner a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ── Hero ── */
.hero {
  background:
    linear-gradient(160deg, rgba(11,37,69,0.92) 0%, rgba(22,60,107,0.85) 50%, rgba(29,107,94,0.80) 100%),
    linear-gradient(180deg, #0B2545 0%, #1B6CA8 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(200,151,58,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 520px; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.hero-card h3 { color: var(--gold-light); font-size: 1rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; }
.hero-stat { margin-bottom: 1.25rem; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }
.hero-stat:last-child { margin-bottom: 0; }

/* ── Urgency Band ── */
.urgency-band {
  background: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.urgency-band .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
.urgency-band p { color: rgba(255,255,255,0.88); margin: 0; }
.urgency-band strong { color: var(--white); }

/* ── Pillars / Feature Grid ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.pillar-card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.pillar-card p { font-size: 0.93rem; margin: 0; }

/* ── Membership Tiers ── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tier-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.tier-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-lg);
}
.tier-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}
.tier-card.featured .tier-header { background: var(--gold); color: var(--navy); }
.tier-header h3 { color: inherit; font-size: 1.1rem; margin-bottom: 0.25rem; }
.tier-header .tier-who { font-size: 0.82rem; opacity: 0.75; }
.tier-price {
  padding: 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.tier-price .amount { font-size: 2.25rem; font-weight: 800; color: var(--navy); line-height: 1; }
.tier-price .per { font-size: 0.8rem; color: var(--text-mid); }
.tier-body { padding: 1.25rem 1.5rem; flex: 1; }
.tier-body li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.9rem; padding: 0.3rem 0;
  border-bottom: 1px solid var(--border); color: var(--text-mid);
}
.tier-body li:last-child { border-bottom: none; }
.tier-body li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }
.tier-footer { padding: 1.25rem 1.5rem; }

/* ── Values / Mission ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.value-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.value-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(200,151,58,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.value-item h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 0.2rem; }
.value-item p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }

/* ── Board / Leadership ── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.board-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}
.board-avatar {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gold);
  font-weight: 800;
}
.board-info { padding: 1.25rem; }
.board-info h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.board-info .title { font-size: 0.82rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.board-info .location { font-size: 0.82rem; color: var(--text-mid); margin-top: 0.3rem; }

/* ── Regional Councils ── */
.councils-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.councils-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.councils-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.councils-table tr:last-child td { border-bottom: none; }
.councils-table tr:hover td { background: var(--light); }
.councils-table td:first-child { color: var(--text); font-weight: 600; }

/* ── Regulatory Table ── */
.reg-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.reg-table th {
  background: var(--navy); color: var(--white);
  padding: 0.8rem 1rem; text-align: left;
  font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.reg-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-mid); vertical-align: top; }
.reg-table tr:last-child td { border-bottom: none; }
.reg-table tr:hover td { background: var(--light); }
.reg-table td:first-child { font-weight: 600; color: var(--text); }
.badge-active { background: #d4edda; color: #155724; padding: 0.2rem 0.6rem; border-radius: 3px; font-size: 0.78rem; font-weight: 600; }
.badge-pending { background: #fff3cd; color: #856404; padding: 0.2rem 0.6rem; border-radius: 3px; font-size: 0.78rem; font-weight: 600; }

/* ── Quote / Pull Quote ── */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p { font-size: 1.1rem; font-style: italic; color: var(--navy); margin: 0; line-height: 1.6; }
.pull-quote cite { display: block; margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-mid); font-style: normal; }

/* ── Callout Box ── */
.callout {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
}
.callout h2 { color: var(--white); margin-bottom: 1rem; }
.callout p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 1.75rem; }
.callout .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── News Cards ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.news-card-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--navy);
  padding: 0.25rem 0.75rem;
}
.news-card-body { padding: 1.25rem; flex: 1; }
.news-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.news-card-body p { font-size: 0.88rem; }
.news-card-meta { padding: 0 1.25rem 1.25rem; font-size: 0.8rem; color: var(--text-mid); }

/* ── Contact Form ── */
.contact-form { display: grid; gap: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.95rem;
  color: var(--text); background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 260px; }
.footer-brand .slogan { font-size: 0.82rem; font-style: italic; color: var(--gold-light); margin-top: 0.75rem; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.88rem; padding: 0.2rem 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: all 0.15s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ── Two-col layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-text h2 { margin-bottom: 1.25rem; }
.two-col-text .btn { margin-top: 1.25rem; }
.two-col-media img { border-radius: 10px; box-shadow: var(--shadow-lg); }
.two-col-box {
  background: var(--light);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .tiers-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .pillars-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
