
/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --coffee-dark: #2C1810;
  --coffee: #3D2817;
  --coffee-light: #5C3D24;
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --amber: #C8A165;
  --amber-light: #D4B580;
  --amber-dark: #A6854E;
  --gold: #DAA520;
  --white: #FFFFFF;
  --text-dark: #2C1810;
  --text-muted: #6B5D4F;
  --border: #E5DDD0;
  --green: #4A7C59;
  --shadow-sm: 0 2px 8px rgba(44,24,16,0.08);
  --shadow-md: 0 4px 20px rgba(44,24,16,0.12);
  --shadow-lg: 0 10px 40px rgba(44,24,16,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}
html { scroll-behavior: smooth; scroll-padding-top: 70px; overflow-x: hidden; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
img, video, svg { max-width: 100%; }
.about-inner, .hero-inner, .contact-grid, .shipping-grid, .footer-inner { min-width: 0; }
h1, h2, h3, h4 { font-family: 'Roboto Slab', serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
a { color: var(--amber-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coffee); }
img { max-width: 100%; height: auto; display: block; }
section { padding: 80px 0; position: relative; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-dark);
  margin-bottom: 12px;
}
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 700px; margin: 0 auto 50px; font-size: 1.1rem; }

/* === NAVIGATION === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(44,24,16,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,161,101,0.2);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 500; padding: 8px 14px; border-radius: 6px;
  transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--amber-light); background: rgba(200,161,101,0.1); }
.nav-buy-btn {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--white) !important; padding: 10px 22px !important;
  border-radius: 30px !important; font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(200,161,101,0.3);
}
.nav-buy-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,161,101,0.45); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a0f08 0%, #2C1810 50%, #3D2817 100%);
  position: relative; overflow: hidden; padding: 100px 0 60px;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(200,161,101,0.15), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(218,165,32,0.1), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge { margin-bottom: 24px; }
.hero-badge img { width: 160px; height: auto; border-radius: 8px; box-shadow: var(--shadow-md); }
.hero h1 {
  color: var(--white); margin-bottom: 20px;
  font-family: 'Roboto Slab', serif;
}
.hero h1 .highlight { color: var(--amber-light); font-style: italic; }
.hero-desc {
  color: rgba(255,255,255,0.8); font-size: 1.2rem; margin-bottom: 36px;
  font-family: 'Poppins', sans-serif; font-weight: 300; max-width: 500px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 30px; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px;
  cursor: pointer; transition: all 0.3s; border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--white); box-shadow: 0 6px 20px rgba(200,161,101,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(200,161,101,0.5); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--amber-light); color: var(--amber-light); }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; max-width: 500px; margin: 0 auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.hero-trust {
  display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif; font-weight: 500;
}
.trust-badge svg { width: 18px; height: 18px; color: var(--amber-light); }

/* === SECTION: ALL NATURAL === */
.about { background: var(--cream); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 100%; height: auto;
}
.about-content .eyebrow { color: var(--amber-dark); }
.about-content h2 { margin-bottom: 24px; color: var(--coffee-dark); }
.about-content p { margin-bottom: 18px; color: var(--text-muted); font-size: 1.05rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.feature {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); font-family: 'Montserrat', sans-serif;
  font-weight: 500; font-size: 0.9rem; color: var(--coffee);
}
.feature svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }

/* === PRODUCT INFO === */
.product-info { background: var(--white); }
.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin: 40px 0;
}
.spec-card {
  padding: 28px; background: var(--cream); border-radius: var(--radius);
  border-left: 4px solid var(--amber); box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spec-label {
  font-family: 'Montserrat', sans-serif; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 0.75rem; color: var(--amber-dark);
  font-weight: 600; margin-bottom: 8px;
}
.spec-value { font-size: 1.05rem; color: var(--coffee-dark); font-weight: 500; }
.certifications {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 40px 0;
}
.cert-badge {
  padding: 14px 28px; background: linear-gradient(135deg, var(--green), #3a6147);
  color: var(--white); border-radius: 30px; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

/* Caffeine comparison */
.caffeine-comparison {
  background: var(--cream); padding: 40px; border-radius: var(--radius-lg);
  margin-top: 40px;
}
.caffeine-comparison h3 { text-align: center; margin-bottom: 8px; color: var(--coffee-dark); }
.caffeine-comparison .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; }
.caffeine-row {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px;
  align-items: center; margin-bottom: 10px;
}
.caffeine-name { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.9rem; color: var(--coffee); }
.caffeine-bar-wrap {
  position: relative; height: 32px; background: var(--cream-dark);
  border-radius: 16px; overflow: hidden;
}
.caffeine-bar {
  height: 100%; background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--gold));
  border-radius: 16px; transition: width 1s ease;
}
.caffeine-value {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--coffee-dark);
}

