:root {
  --green: #2d7a5f;
  --green-dark: #1e5c46;
  --green-light: #e8f5f0;
  --green-soft: #f2faf6;
  --ink: #171d1a;
  --muted: #63706a;
  --line: #e2e2dc;
  --paper: #ffffff;
  --warm: #f7f3ea;
  --gold: #d7a751;
  --rose: #d96954;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(30, 92, 70, 0.16);
  --shell: min(100% - 48px, 1480px);
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("public/fonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("public/fonts/fa-regular-400.woff2") format("woff2");
}

.fa-solid,
.fa-regular {
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fa-solid {
  font-weight: 900;
}

.fa-regular {
  font-weight: 400;
}

.fa-phone::before { content: "\f095"; }
.fa-comment::before { content: "\f075"; }
.fa-comments::before { content: "\f086"; }
.fa-comment-sms::before { content: "\f7cd"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-paperclip::before { content: "\f0c6"; }
.fa-xmark::before { content: "\f00d"; }
.fa-chevron-left::before { content: "\f053"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-up-right-and-down-left-from-center::before { content: "\f424"; }
.fa-check::before { content: "\f00c"; }
.fa-house-chimney::before { content: "\e3af"; }
.fa-screwdriver-wrench::before { content: "\f7d9"; }
.fa-house::before { content: "\f015"; }
.fa-table-cells-large::before { content: "\f009"; }
.fa-cloud-rain::before { content: "\f73d"; }
.fa-tree::before { content: "\f1bb"; }
.fa-sun::before { content: "\f185"; }
.fa-snowflake::before { content: "\f2dc"; }
.fa-bolt::before { content: "\f0e7"; }
.fa-wrench::before { content: "\f0ad"; }
.fa-leaf::before { content: "\f06c"; }
.fa-shower::before { content: "\f2cc"; }
.fa-magnifying-glass::before { content: "\f002"; }
.fa-hammer::before { content: "\f6e3"; }
.fa-lightbulb::before { content: "\f0eb"; }
.fa-lock::before { content: "\f023"; }
.fa-hot-tub-person::before { content: "\f593"; }
.fa-palette::before { content: "\f53f"; }
.fa-bug::before { content: "\f188"; }
.fa-building::before { content: "\f1ad"; }
.fa-dollar-sign::before { content: "\24"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-calendar-check::before { content: "\f274"; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

body.menu-open,
body.widget-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 16px;
  left: 16px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 16px max(24px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid rgba(226, 226, 220, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 174px;
  height: auto;
  filter: brightness(0) saturate(0);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link,
.nav-phone,
.nav-cta,
.menu-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-weight: 700;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.service-dropdown.is-open .nav-link {
  color: var(--green-dark);
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.service-dropdown {
  position: relative;
}

.service-dropdown.is-open .chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.service-dropdown__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  width: 386px;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.service-dropdown.is-open .service-dropdown__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.service-dropdown__panel::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.service-dropdown__heading {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-nav-button,
.mobile-service-grid button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.service-nav-button {
  min-height: 36px;
  padding: 3px 6px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.1;
}

.service-nav-button:hover,
.service-nav-button:focus-visible,
.mobile-service-grid button:hover,
.mobile-service-grid button:focus-visible {
  background: var(--green-light);
  color: var(--green-dark);
}

.service-nav-button span,
.mobile-service-grid span {
  line-height: 1;
}

.service-nav-button span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  color: var(--green);
  font-size: 0.9rem;
}

.service-dropdown__browse {
  grid-column: 1 / -1;
  min-height: 42px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.service-dropdown__browse:hover,
.service-dropdown__browse:focus-visible {
  background: var(--green-dark);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-dark);
  font-weight: 800;
}

.nav-phone span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--green-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  transition: background 0.18s ease;
}

.nav-cta:hover {
  background: var(--green-dark);
}

.emma-launcher span,
.contact-intro span,
.connect-options span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
}

.nav-cta__avatar {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  object-fit: cover;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    opacity 0.18s ease,
    transform 0.22s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  z-index: 98;
  inset: 0;
  visibility: hidden;
  background: rgba(13, 13, 13, 0.42);
  opacity: 0;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.mobile-menu-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(87vw, 366px);
  padding: 92px 22px 28px;
  overflow-y: auto;
  background: #fff;
  box-shadow: -22px 0 64px rgba(0, 0, 0, 0.2);
  transform: translateX(101%);
  transition: transform 0.28s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.menu-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mobile-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.mobile-service-grid button {
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.mobile-menu__divider {
  height: 1px;
  margin: 20px 0 16px;
  background: var(--line);
}

.mobile-phone {
  display: block;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(470px, 0.82fr);
  align-items: center;
  column-gap: clamp(40px, 5vw, 92px);
  min-height: 100vh;
  width: var(--shell);
  margin-inline: auto;
  padding-top: 60px;
}

.hero__content {
  transform: translateX(clamp(18px, 3vw, 56px));
}

.hero-title-break {
  display: inline;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 -12vw 0 42%;
  background:
    radial-gradient(
      ellipse at 70% 52%,
      rgba(45, 122, 95, 0.13) 0%,
      rgba(45, 122, 95, 0.08) 38%,
      rgba(255, 255, 255, 0) 72%
    );
  content: "";
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 40px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4.2rem, 5.2vw, 6.15rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 em,
.section-heading h2,
.emma-copy h2,
.cta-band h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.hero h1 em {
  color: var(--green);
}

.hero__copy {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.18vw, 1.28rem);
  line-height: 1.46;
}

.hero__phone {
  width: min(100%, 335px);
  margin-top: 40px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--green);
  box-shadow: 0 16px 48px rgba(30, 92, 70, 0.1);
}

.hero__phone p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 20px 7px;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__phone p span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35ad72;
  box-shadow: 0 0 0 5px rgba(53, 173, 114, 0.14);
  animation: statusDotPulse 1.8s ease-out infinite;
}

.hero__phone a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 15px 20px;
  background: var(--green);
  color: #fff;
  font-size: clamp(1.5rem, 1.75vw, 1.82rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.hero__phone a i {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 28px;
  margin-top: 40px;
}

.hero-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.hero-benefits i {
  width: 18px;
  color: var(--green);
  font-size: 0.92rem;
  text-align: center;
}

.hero__visual {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(100%, 540px);
  padding-block: 58px 0;
  transform: translateX(clamp(-76px, -3vw, -28px));
}

.hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.64;
  min-height: 0;
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(30, 92, 70, 0.22);
  object-fit: cover;
  object-position: center 42%;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.hero__visual img.is-changing {
  opacity: 0;
}

.hero-badges {
  position: absolute;
  inset: 58px 0 0;
  pointer-events: none;
}

.hero-badge {
  --float-x: 0px;
  --float-y: -9px;
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(226, 226, 220, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 900;
  pointer-events: auto;
  animation: heroBadgeFloat 5.1s ease-in-out infinite;
  transition:
    top 0.32s ease,
    left 0.32s ease,
    right 0.32s ease,
    transform 0.18s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
}

.hero-badge[data-badge-role="roof"] {
  --float-x: 4px;
  --float-y: -8px;
  animation-delay: -1.3s;
  animation-duration: 5.7s;
}

.hero-badge[data-badge-role="hvac"] {
  --float-x: -5px;
  --float-y: 7px;
  animation-delay: -2.4s;
  animation-duration: 4.9s;
}

.hero-badge[data-badge-role="solar"] {
  --float-x: -7px;
  --float-y: -6px;
  animation-delay: -0.6s;
  animation-duration: 5.3s;
}

.hero-badge[data-badge-role="gutters"] {
  --float-x: 6px;
  --float-y: 8px;
  animation-delay: -3s;
  animation-duration: 5.5s;
}

.hero-badge[data-badge-role="windows"] {
  --float-x: -6px;
  --float-y: -7px;
  animation-delay: -1.9s;
  animation-duration: 4.8s;
}

.hero-badge[data-badge-role="siding"] {
  --float-x: 5px;
  --float-y: -6px;
  animation-delay: -0.9s;
  animation-duration: 5.2s;
}

.hero-badge[data-badge-role="bath"] {
  --float-x: -7px;
  --float-y: 6px;
  animation-delay: -2.9s;
  animation-duration: 5.6s;
}

.hero-badge[data-badge-role="flooring"] {
  --float-x: 6px;
  --float-y: 7px;
  animation-delay: -1.5s;
  animation-duration: 4.7s;
}

.hero-badge[data-badge-role="pest"] {
  --float-x: -5px;
  --float-y: -8px;
  animation-delay: -3.4s;
  animation-duration: 5.4s;
}

.hero-badge[data-badge-role="fence"] {
  --float-x: 5px;
  --float-y: 7px;
  animation-delay: -2.1s;
  animation-duration: 5.8s;
}

.hero .eyebrow {
  display: inline-flex;
  gap: 9px;
  margin-bottom: 34px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #e6f4ef;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.hero .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

@keyframes heroBadgeFloat {
  0%,
  100% {
    translate: 0 0;
  }

  35% {
    translate: var(--float-x) var(--float-y);
  }

  68% {
    translate: calc(var(--float-x) * -0.55) calc(var(--float-y) * 0.45);
  }
}

@keyframes emmaMessageFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes statusDotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(53, 173, 114, 0.58);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(53, 173, 114, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero__phone p span,
  .emma-message {
    animation: none;
  }
}

.partners {
  padding: 48px 64px 52px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.partners__label {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px 56px;
  max-width: 920px;
  margin-inline: auto;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.partner-logo img {
  max-width: 155px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: opacity 0.2s ease;
}

.partner-logo:hover img {
  opacity: 1;
}

.partner-logo--mark img {
  max-height: 42px;
}

.partner-logo--baths img {
  max-height: 33px;
}

.partner-logo--zintex img {
  max-height: 48px;
}

.partner-logo--allstar img {
  max-height: 38px;
}

.process {
  width: auto;
  max-width: none;
  padding: 100px 64px;
  text-align: center;
}

.section-heading {
  max-width: 820px;
}

.process .section-heading {
  margin-inline: auto;
}

.process .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process .eyebrow span {
  display: none;
}

.section-heading h2,
.emma-copy h2,
.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.7vw, 5.2rem);
  line-height: 0.98;
}

.process .section-heading h2 {
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1120px;
  margin: 60px auto 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
}

.process-grid li::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--green);
  content: "";
}

.process-grid span {
  display: block;
  margin-bottom: 16px;
  color: #cce8dc;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.process-grid h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.services {
  padding: 100px 64px 112px;
  background: #fff;
  text-align: center;
}

.section-heading--split {
  display: block;
  max-width: 820px;
  margin-inline: auto;
}

.section-heading--split > div {
  max-width: none;
}

.services .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.services .eyebrow span {
  display: none;
}

.services .section-heading h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 4.3vw, 3.9rem);
  line-height: 1.08;
}

.text-button {
  margin-top: 22px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--green-dark);
  font-weight: 900;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 66px auto 0;
}

.service-card {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(30, 92, 70, 0.1);
  transform: translateY(-3px);
}

.service-card span,
.service-card strong,
.service-card small {
  display: block;
}

.service-card span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.35rem;
}

.service-card strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.service-card small {
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 500;
}

.emma-section {
  position: relative;
  padding-block: 128px;
  overflow: hidden;
  background: var(--green);
  color: #fff;
}

.emma-section::before {
  position: absolute;
  right: -8vw;
  top: -18%;
  width: min(520px, 34vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  content: "";
}

.emma-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(56px, 9vw, 132px);
}

.emma-copy p:not(.eyebrow) {
  max-width: 660px;
  margin-block: 24px 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.emma-section .eyebrow {
  display: inline-flex;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  letter-spacing: 0.08em;
}

.emma-section .eyebrow span {
  display: none;
}

.emma-section .eyebrow i {
  font-size: 0.78rem;
}

.emma-section .button--primary {
  background: #fff;
  color: var(--green-dark);
  min-width: 290px;
  min-height: 58px;
  border-radius: 999px;
  box-shadow: none;
}

.emma-section .button--primary:hover {
  background: var(--green-light);
}

.emma-copy h2 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.96;
}

.emma-preview {
  position: relative;
  min-height: 500px;
}

.emma-preview::before {
  position: absolute;
  inset: -12% -16% 6% 34%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  content: "";
}

.emma-portrait {
  position: absolute;
  top: 0;
  right: 12%;
  width: min(430px, 82%);
  aspect-ratio: 1 / 1.18;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(8, 34, 25, 0.2);
  object-fit: cover;
  object-position: center top;
}

.emma-message {
  position: absolute;
  right: calc(12% + min(430px, 82%) - 318px);
  bottom: 66px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 318px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(8, 34, 25, 0.16);
  animation: emmaMessageFloat 5.4s ease-in-out infinite;
}

.emma-message img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.emma-message p {
  margin-block: 0 5px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.emma-message small {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.emma-message small::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c76f;
  content: "";
  transform: translateY(-50%);
}

.cta-band {
  padding-block: 64px;
  background: var(--green);
  color: #fff;
}

.cta-band .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band .eyebrow {
  color: #ccebdd;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--green);
  color: #fff;
}

.button--primary:hover {
  background: var(--green-dark);
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--light {
  background: #fff;
  color: var(--green-dark);
}

.button--full {
  width: 100%;
}

.site-footer {
  padding-top: 86px;
  background: #151716;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: clamp(72px, 12vw, 210px);
  padding-bottom: 64px;
}

.footer-logo {
  width: 176px;
  height: auto;
}

.footer-brand p {
  max-width: 340px;
  margin-block: 24px 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: min(100%, 278px);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
}

.footer-call > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(45, 122, 95, 0.35);
  color: #42b98b;
}

.footer-call strong,
.footer-call small {
  display: block;
}

.footer-call strong {
  font-size: 1.22rem;
  line-height: 1.1;
}

.footer-call small {
  margin-bottom: 5px;
  color: #35d282;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-services h2 {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 78px);
}

.footer-service-columns ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-service-columns a,
.footer-secondary a,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-service-columns a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.footer-service-columns a:hover,
.footer-secondary a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-secondary > div:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-secondary > div:first-child span {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-secondary > div:first-child a:first-of-type {
  color: #35d282;
  font-weight: 900;
}

.footer-logo--small {
  width: 130px;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.footer-actions a > span {
  color: rgba(255, 255, 255, 0.74);
}

.footer-actions a {
  color: #35d282;
  font-weight: 800;
}

.footer-actions a:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.footer-actions i {
  color: #35d282;
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 28px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 26px;
}

.category-modal {
  width: min(100% - 32px, 680px);
  max-height: min(92vh, 780px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.category-modal::backdrop {
  background: rgba(9, 25, 18, 0.62);
  backdrop-filter: blur(3px);
}

.category-modal__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  max-height: inherit;
  padding: 28px;
  overflow-y: auto;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.category-modal .icon-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.category-modal__hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 16%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(145deg, var(--green), var(--green-dark));
  color: #fff;
}

.modal-advisor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.modal-advisor img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-advisor strong,
.modal-advisor small {
  display: block;
}

.modal-advisor small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.modal-pill {
  display: inline-flex;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.category-modal h2 {
  margin-bottom: 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.category-modal p:not(.modal-pill) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.category-form {
  display: grid;
  align-content: center;
  gap: 12px;
  padding-block: 16px 6px;
}

.category-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-form input,
.category-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.category-form textarea {
  min-height: 104px;
  resize: vertical;
}

.category-form input:focus,
.category-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 122, 95, 0.14);
}

.category-form .button {
  margin-top: 4px;
}

.category-success {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px 0 8px;
  text-align: center;
}

.category-success[hidden] {
  display: none;
}

.category-success > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.1rem;
}

.category-success > strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.category-modal .category-success > p {
  max-width: 320px;
  margin-inline: auto;
  color: var(--muted);
}

.connect-options {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.connect-options button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.connect-options button:hover,
.connect-options button:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.connect-options span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--green-light);
}

.connect-options small {
  color: var(--muted);
}

.emma-widget {
  position: fixed;
  z-index: 1100;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.emma-panel {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 36px);
  height: 600px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--green);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 8px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 0.25s ease,
    transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2),
    visibility 0.25s ease,
    width 0.3s ease,
    height 0.3s ease;
}

.emma-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.emma-panel.is-expanded {
  width: 560px;
  height: 760px;
}

.emma-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 82px;
  padding: 18px 18px 22px;
  background: linear-gradient(180deg, #3d9974 0%, var(--green) 100%);
  color: #fff;
  z-index: 2;
}

.emma-panel__header div {
  flex: 1;
  min-width: 0;
}

.emma-panel__header strong,
.emma-panel__header span {
  display: block;
}

.emma-panel__header span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 600;
}

.emma-panel__header span b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9f8d2;
  box-shadow: 0 0 0 0 rgba(185, 248, 210, 0.7);
  animation: chatOnlinePulse 1.8s ease-out infinite;
}

.emma-panel__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

@keyframes chatOnlinePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 248, 210, 0.6);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(185, 248, 210, 0);
  }
}

