/**
 * Gems Steel Contracting — brand CSS v1.5.7
 */

:root {
  --gems-copper: #b87333;
  --gems-copper-dark: #6b3f20;
  --gems-gold: #d4af37;
  --gems-brown-deep: #2b1810;
  --gems-cream: #f5f0e8;
  --gems-body-text: #3d2914;
  --gems-section-alt: #f7f2ea;
  --gems-header-gradient: linear-gradient(105deg, #2b1810 0%, #5c3418 18%, #b87333 42%, #c98a4a 55%, #8f5528 72%, #4a2c2a 100%);
  --gems-footer-gradient: linear-gradient(165deg, #12100e 0%, #1a120c 30%, #2b1810 65%, #1f1612 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
  position: relative;
}

.gems-site,
.gems-home {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.elementor-widget-html,
.elementor-widget-html .elementor-widget-container {
  max-width: 100%;
  min-width: 0;
}

.gems-site main,
.gems-site section,
.gems-inner-grid,
.gems-inner-grid-wide,
.gems-narrow {
  min-width: 0;
  max-width: 100%;
}

.gems-site img,
.gems-site video,
.gems-site iframe,
.gems-site embed {
  max-width: 100%;
  height: auto;
}

body.gems-site {
  font-family: "Manrope", sans-serif;
  color: var(--gems-body-text);
  line-height: 1.6;
}

.gems-header-wrap,
.gems-recent-projects-inject {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.gems-site-footer {
  width: 100%;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

.gems-container {
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

.gems-site section,
.gems-home section {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

/* ── Inner page layout grids (replace inline styles) ── */
.gems-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}
.gems-inner-grid-start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}
.gems-inner-grid-wide {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(24px, 5vw, 40px);
  align-items: start;
}
.gems-inner-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(24px, 5vw, 40px);
}
.gems-contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}
.gems-contact-form-section {
  padding-top: clamp(32px, 5vw, 56px);
}
.gems-contact-form-container {
  display: flex;
  justify-content: center;
  width: 100%;
}
.gems-contact-form-wrap--primary {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.gems-contact-form-head {
  text-align: center;
  margin-bottom: 14px;
}
.gems-contact-form-head .gems-section-intro {
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
}
.gems-contact-form-wrap .wpcf7 {
  width: 100%;
}
.gems-contact-form-wrap fieldset.gems-cf7-step-panel {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.gems-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(20px, 3vw, 28px);
  align-items: start;
}
.gems-contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 18px);
  margin-top: clamp(24px, 4vw, 32px);
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
.gems-contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 192px;
  height: 192px;
  padding: 20px 16px 18px;
  background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
  border: 1px solid rgba(184, 115, 51, 0.13);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(43, 24, 16, 0.05);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.gems-contact-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gems-gold), var(--gems-copper));
  opacity: 0;
  transition: opacity 0.22s ease;
}
a.gems-contact-tile:hover,
a.gems-contact-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 24, 16, 0.1);
  border-color: rgba(184, 115, 51, 0.32);
  outline: none;
}
a.gems-contact-tile:hover::before,
a.gems-contact-tile:focus-visible::before {
  opacity: 1;
}
.gems-contact-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f3ebe0);
  border: 1px solid rgba(184, 115, 51, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--gems-copper);
  flex-shrink: 0;
}
.gems-contact-tile-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}
.gems-contact-tile-label {
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gems-copper);
  margin: 0 0 8px;
  line-height: 1.2;
}
.gems-contact-tile-value {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--gems-body-text);
  font-weight: 500;
  margin: 0;
  max-width: 100%;
  word-break: break-word;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.gems-contact-tile-value a {
  color: var(--gems-copper-dark);
  font-weight: 600;
  text-decoration: none;
}
.gems-contact-tile-value a:hover {
  color: var(--gems-copper);
  text-decoration: underline;
}
.gems-contact-tile-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  line-height: 1.35;
}
.gems-contact-tile-phones a {
  display: block;
}
.gems-contact-tile--static {
  cursor: default;
}
.gems-contact-cards--compact {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.gems-contact-card {
  background: #fff;
  border: 1px solid rgba(184, 115, 51, 0.14);
  border-radius: 12px;
  padding: clamp(14px, 2.5vw, 18px);
  box-shadow: 0 2px 12px rgba(43, 24, 16, 0.04);
}
.gems-contact-card--office {
  grid-column: 1 / -1;
}
.gems-contact-card p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.92rem;
}
.gems-contact-card .gems-contact-label + p {
  margin-top: 0;
}
.gems-contact-card a {
  color: var(--gems-copper-dark);
  font-weight: 600;
  text-decoration: none;
}
.gems-contact-card a:hover {
  color: var(--gems-copper);
  text-decoration: underline;
}
.gems-contact-card--cta {
  display: block;
}
.gems-cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.gems-cf7-grid .gems-cf7-field--full {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .gems-cf7-grid {
    grid-template-columns: 1fr;
  }
  .gems-contact-cards,
  .gems-contact-cards--compact {
    grid-template-columns: 1fr;
  }
  .gems-contact-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gems-contact-tile {
    min-height: 168px;
    height: auto;
    padding: 16px 12px 14px;
  }
  .gems-contact-card--office {
    grid-column: 1;
  }
}
@media (max-width: 480px) {
  .gems-contact-tiles {
    grid-template-columns: 1fr;
  }
  .gems-contact-tile {
    min-height: 0;
  }
}
@media (min-width: 701px) and (max-width: 991px) {
  .gems-contact-cards:not(.gems-contact-cards--compact) {
    grid-template-columns: repeat(2, 1fr);
  }
  .gems-contact-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .gems-contact-cards--compact {
    grid-template-columns: repeat(3, 1fr);
  }
  .gems-contact-cards--compact .gems-contact-card--office {
    grid-column: 1 / -1;
  }
}
.gems-contact-details {
  display: grid;
  gap: 0;
  margin-top: clamp(20px, 4vw, 28px);
}
.gems-contact-detail {
  padding: 16px 0;
  border-bottom: 1px solid rgba(184, 115, 51, 0.12);
}
.gems-contact-detail:last-child {
  border-bottom: 0;
}
.gems-contact-label {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gems-copper);
  margin: 0 0 8px;
}
.gems-contact-info a {
  color: var(--gems-copper-dark);
  font-weight: 600;
  text-decoration: none;
}
.gems-contact-info a:hover {
  color: var(--gems-copper);
  text-decoration: underline;
}
.gems-contact-phones a {
  color: var(--gems-copper-dark);
  font-weight: 600;
  text-decoration: none;
}
.gems-contact-phones a:hover {
  color: var(--gems-copper);
}
.gems-phone-sep {
  color: rgba(61, 41, 20, 0.35);
  margin: 0 6px;
}
.gems-contact-form-wrap {
  background: var(--gems-section-alt);
  border: 1px solid rgba(184, 115, 51, 0.14);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 2px 14px rgba(43, 24, 16, 0.05);
}
.gems-contact-form-wrap .gems-section-title {
  margin-top: 0;
}
.gems-contact-form-wrap .gems-section-intro {
  margin-bottom: 24px;
}
.gems-narrow {
  max-width: 960px;
}

