:root {
  --green: #4f9a32;
  --green-deep: #2d6a24;
  --green-ink: #1c3f1c;
  --green-soft: #e7f3dc;
  --peach: #e8a07a;
  --orange: #e07a3d;
  --cream: #f4efe6;
  --paper: #fbf7f0;
  --mist: #ebe4d8;
  --ink: #1b1d19;
  --muted: #5c6156;
  --line: #d9d1c3;
  --white: #ffffff;
  --header-top: #1a2218;
  --shadow: 0 18px 50px rgba(28, 63, 28, 0.08);
  --radius: 22px;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", "Source Han Serif TC", serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  /* 四大範疇色 */
  --pillar-design: #c9a227;
  --pillar-materials: #2f7a4a;
  --pillar-bedroom: #c97b6e;
  --pillar-spalling: #5b7fa3;
  --pillar-btn: #3a4450;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
}

body.menu-locked {
  overflow: hidden;
  height: 100dvh;
}

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

a {
  color: var(--green-deep);
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  background: var(--green-ink);
  color: var(--white);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(42, 49, 40, 0.06);
}

.header-top {
  background: var(--header-top);
  color: #d7e4d0;
  font-size: 0.82rem;
  font-weight: 500;
}

.header-top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  overflow-x: auto;
}

.header-top a {
  color: #d7e4d0;
}

.header-top a:hover {
  color: var(--white);
}

.header-contacts,
.header-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--green-ink);
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.brand-name span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.desktop-nav {
  display: flex;
  gap: 0.2rem;
}

.desktop-nav a {
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  position: relative;
}

.desktop-nav a[aria-current="page"],
.desktop-nav a:hover {
  color: var(--green-deep);
}

.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 3px;
  background: var(--peach);
  border-radius: 99px;
}

.menu-open {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-open span,
.menu-open span::before,
.menu-open span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-ink);
  margin: auto;
  position: relative;
}

.menu-open span::before,
.menu-open span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-open span::before {
  top: -7px;
}

.menu-open span::after {
  top: 7px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 9999;
  background: var(--green-ink);
  color: var(--white);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-head .brand {
  color: var(--white);
}

.mobile-menu-head .brand-name span {
  color: var(--sage);
}

.menu-close {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--peach);
  color: var(--green-ink);
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 3rem;
}

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.mobile-extra {
  margin-top: 1.5rem;
  color: var(--sage);
}

.hero {
  position: relative;
  min-height: min(78vh, 680px);
  background: var(--cream);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(18, 28, 16, 0.72) 0%, rgba(18, 28, 16, 0.35) 55%, rgba(18, 28, 16, 0.22) 100%),
    linear-gradient(180deg, rgba(18, 28, 16, 0.12), rgba(18, 28, 16, 0.45));
}