.emma-panel__header .widget-expand {
  order: 97;
}

.emma-panel__header [data-widget-back] {
  order: 98;
}

.emma-panel__header [data-widget-close] {
  order: 99;
}

.emma-panel__header .icon-button {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1rem;
}

.emma-panel__header .icon-button:hover {
  background: rgba(255, 255, 255, 0.28);
}

.widget-view {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.widget-view[hidden],
[hidden] {
  display: none !important;
}

.widget-view--home {
  background: linear-gradient(
    180deg,
    var(--green) 0%,
    var(--green) 38%,
    #3a8a6a 48%,
    #6aa890 56%,
    #b6d4c6 64%,
    #e4eee8 72%,
    #f3f6f3 80%,
    #f3f6f3 100%
  );
}

.widget-home {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 22px 22px 9vh;
  overflow-y: auto;
}

.widget-hero {
  padding: 0;
  text-align: left;
}

.widget-hero h2 {
  margin-bottom: 0;
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.2;
}

.widget-hero p {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.2;
}

.widget-action-list {
  display: grid;
  gap: 10px;
}

.widget-action {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 31, 26, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.widget-action:hover {
  border-color: #3d9974;
  box-shadow: 0 10px 24px rgba(45, 122, 95, 0.16);
  transform: translateY(-1px);
}

.widget-action__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  background: rgba(61, 153, 116, 0.12);
  color: var(--green);
}

.widget-action strong,
.widget-action small {
  display: block;
}

.widget-action strong {
  color: #0d1f1a;
  font-size: 0.84rem;
  font-weight: 900;
}

.widget-action small {
  margin-top: 2px;
  color: #5a6c63;
  font-size: 0.72rem;
}

.widget-action > .fa-chevron-right {
  margin-left: auto;
  color: #aab3ad;
}

.widget-action b {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.widget-view--chat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.chat-mode-row {
  flex: 0 0 auto;
  padding: 10px 0 8px;
  border-bottom: 1px solid #eef1ef;
  background: #fff;
  text-align: center;
}

.chat-mode-row button {
  padding: 7px 18px;
  border: 1px solid #d7e4dd;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.chat-mode-row button:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.chat-time {
  margin: 0 0 4px;
  color: #b8c0bb;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.conversation {
  flex: 1;
  padding: 16px 14px 14px;
  overflow-y: auto;
  background: #fff;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 9px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.chat-row.visible {
  opacity: 1;
  transform: none;
}

.chat-row.is-user {
  flex-direction: row-reverse;
}

.chat-row.is-agent::before {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: url("assets/emma-advisor.jpg") center / cover;
  content: "";
}

.chat-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 16px 16px 16px 4px;
  background: #f1f3f4;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.5;
}

.is-user .chat-bubble {
  border-radius: 16px 16px 4px 16px;
  background: #3d9974;
  color: #fff;
}

.chat-form {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border-top: 1px solid #eef0ee;
  background: #fff;
  z-index: 2;
}

.emma-panel[data-widget-view="chat"] .chat-form {
  display: flex;
}

.chat-attach {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  transition:
    background 0.15s ease,
    transform 0.1s ease;
}

.chat-attach:hover {
  background: rgba(61, 153, 116, 0.12);
}

.chat-form input,
.contact-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.chat-form input {
  flex: 1;
  height: auto;
  padding: 9px 14px;
  border-color: #d6dad8;
  border-radius: 999px;
  font-size: 0.78rem;
}

.chat-form .icon-button {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 50%;
  background: #3b9f78;
  color: #fff;
  font-size: 0.85rem;
}

.chat-form input:focus,
.contact-form input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(45, 122, 95, 0.16);
}

