/* LA Ventures Inc - Farm Consultation */
:root {
  --bg: #0C0C0C;
  --accent: #0D7377;
  --accent-hover: rgba(13, 115, 119, 0.9);
  --card: rgba(17, 24, 39, 0.5);
  --card-border: #1f2937;
  --text: #fff;
  --text-muted: #9ca3af;
  --text-dim: #d1d5db;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden { display: none !important; }
.view { min-height: 100vh; }

#home, #about, #products, #solutions, #support, #contact { scroll-margin-top: 2rem; }

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Toast */
.toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: #1f2937;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #991b1b; }

/* Header */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem;
}
@media (min-width: 640px) { .header { padding: 1.5rem 1.5rem; } }
@media (min-width: 1024px) { .header { padding: 1.5rem 2rem; } }
.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 640px) { .header-logo { gap: 1.5rem; } }
.header-img { height: 6rem; width: auto; object-fit: contain; }
@media (min-width: 640px) { .header-img { height: 8rem; } }
@media (min-width: 768px) { .header-img { height: 10rem; } }
.header-title { font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
@media (min-width: 640px) { .header-title { font-size: 1.5rem; } }
@media (min-width: 768px) { .header-title { font-size: 1.875rem; } }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (min-width: 640px) { .header-nav { gap: 1rem; } }
@media (min-width: 768px) { .header-nav { gap: 1.5rem; } }

/* Mobile menu button: only visible on small screens (under 768px) */
.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  z-index: 60;
  -webkit-appearance: none;
  appearance: none;
}
.header-menu-btn:hover { background: rgba(255, 255, 255, 0.15); }
.header-menu-btn:focus { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; }
.header-menu-btn .header-close-icon { display: none; }
.header.is-menu-open .header-menu-btn .header-menu-icon { display: none; }
.header.is-menu-open .header-menu-btn .header-close-icon { display: block; }

/* Small screens: show menu icon, hide nav links in header; nav becomes overlay when open */
@media (max-width: 767px) {
  .header-menu-btn { display: flex; }
  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .header.is-menu-open .header-nav {
    display: flex;
    visibility: visible;
    opacity: 1;
  }
  .header-nav .header-link {
    display: block;
    width: 100%;
    max-width: 20rem;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    text-align: center;
    border-radius: 0.5rem;
  }
}
.header-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}
@media (min-width: 640px) { .header-link { font-size: 1rem; padding: 0.5rem 1rem; } }
.header-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.header-static {
  position: relative;
  background: var(--bg);
}

.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 25px rgba(13, 115, 119, 0.3); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-secondary { background: #374151; color: #fff; }
.btn-secondary:hover { background: #4b5563; }
.btn-outline { background: transparent; color: var(--text-dim); border: 2px solid #4b5563; }
.btn-outline:hover { background: #1f2937; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 0;
}
@media (min-width: 768px) { .hero { padding: 0; min-height: 100vh; } }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 6rem;
}
@media (min-width: 768px) { .hero-content { grid-template-columns: 1fr 1fr; padding-top: 0; } }
.hero-text { max-width: 32rem; }
.hero-text h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin-top: 2.5rem; }
@media (min-width: 640px) { .hero-text h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-text h1 { font-size: 3.75rem; } }
.hero-text p { margin-top: 1rem; font-size: 1.125rem; color: var(--text-dim); max-width: 28rem; }
.hero-text .btn { margin-top: 2rem; }
.hero-cards { display: flex; flex-direction: column; gap: 1rem; }
.hero-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.hero-card:hover { background: rgba(255,255,255,0.2); }
a.hero-card { text-decoration: none; color: inherit; }
.hero-card-icon { font-size: 2rem; flex-shrink: 0; display: flex; align-items: center; }
.hero-card-icon svg { display: block; color: currentColor; }
.hero-card h3 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.hero-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0.25rem 0 0; }