/* ── Topbar — brand accent strip (no contact text) ── */
.gems-topbar--accent {
  height: 5px;
  padding: 0;
  margin: 0;
  background: var(--gems-header-gradient);
  border-bottom: 3px solid var(--gems-gold);
  overflow: hidden;
  max-width: 100%;
}

/* ── Social icons (header topbar + footer) ── */
.gems-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gems-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,.35);
  color: var(--gems-cream);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gems-social-icon:hover {
  background: rgba(212,175,55,.18);
  border-color: var(--gems-gold);
  color: var(--gems-gold);
}
.gems-social-svg {
  width: 15px;
  height: 15px;
}
.gems-social-links--topbar .gems-social-icon {
  width: 28px;
  height: 28px;
}
.gems-footer-social.gems-social-links {
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.gems-social-icon--instagram .gems-social-svg { width: 14px; height: 14px; }
.gems-social-icon--facebook .gems-social-svg { width: 14px; height: 14px; }
.gems-social-icon--tiktok .gems-social-svg { width: 13px; height: 13px; }
.gems-social-icon--linkedin .gems-social-svg { width: 14px; height: 14px; }

/* ── Header ── */
.gems-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.gems-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  min-height: 72px;
}
.gems-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.gems-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 55%;
  min-width: 0;
}
.gems-logo {
  width: auto;
  height: 76px;
  max-width: 200px;
  object-fit: contain;
}
.gems-brand-name {
  font-family: "Italiana", serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--gems-brown-deep);
  line-height: 1.2;
}
.gems-header .gems-brand-name--full {
  display: inline !important;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  letter-spacing: -0.02em;
  color: var(--gems-brown-deep);
  line-height: 1.2;
  white-space: nowrap;
}
.gems-footer-brand-name,
.gems-drawer-title,
.gems-insight-tile-author,
.gems-site-name {
  white-space: nowrap;
}
.gems-brand-name--short {
  display: none !important;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--gems-brown-deep);
}
.gems-nav-backdrop {
  display: none;
}
@media (min-width: 992px) {
  .gems-drawer-head,
  .gems-drawer-foot {
    display: none !important;
  }
  .gems-drawer-body {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
    overflow: visible;
    padding: 0;
    background: transparent;
    width: 100%;
  }
}

.gems-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgba(43,24,16,.15);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.gems-nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gems-brown-deep);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.gems-nav-toggle.is-active .gems-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gems-nav-toggle.is-active .gems-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.gems-nav-toggle.is-active .gems-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.gems-primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.gems-menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.gems-menu li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.gems-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  color: var(--gems-brown-deep);
  font-weight: 600;
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  white-space: nowrap;
  padding: 0 8px;
  min-height: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.gems-menu a:hover {
  color: var(--gems-copper);
  background: rgba(184, 115, 51, 0.08);
}

.gems-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 5px;
  background: #f7f2ea;
  border: 1px solid rgba(43, 24, 16, 0.1);
  border-radius: 10px;
}
.gems-header-cta,
.gems-header-wa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  border-radius: 7px !important;
  margin: 0 !important;
}
.gems-header-wa {
  background: #fff !important;
  border: 1px solid rgba(184, 115, 51, 0.45) !important;
  color: var(--gems-copper-dark) !important;
}
.gems-header-cta {
  box-shadow: 0 2px 8px rgba(122, 69, 32, 0.25);
}
.gems-cta-short { display: none; }

/* ── Buttons ── */
.gems-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8c96a, #b87333, #7a4520);
  color: #1a1412;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
.gems-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid var(--gems-gold);
  color: var(--gems-cream);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.gems-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 46px;
  border: 2px solid var(--gems-copper);
  color: var(--gems-copper-dark);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