.contact-intro {
  text-align: center;
}

.widget-view--contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  overflow-y: auto;
}

.contact-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(204px, 100%);
  min-height: 38px;
  margin: 0 auto 22px;
  padding: 3px;
  border: 1px solid #dce6e1;
  border-radius: 999px;
  background: #eef3f0;
}

.contact-mode-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.contact-mode-switch button.is-active {
  background: #3d9974;
  color: #fff;
  box-shadow: 0 1px 4px rgba(45, 122, 95, 0.25);
}

.contact-intro span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(61, 153, 116, 0.12);
  color: var(--green);
  font-size: 1.28rem;
}

.contact-intro h2 {
  margin-bottom: 7px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-intro p,
.contact-success {
  color: var(--muted);
}

.contact-intro p {
  max-width: 280px;
  margin: 0 auto;
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  width: min(300px, 100%);
  gap: 9px;
  margin: 18px auto 0;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0;
  font-weight: 900;
}

.contact-form input {
  padding: 13px 14px;
  border: 1.5px solid #c2ccc7;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(13, 31, 26, 0.06);
  font-size: 0.88rem;
  text-align: center;
}

.contact-form .button {
  min-height: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #3d9974;
  font-size: 0.88rem;
}

.contact-success {
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  text-align: center;
}

.contact-success > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #3d9974;
  color: #fff;
  box-shadow: 0 8px 22px rgba(45, 122, 95, 0.3);
}