/* Sections */
.section { background: var(--bg); padding: 2rem 0 5rem 0; }
@media (min-width: 640px) { .section { padding: 2.5rem 0 8rem 0; } }
.section-head { max-width: 56rem; margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 4rem; }
.section-head h2 { font-size: 1.875rem; font-weight: 700; margin: 0; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--text-muted); }
.section-head .section-description { max-width: 48rem; margin-left: auto; margin-right: auto; line-height: 1.7; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.product-brands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.product-brands li {
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
}
.product-brands .brand-logo {
  max-height: 2.5rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  display: block;
}
.product-brands li.brand-logo-large .brand-logo {
  max-height: 5rem;
  max-width: 18rem;
}
.product-brands li.brand-trigger {
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.product-brands li.brand-trigger:hover {
  background: var(--card);
  transform: scale(1.03);
}
.product-brands li.brand-trigger:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (min-width: 640px) { .product-brands .brand-logo { max-height: 3rem; max-width: 12rem; } }
@media (min-width: 640px) { .product-brands li.brand-logo-large .brand-logo { max-height: 6rem; max-width: 22rem; } }

/* Brand modal */
.brand-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.brand-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.brand-modal {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(17, 24, 39, 1);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.brand-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.brand-modal-close:hover {
  color: var(--text);
  background: var(--card-border);
}
.brand-modal-content {
  text-align: center;
}
.brand-modal-logo-wrap {
  margin-bottom: 1rem;
  min-height: 3rem;
  display: flex;
  justify-content: center;
}
.brand-modal-logo-wrap img {
  max-height: 3rem;
  max-width: 12rem;
  object-fit: contain;
}
.brand-modal-overlay.brand-modal-fj .brand-modal-logo-wrap img {
  max-height: 8rem;
  max-width: 24rem;
}
.brand-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
}
.brand-modal-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.brand-modal-body p { margin: 0 0 0.75rem; }
.brand-modal-body p:last-child { margin-bottom: 0; }
.brand-modal-cta { display: inline-block; }

/* Product inquiry modal – hidden until .is-open is added by JS. Opens as overlay on top of page. */
#inquiry-modal.inquiry-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 99999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  box-sizing: border-box;
}
#inquiry-modal.inquiry-modal-overlay.is-open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: #000 !important;
}
#inquiry-modal .inquiry-modal {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #111827 !important;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
#inquiry-modal .inquiry-modal-close {
  display: none !important;
}
.inquiry-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.inquiry-modal-close:hover {
  color: var(--text);
  background: var(--card-border);
}
.inquiry-modal-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.25rem; color: var(--text); }
.inquiry-modal-subtitle { font-size: 0.9375rem; color: var(--text-dim); margin: 0 0 1.25rem; }
.inquiry-form .form-group { margin-bottom: 1rem; }
.inquiry-form-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.inquiry-status { font-size: 0.9375rem; margin: 0.75rem 0 0; color: var(--accent); }
.inquiry-status:empty { display: none; }

/* Products page */
.products-main { padding-top: 0; padding-bottom: 4rem; }
.product-page-sections { display: none !important; }

/* Featured section (products page) */
.featured-section {
  background: var(--bg);
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--card-border);
  overflow-x: hidden;
}
.featured-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
  min-width: 0;
}
@media (min-width: 768px) {
  .featured-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.featured-carousel-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--card-border);
  aspect-ratio: 16/10;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.featured-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.featured-carousel-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
  z-index: 0;
}
.featured-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.featured-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--bg);
}
.featured-carousel-slide .featured-carousel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg);
}
.featured-carousel-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.featured-carousel-video-controls button {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.featured-carousel-video-controls button:hover {
  background: rgba(255,255,255,0.35);
}
.featured-carousel-video-controls button svg {
  width: 1.1rem;
  height: 1.1rem;
}
.featured-carousel-video-controls .volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.featured-carousel-video-controls input[type="range"] {
  width: 4rem;
  height: 0.25rem;
  accent-color: #fff;
  cursor: pointer;
}
.featured-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}
.featured-carousel-btn:hover { background: rgba(0,0,0,0.75); }
.featured-carousel-prev { left: 0.75rem; }
.featured-carousel-next { right: 0.75rem; }
.featured-carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}
.featured-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.featured-carousel-dot.is-active { background: #fff; }
.featured-carousel-dot:hover { background: rgba(255,255,255,0.7); }
.featured-content { padding: 0 0.25rem; }
.featured-heading {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
@media (min-width: 640px) { .featured-heading { font-size: 0.9375rem; } }
.featured-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text); }
@media (min-width: 640px) { .featured-title { font-size: 1.75rem; } }
.featured-subtitle { font-size: 1rem; color: var(--text-muted); margin: 0 0 1rem; }
.featured-cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.featured-cta:hover { background: var(--accent-hover); }

