/*
Theme Name: HBS Elementor
Author: Blacklab
Version: 1.0.0
Text Domain: hbs-elementor
*/

:root {
  --green: #71aa71;
  --green-dark: #2f6b3a;
  --ink: #1f1f1f;
  --muted: #5b625b;
  --line: #d1d5d1;
  --soft: #f4f7f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 31, 31, .12);
  --shadow-strong: 0 30px 90px rgba(31, 31, 31, .18);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-main { overflow: hidden; }

.hbs-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(209, 213, 209, .8);
  box-shadow: 0 10px 30px rgba(31, 31, 31, .05);
  backdrop-filter: blur(18px);
}

.hbs-header {
  width: min(var(--max), calc(100% - 40px));
  min-height: 62px;
  margin: 0 auto;
}
.hbs-header > .elementor-container {
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
}
.hbs-header > .elementor-container > .elementor-column:nth-child(1) {
  width: 190px !important;
  flex: 0 0 190px;
}
.hbs-header > .elementor-container > .elementor-column:nth-child(2) {
  width: auto !important;
  flex: 1 1 auto;
}
.hbs-header > .elementor-container > .elementor-column:nth-child(3) {
  width: auto !important;
  flex: 0 0 auto;
  margin-left: 28px;
}
.hbs-header .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0;
}
.hbs-header .elementor-widget-wrap {
  align-items: center;
}
.hbs-header .elementor-widget {
  margin-bottom: 0;
}
.hbs-header-logo img { width: 108px; }
.hbs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  color: rgba(31, 31, 31, .76);
  font-size: .92rem;
  font-weight: 700;
}
.hbs-nav .elementor-widget-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  color: rgba(31, 31, 31, .76);
  font-size: .92rem;
  font-weight: 700;
}
.hbs-nav a { position: relative; white-space: nowrap; }
.hbs-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
  content: "";
}
.hbs-nav a:hover::after { transform: scaleX(1); }
.hbs-header-cta .elementor-button,
.hbs-button .elementor-button {
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hbs-header-cta .elementor-button:hover,
.hbs-button .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(47, 107, 58, .25);
  background: #285d32;
}