.contact-success strong {
  display: block;
  color: #0d1f1a;
  font-size: 1.45rem;
  font-weight: 900;
}

.contact-success p {
  margin: 6px 0 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 800;
}

.contact-success small {
  display: block;
  max-width: 250px;
  margin: 14px auto 0;
  padding: 11px 14px;
  border: 1px solid #e3e7e4;
  border-radius: 12px;
  background: #fff;
  color: #5a675f;
  font-size: 0.75rem;
  line-height: 1.5;
}

.contact-success b {
  color: #0d1f1a;
}

.emma-panel__footer {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 7px 16px 8px;
  border-top: 1px solid #e3e7e4;
  background: rgba(255, 255, 255, 0.96);
  color: #9aa39e;
  text-align: center;
  z-index: 3;
}

.emma-panel__footer p {
  margin: 0 0 4px;
  font-size: 0.54rem;
  line-height: 1.4;
}

.emma-panel__footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 500;
}

.emma-panel__footer img {
  width: 75px;
  height: auto;
}

.emma-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 18px;
  background: #3d9974;
  box-shadow:
    0 12px 30px rgba(61, 153, 116, 0.42),
    0 6px 14px rgba(0, 0, 0, 0.25);
  animation: fabFloat 3s ease-in-out infinite;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.emma-launcher:hover {
  box-shadow:
    0 16px 36px rgba(61, 153, 116, 0.52),
    0 8px 18px rgba(0, 0, 0, 0.3);
  transform: scale(1.07);
}

