/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Raleway:ital,wght@0,200;0,300;0,400;0,500;0,700;1,300;1,400;1,700&display=swap');

/* CSS custom properties */
:root {
  --color-brown:  #6D552F;
  --color-cream:  #f0efed;
  --color-dark:   #221f20;
  --color-navy:   #001937;
  --color-accent: #DDE8B6;
  --color-lime:   #BBCD7D;
  --color-green:  #384B20;
}

/* Video aspect-ratio wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Modal */
dialog {
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 560px;
  width: 90%;
  background: white;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

/* HubSpot form overrides */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form textarea,
.hs-form select {
  border: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  padding: 0.6rem 0.75rem !important;
  width: 100% !important;
  font-family: inherit !important;
}
.hs-form input[type="submit"],
.hs-form .hs-button {
  background: var(--color-brown) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-size: 0.85rem !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.hs-form input[type="submit"]:hover,
.hs-form .hs-button:hover {
  background: var(--color-dark) !important;
}

/* GTM noscript */
.gtm-iframe {
  display: none;
  visibility: hidden;
}

/* FAQ accordion — gold/brown buttons matching original */
.faq-item summary {
  display: none; /* hidden by default, shown via .faq-summary */
}
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-brown);
  color: white;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 1rem;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-item { }
.faq-item > summary { display: flex; }
.faq-item > summary { all: unset; display: flex; justify-content: space-between; align-items: center; background-color: var(--color-brown); color: white; padding: 1rem 1.25rem; cursor: pointer; font-size: 0.875rem; font-weight: 600; gap: 1rem; width: 100%; box-sizing: border-box; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-arrow { flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] > summary .faq-arrow { transform: rotate(90deg); }
.faq-body { padding: 1.25rem; background: white; border: 1px solid #e5e7eb; border-top: none; font-size: 0.875rem; color: #4b5563; line-height: 1.7; }

/* brand-navy color for testimonial names */
.text-brand-navy { color: #001937; }

/* Client logo grayscale → color on hover */
.logo-grid img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Dropdown menu */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 260px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 50;
}
.nav-dropdown-parent:hover .nav-dropdown,
.nav-dropdown-parent:focus-within .nav-dropdown {
  display: block;
}