/* ── Inner page banner — compact text-only (v1.3) ── */
.gems-page-banner {
  position: relative;
  min-height: 0 !important;
  height: auto;
  display: block;
  align-items: stretch;
  margin: 0;
  padding: 0;
  background-color: var(--gems-brown-deep) !important;
  background-image: var(--gems-header-gradient) !important;
  background-size: auto !important;
  color: var(--gems-cream);
  border-bottom: 3px solid var(--gems-gold);
}
.gems-page-banner[style*="background-image"] {
  background-image: var(--gems-header-gradient) !important;
}
.gems-page-banner::before {
  display: none;
}
.gems-page-banner-inner {
  position: relative;
  z-index: 1;
  padding: clamp(12px, 2.5vw, 20px) 0;
  width: 100%;
}
.gems-breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 8px;
  opacity: 0.92;
}
.gems-breadcrumb a {
  color: var(--gems-gold);
  text-decoration: none;
}
.gems-breadcrumb a:hover { color: #fff; }
.gems-page-banner-title {
  font-family: "Italiana", serif;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

/* ── Centered section headers (services, CTAs) ── */
.gems-section-head--center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 8px;
}
.gems-section-head--center .gems-section-intro {
  margin-left: auto;
  margin-right: auto;
}
.gems-services-block {
  max-width: 880px;
  margin: 0 auto;
}
.gems-section-cta,
.gems-site .gems-section p:has(> .gems-btn-primary),
.gems-site .gems-section p:has(> .gems-btn-outline) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 12px;
  max-width: 100%;
  margin-top: clamp(24px, 4vw, 40px);
  text-align: center;
}

.gems-section-cta .gems-btn-primary,
.gems-section-cta .gems-btn-outline,
.gems-site .gems-section p .gems-btn-primary,
.gems-site .gems-section p .gems-btn-outline,
.gems-cert-actions .gems-btn-primary,
.gems-cert-actions .gems-btn-outline {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px;
  padding: 12px 24px !important;
  box-sizing: border-box;
  flex: 1 1 180px;
  max-width: 280px;
  width: auto;
  text-align: center !important;
  white-space: nowrap;
}

@media (min-width: 601px) {
  .gems-section-cta {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
  .gems-section-cta .gems-btn-primary,
  .gems-section-cta .gems-btn-outline {
    flex: 0 1 220px;
    width: 220px;
    max-width: 220px;
  }
}

/* ── Service stack — modern vertical tabs (no images) ── */
.gems-service-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 36px auto 0;
  max-width: 100%;
  width: 100%;
}
.gems-service-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.75rem;
  align-items: center;
  gap: clamp(14px, 2.5vw, 22px);
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 26px);
  background: #fff;
  border: 1px solid rgba(184, 115, 51, 0.14);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(43, 24, 16, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.gems-service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gems-gold), var(--gems-copper));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gems-service-row:hover,
