/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #003366;
  --navy-dark: #002347;
  --navy-light: #1a4d80;
  --gold: #C9A84C;
  --gold-dark: #b08f3a;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #f1f3f5;
  --gray-200: #e6e9ed;
  --gray-400: #9aa3ad;
  --gray-600: #5b6470;
  --gray-800: #2d333b;
  --shadow-sm: 0 1px 3px rgba(0, 51, 102, 0.06), 0 1px 2px rgba(0, 51, 102, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 51, 102, 0.08), 0 2px 4px rgba(0, 51, 102, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 51, 102, 0.12), 0 4px 8px rgba(0, 51, 102, 0.06);
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: 164px; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--alt { background: var(--off-white); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--small { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 152px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand img { height: 128px; width: auto; }
.brand-text-fallback { color: var(--navy); letter-spacing: 0.02em; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  color: var(--gray-800);
  position: relative;
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); font-weight: 600; }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 35, 71, 0.98) 100%),
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 168, 76, 0.1) 0%, transparent 50%);
  color: var(--white);
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--gold); }

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Page Hero (smaller, for inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--gray-600); margin: 0; font-size: 0.95rem; }

/* ===== Features (Why Choose Us) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}
.feature-icon svg { width: 36px; height: 36px; }

.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--gray-600); margin: 0; }

/* ===== About ===== */
.about {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.about p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 1.5rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ===== Category Nav (Products page) ===== */
.category-nav {
  position: sticky;
  top: 152px;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.category-nav .container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}
.category-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  color: var(--gray-800);
  background: var(--gray-100);
  transition: all var(--transition);
}
.category-nav a:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== Product Categories ===== */
.category {
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.category:last-of-type { border-bottom: none; }
.category h2 {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--gold);
  margin-bottom: 0.5rem;
}
.category-desc { color: var(--gray-600); margin-bottom: 2.5rem; font-size: 1.05rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--off-white);
  color: var(--navy);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 40px; height: 40px; }

.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card-desc { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.card .btn { margin-top: auto; }

.card--featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--white) 0%, #fffbf0 100%);
  position: relative;
}
.card--featured::before {
  content: 'EXCLUSIVE';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}
.card--featured .card-icon {
  background: var(--gold);
  color: var(--navy);
}

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.contact-info h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item:last-child { margin-bottom: 0; }

.contact-item-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
}
.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.contact-item-value {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
}
.contact-item-value:hover { color: var(--gold-dark); }

/* ===== Form ===== */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}
.required { color: var(--gold-dark); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-group.error input,
.form-group.error textarea {
  border-color: #d04848;
  background: #fff8f8;
}
.error-message {
  display: none;
  color: #d04848;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.form-group.error .error-message { display: block; }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ===== Thanks page ===== */
.thanks {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.thanks-content {
  max-width: 560px;
}
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.thanks-icon svg { width: 48px; height: 48px; }
.thanks h1 { margin-bottom: 1rem; }
.thanks p { color: var(--gray-600); font-size: 1.1rem; margin-bottom: 2rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.footer-serving { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0;
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 5rem; }

  .site-header .container { height: 96px; }
  .brand img { height: 72px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.is-open { max-height: 400px; }
  .nav a {
    padding: 1rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1.15rem;
  }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--off-white); border-left: 4px solid var(--gold); }

  .hero-buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero p { font-size: 1.05rem; }

  .steps, .features, .card-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  .category-nav { top: 96px; }
  .category-nav .container { gap: 0.4rem; padding: 0.75rem 1rem; }
  .category-nav a { padding: 0.5rem 1rem; font-size: 0.875rem; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form, .contact-info { padding: 1.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .brand img { height: 60px; }
  .brand { font-size: 0.95rem; }
}