.emma-launcher.is-open {
  animation: none;
}

.emma-launcher span {
  width: auto;
  height: auto;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
}

.emma-launcher b {
  position: absolute;
  top: -8px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 0.75rem;
}

.emma-teaser {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 260px;
  min-height: 60px;
  padding: 12px 16px 12px 62px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  animation: teaserSlideIn 0.45s ease 0.6s both;
  cursor: pointer;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.emma-teaser:hover {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.emma-teaser img {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.emma-teaser strong,
.emma-teaser p {
  display: block;
}

.emma-teaser p {
  margin: 1px 0 0;
  color: #888;
  font-size: 0.66rem;
}

.emma-teaser strong {
  max-width: 180px;
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
}

.emma-teaser button {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

@keyframes fabFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes teaserSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.78fr);
    column-gap: 34px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 6.2vw, 5.8rem);
  }
}

@media (max-width: 920px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 122px 56px;
  }

  .hero__content {
    transform: none;
  }

  .hero::before {
    inset: auto -24px 0;
    width: auto;
    height: 44%;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 540px);
    min-height: auto;
    padding-block: 46px 0;
    transform: none;
  }

  .hero__visual img {
    min-height: 520px;
  }

  .process-grid,
  .emma-section__inner {
    grid-template-columns: 1fr;
  }

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

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

  .footer-service-columns {
    gap: 28px;
  }

  .footer-secondary {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1480px);
  }

  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand img {
    width: 146px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.7rem);
    font-weight: 500;
    line-height: 0.94;
    text-shadow: 0 0 0 currentColor;
    -webkit-text-stroke: 0.25px currentColor;
  }

  .hero-title-break {
    display: block;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .hero__phone {
    margin-inline: auto;
  }

  .hero__phone a {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 28px;
    text-align: center;
  }

  .hero-benefits span {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .hero-badge {
    max-width: 145px;
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .process-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .partners {
    padding: 54px 20px;
  }

  .partners__logos {
    gap: 24px 32px;
  }

  .process,
  .services,
  .emma-section {
    padding-block: 72px;
  }

  .process,
  .services {
    padding-inline: 20px;
  }

  .services,
  .emma-section,
  .cta-band,
  .site-footer {
    padding-inline: 0;
  }

  .section-heading h2,
  .emma-copy h2,
  .cta-band h2 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .section-heading--split,
  .cta-band .section-shell,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .text-button {
    white-space: normal;
  }

  .service-card {
    min-height: 148px;
  }

  .emma-preview {
    min-height: 390px;
  }

  .emma-portrait {
    right: 50%;
    width: min(320px, 82%);
    transform: translateX(50%);
  }

  .emma-message {
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 42px;
  }

  .footer-service-columns {
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
  }

  .footer-secondary,
  .footer-bottom {
    padding-block: 22px;
  }

  .footer-secondary > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-secondary > div:first-child span {
    display: none;
  }

  .footer-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .footer-actions a {
    justify-content: center;
  }

  .footer-bottom nav {
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .category-modal__card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px;
  }

  .category-modal__hero {
    min-height: 260px;
    padding: 20px;
  }

  .modal-advisor {
    margin-bottom: 34px;
  }

  .category-form {
    padding-block: 0;
  }

  .emma-widget {
    right: 16px;
    bottom: 16px;
  }

  .emma-panel,
  .emma-panel.is-expanded {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    transform-origin: bottom center;
  }

  .emma-panel__header {
    min-height: 78px;
    padding: 16px 18px 18px;
  }

  .emma-launcher.is-open {
    display: none;
  }

  .emma-teaser {
    display: none;
  }
}
