/* =========================================================
   JewelryCalculator.online - components.css
   Reusable sections, buttons, cards, grids, forms, content blocks.
   ========================================================= */

.jc-container {
  width: min(100% - 40px, var(--jc-container));
  margin-inline: auto;
}

.jc-content-narrow {
  width: min(100% - 40px, var(--jc-content));
  margin-inline: auto;
}

.jc-section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--jc-border-soft);
  background: var(--jc-bg);
}

.jc-section-alt {
  background: linear-gradient(180deg, var(--jc-bg-2), var(--jc-bg));
}

.jc-section-heading {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.jc-section-heading span,
.jc-kicker {
  display: inline-block;
  color: var(--jc-copper);
  font-family: var(--jc-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.jc-section-heading h2,
.jc-section-heading h1 {
  margin-bottom: 12px;
}

.jc-section-heading p {
  max-width: 680px;
  font-size: 1.02rem;
}

.jc-section-heading.is-centered {
  text-align: center;
}

.jc-section-heading.is-centered p {
  margin-left: auto;
  margin-right: auto;
}

.jc-btn,
.wpforms-submit,
#jc-app-mount button.action,
#jc-app-mount button.ghost,
#jc-app-mount button[id$="calcBtn"],
#jc-app-mount button[id$="printBtn"],
#jc-app-mount button[id$="resetBtn"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  min-height: 42px !important;
  padding: 0.78rem 1.25rem !important;
  border-radius: var(--jc-radius-sm) !important;
  border: 1px solid var(--jc-copper) !important;
  background: var(--jc-surface-3) !important;
  background-image: none !important;
  color: var(--jc-copper) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-family: var(--jc-font-body) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background var(--jc-transition), color var(--jc-transition), border-color var(--jc-transition), transform var(--jc-transition) !important;
}

.jc-btn:hover,
.wpforms-submit:hover,
#jc-app-mount button.action:hover,
#jc-app-mount button.ghost:hover,
#jc-app-mount button[id$="calcBtn"]:hover,
#jc-app-mount button[id$="printBtn"]:hover,
#jc-app-mount button[id$="resetBtn"]:hover {
  background: var(--jc-copper) !important;
  color: #14110f !important;
  border-color: var(--jc-copper) !important;
  transform: translateY(-1px);
}

.jc-btn-primary {
  background: var(--jc-copper) !important;
  color: #14110f !important;
  border-color: var(--jc-copper) !important;
}

.jc-btn-primary:hover {
  background: var(--jc-copper-2) !important;
  border-color: var(--jc-copper-2) !important;
  color: #14110f !important;
}

.jc-btn-secondary {
  background: transparent !important;
  color: var(--jc-text) !important;
  border-color: var(--jc-border) !important;
}

.jc-btn-secondary:hover {
  background: rgba(196, 112, 74, 0.08) !important;
  color: var(--jc-copper) !important;
  border-color: var(--jc-copper) !important;
}

.jc-card,
.jc-tool-card,
.jc-faq-item,
.jc-trust-item,
.jc-content-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--jc-border);
  border-radius: var(--jc-radius);
  box-shadow: 0 1px 0 rgba(255,255,255,0.035) inset;
}

.jc-tool-card,
.jc-faq-item,
.jc-trust-item,
.jc-content-card {
  padding: clamp(22px, 3vw, 34px);
}

.jc-tool-card h3,
.jc-faq-item h3,
.jc-trust-item h3 {
  font-family: var(--jc-font-body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--jc-text-strong);
  margin-bottom: 0.65rem;
}

.jc-tool-card p,
.jc-faq-item p,
.jc-trust-item p {
  font-size: 0.94rem;
  margin-bottom: 0;
}

.jc-card-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--jc-copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jc-grid-2,
.jc-grid-3,
.jc-grid-4 {
  display: grid;
  gap: 18px;
}

.jc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.jc-prose {
  color: var(--jc-muted);
  font-size: 1rem;
}

.jc-prose h1,
.jc-prose h2,
.jc-prose h3 {
  color: var(--jc-text-strong);
  margin-top: 2.2rem;
}

.jc-prose h1:first-child,
.jc-prose h2:first-child,
.jc-prose h3:first-child {
  margin-top: 0;
}