.gems-service-row:focus-visible {
  border-color: rgba(184, 115, 51, 0.42);
  box-shadow: 0 8px 28px rgba(43, 24, 16, 0.09);
  outline: none;
}
@media (hover: hover) and (pointer: fine) {
  .gems-service-row:hover,
  .gems-service-row:focus-visible {
    transform: translateX(3px);
  }
}
.gems-service-row:hover::before,
.gems-service-row:focus-visible::before {
  opacity: 1;
}
.gems-service-row-index {
  font-family: "Italiana", serif;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gems-copper);
  opacity: 0.45;
  padding-top: 2px;
}
.gems-service-row-body {
  min-width: 0;
}
.gems-service-row-title {
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.28rem, 3.6vw, 1.62rem);
  font-weight: 700;
  color: var(--gems-brown-deep, #2b1810);
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.gems-service-row[aria-current="page"] .gems-service-row-title {
  color: var(--gems-copper-dark, #6b3f20);
  font-size: clamp(1.32rem, 3.8vw, 1.68rem);
}
.gems-services-block .gems-section-title,
.gems-site .gems-section-alt .gems-section-title {
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 400;
  color: var(--gems-brown-deep, #2b1810);
}
.gems-service-row-desc {
  display: block;
  font-size: clamp(0.84rem, 1.6vw, 0.92rem);
  color: var(--gems-body-text);
  opacity: 0.78;
  line-height: 1.55;
  margin: 0;
}
.gems-service-row-go {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--gems-section-alt);
  border: 1px solid rgba(184, 115, 51, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.gems-service-row-go::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gems-copper);
  border-top: 2px solid var(--gems-copper);
  transform: rotate(45deg);
  margin-left: -3px;
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.gems-service-row-go svg {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.gems-service-row:hover .gems-service-row-go,
.gems-service-row:focus-visible .gems-service-row-go {
  background: linear-gradient(145deg, #e8c96a, #b87333);
  border-color: transparent;
}
.gems-service-row:hover .gems-service-row-go::after,
.gems-service-row:focus-visible .gems-service-row-go::after {
  border-color: #1a1412;
  transform: rotate(45deg) translateX(2px);
}
.gems-section-alt .gems-service-row {
  background: #fff;
}
.gems-service-row[aria-current="page"] {
  border-color: rgba(184, 115, 51, 0.45);
  box-shadow: 0 4px 20px rgba(43, 24, 16, 0.07);
  pointer-events: none;
  cursor: default;
}
.gems-service-row[aria-current="page"]::before {
  opacity: 1;
}
.gems-service-row[aria-current="page"] .gems-service-row-go {
  background: linear-gradient(145deg, #e8c96a, #b87333);
  border-color: transparent;
}
.gems-service-row[aria-current="page"] .gems-service-row-go::after {
  border-color: #1a1412;
}
.gems-site .gems-section a.gems-service-row {
  color: inherit;
  text-decoration: none;
}
.gems-site .gems-section a.gems-service-row:visited {
  color: inherit;
}

/* ── Project tiles (home + /projects/) — image with name overlay ── */
.gems-project-card {
  position: relative;
  overflow: hidden;
  display: block;
}
.gems-project-ig-grid .gems-project-ig-card .gems-card-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 220px;
  background-size: cover;
  background-position: center;
}
.gems-project-card .gems-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(transparent, rgba(26, 20, 18, 0.92));
  color: #fff;
  padding: 20px 16px 14px;
  pointer-events: none;
}
.gems-project-card .gems-card-body h3 {
  color: #fff;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}
.gems-project-ig-card .gems-card-body h3 {
  font-size: 1.02rem;
}
a.gems-project-card:hover .gems-card-body {
  background: linear-gradient(transparent, rgba(26, 20, 18, 0.98));
}

/* ── Certificate tabs ── */
.gems-cert-tabs { margin-top: 32px; }
.gems-cert-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(184,115,51,.2);
  padding-bottom: 12px;
}
.gems-cert-tab-btn {
  padding: 10px 18px;
  border: 1px solid rgba(184,115,51,.35);
  border-radius: 8px;
  background: #fff;
  color: var(--gems-copper-dark);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
}
.gems-cert-tab-btn.is-active,
.gems-cert-tab-btn:hover {
  background: linear-gradient(135deg, #2b1810, #b87333);
  color: #fff;
  border-color: transparent;
}
.gems-cert-tab-panel {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.gems-cert-tab-panel.is-active { display: block; }
.gems-cert-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  max-width: 100%;
}

/* ── Google Map embed ── */
.gems-map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(184,115,51,.2);
  margin-top: 24px;
}
.gems-map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border: 0;
}

.gems-phone-sep,
.gems-footer-phone-sep {
  margin: 0 6px;
  opacity: .6;
}

/* ── FAQ blocks (inner pages + home) ── */
.gems-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.gems-faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.gems-section-alt .gems-faq-item { background: #fff; }
.gems-faq-item h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gems-copper-dark);
  line-height: 1.4;
}
.gems-faq-item p,
.gems-faq-item .gems-faq-a {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
details.gems-faq-item {
  display: block;
}
.gems-faq-item summary,
.gems-faq-item .gems-faq-q {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gems-copper-dark);
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  margin: 0 0 10px;
}
.gems-faq-item summary::-webkit-details-marker {
  display: none;
}
.gems-faq-item summary::before {
  content: "+ ";
  color: var(--gems-copper);
  font-weight: 700;
}
.gems-faq-item[open] summary::before {
  content: "− ";
}
.gems-local-note {
  background: linear-gradient(135deg, #f7f2ea, #efe6d8);
  border-left: 4px solid var(--gems-copper);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 0.98rem;
  line-height: 1.65;
}
@media (max-width: 1100px) {
  .gems-faq-grid { grid-template-columns: 1fr; }
}

/* ── Contact Form 7 — brand form (contact page) ── */
.gems-contact-form-wrap .wpcf7-form,
.gems-contact-form-wrap form.gems-cf7-form {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gems-body-text, #3d2914);
}
.gems-contact-form-wrap .wpcf7-form,
.gems-contact-form-wrap form.gems-cf7-form {
  display: block !important;
  width: 100% !important;
}
.gems-contact-form-wrap .wpcf7-form > *,
.gems-contact-form-wrap form.gems-cf7-form > * {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  box-sizing: border-box;
}
.gems-contact-form-wrap .gems-cf7-top {
  margin: 0 0 14px;
}
.gems-contact-form-wrap .gems-cf7-progress {
  height: 3px;
  background: rgba(184, 115, 51, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.gems-contact-form-wrap .gems-cf7-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #b87333);
  transition: width 0.3s ease;
}
.gems-contact-form-wrap .gems-cf7-step-caption {
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(61, 41, 20, 0.55);
}
.gems-contact-form-wrap .gems-cf7-step-panel:not(.is-active) {
  display: none !important;
}
.gems-contact-form-wrap .gems-cf7-step-panel {
  display: block !important;
  width: 100% !important;
}
.gems-contact-form-head .gems-section-title {
  font-family: "Italiana", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
}
.gems-contact-form-head .gems-section-intro {
  font-size: 0.9rem;
  max-width: 480px;
}
.gems-contact-form-wrap .gems-cf7-nav {
  margin-top: 22px;
}
.gems-contact-form-wrap .gems-cf7-nav--split {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.gems-contact-form-wrap .gems-cf7-nav--split .gems-cf7-btn-prev {
  flex: 0 1 auto;
  min-width: 100px;
}
.gems-contact-form-wrap .gems-cf7-nav--split .wpcf7-form-control-wrap {
  flex: 1;
  min-width: 140px;
  margin: 0;
  display: block;
}
.gems-contact-form-wrap .gems-cf7-btn {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: filter 0.15s, background 0.15s;
}
.gems-contact-form-wrap .gems-cf7-btn-next {
  background: var(--gems-copper, #b87333);
  border: 1px solid var(--gems-copper, #b87333);
  color: #fff;
}
.gems-contact-form-wrap .gems-cf7-btn-next:hover {
  filter: brightness(1.06);
}
.gems-contact-form-wrap .gems-cf7-btn-prev {
  background: #fff;
  border: 1px solid rgba(184, 115, 51, 0.35);
  color: var(--gems-copper-dark, #6b3f20);
}
.gems-contact-form-wrap .gems-cf7-btn-prev:hover {
  background: rgba(184, 115, 51, 0.08);
}
.gems-contact-form-wrap .gems-cf7-field {
  margin-bottom: 10px;
}
.gems-contact-form-wrap .gems-cf7-field label,
.gems-contact-form-wrap .wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.35;
  margin: 0;
  color: var(--gems-copper-dark, #6b3f20);
}
.gems-contact-form-wrap .gems-cf7-req {
  color: var(--gems-copper, #b87333);
}
.gems-contact-form-wrap .gems-cf7-opt {
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(61, 41, 20, 0.55);
}
.gems-contact-form-wrap .gems-cf7-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(61, 41, 20, 0.62);
}
.gems-contact-form-wrap .wpcf7-form input[type="text"],
.gems-contact-form-wrap .wpcf7-form input[type="email"],
.gems-contact-form-wrap .wpcf7-form input[type="tel"],
.gems-contact-form-wrap .wpcf7-form input[type="url"],
.gems-contact-form-wrap .wpcf7-form input[type="number"],
.gems-contact-form-wrap .wpcf7-form select,
.gems-contact-form-wrap .wpcf7-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid rgba(184, 115, 51, 0.22);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--gems-body-text, #3d2914);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.gems-contact-form-wrap .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b87333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.gems-contact-form-wrap .wpcf7-form textarea {
  min-height: 72px;
  resize: vertical;
}
.gems-contact-form-wrap .wpcf7-form input::placeholder,
.gems-contact-form-wrap .wpcf7-form textarea::placeholder {
  color: rgba(61, 41, 20, 0.42);
}
.gems-contact-form-wrap .wpcf7-form input:focus,
.gems-contact-form-wrap .wpcf7-form select:focus,
.gems-contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gems-copper, #b87333);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
}
.gems-contact-form-wrap .wpcf7-not-valid {
  border-color: #b33a3a !important;
  box-shadow: 0 0 0 3px rgba(179, 58, 58, 0.12) !important;
}
.gems-contact-form-wrap .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b33a3a;
}
.gems-contact-form-wrap .gems-cf7-field--consent .wpcf7-list-item {
  margin: 0;
}
.gems-contact-form-wrap .gems-cf7-field--consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gems-body-text, #3d2914);
}
.gems-contact-form-wrap .gems-cf7-field--consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gems-copper, #b87333);
}
.gems-contact-form-wrap .gems-cf7-captcha {
  margin: 20px 0 8px;
  min-height: 1px;
}
.gems-contact-form-wrap .gems-cf7-hint--captcha {
  margin-bottom: 16px;
}
.gems-contact-form-wrap .gems-cf7-hint--captcha a {
  color: var(--gems-copper, #b87333);
  font-weight: 600;
}
.gems-contact-form-wrap .gems-cf7-actions {
  margin-top: 8px;
}
.gems-contact-form-wrap .wpcf7-form input[type="submit"],
.gems-contact-form-wrap .wpcf7-form .wpcf7-submit,
.gems-contact-form-wrap .wpcf7-form .gems-cf7-submit {
  width: 100%;
  padding: 14px 22px;
  background: linear-gradient(135deg, #d4af37 0%, #b87333 48%, #8f5528 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 4px 16px rgba(184, 115, 51, 0.28);
}
.gems-contact-form-wrap .wpcf7-form input[type="submit"]:hover,
.gems-contact-form-wrap .wpcf7-form .wpcf7-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(184, 115, 51, 0.34);
}
.gems-contact-form-wrap .wpcf7-form input[type="submit"]:active,
.gems-contact-form-wrap .wpcf7-form .wpcf7-submit:active {
  transform: translateY(1px);
}
/* Multi-step plugin nav buttons */
.gems-contact-form-wrap .cf7msm-buttons,
.gems-contact-form-wrap .wpcf7-form .cf7msm-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.gems-contact-form-wrap .cf7msm-buttons button,
.gems-contact-form-wrap .cf7msm-buttons input[type="button"] {
  flex: 1;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(184, 115, 51, 0.35);
  background: #fff;
  color: var(--gems-copper-dark, #6b3f20);
}
.gems-contact-form-wrap .cf7msm-buttons button:hover,
.gems-contact-form-wrap .cf7msm-buttons input[type="button"]:hover {
  background: rgba(184, 115, 51, 0.08);
}
.gems-contact-form-wrap .cf7msm-buttons .cf7msm-btn-next,
.gems-contact-form-wrap .cf7msm-buttons button:last-child {
  background: var(--gems-copper, #b87333);
  border-color: var(--gems-copper, #b87333);
  color: #fff;
}
.gems-contact-form-wrap .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.gems-contact-form-wrap .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(46, 125, 50, 0.1);
  border-color: rgba(46, 125, 50, 0.25);
  color: #2e5d32;
}
.gems-contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.gems-contact-form-wrap .wpcf7 form.unaccepted .wpcf7-response-output,
.gems-contact-form-wrap .wpcf7 form.failed .wpcf7-response-output {
  background: rgba(179, 58, 58, 0.08);
  border-color: rgba(179, 58, 58, 0.22);
  color: #8b2e2e;
}
.gems-contact-form-wrap .wpcf7-spinner {
  margin: 12px auto 0;
}

/* ── Sections ── */
.gems-section { padding: clamp(48px, 8vw, 80px) 0; }
.gems-section-alt { background: var(--gems-section-alt); }
.gems-section-dark { background: var(--gems-brown-deep); color: var(--gems-cream); }
.gems-eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gems-copper);
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}
.gems-hero .gems-eyebrow { color: var(--gems-gold); }
.gems-section-title {
  font-family: "Italiana", serif;
  font-size: clamp(1.55rem, 4.2vw, 2.4rem);
  color: var(--gems-brown-deep, #2b1810);
  margin: 0 0 16px;
  line-height: 1.22;
}
.gems-section-intro {
  max-width: 720px;
  margin: 0 0 32px;
  font-size: 1rem;
}
.gems-lead { font-size: 1.05rem; line-height: 1.7; }
.gems-site .gems-section h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 700;
  color: var(--gems-copper-dark);
}
.gems-site .gems-section h3:first-child {
  margin-top: 0;
}
.gems-site .gems-card h2 {
  font-family: "Italiana", serif;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  line-height: 1.2;
  margin: 0;
}
.gems-site .gems-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 8px 0 0;
}

/* ── Hero ── */
.gems-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: center;
  background: #1a1412 center/cover no-repeat;
  color: var(--gems-cream);
}
.gems-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13,11,10,.9), rgba(74,44,42,.5));
}
.gems-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 10vw, 96px) 0;
}
.gems-hero h1 {
  font-family: "Italiana", serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: #fff;
  max-width: 800px;
  margin: 0 0 16px;
  line-height: 1.15;
}
.gems-hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 640px;
  margin: 0 0 8px;
  color: var(--gems-gold);
  font-weight: 600;
}
.gems-hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 600px;
  margin: 0;
  line-height: 1.65;
}
.gems-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ── About grid ── */
.gems-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}
.gems-about-media { position: relative; }
.gems-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--gems-copper);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.gems-about-full { margin-top: 32px; }

