/* ============================================================
   ALTITUDE APIARY — GLOBAL STYLESHEET
   Premium Honey Brand | Clean & Minimal
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #1A1A1A;
  --accent:        #C8860A;
  --accent-light:  #F5E6C8;
  --accent-dark:   #9A6500;
  --bg:            #FAFAF5;
  --white:         #FFFFFF;
  --text:          #444444;
  --text-light:    #888888;
  --border:        #E8DFC8;
  --shadow:        0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.12);
  --radius:        12px;
  --radius-sm:     6px;
  --max-width:     1200px;
  --nav-height:    72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--primary);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
.section    { padding: 88px 0; }
.section--sm { padding: 52px 0; }
.section--lg { padding: 128px 0; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250,250,245,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: normal;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav__links a {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }

.nav__cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 4px;
}
.nav__cta:hover { background: var(--accent-dark); color: var(--white) !important; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  transition: .3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,134,10,.28);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn--white:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn--dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--dark:hover { background: #333; color: var(--white); }
.btn--lg { padding: 17px 42px; font-size: 0.95rem; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  margin-top: var(--nav-height);
  padding: 88px 0 68px;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,134,10,.12) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero p {
  color: var(--accent-light);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 18px auto 0;
  position: relative;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ── DIVIDER ── */
.divider {
  width: 56px; height: 3px;
  background: var(--accent);
  margin: 14px 0 22px;
}
.divider--center { margin: 14px auto 22px; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.badge--gold    { background: var(--accent);   color: var(--white); }
.badge--premium { background: var(--primary);  color: var(--accent-light); }

/* ── CALLOUT ── */
.callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.callout p { margin: 0; font-size: .95rem; color: var(--primary); }

/* ── FORM STYLES ── */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--white);
  color: var(--primary);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,134,10,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.compare-table th,
.compare-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--bg);
}
.compare-table tbody tr:hover { background: #FDFBF6; }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: #2D9B4E; font-weight: 800; font-size: 1.1rem; }
.xmark { color: #CC3333; font-weight: 800; }

/* ── FOOTER ── */
.footer {
  background: var(--primary);
  color: #888;
  padding: 68px 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.footer__brand h3 span { color: var(--accent); }
.footer__brand p { font-size: .88rem; line-height: 1.8; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 9px; }
.footer__col ul li a { color: #777; font-size: .88rem; transition: color .2s; }
.footer__col ul li a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid #2E2E2E;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer__bottom a { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg);
    padding: 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    box-shadow: var(--shadow-lg);
  }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 64px 0 48px; }
}

/* ── NAV SHARED JS ── */
.nav-scroll-lock { overflow: hidden; }