/* Applications */
.applications {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-top: 30px;
}
.app-card {
  padding: 24px 16px; text-align: center; background: var(--cream);
  border-radius: var(--radius); transition: transform 0.3s;
  border: 1px solid var(--border);
}
.app-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.app-card svg { width: 36px; height: 36px; color: var(--amber-dark); margin: 0 auto 12px; }
.app-card span { font-family: 'Montserrat', sans-serif; font-weight: 500; color: var(--coffee); }

/* === BUY SECTION === */
.buy {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.buy-header { text-align: center; margin-bottom: 50px; }
.buy-header h2 { color: var(--coffee-dark); }
.buy-header p { color: var(--text-muted); margin-top: 12px; }
.terms-box {
  max-width: 700px; margin: 0 auto 40px;
  padding: 24px 28px; background: var(--white); border-radius: var(--radius);
  border: 2px solid var(--amber); box-shadow: var(--shadow-sm);
}
.terms-box label {
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: var(--coffee);
}
.terms-box input[type="checkbox"] {
  width: 22px; height: 22px; margin-top: 2px; accent-color: var(--amber-dark);
  cursor: pointer; flex-shrink: 0;
}
.terms-box a { color: var(--amber-dark); text-decoration: underline; font-weight: 600; }
.terms-warning {
  margin-top: 16px; padding: 14px 18px; background: #FFF4E5;
  border-left: 4px solid #E67E22; border-radius: 6px;
  font-size: 0.85rem; color: #8B5A2B; display: flex; gap: 10px; align-items: flex-start;
}
.terms-warning svg { width: 20px; height: 20px; flex-shrink: 0; color: #E67E22; margin-top: 2px; }

.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--gold));
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.product-badge {
  display: inline-block; padding: 6px 16px; background: var(--coffee);
  color: var(--amber-light); border-radius: 20px;
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.product-size {
  font-family: 'Roboto Slab', serif; font-size: 2.5rem; font-weight: 800;
  color: var(--coffee-dark); margin-bottom: 4px;
}
.product-code {
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem;
  color: var(--text-muted); letter-spacing: 1px; margin-bottom: 20px;
}
.product-pricing {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px;
}
.product-pricing .price {
  font-family: 'Roboto Slab', serif; font-size: 1.8rem; font-weight: 700;
  color: var(--amber-dark);
}
.product-pricing .shipping { font-size: 0.85rem; color: var(--text-muted); }
.product-total {
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--coffee); padding: 8px; background: var(--cream);
  border-radius: 6px; margin: 12px 0 20px;
}
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 24px;
  background: linear-gradient(135deg, var(--amber-dark), var(--amber));
  color: var(--white); border: none; border-radius: 30px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(200,161,101,0.3);
}
.btn-buy:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,161,101,0.5); }
.btn-buy:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; opacity: 0.6; }
.btn-buy .cart-icon { width: 18px; height: 18px; }
.buy-note {
  text-align: center; margin-top: 40px; padding: 20px;
  background: rgba(200,161,101,0.1); border-radius: var(--radius);
  color: var(--coffee); font-family: 'Montserrat', sans-serif; font-size: 0.95rem;
}
.buy-note a { font-weight: 600; text-decoration: underline; }

