/* ============================================
   JERKY DELIGHT KILISHI — Brand Stylesheet
   Colors sampled directly from real packaging/logo assets
   ============================================ */

:root {
  /* Brand colors — extracted from real assets */
  --jd-red: #EB3122;
  --jd-red-dark: #B8241A;
  --jd-gold: #F5A300;
  --jd-gold-light: #FFC44D;
  --jd-charcoal: #1A140F;
  --jd-walnut: #2A1A0E;
  --jd-walnut-light: #3D2817;
  --jd-cream: #FAF5EC;
  --jd-cream-dim: #F0E8D8;
  --jd-white: #FFFFFF;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 20, 15, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 20, 15, 0.14);
  --shadow-lg: 0 20px 50px rgba(26, 20, 15, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--jd-cream);
  color: var(--jd-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jd-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--jd-gold);
  display: inline-block;
}

/* ============ TEAR STRIP SIGNATURE DIVIDER ============ */
.tear-divider {
  width: 100%;
  height: 34px;
  display: block;
  line-height: 0;
}
.tear-divider svg { width: 100%; height: 100%; display: block; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--jd-red);
  color: var(--jd-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--jd-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--jd-charcoal);
  border: 2px solid var(--jd-charcoal);
}
.btn-outline:hover {
  background: var(--jd-charcoal);
  color: var(--jd-white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--jd-gold);
  color: var(--jd-charcoal);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--jd-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-light {
  background: var(--jd-white);
  color: var(--jd-charcoal);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; justify-content: center; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,20,15,0.06);
  transition: background 0.3s ease;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--jd-charcoal);
}
.logo-mark .logo-jerky { color: var(--jd-red); font-style: italic; }
.logo-mark .logo-delight { color: var(--jd-charcoal); }
.logo-badge {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--jd-charcoal);
  color: var(--jd-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid var(--jd-gold);
}
.logo-sub {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--jd-gold);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--jd-charcoal);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--jd-red);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--jd-red); }

.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--jd-charcoal);
  border-radius: 2px;
  transition: 0.3s ease;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 75%;
    max-width: 320px;
    background: var(--jd-cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  background: var(--jd-walnut);
  color: var(--jd-white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(245,163,0,0.18), transparent 60%),
    radial-gradient(ellipse 500px 500px at 0% 100%, rgba(235,49,34,0.15), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin: 1rem 0 1.3rem;
  color: var(--jd-white);
}
.hero-copy h1 .accent { color: var(--jd-gold); }
.hero-copy p {
  font-size: 1.08rem;
  color: rgba(250,245,236,0.82);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-trust {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--jd-gold); }
.hero-trust span { font-size: 0.78rem; color: rgba(250,245,236,0.65); letter-spacing: 0.04em; }

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
  border: 6px solid var(--jd-cream);
}
.hero-photo-frame img { width: 100%; height: 460px; object-fit: cover; }
.hero-tag-float {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--jd-red);
  color: var(--jd-white);
  padding: 0.9rem 1.3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transform: rotate(-3deg);
  line-height: 1.3;
}
.hero-tag-float strong { display: block; font-size: 1.1rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo-frame img { height: 320px; }
  .hero-copy p { max-width: none; }
}

/* ============ SECTION GENERAL ============ */
.section { padding: var(--space-xl) 0; }
.section-dark { background: var(--jd-charcoal); color: var(--jd-cream); }
.section-cream-dim { background: var(--jd-cream-dim); }
.section-head { max-width: 620px; margin-bottom: var(--space-md); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 0.7rem; }
.section-head p { color: #6b5d4f; margin-top: 0.9rem; font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(250,245,236,0.7); }

/* ============ WHY CHOOSE US ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--jd-white);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(26,20,15,0.05);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--jd-cream-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--jd-red);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.92rem; color: #6b5d4f; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============ PRODUCT CARDS ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.product-card {
  background: var(--jd-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-photo { position: relative; height: 230px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--jd-gold);
  color: var(--jd-charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.product-body p { font-size: 0.9rem; color: #6b5d4f; flex: 1; margin-bottom: 1rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.product-price { font-family: var(--font-display); font-weight: 800; color: var(--jd-red); font-size: 1.05rem; }
.product-price small { font-weight: 500; color: #9a8b7a; font-size: 0.75rem; display: block; }
.btn-order {
  background: var(--jd-charcoal);
  color: var(--jd-white);
  font-size: 0.82rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-order:hover { background: var(--jd-red); transform: translateY(-2px); }

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* product filter bar (products page) */
.filter-bar {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.filter-btn {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 2px solid rgba(26,20,15,0.12);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  background: var(--jd-white);
}
.filter-btn:hover { border-color: var(--jd-red); color: var(--jd-red); }
.filter-btn.active { background: var(--jd-charcoal); color: var(--jd-white); border-color: var(--jd-charcoal); }
.search-input-wrap { position: relative; margin-bottom: 2rem; max-width: 420px; }
.search-input-wrap input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 2.8rem;
  border-radius: 999px;
  border: 2px solid rgba(26,20,15,0.1);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--jd-white);
}
.search-input-wrap input:focus { outline: none; border-color: var(--jd-red); }
.search-input-wrap svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: #9a8b7a; }