.jc-prose p,
.jc-prose li {
  color: var(--jc-muted);
}

.jc-prose a {
  border-bottom: 1px solid rgba(196, 112, 74, 0.35);
}

.jc-prose ul,
.jc-prose ol {
  padding-left: 1.25rem;
}

.jc-prose li + li {
  margin-top: 0.45rem;
}

.jc-form-shell {
  background: var(--jc-surface);
  border: 1px solid var(--jc-border);
  border-radius: var(--jc-radius-lg);
  padding: clamp(22px, 4vw, 42px);
}

.wpforms-container .wpforms-field-label,
.wpforms-container label {
  color: var(--jc-text) !important;
  font-family: var(--jc-font-body) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
  background: var(--jc-surface-2) !important;
  border: 1px solid var(--jc-border) !important;
  border-bottom: 2px solid var(--jc-copper) !important;
  border-radius: var(--jc-radius-sm) !important;
  color: var(--jc-text) !important;
  font-family: var(--jc-font-body) !important;
}

.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus {
  border-color: var(--jc-copper) !important;
  box-shadow: 0 0 0 3px rgba(196, 112, 74, 0.15) !important;
  outline: none !important;
}

@media (max-width: 980px) {
  .jc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .jc-container,
  .jc-content-narrow {
    width: min(100% - 28px, var(--jc-container));
  }

  .jc-grid-2,
  .jc-grid-3,
  .jc-grid-4 {
    grid-template-columns: 1fr;
  }

  .jc-btn,
  .wpforms-submit {
    width: 100%;
  }
}




.footer-widgets,
.footer-widgets-container,
.site-footer,
.site-info {
  background: #070605 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-widgets .inside-footer-widgets,
.footer-widgets .footer-widget-1,
.footer-widgets .widget,
.footer-widgets .textwidget,
.footer-widgets .custom-html-widget {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-widgets .inside-footer-widgets {
  display: block !important;
}

.footer-widgets .widget-title {
  display: none !important;
}

.jc-site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 122, 49, 0.14), transparent 28rem),
    linear-gradient(180deg, #0b0908 0%, #070605 100%);
  color: #f4eee5;
  border-top: 1px solid rgba(214, 122, 49, 0.18);
  padding: 70px 0 34px;
}

.jc-footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.jc-footer-brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  max-width: 620px;
  margin-bottom: 54px;
}

.jc-footer-logo-mark {
  width: 54px;
  height: 54px;
  border: 2px solid #c4704a;
  border-radius: 8px;
  transform: rotate(45deg);
  position: relative;
  box-shadow: 0 0 34px rgba(196, 112, 74, 0.16);
}

.jc-footer-logo-mark::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #c4704a;
}

.jc-footer-brand-title {
  margin: 0;
  color: #fff7ef;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jc-footer-brand-text {
  margin: 12px 0 0;
  color: rgba(244, 238, 229, 0.66);
  line-height: 1.7;
}

.jc-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 238, 229, 0.08);
}

.jc-footer-col h3 {
  margin: 0 0 18px;
  color: #d98952;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jc-footer-col a {
  display: block;
  margin: 0 0 12px;
  color: rgba(244, 238, 229, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}

.jc-footer-col a:hover {
  color: #f0a35c;
}

.jc-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  color: rgba(244, 238, 229, 0.48);
  font-size: 0.82rem;
  line-height: 1.6;
}

.jc-footer-bottom p {
  margin: 0;
  max-width: 620px;
}

.jc-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.jc-footer-legal a {
  color: rgba(244, 238, 229, 0.5);
  text-decoration: none;
}

.jc-footer-legal a:hover {
  color: #f0a35c;
}

.site-footer .inside-site-info {
  display: none !important;
}

@media (max-width: 900px) {
  .jc-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jc-footer-bottom {
    flex-direction: column;
  }

  .jc-footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .jc-site-footer {
    padding-top: 52px;
  }

  .jc-footer-brand {
    grid-template-columns: 1fr;
  }

  .jc-footer-columns {
    grid-template-columns: 1fr;
  }
}


.footer-widgets .inside-footer-widgets,
.footer-widgets-container,
.site-footer .inside-site-info,
.site-footer {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.footer-widgets {
  padding-left: 0 !important;
  padding-right: 0 !important;
}