.products-main .section { padding-top: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .products-main .section { padding-top: 2rem; padding-bottom: 4rem; } }
.products-main .section-head { margin-bottom: 1.5rem; }
.products-main .section-head p { margin-top: 0.5rem; }
.products-main .section-head h1 { font-size: 2rem; }
@media (min-width: 640px) { .products-main .section-head h1 { font-size: 2.5rem; } }
.products-subhead { font-size: 1.25rem; font-weight: 600; color: var(--text-dim); margin: 1.5rem 0 1rem; text-align: center; }
.product-page-sections { margin-top: 2rem; }

/* Home - featured product card in Explore Our Products */
.home-featured-card.empty {
  display: none;
}
.home-featured-main {
  margin-top: 2.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-featured-heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5f3fc;
  margin: 0 0 1rem;
}
.home-featured-main .featured-carousel-wrap {
  margin-left: auto;
  margin-right: auto;
}
.home-featured-content {
  margin-top: 1.5rem;
}
.home-featured-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.home-featured-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.home-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #e0f2fe;
  text-decoration: none;
}
.home-featured-link:hover {
  text-decoration: underline;
}
.product-section { margin-bottom: 2rem; }
.product-section-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--text); border-bottom: 1px solid var(--card-border); padding-bottom: 0.5rem; }
.product-section-content { color: var(--text-dim); }
.product-section-content .text-muted { color: var(--text-muted); margin-bottom: 1rem; }
.product-table-wrap { overflow-x: auto; margin-top: 1rem; }
.product-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.product-table th, .product-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--card-border); }
.product-table th { color: var(--text-muted); font-weight: 600; }
.product-table tbody tr:hover { background: var(--card); }
.pricing-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media (min-width: 768px) { .pricing-cards { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.5rem; }
.pricing-card h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text); }
.pricing-card p { font-size: 0.9375rem; margin: 0 0 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.features-list { list-style: none; margin: 0; padding: 0; }
.features-list li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; }
.features-list li::before { content: ''; position: absolute; left: 0; top: 0.9rem; width: 0.5rem; height: 0.5rem; background: var(--accent); border-radius: 50%; }
.features-list strong { color: var(--text); }

.feature-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--card-border);
  text-align: left;
}
.feature-num {
  position: absolute;
  top: 0; left: 0;
  margin-top: -1rem; margin-left: -1rem;
  width: 4rem; height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.feature-card p { color: var(--text-dim); margin: 0; }

.about-statement {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: 0 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.6;
}

.support-notes {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: 0 1rem;
  text-align: center;
}
.support-note {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.support-note:last-child { margin-bottom: 0; }
.support-note-highlight {
  font-weight: 600;
  color: var(--text);
}
.support-note-highlight::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--card-border);
  margin-bottom: 1rem;
}