/* ── Cards ── */
.gems-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gems-projects-grid { grid-template-columns: repeat(3, 1fr); }
.gems-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
a.gems-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.gems-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #e8e0d6;
}
.gems-card-body { padding: 16px; }
.gems-card-body h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gems-copper-dark);
  line-height: 1.35;
}

/* ── Why Gems ── */
.gems-why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.gems-why-img {
  min-height: 400px;
  background: center/cover no-repeat;
}
.gems-why-copy {
  background: var(--gems-copper);
  color: var(--gems-cream);
  padding: clamp(32px, 6vw, 56px);
}
.gems-why-copy h2 {
  font-family: "Italiana", serif;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 16px;
}
.gems-why-copy h3 {
  color: var(--gems-cream);
  font-size: 0.95rem;
  margin: 20px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gems-why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.gems-pillar {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.gems-pillar h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gems-copper);
  margin: 0 0 10px;
}
.gems-pillar p { margin: 0; font-size: 0.92rem; }

/* ── Projects band ── */
.gems-connections {
  text-align: center;
  padding: 48px 0 16px;
}
.gems-connections h2 {
  font-family: "Italiana", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
}

/* ── CTA band ── */
.gems-cta-band {
  background: linear-gradient(135deg, #4a2c2a, #2b1810);
  color: var(--gems-cream);
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 0;
}
.gems-cta-band h2 {
  font-family: "Italiana", serif;
  color: #fff;
  margin: 0 0 12px;
}
.gems-cta-band .gems-hero-actions { justify-content: center; }

/* ── Footer ── */
.gems-footer-first {
  background: var(--gems-footer-gradient);
  color: var(--gems-cream);
  padding: clamp(40px, 6vw, 56px) 0;
}
.gems-footer-first,
.gems-footer-first p,
.gems-footer-first li {
  color: var(--gems-cream);
}
.gems-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1fr;
  gap: 28px;
}
.gems-footer-support li:first-child {
  line-height: 1.6;
}
.gems-footer-heading {
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gems-gold);
  margin: 0 0 14px;
  text-shadow: none;
  line-height: 1.35;
}
.gems-footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0 10px;
  color: rgba(245, 240, 232, 0.92);
}
.gems-footer-address {
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 12px;
  color: rgba(245, 240, 232, 0.9);
}
.gems-footer-iso {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gems-gold);
}
.gems-footer-links,
.gems-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gems-footer-links li,
.gems-footer-contact li {
  margin-bottom: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.gems-footer-links a,
.gems-footer-contact a {
  color: var(--gems-cream);
  text-decoration: none;
  opacity: 0.95;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.gems-footer-links a:hover,
.gems-footer-contact a:hover {
  color: var(--gems-gold);
  opacity: 1;
}
.gems-footer-support a {
  color: var(--gems-cream);
  text-decoration: none;
}
.gems-footer-support a:hover {
  color: var(--gems-gold);
}
.gems-footer-phone-sep {
  color: rgba(245, 240, 232, 0.55);
}
.gems-footer-first .gems-brand-name { color: var(--gems-cream); }
.gems-footer-brand-name {
  display: inline !important;
  white-space: nowrap;
  color: var(--gems-cream);
  font-family: "Italiana", serif;
  font-size: 1rem;
}
.gems-footer-logo {
  flex-wrap: nowrap;
  max-width: 100%;
}

.gems-footer-bottom {
  background: var(--gems-brown-deep);
  color: var(--gems-cream);
  padding: 14px 0;
  font-size: 0.82rem;
}
.gems-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.gems-footer-bottom p { margin: 0; }
.gems-footer-copyright {
  width: 100%;
  line-height: 1.5;
}
.gems-footer-copyright a {
  color: var(--gems-gold);
  text-decoration: none;
}
.gems-footer-copyright a:hover {
  color: #fff;
  text-decoration: underline;
}
.gems-footer-legal a,
.gems-footer-managed a {
  color: var(--gems-gold);
  text-decoration: none;
}
.gems-footer-legal a:hover,
.gems-footer-managed a:hover {
  color: #fff;
  text-decoration: underline;
}
.gems-footer-managed {
  width: 100%;
  margin-top: 4px;
  opacity: 0.92;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Tablet / desktop header tweaks ── */
@media (min-width: 992px) {
  .gems-header-inner {
    flex-wrap: nowrap;
    gap: clamp(20px, 3vw, 48px);
  }
  .gems-brand-lockup {
    flex: 0 1 auto;
    max-width: none;
  }
  .gems-header .gems-brand-name--full {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.15;
    max-width: none;
    flex-shrink: 0;
  }
  .gems-header-right {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    min-width: 0;
    gap: 16px;
  }
  .gems-primary-nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    margin-left: auto;
    min-width: 0;
  }
  .gems-menu {
    margin-left: auto;
    flex-shrink: 0;
  }
  .gems-header-actions {
    flex-shrink: 0;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .gems-menu a { font-size: 0.8rem; padding: 0 6px; }
  .gems-menu { gap: 2px 8px; }
  .gems-header .gems-brand-name--full { font-size: clamp(0.78rem, 1.05vw, 0.9rem); }
  .gems-logo { height: 68px; max-width: 180px; }
}
@media (max-width: 1100px) and (min-width: 992px) {
  .gems-card-grid,
  .gems-projects-grid { grid-template-columns: repeat(3, 1fr); }
  .gems-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Desktop: allow visible overflow (Elementor text edge) ── */
@media (min-width: 992px) {
  .gems-site,
  .gems-home,
  .elementor-widget-html .gems-site,
  .elementor-widget-html .gems-home {
    overflow-x: visible;
  }
}

/* ── Mobile drawer nav ── */
@media (max-width: 991px) {
  .gems-site,
  .gems-home,
  .elementor-widget-html .gems-site,
  .elementor-widget-html .gems-home {
    overflow-x: clip;
  }

  .gems-nav-toggle { display: flex; z-index: 480; position: relative; }
  body.gems-nav-open .gems-nav-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .gems-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    gap: 6px;
    min-height: 64px;
  }
  .gems-brand-lockup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: calc(100% - 96px);
    width: max-content;
    min-width: 0;
    text-align: center;
  }
  .gems-header .gems-brand-name--full {
    flex: 0 1 auto;
    min-width: 0;
    display: inline !important;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: clamp(0.66rem, 2.85vw, 0.9rem) !important;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    color: #2b1810;
    align-self: center;
  }
  .gems-brand-name--short { display: none !important; }
  .gems-logo {
    height: 48px;
    max-width: 90px;
    flex-shrink: 0;
    display: block;
    align-self: center;
  }

  .gems-header-right {
    position: relative;
    z-index: 2;
    margin-left: auto;
    justify-self: end;
    align-self: center;
    gap: 8px;
    flex: 0 0 auto;
    width: auto;
  }
  .gems-header-actions { display: none; }

  body.gems-nav-open .gems-header-wrap {
    z-index: 600;
    position: relative;
  }
  body.gems-nav-open .gems-header {
    z-index: 601;
  }

  .gems-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 18, 0.5);
    z-index: 500;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
  }
  .gems-nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .gems-primary-nav {
    position: fixed;
    top: 0;
    right: calc(-1 * min(300px, 88vw));
    width: min(300px, 88vw);
    max-width: 100%;
    height: 100dvh;
    background: #f7f2ea;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    box-shadow: -12px 0 40px rgba(43, 24, 16, 0.22);
    transform: none;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 520;
    flex: none;
    font-family: "Manrope", sans-serif;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }
  .gems-primary-nav:not(.is-open) {
    visibility: hidden;
  }
  .gems-primary-nav.is-open {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }
  .gems-primary-nav.is-open .gems-menu a,
  .gems-primary-nav.is-open .gems-drawer-pill,
  .gems-primary-nav.is-open .gems-drawer-close {
    pointer-events: auto;
  }

  .gems-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: var(--gems-header-gradient);
    flex-shrink: 0;
    border-bottom: 3px solid var(--gems-gold);
  }
  .gems-drawer-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(0.64rem, 2.85vw, 0.82rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    flex: 1;
    min-width: 0;
    padding-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gems-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(245, 240, 232, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .gems-drawer-close-icon {
    display: block;
    width: 14px;
    height: 14px;
    position: relative;
  }
  .gems-drawer-close-icon::before,
  .gems-drawer-close-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
  }
  .gems-drawer-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .gems-drawer-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .gems-drawer-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px;
    -webkit-overflow-scrolling: touch;
    background: #f7f2ea;
  }
  .gems-drawer-foot {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(184, 115, 51, 0.15);
    box-shadow: 0 -4px 20px rgba(43, 24, 16, 0.06);
  }
  .gems-drawer-pill {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .gems-drawer-pill--call {
    color: var(--gems-copper-dark);
    background: #f7f2ea;
    border: 1.5px solid var(--gems-copper);
  }
  .gems-drawer-pill--wa {
    color: var(--gems-copper-dark);
    background: #fff;
    border: 1.5px solid var(--gems-copper);
  }
  .gems-drawer-pill--quote {
    color: #1a1412;
    background: linear-gradient(145deg, #e8c96a 0%, #c98a4a 45%, #b87333 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(184, 115, 51, 0.25);
  }

  .gems-primary-nav .gems-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .gems-primary-nav .gems-menu li {
    margin: 0;
    padding: 0;
    display: block;
  }
  .gems-primary-nav .gems-menu a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--gems-copper-dark);
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(184, 115, 51, 0.14);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(43, 24, 16, 0.05);
    white-space: nowrap;
    touch-action: manipulation;
    cursor: pointer;
    position: relative;
    z-index: 1;
    line-height: 1.2;
  }
  .gems-primary-nav .gems-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--gems-gold), var(--gems-copper));
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .gems-primary-nav .gems-menu a:hover,
  .gems-primary-nav .gems-menu a:active {
    color: var(--gems-copper);
    border-color: rgba(184, 115, 51, 0.4);
    box-shadow: 0 4px 14px rgba(43, 24, 16, 0.08);
  }
  .gems-primary-nav .gems-menu a:hover::before,
  .gems-primary-nav .gems-menu a:active::before {
    opacity: 1;
  }

  .gems-about-grid,
  .gems-why-split,
  .gems-inner-grid,
  .gems-inner-grid-start,
  .gems-inner-grid-wide,
  .gems-inner-grid-3,
  .gems-contact-split { grid-template-columns: 1fr; }
  .gems-site [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .gems-site .gems-container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .gems-site aside { order: 2; }
  .gems-why-img { min-height: 260px; }
  .gems-why-pillars { grid-template-columns: 1fr; }
  .gems-card-grid,
  .gems-projects-grid { grid-template-columns: repeat(2, 1fr); }

  .gems-cta-long { display: none; }
  .gems-cta-short { display: inline; }

  body.gems-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .gems-hero,
  .gems-page-banner,
  .gems-section,
  .gems-section-alt,
  .gems-section-dark,
  .gems-why-split,
  .gems-cta-band,
  .gems-trust-bar,
  .gems-cert-strip {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .gems-container {
    max-width: 100%;
  }

  .gems-card-grid,
  .gems-projects-grid {
    min-width: 0;
  }

  .gems-card-grid > *,
  .gems-projects-grid > * {
    min-width: 0;
  }

  .gems-service-row:hover,
  .gems-service-row:focus-visible {
    transform: none;
  }

  .gems-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gems-footer-col {
    width: 100%;
    min-width: 0;
  }

  .gems-footer-links,
  .gems-footer-contact,
  .gems-footer-support {
    display: block;
    width: 100%;
  }

  .gems-footer-links li,
  .gems-footer-contact li,
  .gems-footer-support li {
    display: block;
    width: 100%;
  }

  .gems-footer-links a,
  .gems-footer-contact a,
  .gems-footer-support a {
    display: inline;
    word-break: break-word;
  }

  .gems-footer-support li:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
  }

  .gems-footer-phone-sep {
    display: none;
  }
}