/* Tax notice (Canadian customers only) */
.tax-notice {
  max-width: 700px; margin: 0 auto 28px;
  padding: 16px 22px; background: #E8F4FD; border: 1px solid #B3D9F2;
  border-left: 4px solid #2196F3; border-radius: var(--radius);
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem; color: #1565C0;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  max-height: 200px; overflow: hidden;
}
.tax-notice.hidden {
  opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border: 0;
}
.tax-notice svg { width: 22px; height: 22px; color: #2196F3; flex-shrink: 0; margin-top: 1px; }
.tax-notice strong { color: #0D47A1; }

/* === SHIPPING === */
.shipping { background: var(--white); }
.shipping-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px;
}
.shipping-info-card {
  padding: 32px; background: var(--cream); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.shipping-info-card h3 { color: var(--coffee-dark); margin-bottom: 16px; }
.shipping-info-card p { color: var(--text-muted); margin-bottom: 12px; }
.rates-table {
  width: 100%; border-collapse: collapse; margin-top: 16px;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rates-table th, .rates-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.rates-table th {
  background: var(--coffee); color: var(--amber-light);
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.85rem;
}
.rates-table td { font-family: 'Montserrat', sans-serif; color: var(--coffee); }
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:hover td { background: var(--cream); }

/* === FAQ === */
.faq-section { background: var(--cream); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--border);
}
.faq-question {
  width: 100%; padding: 20px 24px; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: 'Roboto Slab', serif; font-size: 1.05rem;
  font-weight: 600; color: var(--coffee-dark); text-align: left;
}
.faq-question:hover { color: var(--amber-dark); }
.faq-icon { width: 22px; height: 22px; color: var(--amber-dark); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* === TESTIMONIALS === */
.testimonials { background: linear-gradient(135deg, var(--coffee-dark), var(--coffee)); }
.testimonials .section-title { color: var(--white); }
.testimonials .eyebrow { color: var(--amber-light); }
.testimonials .section-subtitle { color: rgba(255,255,255,0.7); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.testimonial-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(200,161,101,0.2); border-radius: var(--radius-lg);
  padding: 32px; transition: transform 0.3s, border-color 0.3s;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: var(--amber-light); }
.testimonial-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-content {
  color: rgba(255,255,255,0.9); font-size: 0.95rem; margin-bottom: 24px;
  font-style: italic; line-height: 1.8;
}
.testimonial-author { border-top: 1px solid rgba(200,161,101,0.2); padding-top: 16px; }
.testimonial-name {
  font-family: 'Roboto Slab', serif; font-weight: 600;
  color: var(--amber-light); font-size: 1.05rem;
}
.testimonial-job {
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem;
  color: rgba(255,255,255,0.6); margin-top: 4px;
}

/* === CONTACT === */
.contact { background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-top: 40px;
}
.contact-info-card {
  padding: 36px; background: var(--coffee-dark); border-radius: var(--radius-lg);
  color: var(--white);
}
.contact-info-card h3 { color: var(--amber-light); margin-bottom: 20px; }
.contact-info-card p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.contact-detail {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  color: rgba(255,255,255,0.85); font-family: 'Montserrat', sans-serif; font-size: 0.95rem;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--amber-light); flex-shrink: 0; }
.contact-detail a { color: var(--amber-light); }
.contact-form-card {
  padding: 36px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 0.85rem;
  font-weight: 500; color: var(--coffee); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 0.95rem;
  color: var(--text-dark); background: var(--cream); transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--amber); background: var(--white);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 16px; background: linear-gradient(135deg, var(--amber-dark), var(--amber));
  color: var(--white); border: none; border-radius: 30px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(200,161,101,0.3); margin-top: 8px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,161,101,0.45); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status {
  margin-top: 16px; padding: 14px 18px; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem; display: none;
}
.form-status.success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; display: block; }
.form-status.error { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; display: block; }

/* === SUBSCRIBE === */
.subscribe {
  background: linear-gradient(135deg, var(--amber-dark), var(--coffee));
  padding: 60px 0; text-align: center;
}
.subscribe h3 { color: var(--white); margin-bottom: 12px; }
.subscribe p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.subscribe-form {
  display: flex; gap: 12px; max-width: 500px; margin: 0 auto; flex-wrap: wrap;
}
.subscribe-form input {
  flex: 1; min-width: 200px; padding: 14px 20px; border: none;
  border-radius: 30px; font-family: 'Roboto', sans-serif; font-size: 0.95rem;
}
.subscribe-form button {
  padding: 14px 32px; background: var(--coffee-dark); color: var(--white);
  border: none; border-radius: 30px; font-family: 'Montserrat', sans-serif;
  font-weight: 600; cursor: pointer; transition: transform 0.2s;
}
.subscribe-form button:hover { transform: translateY(-2px); }

