/* ==============================
   Pet Supplies Sourcing — main.css
   ============================== */

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

:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-light: #1a3060;
  --gold: #c9943a;
  --gold-light: #e8b96a;
  --gold-pale: #f5e4bc;
  --cream: #faf7f0;
  --white: #ffffff;
  --gray: #8a9ab5;
  --border: rgba(201,148,58,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 24px !important;
  border-radius: 3px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger {
  display: none;
  background: none; border: none; color: var(--white);
  font-size: 1.4rem; cursor: pointer; padding: 4px;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 60px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,48,96,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(201,148,58,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0d1e3a 50%, #0a1628 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,148,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,148,58,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-paws {
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-size: 320px; line-height: 1;
  opacity: 0.03; user-select: none;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,148,58,0.12);
  border: 1px solid rgba(201,148,58,0.3);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 32px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: 1.125rem; color: rgba(255,255,255,0.65);
  line-height: 1.75; max-width: 560px;
  margin-bottom: 48px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 16px 36px; border-radius: 3px;
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,148,58,0.35); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  padding: 16px 36px; border-radius: 3px;
  font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--gold-light); display: block; line-height: 1;
}
.stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px;
}

/* ─── SHARED ─── */
section { padding: 100px 60px; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-desc {
  color: rgba(255,255,255,0.55); font-size: 1rem;
  line-height: 1.8; max-width: 560px;
  margin-top: 16px; font-weight: 300;
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 0; overflow: hidden;
  background: rgba(201,148,58,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  padding: 20px 48px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 16px;
}
.marquee-dot { color: var(--gold); font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SERVICES ─── */
.services { background: var(--navy); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px 40px; position: relative;
  overflow: hidden; transition: all 0.35s; cursor: default;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,148,58,0.06), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover { border-color: rgba(201,148,58,0.25); transform: translateY(-4px); }
.service-card:hover::after { opacity: 1; }
.service-icon { font-size: 2.5rem; margin-bottom: 24px; display: block; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; margin-bottom: 14px;
}
.service-card p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.75; font-weight: 300; }
.service-num {
  position: absolute; top: 36px; right: 36px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,0.04); line-height: 1;
}

/* ─── HOW ─── */
.how { background: var(--navy-mid); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 64px; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.step { padding: 0 24px; text-align: center; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--gold);
  position: relative; z-index: 1;
}
.step h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ─── WHY ─── */
.why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.why-visual { position: relative; aspect-ratio: 1; max-width: 480px; }
.why-card-big {
  background: var(--navy-mid);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 40px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.why-card-big::before {
  content: '🐾'; position: absolute; top: -20px; right: -20px;
  font-size: 180px; opacity: 0.06;
}
.why-card-small {
  position: absolute; background: var(--gold); border-radius: 4px;
  padding: 24px 28px; top: -28px; right: -28px;
  text-align: center; min-width: 140px;
}
.why-card-small .big-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.why-card-small .small-text {
  font-size: 0.7rem; font-weight: 600; color: var(--navy);
  opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}
.why-big-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; line-height: 1.3; margin-bottom: 8px;
}
.why-big-sub { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.reasons { display: flex; flex-direction: column; gap: 28px; }
.reason {
  display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.reason:last-child { border: none; padding-bottom: 0; }
.reason-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(201,148,58,0.1); border: 1px solid rgba(201,148,58,0.2);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.reason h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.reason p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ─── PRODUCTS ─── */
.products { background: var(--navy-mid); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.product-tag {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px; padding: 24px 20px; text-align: center; transition: all 0.25s;
}
.product-tag:hover { border-color: var(--gold); background: rgba(201,148,58,0.06); }
.product-tag .emoji { font-size: 2rem; margin-bottom: 10px; display: block; }
.product-tag span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--navy); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testi-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px; padding: 36px; position: relative;
}
.testi-card::before {
  content: '"'; font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; line-height: 0.5; color: var(--gold); opacity: 0.25;
  position: absolute; top: 24px; left: 28px;
}
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 24px; font-style: italic; font-weight: 300; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--navy); flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 600; }
.testi-company { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ─── CTA ─── */
.cta-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-section .section-title { margin: 0 auto; max-width: 680px; }
.cta-section .section-desc { margin: 16px auto 0; text-align: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }

/* ─── CONTACT ─── */
.contact { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 64px; }
.contact-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; margin-bottom: 20px; }
.contact-info p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.contact-detail:first-of-type { border-top: 1px solid rgba(255,255,255,0.06); }
.contact-icon { color: var(--gold); font-size: 1rem; width: 20px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  padding: 14px 16px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--navy);
  padding: 16px; border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s; margin-top: 8px;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
#form-message.success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
#form-message.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }

/* ─── FOOTER ─── */
footer { background: #060e1c; padding: 60px 60px 36px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: 14px; display: block; }
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.35); line-height: 1.75; max-width: 280px; }
.footer-col h5 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.8rem; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #site-nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  #site-nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  section { padding: 72px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 100%; aspect-ratio: 4/3; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 28px; }
  .footer-top { grid-template-columns: 1fr; }
}
