:root {
  --yellow: #ffc400;
  --yellow-deep: #f3b800;
  --ink: #111111;
  --graphite: #222222;
  --warm: #f9f7f3;
  --white: #ffffff;
  --line: #deddd9;
  --muted: #686764;
  --green: #1db954;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  --container: 1220px;
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: 120px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(249, 247, 243, 0.9);
  backdrop-filter: blur(16px);
  transition: height 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  height: 74px;
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 35px rgba(17, 17, 17, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  position: relative;
  z-index: 2;
  width: 182px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 10px;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav > a:hover::after,
.site-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--yellow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.28);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-lines {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-lines::before,
.section-lines::after {
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  content: "";
  border: 1px solid rgba(17, 17, 17, 0.18);
  transform: rotate(45deg);
}

.section-lines::before {
  top: -205px;
  left: 16%;
}

.section-lines::after {
  right: -210px;
  bottom: 8%;
}

.hero {
  min-height: 860px;
  padding-top: calc(var(--header-height) + 70px);
  background: var(--warm);
}

.hero::before {
  width: 340px;
  height: 340px;
}

.hero-glow,
.portfolio-glow {
  position: absolute;
  z-index: -1;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.62);
  filter: blur(70px);
  pointer-events: none;
}

.glow-left {
  top: 42%;
  left: -210px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 30px;
}

.eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 52px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--ink);
}

.eyebrow-dark span {
  background: var(--yellow);
}

.hero h1,
.section-heading h2,
.plans-heading h2,
.results h2,
.testimonials-heading h2,
.portfolio-heading h2,
.contact h2 {
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.55rem, 6vw, 6.5rem);
}

.hero h1 strong,
.section-heading h2 strong,
.plans-heading h2 strong,
.results h2 strong,
.testimonials-heading h2 strong,
.portfolio-heading h2 strong,
.contact h2 strong {
  font-weight: 800;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 31px;
  color: #4d4c49;
  font-size: 1.13rem;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button span,
.plan-button span,
.nav-cta span {
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

.button:hover span,
.plan-button:hover span,
.nav-cta:hover span {
  transform: translate(2px, -2px);
}

.button-primary {
  background: var(--yellow);
  box-shadow: 0 14px 32px rgba(255, 196, 0, 0.22);
}

.button-ghost {
  border-color: rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.5);
}

.button-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.18);
}

.hero-note {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 565px;
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.note-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  place-items: center;
  background: var(--graphite);
  color: var(--yellow);
  font-weight: 900;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-note strong {
  color: var(--ink);
}

.hero-art {
  position: relative;
  min-height: 620px;
  align-self: end;
}

.hero-shape {
  position: absolute;
  border-radius: 36px;
}

.shape-yellow {
  top: 64px;
  right: 0;
  width: 73%;
  height: 73%;
  background: var(--yellow);
  box-shadow: 0 30px 80px rgba(255, 196, 0, 0.24);
}

.shape-dark {
  bottom: 40px;
  left: 2%;
  width: 58%;
  height: 46%;
  background: var(--graphite);
}

.outline-arrow {
  position: absolute;
  top: 0;
  right: -30px;
  width: 270px;
  height: 250px;
  opacity: 0.42;
  transform: rotate(-8deg);
}

.outline-arrow span {
  position: absolute;
  width: 170px;
  height: 170px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}

.outline-arrow span:nth-child(2) {
  top: 38px;
  left: -32px;
}

.outline-arrow span:nth-child(3) {
  top: 76px;
  left: -64px;
}

.hero-person {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: 605px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 22px 22px rgba(17, 17, 17, 0.18)) drop-shadow(0 0 28px rgba(255, 196, 0, 0.22));
}

.growth-badge {
  position: absolute;
  z-index: 4;
  top: 105px;
  left: -10px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 195px;
  padding: 12px 17px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: var(--white);
  background: rgba(34, 34, 34, 0.95);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.23);
  animation: float 4.2s ease-in-out infinite;
}

.growth-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(145deg, #ffe071, var(--yellow-deep));
  box-shadow: inset -8px -8px 14px rgba(180, 121, 0, 0.18), inset 8px 8px 16px rgba(255, 255, 255, 0.46);
  font-size: 1.5rem;
  font-weight: 900;
}

.growth-badge small,
.growth-badge strong {
  display: block;
}