.contact-form-wrap { max-width: 40rem; margin: 0 auto; }
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-two-col { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.contact-form-col { max-width: 100%; }
@media (min-width: 900px) {
  .contact-form-col { max-width: 28rem; }
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
}
@media (min-width: 640px) {
  .contact-form-grid { grid-template-columns: 1fr 1fr; }
}
.contact-product-wrap.hidden { display: none !important; }
.contact-form-actions { margin-top: 1.5rem; }

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-map-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
}
.contact-map {
  width: 100%;
  height: 220px;
  min-height: 220px;
  display: block;
  border-radius: 8px;
}
.contact-map-wrap iframe { display: block; }
.contact-map-caption {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.contact-map-caption a { color: var(--accent); }
.contact-map-caption a:hover { text-decoration: underline; }
.contact-block-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.contact-address,
.contact-direct {
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.contact-address-line,
.contact-direct-line { margin: 0.25rem 0; }
.contact-direct-line a {
  color: var(--accent);
  text-decoration: none;
}
.contact-direct-line a:hover { text-decoration: underline; }

.workout-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.workout-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.workout-card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.workout-card > p { color: var(--text-dim); margin: 0 0 1.5rem; flex-grow: 1; }
.intensity { width: 100%; text-align: left; margin-bottom: 1rem; }
.intensity span { font-size: 0.875rem; font-weight: 500; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.bar { width: 100%; height: 0.625rem; background: #374151; border-radius: 9999px; overflow: hidden; margin-top: 0.25rem; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 9999px; transition: width 0.3s; }

/* Trainers */
.trainers-wrap { width: 100%; }
.trainers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .trainers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trainers-grid { grid-template-columns: repeat(3, 1fr); } }
.trainer-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.5rem;
  transition: transform 0.3s;
}
.trainer-card:hover { transform: scale(1.02); }
.trainer-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.trainer-card-link:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.trainer-card-precision .precision-title { font-size: 1.75rem; margin: 0 0 1rem; }
@media (min-width: 640px) { .trainer-card-precision .precision-title { font-size: 2rem; } }
.trainer-card-featured .featured-title { font-size: 1.75rem; margin: 0 0 1rem; }
@media (min-width: 640px) { .trainer-card-featured .featured-title { font-size: 2rem; } }
.trainer-card-project .featured-title { font-size: 1.75rem; margin: 0 0 1rem; }
@media (min-width: 640px) { .trainer-card-project .featured-title { font-size: 2rem; } }
.trainer-card-stoneguard img { aspect-ratio: 16/10; object-fit: cover; }
.trainer-card-project { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trainer-card-project .project-icon-wrap { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 12rem; padding: 1rem 0; }
.trainer-card-project .project-icon-wrap svg { color: currentColor; opacity: 0.9; width: 7rem; height: 7rem; }
@media (min-width: 640px) { .trainer-card-project .project-icon-wrap svg { width: 9rem; height: 9rem; } }
.trainer-card-project .trainer-spec { margin-top: 0; }
.trainer-card-precision .precision-plus { color: var(--accent); }
.trainer-card-precision .precision-desc { font-size: 0.9375rem; color: var(--text-dim); line-height: 1.5; margin: 0.5rem 0 0; font-weight: 400; }
.trainer-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0.5rem; display: block; }
.trainer-card-link img { aspect-ratio: 16/10; object-fit: cover; }
.trainer-card h3 { font-size: 1.25rem; font-weight: 700; margin: 1rem 0 0.25rem; }
.trainer-spec { color: var(--accent); font-weight: 600; margin: 0; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 1.5rem;
  min-height: 600px;
}
@media (min-width: 768px) {
  .bento {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .bento-large { grid-column: span 2; grid-row: span 2; }
  .bento-world { grid-column: 1; grid-row: 1; }
  .bento-about, .bento-teal { grid-column: 2; }
}
.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.bento-large { background: #111827; }
.bento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); margin-top: 1rem; }
.bento-world { background: #1f2937; }
.bento-world .label { color: var(--text-muted); }
.bento-world h3 { color: #fff; margin-top: 1rem; }
.bento-accent { background: #1E04FB; color: #fff; }
.bento-teal { background: var(--accent); color: #fff; }
.bento-card .label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.bento-card h3 { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0 0; }

/* Logo cloud */
.logocloud { padding: 3rem 0; }
@media (min-width: 640px) { .logocloud { padding: 4rem 0; } }
.logocloud-title { text-align: center; font-size: 1.125rem; font-weight: 600; color: var(--text-muted); margin: 0 0 2rem; }
.marquee-wrap { position: relative; width: 100%; overflow: hidden; }
.marquee-wrap::before, .marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 4rem;
  z-index: 1;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee {
  display: flex;
  animation: marquee 25s linear infinite;
}
.marquee span { flex-shrink: 0; margin: 0 2rem; font-size: 1.5rem; font-weight: 700; color: #6b7280; letter-spacing: 0.05em; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA */
.cta-section { padding: 5rem 0; }
@media (min-width: 640px) { .cta-section { padding: 8rem 0; } }
.cta-box {
  position: relative;
  background: linear-gradient(to bottom right, #111827, #000);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
}
@media (min-width: 640px) { .cta-box { padding: 3rem; } }
@media (min-width: 1024px) { .cta-box { padding: 4rem; display: flex; align-items: center; justify-content: space-between; } }
.cta-text { text-align: center; }
@media (min-width: 1024px) { .cta-text { text-align: left; width: 50%; } }
.cta-text h2 { font-size: 1.875rem; font-weight: 700; margin: 0; }
@media (min-width: 640px) { .cta-text h2 { font-size: 2.25rem; } }
.cta-text p { margin-top: 1rem; font-size: 1.125rem; color: var(--text-dim); }
.cta-text .btn { margin-top: 2rem; }
.cta-img-wrap { margin-top: 2rem; display: flex; justify-content: center; }
@media (min-width: 1024px) { .cta-img-wrap { margin-top: 0; width: 50%; } }
.cta-img-wrap img { max-width: 32rem; width: 100%; height: 20rem; object-fit: cover; border-radius: 0.75rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.1;
  pointer-events: none;
}
.cta-box .blur-circle { position: absolute; width: 16rem; height: 16rem; border-radius: 50%; filter: blur(80px); }
.cta-box .blur-1 { top: -5rem; left: -5rem; background: var(--accent); }
.cta-box .blur-2 { bottom: -5rem; right: -5rem; background: #1E04FB; }

/* Questionnaire */
#view-questionnaire { background: var(--bg); min-height: 100vh; padding: 7rem 1rem 3rem; }
.form-wrap { max-width: 56rem; margin: 0 auto; }
.form-panel { width: 100%; }
.form-card {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 4rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 640px) { .form-card { padding: 4rem 2rem; } }
@media (min-width: 1024px) { .form-card { padding: 4rem 2.5rem; } }
.form-card-wide { max-width: 56rem; }
.form-card h2 { font-size: 1.875rem; font-weight: 700; text-align: center; margin: 0 0 2rem; }
.form-label { color: var(--text-dim); text-align: center; margin-bottom: 1.5rem; font-size: 1.125rem; }
.priorities-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
@media (min-width: 768px) { .priorities-grid { grid-template-columns: 1fr 1fr; } }
.priority-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.priority-btn:hover { background: rgba(255,255,255,0.2); }
.priority-btn.selected { background: var(--accent); border-color: transparent; }
.form-card .btn { margin-top: 1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; color: var(--text-dim); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  color: #fff;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.375rem;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #6b7280; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(13, 115, 119, 0.3);
}
.form-group input.error-border, .form-group textarea.error-border, .form-group select.error-border { border-color: #dc2626; }
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group .error { color: #dc2626; font-size: 0.875rem; margin-top: 0.25rem; display: block; }
.form-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.form-actions .btn { flex: 1; }
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
.tech-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  background: rgba(31, 41, 55, 0.8);
  cursor: pointer;
  transition: all 0.2s;
}
.tech-option:hover { border-color: #4b5563; }
.tech-option.selected { background: rgba(13, 115, 119, 0.1); border-color: var(--accent); }
.tech-option input { display: none; }
.tech-checkbox {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #6b7280;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tech-option.selected .tech-checkbox { background: var(--accent); border-color: var(--accent); color: #fff; }
.tech-option .tech-label { font-size: 0.875rem; font-weight: 500; color: var(--text-dim); }
.tech-option.selected .tech-label { color: #fff; }

/* Success */
#view-success { background: var(--bg); min-height: 100vh; padding: 7rem 1rem 3rem; }
.success-wrap { max-width: 56rem; margin: 0 auto; }
.success-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 640px) { .success-card { padding: 3rem; } }
.success-header { text-align: center; margin-bottom: 2rem; }
.success-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 115, 119, 0.2);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}
.success-header h1 { font-size: 2rem; font-weight: 700; margin: 0 0 1rem; }
@media (min-width: 640px) { .success-header h1 { font-size: 2.25rem; } }
.success-header p { color: var(--text-dim); font-size: 1.125rem; margin: 0; }
.success-detail-block {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.success-detail-block h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.75rem; }
.success-detail-block p { color: var(--text-dim); margin: 0.25rem 0; }
.success-detail-block .tag { display: inline-block; padding: 0.5rem 1rem; margin: 0.25rem 0.25rem 0 0; background: rgba(13, 115, 119, 0.1); border: 1px solid rgba(13, 115, 119, 0.3); border-radius: 9999px; font-size: 0.875rem; color: var(--text-dim); }
.success-next {
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.success-next h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.75rem; }
.success-next ul { margin: 0; padding-left: 1.25rem; color: var(--text-dim); }
.success-next li { margin-bottom: 0.5rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Product detail page */
.product-detail-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.product-detail-loading,
.product-detail-error { text-align: center; padding: 3rem 1rem; color: var(--text-dim); }
.product-detail-error .btn { margin-top: 1rem; }
.product-detail-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .product-detail-card { grid-template-columns: 1fr 1fr; } }
.product-detail-image-wrap { background: var(--card-border); min-height: 200px; }
.product-detail-image-wrap.product-detail-has-carousel { min-height: 0; }
.product-detail-image-wrap.product-detail-has-carousel .featured-carousel-wrap { aspect-ratio: 16/10; }
.product-detail-image { width: 100%; height: 100%; min-height: 200px; object-fit: contain; }
.product-detail-content { padding: 1.5rem; }
@media (min-width: 640px) { .product-detail-content { padding: 2rem; } }
.product-detail-brand {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
}
.product-detail-name { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.5rem; }
.product-detail-price { font-size: 1.125rem; color: var(--accent); font-weight: 600; margin: 0 0 1rem; }
.product-detail-cta { display: inline-block; margin-bottom: 1.5rem; }
.product-detail-features { margin-top: 1rem; }
.product-detail-features h2 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.75rem; }
.product-detail-back { display: inline-block; margin-top: 1.5rem; color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; }
.product-detail-back:hover { color: var(--accent); }
.product-detail-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
}
.product-detail-footer .product-detail-back { margin-top: 0; justify-self: start; }
#product-inquire-btn {
  justify-self: end;
}

/* Product cards on products page (from admin) */
.products-from-admin { margin-bottom: 2rem; }
.products-from-admin h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 1rem; text-align: center; }
.products-brand-group { margin-bottom: 2rem; }
.products-brand-group:last-child { margin-bottom: 0; }
.products-brand-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--card-border);
}
.admin-product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.admin-product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.admin-product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.admin-product-card-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--card-border); }
.admin-product-card-body { padding: 1rem; }
.admin-product-card-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.admin-product-card-name { font-weight: 700; font-size: 1.0625rem; margin: 0 0 0.25rem; }
.admin-product-card-price { font-size: 0.9375rem; color: var(--accent); margin: 0; }

/* Chat assistant – fixed bottom right */
.chat-assistant {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 99999 !important;
  font-family: var(--font);
  visibility: visible !important;
  opacity: 1 !important;
}
.chat-assistant-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13, 115, 119, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-assistant-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(13, 115, 119, 0.5);
}
.chat-assistant-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}
.chat-assistant-panel {
  position: absolute;
  bottom: calc(3.5rem + 0.75rem);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 2rem);
  background: #111827;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
}
.chat-assistant-panel.is-open {
  display: flex;
}
.chat-assistant-panel h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.chat-assistant-panel p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.chat-assistant-panel a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.chat-assistant-panel a:hover {
  text-decoration: underline;
}
.chat-assistant-panel .chat-assistant-contact a {
  font-weight: 700;
}
.chat-assistant-cta {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.chat-assistant-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 480px) {
  .chat-assistant { bottom: 1rem; right: 1rem; }
  .chat-assistant-panel { width: 280px; }
}