/* ============ TESTIMONIALS ============ */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.testimonial-card {
  background: var(--jd-white);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-stars { color: var(--jd-gold); font-size: 0.95rem; margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.testimonial-card p { font-size: 0.95rem; color: #4a3d30; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--jd-red);
  color: var(--jd-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.88rem; }
.author-info span { font-size: 0.78rem; color: #9a8b7a; }

@media (max-width: 900px) { .testimonial-track { grid-template-columns: 1fr; } }

/* ============ DELIVERY COVERAGE ============ */
.delivery-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.delivery-list { display: flex; flex-direction: column; gap: 1.1rem; }
.delivery-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--jd-white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.delivery-item .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--jd-red); margin-top: 6px; flex-shrink: 0;
}
.delivery-item strong { display: block; font-size: 0.98rem; margin-bottom: 0.2rem; }
.delivery-item span { font-size: 0.85rem; color: #6b5d4f; }
.delivery-visual {
  background: var(--jd-walnut);
  border-radius: 22px;
  padding: 2.5rem;
  color: var(--jd-cream);
  text-align: center;
}
.delivery-visual .big-stat { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; color: var(--jd-gold); }
.delivery-visual p { margin-top: 0.6rem; color: rgba(250,245,236,0.75); }

@media (max-width: 900px) { .delivery-wrap { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(26,20,15,0.1);
  padding: 1.4rem 0;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-question .plus {
  font-size: 1.4rem;
  color: var(--jd-red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding-top: 1rem; color: #6b5d4f; font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--jd-red), var(--jd-red-dark));
  border-radius: 28px;
  padding: 3.5rem 3rem;
  text-align: center;
  color: var(--jd-white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245,163,0,0.35), transparent 55%);
}
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.8rem; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ============ FOOTER ============ */
.footer { background: var(--jd-charcoal); color: var(--jd-cream); padding: 4.5rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,245,236,0.1);
}
.footer-brand p { color: rgba(250,245,236,0.65); font-size: 0.9rem; margin: 1rem 0 1.3rem; max-width: 280px; }
.footer-socials { display: flex; gap: 0.7rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,245,236,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-socials a:hover { background: var(--jd-red); border-color: var(--jd-red); }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 1.1rem; color: var(--jd-gold); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col span { font-size: 0.88rem; color: rgba(250,245,236,0.7); }
.footer-col a:hover { color: var(--jd-white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.6rem 0;
  font-size: 0.82rem;
  color: rgba(250,245,236,0.5);
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform 0.25s ease;
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-lg); }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 46px; height: 46px;
  background: var(--jd-charcoal);
  color: var(--jd-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ PAGE HEADER (inner pages) ============ */
.page-header {
  background: var(--jd-walnut);
  color: var(--jd-white);
  padding: 8.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 300px at 90% 10%, rgba(245,163,0,0.15), transparent 60%);
}
.page-header .eyebrow { color: var(--jd-gold); }
.page-header .eyebrow::before { background: var(--jd-red); }
.page-header h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 0.8rem; color: var(--jd-white); position:relative; z-index:2;}
.breadcrumb { font-size: 0.85rem; color: rgba(250,245,236,0.6); margin-top: 1rem; position: relative; z-index: 2; }
.breadcrumb a { color: var(--jd-gold); }

/* ============ ABOUT PAGE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo-frame img { width: 100%; height: 420px; object-fit: cover; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--jd-cream-dim);
  padding: 1.6rem;
  border-radius: 16px;
  border-left: 4px solid var(--jd-red);
}
.value-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.88rem; color: #6b5d4f; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-frame img { height: 300px; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ============ GALLERY ============ */
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 10px;
  gap: 1.2rem;
}
.masonry-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
}
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.masonry-item:hover img { transform: scale(1.08); }
.masonry-item .tag {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(26,20,15,0.75);
  color: var(--jd-white);
  font-size: 0.74rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-item:hover .tag { opacity: 1; }

@media (max-width: 900px) { .masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .masonry { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(26,20,15,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  color: var(--jd-white);
  font-size: 2rem;
  cursor: pointer;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}
.contact-info-card {
  background: var(--jd-walnut);
  color: var(--jd-cream);
  border-radius: 22px;
  padding: 2.5rem;
}
.contact-info-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(250,245,236,0.1);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(245,163,0,0.15);
  color: var(--jd-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-row strong { display: block; font-size: 0.92rem; margin-bottom: 0.2rem; }
.contact-info-row span, .contact-info-row a { font-size: 0.86rem; color: rgba(250,245,236,0.7); }
.contact-info-row a:hover { color: var(--jd-gold); }

.contact-form-card {
  background: var(--jd-white);
  border-radius: 22px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 2px solid rgba(26,20,15,0.1);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--jd-cream-dim);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--jd-red); background: var(--jd-white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.map-frame {
  border-radius: 22px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
  height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--jd-gold);
  outline-offset: 2px;
}