.growth-badge small {
  color: #bdbdbd;
  font-size: 0.68rem;
}

.growth-badge strong {
  font-size: 0.92rem;
}

.hero-tag {
  position: absolute;
  z-index: 5;
  right: -2%;
  bottom: 38px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-tag span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.18);
}

.capability-strip {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 19px 28px;
  border-radius: 20px 20px 0 0;
  background: var(--ink);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: end;
}

.section-heading h2,
.plans-heading h2,
.results h2,
.testimonials-heading h2,
.portfolio-heading h2,
.contact h2 {
  font-size: clamp(2.85rem, 5vw, 5.25rem);
}

.section-heading > p:last-child,
.about-copy > p,
.plans-heading > p,
.results-copy > p,
.testimonials-heading > p,
.portfolio-heading > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-copy > p {
  margin-bottom: 26px;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-pill-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
}

.about-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 70px;
}

.about-panel {
  position: relative;
  min-height: 275px;
  padding: 34px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-panel::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid currentColor;
  opacity: 0.2;
  transform: rotate(45deg);
}

.about-panel-dark {
  color: var(--white);
  background: var(--graphite);
}

.about-panel-yellow {
  background: var(--yellow);
}

.about-panel-light {
  border: 1px solid var(--line);
  background: var(--warm);
}

.panel-index {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 55px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.about-panel h3 {
  margin-bottom: 9px;
  font-size: 1.55rem;
}

.about-panel p {
  max-width: 300px;
  margin-bottom: 0;
  opacity: 0.72;
}

.services {
  background: var(--warm);
}

.services::before {
  top: 0;
  left: 52%;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}

.services-visual {
  position: relative;
}

.services-photo-wrap {
  position: relative;
  max-width: 500px;
  padding: 18px 18px 0;
  border-radius: 38px;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.services-photo-wrap::before {
  position: absolute;
  top: -26px;
  left: -25px;
  z-index: -1;
  width: 68%;
  height: 75%;
  content: "";
  border-radius: 34px;
  background: var(--yellow);
}

.services-photo-wrap img {
  width: 100%;
  aspect-ratio: 0.82;
  border-radius: 26px 26px 0 0;
  object-fit: cover;
  object-position: 40% center;
}

.photo-corner {
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: var(--yellow);
  border-style: solid;
}

.corner-one {
  top: 37px;
  right: 37px;
  border-width: 3px 3px 0 0;
}

.corner-two {
  bottom: 29px;
  left: 37px;
  border-width: 0 0 3px 3px;
}

.services-stamp {
  position: absolute;
  right: -26px;
  bottom: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.16);
}

.services-stamp > span {
  font-size: 1.4rem;
}

.services-stamp p {
  margin: 0;
  font-size: 0.82rem;
}

.services-stamp strong {
  display: block;
}

.services-content .section-heading {
  max-width: 690px;
  margin-bottom: 37px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.service-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  min-height: 130px;
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 20px;
  background: var(--yellow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.09);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  place-items: center;
  color: var(--yellow);
  background: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.78rem;
  line-height: 1.5;
}

.plans {
  background: var(--yellow);
}

.plans-photo {
  min-height: 380px;
  background:
    linear-gradient(to bottom, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.48)),
    url("assets/images/reuniao-planejamento.webp") center / cover no-repeat;
}

.plans-yellow {
  padding-bottom: 110px;
  background: var(--yellow);
}

.plans-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 65px;
  align-items: end;
  margin-top: -94px;
  padding: 48px 52px 35px;
  border-radius: 34px 34px 0 0;
  background: var(--yellow);
}

.plans-heading h2 {
  max-width: 710px;
  margin-bottom: 0;
}

