/*
Theme Name: HB9TVW
Template: hello-elementor
Description: Child theme per hb9tvw.ch - palette navy/oro professionale
Version: 1.1
*/

:root {
  --navy: #0b1e3d;
  --navy-light: #16294f;
  --gold: #d4a017;
  --gold-light: #f0c14b;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --bg-light: #f7f8fa;
  --border-color: #e2e5ea;
}

body {
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header / navbar */
.site-header, header.site-header {
  background-color: var(--navy) !important;
  border-bottom: 3px solid var(--gold);
}
.site-header a, .site-header .site-title a {
  color: var(--text-light) !important;
}
.site-header nav a {
  color: var(--text-light) !important;
  font-weight: 600;
}
.site-header nav a:hover {
  color: var(--gold-light) !important;
}

/* Hero section */
.hb9-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}
.hb9-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,30,61,0.85) 0%, rgba(11,30,61,0.75) 100%);
}
.hb9-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}
.hb9-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.hb9-hero p.tagline {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hb9-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.hb9-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--gold);
  color: var(--text-light);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Section wrapper */
.hb9-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hb9-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
  font-weight: 800;
}

/* Card grid */
.hb9-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.hb9-card {
  background: var(--bg-light);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 2px 8px rgba(11,30,61,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hb9-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(11,30,61,0.15);
}
.hb9-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.hb9-card p {
  color: #4a4a4a;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Buttons */
.hb9-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.2s ease;
}
.hb9-btn:hover {
  background: var(--gold-light);
}

/* Footer */
.site-footer, footer.site-footer {
  background-color: var(--navy) !important;
  color: var(--text-light) !important;
  padding: 2rem 1.5rem;
  text-align: center;
}
.site-footer a {
  color: var(--gold-light) !important;
}

@media (max-width: 768px) {
  .hb9-hero h1 { font-size: 2.1rem; }
  .hb9-hero p.tagline { font-size: 1.05rem; }
  .hb9-section h2 { font-size: 1.6rem; }
}

.hb9-hamburger { display:none; flex-direction:column; justify-content:space-between; width:28px; height:22px; cursor:pointer; background:none; border:none; padding:0; z-index:1000; }
.hb9-hamburger span { display:block; height:3px; width:100%; background:var(--gold); border-radius:2px; }
.hb9-nav-menu { display:flex; gap:1.5rem; list-style:none; margin:0; padding:0; }
.hb9-nav-menu li a { color:var(--text-light); text-decoration:none; font-weight:600; }
.hb9-nav-menu li a:hover { color:var(--gold-light); }
@media (max-width: 782px) {
  .hb9-hamburger { display:flex; }
  .hb9-nav-menu { display:none; position:absolute; top:100%; left:0; right:0; background:var(--navy); flex-direction:column; padding:1rem 1.5rem; gap:1rem; border-top:2px solid var(--gold); }
  .hb9-nav-menu.hb9-open { display:flex; }
  .hb9-nav-wrapper { position:relative; display:flex; justify-content:space-between; align-items:center; }
}