.hbs-hero {
  position: relative;
  min-height: calc(100vh - 62px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  --hero-shift: 0px;
}
.hbs-hero::before {
  position: absolute;
  inset: -9% 0;
  background:
    linear-gradient(90deg, rgba(31, 31, 31, .84) 0%, rgba(31, 31, 31, .66) 34%, rgba(31, 31, 31, .22) 61%, rgba(31, 31, 31, .03) 100%),
    linear-gradient(0deg, rgba(31, 31, 31, .34), rgba(31, 31, 31, .04)),
    var(--hbs-hero-image) 10% center / 110% auto no-repeat;
  transform: translate3d(0, var(--hero-shift), 0) scale(1.04);
  will-change: transform;
  z-index: -2;
  content: "";
}
.hbs-hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(31, 31, 31, .5), transparent);
  z-index: -1;
  content: "";
}
.hbs-hero > .elementor-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}
.hbs-hero .elementor-widget { text-shadow: 0 3px 22px rgba(0, 0, 0, .34); }
.hbs-eyebrow {
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hbs-eyebrow .elementor-widget-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hbs-eyebrow .elementor-widget-container::before {
  width: 34px;
  height: 2px;
  background: var(--green);
  content: "";
}
.hbs-hero-title .elementor-heading-title {
  width: min(720px, 100%);
  color: var(--white);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: 0;
}
.hbs-hero-copy {
  width: min(610px, 100%);
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hbs-hero-actions > .elementor-container {
  display: flex;
  gap: 14px;
  margin: 0 0 30px;
}
.hbs-hero-actions .elementor-column { width: auto !important; }
.hbs-button-secondary .elementor-button {
  background: rgba(255, 255, 255, .92);
  color: var(--green-dark);
  border-color: rgba(47, 107, 58, .25);
}
.hbs-proof > .elementor-container {
  width: min(820px, 100%);
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.hbs-proof .elementor-column {
  width: auto !important;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}
.hbs-proof .elementor-column:last-child { border-right: 0; }
.hbs-proof .elementor-column::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--green);
  content: "";
}
.hbs-proof h3,
.hbs-proof .elementor-heading-title {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.hbs-proof .elementor-widget-text-editor { color: rgba(255, 255, 255, .76); font-size: .9rem; }

.hbs-section {
  padding: 92px 0;
}
.hbs-section > .elementor-container,
.hbs-section-head > .elementor-container,
.hbs-split > .elementor-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.hbs-soft {
  background: linear-gradient(180deg, #f8faf7 0%, var(--soft) 100%);
}
.hbs-section-head.hbs-soft {
  padding-bottom: 42px;
}
.hbs-services-grid.hbs-soft {
  padding: 0 0 92px;
}
.hbs-kicker {
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hbs-section-title .elementor-heading-title {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.hbs-muted { color: var(--muted); font-size: 1.05rem; }
.hbs-intro > .elementor-container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hbs-intro .elementor-column { width: auto !important; }
.hbs-intro-copy { color: #454c45; font-size: 1.08rem; }
.hbs-about-photo img {
  width: 82%;
  height: 520px;
  margin-left: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hbs-about-note {
  max-width: 330px;
  margin-top: -120px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 5px solid var(--green);
  box-shadow: 0 20px 50px rgba(31, 31, 31, .14);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}
.hbs-section-head > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}
.hbs-services-grid > .elementor-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hbs-service-card {
  position: relative;
  width: auto !important;
  min-height: 390px;
  padding: 28px;
  border: 1px solid rgba(209, 213, 209, .86);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(252, 254, 252, .94) 100%);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(31, 31, 31, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hbs-service-card > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 !important;
}
.hbs-service-card .elementor-widget {
  margin-bottom: 0;
}
.hbs-service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  opacity: .9;
  content: "";
}
.hbs-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 107, 58, .35);
  box-shadow: 0 26px 58px rgba(31, 31, 31, .12);
}
.hbs-service-icon .elementor-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(31, 31, 31, .14);
}
.hbs-service-icon {
  align-self: flex-end;
}
.hbs-service-icon .elementor-icon-wrapper {
  text-align: right;
}
.hbs-service-icon .elementor-icon svg {
  width: 27px;
  height: 27px;
}
.hbs-service-card > .elementor-widget-wrap > .elementor-widget-text-editor:first-child {
  position: absolute;
  top: 28px;
  left: 28px;
  width: auto;
  z-index: 1;
}
.hbs-service-card > .elementor-widget-wrap > .elementor-widget-text-editor:first-child strong {
  min-width: 46px;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(113, 170, 113, .14);
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 900;
}
.hbs-service-card h3,
.hbs-service-card .elementor-heading-title {
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.18;
}
.hbs-service-card p { color: var(--muted); }
.hbs-service-card ul,
.hbs-work-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hbs-service-card li,
.hbs-work-list li {
  position: relative;
  padding-left: 20px;
  color: #454c45;
  font-size: .96rem;
}
.hbs-work-list li { color: rgba(255, 255, 255, .76); }
.hbs-service-card li + li,
.hbs-work-list li + li { margin-top: 8px; }
.hbs-service-card li::before,
.hbs-work-list li::before {
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}
.hbs-split > .elementor-container {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: center;
}
.hbs-work-panel {
  width: auto !important;
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(47, 107, 58, .35), transparent 48%), var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.hbs-work-panel .elementor-heading-title { color: var(--white); }
.hbs-work-panel p { color: rgba(255, 255, 255, .76); }
.hbs-work-steps {
  width: auto !important;
}
.hbs-work-steps > .elementor-widget-wrap {
  display: grid;
  gap: 16px;
  padding: 0 !important;
}
.hbs-step {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.hbs-step:first-child { border-top: 1px solid var(--line); }
.hbs-step > .elementor-container {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: start;
}
.hbs-step .elementor-column {
  width: auto !important;
}
.hbs-step .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0;
}
.hbs-step .elementor-widget {
  margin-bottom: 0;
}
.hbs-step-number .elementor-heading-title {
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.hbs-step .elementor-widget-heading:not(.hbs-step-number) .elementor-heading-title {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
}
.hbs-step p {
  margin-bottom: 0;
  color: var(--muted);
}
.hbs-contact {
  padding: 74px 0;
  background: linear-gradient(135deg, rgba(31, 31, 31, .28), transparent 52%), var(--green-dark);
  color: var(--white);
}
.hbs-contact > .elementor-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}
.hbs-contact .elementor-heading-title { color: var(--white); }
.hbs-contact p { color: rgba(255, 255, 255, .82); }
.hbs-contact-actions .elementor-widget-container { display: grid; gap: 12px; min-width: 260px; }
.hbs-contact-actions a,
.hbs-footer-links a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-weight: 850;
}
.hbs-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 32px 0;
}
.hbs-footer > .elementor-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hbs-footer .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0;
}
.hbs-footer .elementor-widget {
  margin-bottom: 0;
}
.hbs-footer-logo img { width: 118px; opacity: .92; }
.hbs-footer-links {
  display: flex;
  align-items: center;
}
.hbs-footer-links .elementor-widget-container {
  display: flex !important;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}
.hbs-footer-links a {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
}
.hbs-footer-links a + a {
  margin-left: 22px;
}

@media (max-width: 980px) {
  .hbs-header { width: min(var(--max), calc(100% - 28px)); }
  .hbs-header > .elementor-container { gap: 18px; }
  .hbs-nav .elementor-widget-container { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .hbs-intro > .elementor-container,
  .hbs-section-head > .elementor-container,
  .hbs-split > .elementor-container,
  .hbs-contact > .elementor-container { grid-template-columns: 1fr; }
  .hbs-services-grid > .elementor-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hbs-header-logo img { width: 98px; }
  .hbs-hero { min-height: 776px; }
  .hbs-hero::before {
    background:
      linear-gradient(0deg, rgba(31, 31, 31, .82) 0%, rgba(31, 31, 31, .54) 62%, rgba(31, 31, 31, .12) 100%),
      var(--hbs-hero-image) 42% center / cover no-repeat;
    transform: none;
    inset: 0;
  }
  .hbs-hero > .elementor-container,
  .hbs-section > .elementor-container,
  .hbs-section-head > .elementor-container,
  .hbs-services-grid > .elementor-container,
  .hbs-split > .elementor-container,
  .hbs-contact > .elementor-container,
  .hbs-footer > .elementor-container {
    width: calc(100% - 28px);
  }
  .hbs-hero > .elementor-container { padding-bottom: 32px; }
  .hbs-proof > .elementor-container,
  .hbs-services-grid > .elementor-container { grid-template-columns: 1fr; }
  .hbs-proof .elementor-column {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }
  .hbs-section { padding: 64px 0; }
  .hbs-about-photo img { width: 100%; height: 440px; }
  .hbs-about-note { max-width: none; margin-top: 14px; }
  .hbs-service-card { min-height: auto; }
  .hbs-work-panel { padding: 28px; }
  .hbs-step > .elementor-container { grid-template-columns: 54px 1fr; }
  .hbs-footer > .elementor-container { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hbs-footer-links .elementor-widget-container { flex-wrap: wrap; }
}