/* === FOOTER === */
.footer {
  background: #1a0f08; color: rgba(255,255,255,0.6); padding: 50px 0 30px;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 400px; }
.footer-col h4 {
  color: var(--amber-light); font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col a:hover { color: var(--amber-light); }
.footer-bottom {
  max-width: var(--max-width); margin: 30px auto 0; padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

/* === FLOATING BUY BUTTON === */
.floating-buy {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  background: linear-gradient(135deg, var(--amber-dark), var(--amber));
  color: var(--white); border: none; border-radius: 50px;
  padding: 16px 28px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.5px;
  cursor: pointer; box-shadow: 0 8px 30px rgba(200,161,101,0.5);
  display: flex; align-items: center; gap: 10px;
  transition: all 0.3s; opacity: 0; visibility: hidden; transform: translateY(20px);
}
.floating-buy.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-buy:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 40px rgba(200,161,101,0.7); }
.floating-buy svg { width: 20px; height: 20px; }
.floating-buy.pulse::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px; border: 2px solid var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* === RESPONSIVE — Automatic switching for tablet & mobile === */

/* TABLET (portrait & landscape, ≤1024px) */
@media (max-width: 1024px) {
  :root { --max-width: 90%; }
  .hero-inner { gap: 40px; }
  .hero-image img { max-width: 420px; }
  .specs-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .applications { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
}

/* LARGE PHONE / SMALL TABLET (≤768px) — hamburger nav, single-column layouts */
@media (max-width: 768px) {
  :root { --max-width: 92%; }
  /* Navigation: collapse to hamburger */
  .nav-inner { padding: 10px 16px; }
  .nav-logo img { height: 30px; }
  .nav-links {
    display: none; position: fixed; top: 52px; left: 0; right: 0;
    background: var(--coffee-dark); flex-direction: column;
    padding: 16px; gap: 2px; max-height: calc(100vh - 52px);
    overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-top: 1px solid rgba(200,161,101,0.2);
  }
  .nav-links.open { display: flex; animation: slideDown 0.3s ease; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  .nav-links a { padding: 14px 16px; font-size: 0.95rem; border-radius: 8px; width: 100%; }
  .nav-buy-btn { margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

  /* Hero: single column, centered */
  .hero { min-height: auto; padding: 100px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-desc { font-size: 1rem; margin-left: auto; margin-right: auto; max-width: 480px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; gap: 16px; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 340px; }
  .hero-content { order: 0; }

  /* About: stack image above content */
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-image img { max-width: 100%; margin: 0 auto; }
  .about-content { text-align: center; }
  .about-content .eyebrow { text-align: center; }
  .about-features { grid-template-columns: 1fr 1fr; }

  /* Product info */
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .caffeine-comparison { padding: 24px 18px; }
  .caffeine-row { grid-template-columns: 110px 1fr; gap: 12px; }
  .caffeine-name { font-size: 0.8rem; }
  .applications { grid-template-columns: 1fr 1fr 1fr; }

  /* Buy section */
  .products-grid { grid-template-columns: 1fr; max-width: 400px; }
  .product-card { padding: 24px 20px; }
  .product-size { font-size: 2rem; }
  .terms-box { padding: 20px; }
  .terms-box label { font-size: 0.9rem; }

  /* Shipping & contact: single column */
  .shipping-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-card, .contact-form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }

  /* FAQ & testimonials */
  .faq-list { padding: 0; }
  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer p { font-size: 0.9rem; }
  .testimonial-card { padding: 24px 20px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-col ul li { margin-bottom: 8px; }

  /* Floating button: compact, icon-only */
  .floating-buy { padding: 14px; bottom: 20px; right: 20px; border-radius: 50px; }
  .floating-buy span.label { display: none; }
  .floating-buy svg { width: 22px; height: 22px; }

  /* Subscribe form: stack */
  .subscribe-form { flex-direction: column; max-width: 350px; }
  .subscribe-form input, .subscribe-form button { width: 100%; border-radius: 30px; }
  .subscribe-form button { padding: 14px; }

  /* Section spacing */
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .section-subtitle { font-size: 1rem; }
}

/* SMALL PHONE (≤480px) — compact spacing, larger touch targets */
@media (max-width: 480px) {
  :root { --max-width: 94%; }
  .nav-inner { padding: 8px 14px; }
  .nav-logo img { height: 26px; }

  /* Hero */
  .hero { padding: 80px 0 40px; }
  .hero h1 { font-size: 1.85rem; margin-bottom: 14px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-cta { flex-direction: column; gap: 12px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-trust { flex-direction: column; gap: 10px; align-items: center; }
  .hero-trust .trust-badge { font-size: 0.8rem; }
  .hero-image img { max-width: 260px; }

  /* About features: single column on smallest screens */
  .about-features { grid-template-columns: 1fr; }

  /* Specs: single column */
  .specs-grid { grid-template-columns: 1fr; }
  .spec-card { padding: 20px; }

  /* Caffeine comparison: compact */
  .caffeine-row { grid-template-columns: 90px 1fr; gap: 8px; }
  .caffeine-name { font-size: 0.75rem; }
  .caffeine-bar-wrap { height: 26px; }
  .caffeine-value { font-size: 0.75rem; }

  /* Applications: 2 columns */
  .applications { grid-template-columns: 1fr 1fr; gap: 10px; }
  .app-card { padding: 18px 10px; }
  .app-card svg { width: 30px; height: 30px; }
  .app-card span { font-size: 0.8rem; }

  /* Certifications: stack */
  .certifications { flex-direction: column; align-items: center; gap: 8px; }
  .cert-badge { width: 100%; max-width: 250px; text-align: center; padding: 12px; }

  /* Product cards */
  .product-card { padding: 20px 16px; }
  .product-size { font-size: 1.8rem; }
  .product-pricing .price { font-size: 1.5rem; }
  .btn-buy { padding: 12px 16px; font-size: 0.9rem; }

  /* Buy note */
  .buy-note { font-size: 0.85rem; padding: 16px; }

  /* Contact form */
  .form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px; font-size: 16px; /* 16px prevents iOS zoom */
  }
  .btn-submit { padding: 14px; font-size: 0.95rem; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer-bottom { font-size: 0.78rem; padding: 16px 14px 0; }

  /* Floating button: smaller */
  .floating-buy { bottom: 16px; right: 16px; padding: 12px; }
  .floating-buy svg { width: 20px; height: 20px; }

  /* Headings */
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  section { padding: 50px 0; }
  .container { padding: 0 16px; }

  /* Tables */
  .rates-table th, .rates-table td { padding: 12px 14px; font-size: 0.85rem; }
}

/* EXTRA SMALL (≤360px) — tightest layout */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.6rem; }
  .product-size { font-size: 1.6rem; }
  .nav-links a { font-size: 0.85rem; padding: 12px 14px; }
}

/* LANDSCAPE PHONE: adjust hero height */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 100vh; padding: 70px 0 30px; }
  .hero-image img { max-width: 220px; }
  .hero-inner { gap: 20px; }
}

/* TOUCH-FRIENDLY: larger tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn, .btn-buy, .btn-submit, .nav-links a, .faq-question {
    min-height: 44px; /* Apple/Google recommended minimum */
  }
  .product-card:hover, .spec-card:hover, .testimonial-card:hover {
    transform: none; /* disable hover lift on touch */
  }
}

/* PRINT: clean printout */
@media print {
  .navbar, .floating-buy, .hero-cta, .nav-toggle, .subscribe-form { display: none !important; }
  .hero { min-height: auto; padding: 20px 0; background: white; color: black; }
  .hero h1, .hero-desc { color: black; }
  section { padding: 20px 0; }
  .reveal { opacity: 1; transform: none; }
}

/* Scroll reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   CONTENT PAGES — Articles, Blog, Pillar Pages
   ========================================================================== */

.content-page {
  padding: 120px 0 80px;
  min-height: 70vh;
  background: var(--cream);
}
.content-page .container { max-width: 800px; }
.content-page .container-wide { max-width: 1100px; }

/* Article content */
.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

/* Featured image */
.article-featured-image {
  margin: -48px -48px 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  max-height: 450px;
}
.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article header */
.article-header { margin-bottom: 32px; }
.article-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--coffee-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-excerpt {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.article-meta a { color: var(--amber-dark); }
.article-categories a { color: var(--amber-dark); }
.article-date { font-weight: 500; }

/* Article body — block editor content */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.article-body p { margin-bottom: 1.5em; }
.article-body h2 {
  font-size: 1.8rem;
  margin: 1.8em 0 0.8em;
  color: var(--coffee-dark);
}
.article-body h3 {
  font-size: 1.4rem;
  margin: 1.6em 0 0.6em;
  color: var(--coffee-dark);
}
.article-body h4 {
  font-size: 1.15rem;
  margin: 1.4em 0 0.5em;
  color: var(--coffee-dark);
}
.article-body ul, .article-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote {
  border-left: 4px solid var(--amber);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--coffee);
}
.article-body blockquote p { margin: 0; }
.article-body img {
  border-radius: var(--radius);
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}
.article-body a { color: var(--amber-dark); text-decoration: underline; }
.article-body a:hover { color: var(--coffee); }
.article-body pre {
  background: var(--coffee-dark);
  color: var(--cream);
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5em 0;
}
.article-body code {
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}
.article-body pre code { background: none; padding: 0; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--coffee-dark);
  color: var(--amber-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.article-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2em 0;
}
.article-body figure { margin: 1.5em 0; }
.article-body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* WordPress block styles */
.article-body .wp-block-image { margin: 1.5em 0; }
.article-body .wp-block-image img { border-radius: var(--radius); }
.article-body .wp-block-columns { gap: 24px; margin: 1.5em 0; }
.article-body .wp-block-button__link {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
}
.article-body .wp-block-button__link:hover {
  transform: translateY(-2px);
  color: var(--white);
}
.article-body .wp-block-quote {
  border-left: 4px solid var(--amber);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: var(--cream);
}
.article-body .wp-block-pullquote {
  border-top: 4px solid var(--amber);
  border-bottom: 4px solid var(--amber);
  padding: 24px;
  margin: 2em 0;
}

/* Article footer */
.article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags { margin-bottom: 16px; font-size: 0.9rem; color: var(--text-muted); }
.article-tags a { color: var(--amber-dark); }
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--cream);
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--coffee);
  transition: all 0.2s;
}
.article-nav a:hover {
  background: var(--amber);
  color: var(--white);
}