.hero-slide--graphic {
  background:
    radial-gradient(circle at 82% 22%, rgba(232, 160, 122, 0.35) 0 14%, transparent 42%),
    radial-gradient(circle at 76% 48%, #eef6e6 0%, var(--green-soft) 38%, var(--cream) 72%, #e6e0d4 100%);
}

.hero-slide--graphic::after {
  display: none;
}

.hero-slide--graphic .hero-copy {
  color: var(--green-ink);
  max-width: none;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-slide--graphic .hero-copy .eyebrow {
  color: var(--orange);
}

.hero-slide--graphic .hero-copy-text p {
  color: var(--muted);
}

.hero-slide--graphic .hero-copy h1 {
  color: var(--green-ink);
}

.hero-copy-text {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-mark {
  order: 2;
  flex: 0 0 min(32vw, 320px);
  width: min(32vw, 320px);
  z-index: 2;
  pointer-events: none;
}

.hero-mark img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: min(78vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  padding: 4.5rem 0 5.5rem;
  max-width: 640px;
}

.eyebrow {
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 0.8rem;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  margin: 0 0 1rem;
  color: inherit;
}

.hero-copy > p,
.hero-copy-text > p {
  font-size: 1.08rem;
  max-width: 34rem;
  color: #e8efe4;
}

.hero-slide--graphic .hero-copy-text > p {
  color: var(--muted);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 1.4rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
  margin-right: 0.4rem;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots button.is-active {
  background: var(--peach);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--peach);
  color: var(--green-ink);
  box-shadow: 0 8px 22px rgba(202, 211, 193, 0.45);
}

.btn-primary:hover {
  background: #97A392;
  color: var(--green-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--peach);
}

.btn-ghost:hover {
  background: var(--peach);
  color: var(--green-ink);
}

.btn-line {
  background: transparent;
  color: var(--green-ink);
  border-color: var(--peach);
}

.btn-line:hover {
  background: var(--peach);
  color: var(--green-ink);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-muted {
  background: var(--cream);
}

.section-warm {
  background: var(--mist);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 2.6rem;
}

.vert-label {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.28em;
  color: var(--green);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
}

.lede {
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card,
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card {
  border-top: 3px solid var(--lime);
}

.product-card {
  border-top: 3px solid var(--peach);
}

.card img,
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body,
.product-card figcaption {
  padding: 1.3rem 1.35rem 1.5rem;
}

.card h3,
.product-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.price {
  color: var(--green-ink);
  font-weight: 700;
  margin-top: 0.6rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.cat-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.cat-card span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 1.3rem;
  background: linear-gradient(transparent, rgba(42, 49, 40, 0.78));
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.page-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 49, 40, 0.55);
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--peach);
  z-index: 2;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  min-height: 320px;
  object-fit: cover;
}

.team-photo {
  width: 100%;
  border-radius: var(--radius);
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  background: #111;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.icon-item {
  background: var(--white);
  border-radius: 18px;
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow);
}

.icon-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--peach);
  color: var(--green-ink);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.quote-box {
  background: var(--white);
  border-left: 4px solid var(--peach);
  padding: 1.3rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 1.2rem;
}

.prose p {
  margin: 0 0 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
}

.contact-list {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--green-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.form {
  background: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form label {
  display: block;
  font-size: 0.88rem;
  margin: 0.7rem 0 0.3rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

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

.form-status {
  margin-top: 0.8rem;
  color: var(--green-deep);
}

.social-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-row a {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.social-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: start;
}

.product-gallery img.is-main {
  width: 100%;
  border-radius: var(--radius);
  background: var(--white);
  object-fit: contain;
  max-height: 520px;
}

.thumbs {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.thumbs button.is-active,
.thumbs img.is-active {
  border-color: var(--peach);
}

.thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.pay-box {
  background: var(--green-soft);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  white-space: pre-line;
  margin: 1.2rem 0;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0 2rem;
}

.filter-note {
  white-space: pre-line;
  background: var(--gold-wash);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  margin-bottom: 1.6rem;
  border-left: 4px solid var(--peach);
}

.site-footer {
  background: var(--mist);
  padding: 3.2rem 0 1.4rem;
  color: var(--ink);
  border-top: 6px solid var(--gold-wash);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.site-footer h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.site-footer a {
  color: var(--ink);
}

.fps {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.fps img {
  width: 72px;
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  text-align: center;
  padding: 1.2rem 0.8rem;
}

.step b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: var(--peach);
  color: var(--green-ink);
}

/* —— 四大範疇色卡 —— */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.pillar-card {
  --pillar: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 1.25rem 1.4rem;
  color: inherit;
  box-shadow: 0 8px 28px rgba(27, 29, 25, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(27, 29, 25, 0.1);
  color: inherit;
}

.pillar-card::before {
  content: "";
  display: block;
  width: calc(100% + 2.5rem);
  height: 6px;
  margin: 0 -1.25rem 1.35rem;
  background: var(--pillar);
}

.pillar-card--design { --pillar: var(--pillar-design); }
.pillar-card--materials { --pillar: var(--pillar-materials); }
.pillar-card--bedroom { --pillar: var(--pillar-bedroom); }
.pillar-card--spalling { --pillar: var(--pillar-spalling); }

.pillar-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.85rem;
  color: var(--pillar);
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pillar);
  margin: 0 0 0.35rem;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

.pillar-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.btn-pillar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  background: var(--pillar-btn);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn-pillar:hover {
  background: #2c343e;
  color: var(--white) !important;
}

.page-hero--design::after { background: rgba(80, 60, 10, 0.55); }
.page-hero--materials::after { background: rgba(18, 50, 28, 0.55); }
.page-hero--bedroom::after { background: rgba(70, 35, 30, 0.55); }
.page-hero--spalling::after { background: rgba(25, 40, 60, 0.55); }

.pillar-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  color: var(--white);
  background: var(--pillar, var(--green));
}

.pillar-badge--design { background: var(--pillar-design); }
.pillar-badge--materials { background: var(--pillar-materials); }
.pillar-badge--bedroom { background: var(--pillar-bedroom); }
.pillar-badge--spalling { background: var(--pillar-spalling); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pillar, var(--green));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  border-top: 4px solid var(--pillar-spalling);
  box-shadow: var(--shadow);
}

.process-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

@media (max-width: 1024px) {
  .card-grid,
  .cat-grid,
  .icon-row,
  .steps,
  .footer-grid,
  .pillar-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-social {
    display: none;
  }

  .menu-open {
    display: grid;
  }

  .split,
  .contact-grid,
  .product-layout,
  .form-row,
  .section-head {
    grid-template-columns: 1fr;
  }

  .vert-label {
    writing-mode: horizontal-tb;
    letter-spacing: 0.18em;
  }

  .hero {
    min-height: min(72vh, 620px);
  }

  .hero-copy {
    min-height: min(72vh, 620px);
    height: auto;
    padding: 3rem 0 5.5rem;
    max-width: none;
    width: min(var(--max), calc(100% - var(--pad) * 2));
    box-sizing: border-box;
  }

  .hero-copy-text,
  .hero-copy > p,
  .hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-slide--graphic .hero-copy {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
  }

  .hero-mark {
    order: 0;
    flex: 0 0 auto;
    width: min(38vw, 148px);
  }

  .hero-controls {
    left: var(--pad);
    right: auto;
  }

  .header-contacts span.hide-sm {
    display: none;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .cat-grid,
  .icon-row,
  .steps,
  .footer-grid,
  .pillar-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 16px;
  }
}

.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 50;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 640px) {
  .wa-float {
    width: 54px;
    height: 54px;
  }

  .wa-float svg {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wa-float {
    animation: wa-pulse 2.4s ease-out infinite;
  }
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
