:root {
  --bg: #f7f1e8;
  --bg-deep: #eadcc7;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffaf3;
  --line: rgba(51, 66, 52, 0.12);
  --text: #1f2c26;
  --muted: #5f6d66;
  --accent: #315848;
  --accent-soft: #dfe8de;
  --accent-warm: #b8844c;
  --shadow: 0 24px 80px rgba(43, 55, 45, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 132, 76, 0.14), transparent 28%),
    radial-gradient(circle at right 10% top 20%, rgba(49, 88, 72, 0.12), transparent 22%),
    linear-gradient(180deg, #fbf6ef 0%, var(--bg) 48%, #f2ece2 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-top: 0.5rem;
  backdrop-filter: blur(20px);
  background: rgba(255, 250, 243, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(31, 44, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.topbar-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

.brand-logo-shell {
  display: flex;
  align-items: center;
  width: min(100%, 360px);
  height: 82px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background:
    linear-gradient(145deg, #224235 0%, #315848 54%, #4f7a67 100%);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-copy small,
.topbar-nav a,
.eyebrow,
.section-kicker,
.quick-panel-label,
.panel-note-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.brand-copy small,
.topbar-nav a,
.hero-text,
.panel-note,
.section-heading p,
.service-card p,
.value-card p,
.process-card p,
.contact-copy p,
.footer {
  color: var(--muted);
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.topbar-nav a {
  font-weight: 700;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(39, 52, 45, 0.92);
  box-shadow: 0 10px 22px rgba(31, 44, 38, 0.16);
}

.language-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.language-button:hover,
.language-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.language-button.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
}

.language-flag {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(20, 30, 24, 0.1);
}

.flag-us {
  background:
    repeating-linear-gradient(
      180deg,
      #c7353f 0 1.2px,
      #ffffff 1.2px 2.4px
    );
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 7px;
  background: #254c9a;
}

.flag-us::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 6px;
  height: 5px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 0.65px, transparent 0.8px)
      0 0 / 3px 2.5px;
  opacity: 0.92;
}

.flag-br {
  background: #22995d;
}

.flag-br::before {
  content: "";
  position: absolute;
  inset: 2px 3px;
  background: #f2c53d;
  transform: rotate(45deg);
}

.flag-br::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #214f9b;
  transform: translate(-50%, -50%);
}

.section {
  padding: 5rem 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  align-items: stretch;
}

.hero-copy,
.quick-panel,
.intro-strip,
.service-card,
.value-card,
.process-card,
.contact-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.quick-panel,
.contact-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 4rem);
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  justify-content: flex-start;
}

.hero-copy::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 132, 76, 0.12), transparent 65%);
}

.eyebrow,
.section-kicker,
.quick-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-weight: 800;
}

.eyebrow::before,
.section-kicker::before,
.quick-panel-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 9ch;
  margin-top: 1rem;
  font-size: clamp(3.55rem, 6vw, 5.7rem);
}

.hero-text {
  max-width: 48ch;
  margin: 1.35rem 0 0;
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-actions,
.quick-links,
.hero-stats,
.service-grid,
.value-grid,
.process-grid,
.contact-links {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
  margin-top: 0.25rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #244134 0%, #315848 55%, #517864 100%);
}

.button-secondary {
  border-color: rgba(49, 88, 72, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0.1rem 0 0;
  list-style: none;
}

.hero-stats li {
  padding: 1rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(49, 88, 72, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.4rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.quick-panel {
  padding: 1.45rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.5), transparent 48%),
    linear-gradient(0deg, rgba(223, 232, 222, 0.42), transparent 50%);
  pointer-events: none;
}

.quick-links {
  margin-top: 1rem;
}

.quick-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 88, 72, 0.09);
  font-weight: 700;
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.quick-link:hover,
.quick-link:focus-visible {
  transform: translateX(4px);
  border-color: rgba(49, 88, 72, 0.22);
}

.quick-link span:last-child {
  color: var(--accent);
}

.panel-note {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(49, 88, 72, 0.06);
  line-height: 1.7;
}

.panel-note-title {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-weight: 800;
}

.quick-panel-checklist {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(49, 88, 72, 0.08);
}

.quick-panel-checklist-items {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.quick-panel-checklist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.quick-panel-checkmark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(49, 88, 72, 0.1);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.quick-panel-extras {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
}

.quick-panel-block {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(49, 88, 72, 0.12);
}

.quick-panel-subtitle {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.quick-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.quick-panel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(49, 88, 72, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.quick-panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-panel-metric {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 88, 72, 0.09);
}

.quick-panel-metric strong {
  color: var(--text);
  font-size: 0.95rem;
}

.quick-panel-metric span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.intro-strip {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(49, 88, 72, 0.93), rgba(85, 121, 103, 0.9));
  color: rgba(255, 255, 255, 0.88);
}

.intro-strip p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 920px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 4.7vw, 3.8rem);
}