/* Article comments */
.article-comments {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-body {
  padding: 16px;
  margin-bottom: 12px;
  background: var(--cream);
  border-radius: var(--radius);
}
.comments-area .children { list-style: none; padding-left: 24px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}

/* Articles grid (blog listing) */
.page-header { text-align: center; margin-bottom: 50px; }
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--coffee-dark);
  margin-bottom: 12px;
}
.archive-description { color: var(--text-muted); max-width: 700px; margin: 0 auto; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.article-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-card-title a { color: var(--coffee-dark); }
.article-card-title a:hover { color: var(--amber-dark); }
.article-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}
.read-more:hover { color: var(--coffee); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 4px;
}
.pagination .page-numbers {
  padding: 10px 16px;
  background: var(--white);
  border-radius: 8px;
  color: var(--coffee);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
}
.pagination .page-numbers:hover { background: var(--amber); color: var(--white); }
.pagination .page-numbers.current {
  background: var(--coffee-dark);
  color: var(--amber-light);
}

/* Search form */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}
.search-form .search-field {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
}
.search-form .search-submit {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* 404 page */
.error-404 {
  text-align: center;
  padding: 40px 0;
}
.error-404-number {
  font-size: clamp(5rem, 15vw, 10rem);
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(200,161,101,0.3);
}
.error-404 .page-title { margin-bottom: 16px; }
.error-404 p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.1rem; }
.error-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.error-404-search { max-width: 500px; margin: 0 auto; }

/* Responsive adjustments for content pages */
@media (max-width: 768px) {
  .content-page { padding: 100px 0 60px; }
  .article-content { padding: 32px 24px; }
  .article-featured-image {
    margin: -32px -24px 24px;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .article-body { font-size: 1rem; }
  .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .article-content { padding: 24px 20px; }
  .article-featured-image {
    margin: -24px -20px 20px;
  }
  .article-title { font-size: 1.5rem; }
  .article-nav { flex-direction: column; }
  .article-nav a { width: 100%; justify-content: center; }
}

/* Widget areas */
.widget { margin-bottom: 24px; }
.widget-title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  color: var(--coffee-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--amber);
}
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.widget ul li a { color: var(--coffee); }
.widget ul li a:hover { color: var(--amber-dark); }