.plans-heading > p {
  padding-left: 32px;
  border-left: 1px solid rgba(17, 17, 17, 0.35);
  color: rgba(17, 17, 17, 0.74);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 790px;
  padding: 29px 25px 25px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  color: var(--white);
  background: linear-gradient(150deg, #282828, #171717);
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.plan-card:hover {
  z-index: 3;
  box-shadow: 0 30px 70px rgba(17, 17, 17, 0.28);
  transform: translateY(-10px);
}

.plan-featured {
  border-color: var(--yellow);
  transform: translateY(-13px);
}

.plan-featured:hover {
  transform: translateY(-22px);
}

.popular-label {
  position: absolute;
  top: 19px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 31px;
  border: 1px solid rgba(255, 196, 0, 0.4);
  border-radius: 17px;
  place-items: center;
  color: var(--yellow);
  background: rgba(255, 196, 0, 0.08);
  font-size: 1.45rem;
}

.plan-kicker {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin-bottom: 13px;
  font-size: 1.65rem;
  line-height: 1.05;
}

.plan-description {
  min-height: 98px;
  margin-bottom: 24px;
  color: #bdbdbd;
  font-size: 0.82rem;
  line-height: 1.6;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 22px 0 0;
  margin: 0 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 17px;
  color: #e5e5e5;
  font-size: 0.77rem;
  line-height: 1.45;
}

.plan-card li::before {
  position: absolute;
  top: 0.59em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
}

.plan-button {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 13px 15px;
  margin-top: auto;
  border-radius: 14px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.plan-button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.custom-proposal {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 25px 28px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.26);
}

.custom-proposal > div {
  display: flex;
  gap: 18px;
  align-items: center;
}

.custom-proposal p {
  max-width: 670px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
}

.custom-icon {
  display: grid;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  place-items: center;
  color: var(--yellow);
  background: var(--ink);
}

.results {
  background: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.results-copy > p {
  max-width: 560px;
}

.result-photo {
  position: relative;
  margin-top: 37px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.result-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(17, 17, 17, 0.56), transparent 62%);
}

.result-photo img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.result-photo-label {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.result-card {
  position: relative;
  min-height: 235px;
  padding: 28px;
  border-radius: 24px;
  color: var(--white);
  background: var(--graphite);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.result-card:nth-child(2),
.result-card:nth-child(3) {
  color: var(--ink);
  background: var(--yellow);
}

.result-card:hover {
  transform: translateY(-5px);
}

.result-card::after {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid currentColor;
  opacity: 0.16;
  transform: rotate(45deg);
}

.result-symbol {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  border-radius: 16px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
}

.result-card:nth-child(2) .result-symbol,
.result-card:nth-child(3) .result-symbol {
  color: var(--yellow);
  background: var(--ink);
}

.result-card h3 {
  max-width: 190px;
  margin-bottom: 7px;
  font-size: 1.12rem;
}

.result-card p {
  margin-bottom: 0;
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.68;
}

.testimonials {
  background: var(--warm);
}

.testimonials::after {
  bottom: -120px;
}

.testimonials-heading,
.portfolio-heading {
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: 80px;
  align-items: end;
}

.testimonials-heading > p,
.portfolio-heading > p {
  margin-bottom: 30px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 15px;
  margin-top: 55px;
}

.testimonial-card,
.testimonial-prompt {
  position: relative;
  min-height: 345px;
  padding: 32px;
  border-radius: 28px;
}

.testimonial-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
}

.testimonial-card::after {
  position: absolute;
  top: 66px;
  right: 28px;
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.5rem;
  line-height: 1;
  opacity: 0.09;
  pointer-events: none;
}

.testimonial-dark {
  color: var(--white);
  background: var(--graphite);
}

.testimonial-yellow {
  background: var(--yellow);
}

.testimonial-stars {
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 1.12rem;
  letter-spacing: 0.22em;
}

.testimonial-yellow .testimonial-stars {
  color: var(--ink);
}

.testimonial-draft-label {
  z-index: 1;
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.72;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 30px;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.testimonial-person {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid currentColor;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex: 0 0 54px;
}

.testimonial-yellow .testimonial-avatar {
  border-color: var(--ink);
}

.testimonial-person strong,
.testimonial-person small {
  display: block;
}

.testimonial-person strong {
  font-size: 0.82rem;
}

.testimonial-person small {
  opacity: 0.6;
  font-size: 0.7rem;
}

.message-tail {
  position: absolute;
  right: 30px;
  bottom: -14px;
  width: 38px;
  height: 38px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.testimonial-prompt {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: var(--white);
}

.prompt-icon {
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  width: 82px;
  height: 70px;
  border-radius: 25px 25px 25px 8px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #474747, #111);
  box-shadow: inset 8px 8px 18px rgba(255, 255, 255, 0.13), 0 15px 25px rgba(17, 17, 17, 0.16);
  font-size: 2rem;
}

.testimonial-prompt > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.testimonial-prompt h3 {
  margin-bottom: 25px;
  font-size: 1.37rem;
  line-height: 1.2;
}

.testimonial-prompt a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.portfolio {
  position: relative;
  color: var(--white);
  background: linear-gradient(to bottom, var(--ink) 0%, var(--ink) 72%, var(--yellow) 72%, var(--yellow) 100%);
  overflow: hidden;
}

.portfolio-glow {
  top: -150px;
  right: -80px;
  z-index: 0;
}

.portfolio-heading,
.portfolio-filters,
.portfolio-grid {
  position: relative;
  z-index: 1;
}

.portfolio-heading .eyebrow {
  color: var(--yellow);
}

.portfolio-heading > p {
  color: #b2b2b2;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dadada;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 225px;
  gap: 15px;
  margin-top: 38px;
}

.case-card {
  position: relative;
  grid-column: span 4;
  min-height: 225px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  appearance: none;
  color: inherit;
  background: var(--graphite);
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-align: left;
  transition: opacity 0.24s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card.case-wide {
  grid-column: span 5;
}

.case-card.case-tall {
  grid-column: span 3;
  grid-row: span 2;
}

.case-card.case-logos {
  grid-column: span 4;
}

.case-card:nth-child(5) {
  grid-column: span 5;
}

.case-card:hover,
.case-card:focus-visible {
  z-index: 2;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
  transform: translateY(-6px);
}

.case-card.hidden {
  display: none;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.case-logos img {
  padding: 18px;
  background: var(--white);
  object-fit: contain;
}

.case-card:hover img,
.case-card:focus-visible img {
  transform: scale(1.045);
}

.case-link-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  font-size: 1rem;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease;
}

.play-chip + .case-link-arrow {
  top: 72px;
}

.case-card:hover .case-link-arrow,
.case-card:focus-visible .case-link-arrow {
  background: var(--white);
  transform: translate(2px, -2px) scale(1.06);
}

.case-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 45px 20px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
}

.case-overlay span {
  display: block;
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-overlay h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.play-chip {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.2);
  font-size: 0.75rem;
}

body.modal-open {
  overflow: hidden;
}

.case-modal[hidden],
.case-toast[hidden] {
  display: none;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.case-modal.is-open {
  opacity: 1;
}

.case-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  padding: 45px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 30px;
  color: var(--ink);
  background: var(--warm);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.case-modal.is-open .case-modal-panel {
  transform: translateY(0) scale(1);
}

.modal-geometry {
  position: absolute;
  top: -95px;
  right: 15%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  pointer-events: none;
  transform: rotate(45deg);
}

.modal-close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.modal-close-icon:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(6deg);
}

.case-modal-heading {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-right: 45px;
  margin-bottom: 32px;
}

.case-modal-heading .eyebrow {
  margin-bottom: 16px;
}

.case-modal-heading h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.case-modal-heading > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.brand-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.modal-choice {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  background: var(--white);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.modal-choice:hover,
.modal-choice:focus-visible {
  border-color: var(--yellow);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.1);
  transform: translateY(-3px);
}

.brand-monogram {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  place-items: center;
  color: var(--yellow);
  background: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.choice-copy {
  min-width: 0;
}

.choice-copy strong,
.choice-copy small {
  display: block;
}

.choice-copy strong {
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.choice-copy small {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.instagram-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #e1306c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.choice-arrow {
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  margin-left: auto;
  border-radius: 50%;
  place-items: center;
  background: var(--yellow);
  font-weight: 900;
  transition: transform 0.22s ease;
}

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

.modal-close-button {
  display: block;
  min-width: 115px;
  min-height: 46px;
  padding: 11px 18px;
  margin: 27px 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close-button:hover {
  color: var(--yellow);
  background: var(--ink);
}

.content-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.content-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border-radius: 24px;
  background: var(--yellow);
  overflow: hidden;
}

.content-choice-dark {
  color: var(--white);
  background: var(--graphite);
}

.content-choice-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 38px;
  border-radius: 16px;
  place-items: center;
  color: var(--yellow);
  background: var(--ink);
  font-weight: 900;
}

.content-choice-dark .content-choice-icon {
  color: var(--ink);
  background: var(--yellow);
}

.content-choice-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.content-choice-card p {
  margin-bottom: 24px;
  color: currentColor;
  font-size: 0.84rem;
  line-height: 1.6;
  opacity: 0.72;
}

.modal-action-button {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 15px;
  margin-top: auto;
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.content-choice-dark .modal-action-button {
  color: var(--ink);
  background: var(--yellow);
}

.modal-action-button:hover,
.modal-action-button:focus-visible {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

.case-toast {
  position: fixed;
  right: 25px;
  bottom: 95px;
  z-index: 310;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: min(390px, calc(100% - 30px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 196, 0, 0.6);
  border-radius: 17px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.case-toast > span {
  display: grid;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
}

.case-toast p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 750;
}

.contact {
  background: var(--warm);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  padding: 70px;
  border-radius: 35px;
  background: var(--yellow);
  box-shadow: 0 25px 70px rgba(255, 196, 0, 0.2);
  overflow: hidden;
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  max-width: 720px;
}

.contact-copy > p {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(17, 17, 17, 0.7);
}

.contact-details {
  align-self: center;
  padding: 29px;
  border-radius: 25px;
  color: var(--white);
  background: var(--ink);
  font-style: normal;
  box-shadow: 0 25px 50px rgba(17, 17, 17, 0.22);
}

.contact-details > div {
  display: flex;
  gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-details > div:last-child {
  border-bottom: 0;
}

.contact-details > div > span {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
}

.contact-details p {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 700;
}

.contact-details small {
  display: block;
  margin-bottom: 3px;
  color: #9a9a9a;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details a:hover {
  color: var(--yellow);
}

.contact-shape {
  position: absolute;
  border: 1px solid rgba(17, 17, 17, 0.22);
  transform: rotate(45deg);
}

.shape-one {
  top: -190px;
  right: 28%;
  width: 300px;
  height: 300px;
}

.shape-two {
  right: -140px;
  bottom: -160px;
  width: 340px;
  height: 340px;
}

.site-footer {
  padding: 70px 0 28px;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.65fr 1fr 0.8fr;
  gap: 70px;
  align-items: start;
  padding-bottom: 55px;
}

.footer-brand {
  width: 190px;
}

.footer-top > p {
  max-width: 430px;
  color: #aaa;
  line-height: 1.75;
}

.footer-top nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  justify-self: end;
  min-width: 260px;
  font-size: 0.84rem;
  font-weight: 750;
}

.footer-top nav a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  color: var(--white);
  background: #168b43;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  font-size: 0.77rem;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: #20b858;
  animation: pulse 2.2s ease-out infinite;
}

.whatsapp-float:hover {
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  padding: 6px;
  border-radius: 50%;
  fill: var(--green);
  background: var(--white);
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.mobile-whatsapp-bar {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-delay,
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.18s;
}

.reveal-delay-3 {
  transition-delay: 0.26s;
}

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

@media (max-width: 1160px) {
  :root {
    --container: 1040px;
  }

  .site-nav {
    gap: 20px;
  }

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

  .hero-art {
    min-height: 550px;
  }

  .hero-person {
    right: 2%;
    width: 96%;
    max-height: 540px;
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card {
    min-height: 700px;
  }

  .plan-featured {
    transform: none;
  }

  .plan-featured:hover {
    transform: translateY(-10px);
  }

  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-prompt {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .portfolio-grid {
    grid-auto-rows: 210px;
  }

  .case-card,
  .case-card.case-wide,
  .case-card.case-logos,
  .case-card:nth-child(5) {
    grid-column: span 6;
  }

  .case-card.case-tall {
    grid-column: span 6;
    grid-row: span 1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .section-pad {
    padding-block: 88px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    justify-content: center;
    padding: 95px 32px 40px;
    background: var(--warm);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-cta) {
    padding: 9px 0;
    font-size: clamp(1.75rem, 7vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 18px;
    padding: 16px 20px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 45px);
  }

  .hero-grid,
  .about-grid,
  .services-layout,
  .results-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero-art {
    width: min(100%, 620px);
    min-height: 600px;
    margin-inline: auto;
  }

  .capability-strip {
    margin-top: 0;
  }

  .about-grid {
    gap: 25px;
  }

  .about-panels {
    grid-template-columns: 1fr;
  }

  .about-panel {
    min-height: 220px;
  }

  .panel-index {
    margin-bottom: 35px;
  }

  .services-layout {
    gap: 75px;
  }

  .services-visual {
    width: min(90%, 520px);
    margin-inline: auto;
  }

  .plans-heading {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 42px 34px 30px;
  }

  .plans-heading > p {
    padding: 20px 0 0;
    border-top: 1px solid rgba(17, 17, 17, 0.25);
    border-left: 0;
  }

  .results-grid {
    gap: 55px;
  }

  .testimonials-heading,
  .portfolio-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .portfolio-heading > p,
  .testimonials-heading > p {
    max-width: 680px;
  }

  .contact-card {
    gap: 55px;
    padding: 55px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 660px) {
  body {
    padding-bottom: 61px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-pad {
    padding-block: 72px;
  }

  .brand {
    width: 151px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-note {
    margin-top: 28px;
  }

  .hero-art {
    min-height: 500px;
  }

  .shape-yellow {
    top: 55px;
    right: 2%;
    width: 80%;
  }

  .shape-dark {
    left: 0;
  }

  .hero-person {
    right: 0;
    width: 100%;
    max-height: 485px;
  }

  .growth-badge {
    top: 85px;
    left: 0;
    min-width: 158px;
    padding: 9px;
  }

  .growth-icon {
    width: 42px;
    height: 42px;
  }

  .hero-tag {
    right: 0;
    bottom: 25px;
    max-width: 180px;
    font-size: 0.58rem;
  }

  .capability-strip {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
    font-size: 0.62rem;
  }

  .section-heading h2,
  .plans-heading h2,
  .results h2,
  .testimonials-heading h2,
  .portfolio-heading h2,
  .contact h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .about-panels {
    margin-top: 45px;
  }

  .services-visual {
    width: 95%;
  }

  .services-stamp {
    right: -8px;
    bottom: 20px;
  }

  .service-grid,
  .plan-grid,
  .result-cards,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

  .plans-photo {
    min-height: 290px;
  }

  .plans-heading {
    margin-top: -45px;
    padding: 34px 20px 27px;
    border-radius: 27px 27px 0 0;
  }

  .plan-card {
    min-height: auto;
    padding: 28px 24px 24px;
  }

  .plan-card:hover,
  .plan-featured:hover {
    transform: translateY(-5px);
  }

  .plan-description {
    min-height: auto;
  }

  .custom-proposal,
  .custom-proposal > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-proposal .button {
    width: 100%;
  }

  .result-card {
    min-height: 205px;
  }

  .testimonial-prompt {
    grid-column: auto;
    min-height: 310px;
  }

  .testimonial-card {
    min-height: 510px;
    padding: 28px;
  }

  .testimonial-card blockquote {
    font-size: 1rem;
  }

  .portfolio {
    background: linear-gradient(to bottom, var(--ink) 0%, var(--ink) 82%, var(--yellow) 82%, var(--yellow) 100%);
  }

  .portfolio-filters {
    flex-wrap: nowrap;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .case-card,
  .case-card.case-wide,
  .case-card.case-tall,
  .case-card.case-logos,
  .case-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .case-modal {
    padding: 0;
    place-items: end center;
  }

  .case-modal-panel {
    width: 100%;
    max-height: 88vh;
    padding: 35px 20px 23px;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
  }

  .case-modal.is-open .case-modal-panel {
    transform: translateY(0);
  }

  .case-modal-heading {
    padding-right: 35px;
  }

  .case-modal-heading h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .brand-choice-grid,
  .content-choice-grid {
    grid-template-columns: 1fr;
  }

  .content-choice-card {
    min-height: 265px;
  }

  .modal-close-button {
    width: 100%;
  }

  .case-toast {
    right: 15px;
    bottom: 77px;
    left: 15px;
    max-width: none;
  }

  .contact-card {
    gap: 40px;
    padding: 39px 23px 23px;
    border-radius: 28px;
  }

  .contact-details {
    padding: 20px;
  }

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

  .footer-top > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-top nav {
    justify-self: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 75px;
    width: 53px;
    height: 53px;
    padding: 9px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float svg {
    width: 35px;
    height: 35px;
  }

  .mobile-whatsapp-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 89;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 61px;
    padding: 12px 18px;
    color: var(--white);
    background: #168b43;
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.14);
    font-size: 0.8rem;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
