/* TrimCraft Neubrutalism Theme Overrides */

html,
body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: #f5f3ff;
  color: #16161d;
}

a {
  text-decoration: none;
}

.u-body {
  background-color: #f5f3ff;
}

/* Brand colors */
:root {
  --trimcraft-bg: #f5f3ff;
  --trimcraft-primary: #ff4f6d;
  --trimcraft-primary-dark: #d53a55;
  --trimcraft-accent: #2ed3b7;
  --trimcraft-ink: #16161d;
  --trimcraft-border: #101827;
}

.u-header {
  background-color: #fffbeb !important;
  border-bottom: 3px solid var(--trimcraft-border);
}

.u-btn,
.u-button-style {
  border-radius: 18px !important;
  border-width: 3px !important;
  border-style: solid !important;
  border-color: var(--trimcraft-border) !important;
  background-color: var(--trimcraft-primary) !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 0 #00000020;
}

.u-btn:hover,
.u-button-style:hover {
  background-color: var(--trimcraft-primary-dark) !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #00000035;
}

.u-section-1,
.u-section-2,
.u-section-3,
.u-section-4,
.u-section-5,
.u-section-6,
.u-section-7,
.u-section-8 {
  background-image: none !important;
  background-color: var(--trimcraft-bg) !important;
}

/* Ensure high-contrast text in contact & CTA sections */
.u-section-7 .u-text-1,
.u-section-7 .u-text-2,
.u-section-7 .u-text-3,
.u-section-7 .u-text-4,
.u-section-7 .u-text-5,
.u-section-7 .u-text-6,
.u-section-8 .u-text-1,
.u-section-8 .u-text-2,
.u-section-8 .u-text-3 {
  color: #111827 !important;
}

.u-section-8 .u-line-1 {
  border-color: #111827 !important;
}

.u-image-round,
.u-shape-round {
  border-radius: 32px !important;
  box-shadow: 6px 6px 0 #11182720;
}

h1,
h2,
h3,
h4,
h5 {
  letter-spacing: 0.04em;
  text-transform: none;
}

.u-title,
.u-heading-font {
  font-weight: 700;
}

/* =====================
   TrimCraft Footer
   ===================== */
.tc-footer {
  background-color: #111827;
  border-top: 4px solid #ff4f6d;
  color: #e5e7eb;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.9rem;
}

.tc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 32px;
}

/* Top grid */
.tc-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #374151;
}

/* Brand col */
.tc-footer__logo {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fefce8;
  background: #ff4f6d;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tc-footer__tagline {
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 14px 0;
  font-size: 0.875rem;
}

.tc-footer__email {
  display: inline-block;
  color: #ff4f6d;
  font-weight: 600;
  border-bottom: 2px solid #ff4f6d;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.tc-footer__email:hover {
  opacity: 0.75;
}

/* Block cols */
.tc-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 16px 0;
}

.tc-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-footer__list li {
  color: #d1d5db;
  line-height: 1.5;
}

.tc-footer__list a {
  color: #d1d5db;
  transition: color 0.2s;
}

.tc-footer__list a:hover {
  color: #ff4f6d;
}

/* Legal labels */
.tc-footer__list--legal span {
  color: #6b7280;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 2px;
}

/* Studies row */
.tc-footer__studies {
  padding: 28px 0;
  border-bottom: 1px solid #374151;
}

.tc-footer__studies-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.tc-footer__studies-list li a {
  color: #6b7280;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.tc-footer__studies-list li a:hover {
  color: #ff4f6d;
}

/* Bottom bar */
.tc-footer__bottom {
  padding-top: 20px;
  text-align: center;
  color: #6b7280;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 991px) {
  .tc-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .tc-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .tc-footer__inner {
    padding: 40px 20px 24px;
  }

  .tc-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tc-footer__studies-list {
    flex-direction: column;
    gap: 6px;
  }
}

/* Form placeholder contrast */
.u-section-8 .u-input::placeholder,
.u-section-8 .u-input:-ms-input-placeholder,
.u-section-8 .u-input::-ms-input-placeholder {
  color: #4b5563;
  opacity: 1;
}

/* Dialog */
.u-dialog-section-12 .u-dialog-1 {
  border: 3px solid var(--trimcraft-border);
  box-shadow: 8px 8px 0 #00000030;
}

.u-dialog-section-12 .u-btn-1 {
  width: 100%;
}

/* =============================================
   Legal Disclaimer Section (before footer)
   ============================================= */
.tc-disclaimer-section {
  background-color: #0f172a;
  border-top: 4px solid #ff4f6d;
  border-bottom: 4px solid #ff4f6d;
  padding: 52px 32px;
}

.tc-disclaimer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.tc-disclaimer__badge {
  display: inline-block;
  background-color: #ff4f6d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.tc-disclaimer__title {
  color: #f1f5f9;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 36px;
}

.tc-disclaimer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.tc-disclaimer__block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 79, 109, 0.35);
  border-radius: 8px;
  padding: 22px 26px;
}

.tc-disclaimer__block h3 {
  color: #ff4f6d;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.tc-disclaimer__block p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

.tc-disclaimer__block p strong {
  color: #f1f5f9;
}

.tc-disclaimer__legal {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.6;
  font-style: italic;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .tc-disclaimer-section {
    padding: 36px 20px;
  }

  .tc-disclaimer__grid {
    grid-template-columns: 1fr;
  }

  .tc-disclaimer__title {
    font-size: 1.05rem;
  }
}