.service-grid,
.value-grid,
.process-grid {
  margin-top: 2rem;
}

#process .section-heading {
  max-width: 1180px;
}

#process .section-heading h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
}

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

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

.service-card,
.value-card,
.process-card {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
}

.service-card {
  display: grid;
  gap: 0.9rem;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.service-card-tag,
.value-card-index,
.process-card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(49, 88, 72, 0.08);
}

.service-card h3,
.value-card h3,
.process-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.service-card p,
.value-card p,
.process-card p,
.contact-copy p {
  margin: 0;
  line-height: 1.7;
}

.value-card {
  display: flex;
  gap: 1rem;
}

.value-card-index {
  flex: 0 0 44px;
}

.process-card {
  display: grid;
  gap: 1rem;
}

.contact-section {
  padding-bottom: 2rem;
}

.contact-card {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.45rem, 4vw, 2.5rem);
}

.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.35rem;
  align-items: start;
}

.contact-copy {
  max-width: 52ch;
}

.contact-featured {
  display: grid;
  gap: 1rem;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 1.35rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(49, 88, 72, 0.1);
}

.contact-bottom-copy {
  max-width: 28ch;
}

.contact-bottom-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.contact-bottom-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.contact-bottom-copy p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.contact-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(49, 88, 72, 0.09);
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.contact-link-featured {
  padding: 1rem 1.05rem;
}

.contact-link-secondary {
  min-height: 100%;
  padding: 0.95rem 1rem;
}

.contact-link-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(49, 88, 72, 0.06);
}

.contact-link-badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.contact-link-secondary .contact-link-badge {
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.contact-link-secondary .contact-link-badge img {
  width: 36px;
  height: 36px;
}

.contact-link-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(49, 88, 72, 0.2);
}

.contact-link-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-link-value {
  font-size: 1rem;
  font-weight: 700;
}

.contact-link-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-link-arrow {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  opacity: 0.75;
  transition: transform 200ms ease;
}

.contact-link:hover .contact-link-arrow,
.contact-link:focus-visible .contact-link-arrow {
  transform: translate(2px, -2px);
}

.contact-link-secondary .contact-link-value {
  font-size: 0.98rem;
}

.contact-link-secondary .contact-link-meta {
  font-size: 0.86rem;
}

.footer {
  padding: 1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

.footer-separator {
  display: inline-block;
  margin: 0 0.45rem;
  opacity: 0.5;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 28px;
    padding: 1rem;
  }

  .brand-logo-shell {
    width: min(100%, 310px);
    height: 70px;
  }

  .topbar-side {
    gap: 0.65rem;
  }

  .hero,
  .contact-top,
  .contact-bottom,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: unset;
  }

  .hero h1 {
    max-width: 10ch;
  }

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

  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-bottom-copy {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 0.8rem), var(--max-width));
    padding-bottom: 1.5rem;
  }

  .topbar {
    position: static;
    border-radius: 24px;
    gap: 0.85rem;
    padding: 0.85rem 0.95rem;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .topbar-side {
    width: 100%;
    display: grid;
    gap: 0.7rem;
  }

  .brand-logo-shell {
    width: min(100%, 270px);
    height: 60px;
    margin: 0 auto;
  }

  .language-switcher {
    order: -1;
    justify-self: end;
  }

  .topbar-nav {
    width: 100%;
    gap: 0.55rem;
    justify-content: stretch;
  }

  .topbar-nav a {
    flex: 1 1 0;
    text-align: center;
    padding: 0.75rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(49, 88, 72, 0.08);
  }

  .hero {
    gap: 1rem;
    padding-top: 1rem;
  }

  .hero-copy,
  .quick-panel,
  .contact-card {
    border-radius: 24px;
  }

  .hero-copy {
    padding: 1.5rem;
    gap: 1.4rem;
  }

  .hero h1 {
    max-width: 12ch;
    margin-top: 0.65rem;
    font-size: clamp(2.45rem, 10.8vw, 3.6rem);
    line-height: 0.93;
  }

  .hero-text {
    margin-top: 0.25rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 0.8rem;
  }

  .button {
    min-height: 52px;
    padding: 0.9rem 1.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .hero-stats li {
    padding: 0.95rem 0.9rem;
  }

  .hero-stats li:last-child {
    grid-column: 1 / -1;
  }

  .section {
    padding-top: 3rem;
  }

  .quick-panel {
    padding: 1.25rem;
  }

  .quick-links {
    gap: 0.75rem;
  }

  .quick-panel-extras {
    padding-top: 0.95rem;
  }

  .quick-panel-tags {
    gap: 0.55rem;
  }

  .quick-panel-metrics {
    grid-template-columns: 1fr;
  }

  .quick-link {
    padding: 0.9rem 1rem;
  }

  .panel-note {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
  }

  .intro-strip {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
  }

  .intro-strip p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .section-heading {
    gap: 0.65rem;
    max-width: 100%;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.95rem, 8.8vw, 2.85rem);
    line-height: 1.02;
  }

  .service-grid,
  .value-grid,
  .process-grid {
    margin-top: 1.35rem;
  }

  .service-card,
  .value-card,
  .process-card {
    padding: 1.25rem;
  }

  .service-card h3,
  .value-card h3,
  .process-card h3 {
    font-size: 1.04rem;
  }

  .service-card p,
  .value-card p,
  .process-card p,
  .contact-copy p,
  .contact-link-meta {
    line-height: 1.58;
  }

  .value-card {
    align-items: flex-start;
  }

  .process-card {
    gap: 0.85rem;
  }

  .contact-card {
    gap: 1rem;
    padding: 1.3rem;
  }

  .contact-top,
  .contact-bottom {
    gap: 1rem;
  }

  .contact-bottom {
    padding-top: 1rem;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.95rem;
  }

  .footer {
    padding-top: 0.8rem;
    font-size: 0.82rem;
    line-height: 1.6;
  }
}