@media (max-width: 600px) {
  .gems-header-inner { min-height: 64px; padding: 8px 0; }
  .gems-card-grid,
  .gems-projects-grid { grid-template-columns: 1fr; }
  .gems-card-img { height: 180px; }
  .gems-footer-grid { grid-template-columns: 1fr; }
  .gems-footer-bottom-inner { flex-direction: column; }
  .gems-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .gems-hero-actions .gems-btn-primary,
  .gems-hero-actions .gems-btn-ghost {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    padding: 11px 18px;
    font-size: 0.86rem;
  }
  .gems-section { padding: 40px 0; }
  .gems-page-banner-inner { padding: 22px 0; }
  .gems-service-row {
    grid-template-columns: 1fr 2.75rem;
    gap: 14px;
    padding: 18px 16px;
  }
  .gems-service-row-index { display: none; }
  .gems-service-row-title {
    font-size: 1.3rem;
  }
  .gems-page-banner-title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
  .gems-section-title {
    font-size: clamp(1.3rem, 5.5vw, 1.85rem);
  }
  .gems-site .gems-card[style*="padding"] {
    padding: 24px 18px !important;
  }
  .gems-contact-form-wrap {
    padding: 20px 16px !important;
  }
  .gems-local-note {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .gems-faq-item {
    padding: 18px 16px;
  }
  .gems-section-cta,
  .gems-site .gems-section p:has(> .gems-btn-primary),
  .gems-cert-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .gems-section-cta .gems-btn-primary,
  .gems-section-cta .gems-btn-outline,
  .gems-site .gems-section p .gems-btn-primary,
  .gems-site .gems-section p .gems-btn-outline,
  .gems-site .gems-page-banner .gems-btn-primary,
  .gems-cert-actions .gems-btn-primary,
  .gems-cert-actions .gems-btn-outline {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .gems-recent-projects-inject .gems-card-grid,
  .gems-recent-projects-inject .gems-projects-grid {
    grid-template-columns: 1fr;
  }
}