@media (max-width: 520px) {
  .brand-logo-shell {
    width: min(100%, 235px);
    height: 52px;
  }

  .topbar-nav a,
  .eyebrow,
  .section-kicker,
  .quick-panel-label,
  .panel-note-title {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 10.5vw, 3.15rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats li:last-child {
    grid-column: auto;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.75rem, 8.3vw, 2.45rem);
  }
}

.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 2.8vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 0.55rem;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(15, 43, 27, 0.96), rgba(20, 58, 35, 0.92));
  box-shadow: 0 20px 48px rgba(18, 58, 34, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  isolation: isolate;
  transform-origin: center bottom;
  animation: floating-whatsapp-bounce 1.9s ease-in-out infinite;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -2;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(47, 214, 104, 0.34) 0%, rgba(47, 214, 104, 0) 72%);
  animation: floating-whatsapp-pulse 1.9s ease-out infinite;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-4px) scale(1.02);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(47, 214, 104, 0.32);
  outline-offset: 4px;
}

.floating-whatsapp__icon-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 50%;
  animation: floating-whatsapp-flash 1.2s steps(2, end) infinite;
}

.floating-whatsapp__icon-shell img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  box-shadow:
    0 12px 30px rgba(25, 153, 70, 0.36),
    0 0 0 10px rgba(47, 214, 104, 0.08);
}

.floating-whatsapp__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #ff6a7f 0%, #da143d 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 10px 18px rgba(218, 20, 61, 0.32);
  animation: floating-whatsapp-badge 1.2s ease-in-out infinite;
}

@keyframes floating-whatsapp-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  18% {
    transform: translateY(-10px);
  }

  36% {
    transform: translateY(0);
  }

  52% {
    transform: translateY(-5px);
  }

  68% {
    transform: translateY(0);
  }
}

@keyframes floating-whatsapp-pulse {
  0% {
    opacity: 0.95;
    transform: scale(0.92);
  }

  70% {
    opacity: 0;
    transform: scale(1.16);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes floating-whatsapp-flash {
  0%,
  58%,
  100% {
    opacity: 1;
    filter: saturate(1) brightness(1);
  }

  68%,
  84% {
    opacity: 0.82;
    filter: saturate(1.18) brightness(1.1);
  }
}

@keyframes floating-whatsapp-badge {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.12);
  }

  70% {
    transform: scale(0.96);
  }
}

@media (max-width: 760px) {
  .floating-whatsapp {
    width: 92px;
    height: 92px;
    padding: 0.42rem;
  }

  .floating-whatsapp__icon-shell {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp,
  .floating-whatsapp::before,
  .floating-whatsapp__icon-shell,
  .floating-whatsapp__badge {
    animation: none !important;
  }

  .floating-whatsapp:hover,
  .floating-whatsapp:focus-visible {
    transform: none;
  }
}
