:root {
  --bg: #f4f7f0;
  --tint: #e7edda;
  --sage: #c8dda6;
  --forest: #013315;
  --olive: #4b6309;
  --olive-b: #638210;
  --muted: #3f5244;
  --line: rgba(1, 51, 21, 0.22);
  --serif: "Open Sans", system-ui, sans-serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.3, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  background: var(--bg);
  color: var(--forest);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.7rem, 7.2vw, 6.2rem);
  max-width: 15ch;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 20ch;
}
p + p {
  margin-top: 1em;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--olive-b);
  outline-offset: 3px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s;
}
.top.hide {
  transform: translateY(-100%);
}
.top.flat {
  border-color: transparent;
}
.mobile-menu {
  display: none;
}
.top-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  gap: 24px;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand img {
  display: block;
  width: clamp(112px, 32vw, 180px);
  height: auto;
}
.brand b {
  font: 700 1.55rem var(--serif);
  letter-spacing: -0.035em;
}
.brand small {
  font-size: 0.72rem;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
nav a:not(.btn) {
  text-decoration: none;
  background: linear-gradient(var(--olive-b), var(--olive-b)) 0 100%/0 1px
    no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.35s var(--ease);
}
nav a:not(.btn):hover {
  background-size: 100% 1px;
}

.btn {
  display: inline-block;
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  padding: 16px 26px;
  border-radius: 32px;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background:
    linear-gradient(var(--olive), var(--olive)) 0 0/0 100% no-repeat,
    var(--olive-b);
  transition:
    background-size 0.5s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.btn:hover {
  background-size: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(1, 51, 21, 0.5);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn-light {
  color: var(--forest);
  background:
    linear-gradient(#fff, #fff) 0 0/0 100% no-repeat,
    var(--sage);
}
.link {
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--olive-b);
  transition:
    text-underline-offset 0.3s var(--ease),
    color 0.3s;
}
.link:hover {
  text-underline-offset: 9px;
  color: var(--olive);
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 52ch;
}
.note a {
  text-underline-offset: 3px;
}
.micro {
  font-size: 0.95rem;
  color: var(--olive);
  font-weight: 600;
  margin-bottom: 28px;
}

.hero {
  color: #fff;
  background-color: var(--forest);
  background-image:
    linear-gradient(90deg, rgba(1, 38, 15, 0.9) 0%, rgba(1, 38, 15, 0.7) 50%, rgba(1, 38, 15, 0.3) 100%),
    url("../assets/hero-meeting.jpg");
  background-position: center, center 54%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px);
}
.hero .micro {
  color: #d8e6bd;
}
.hero h1 {
  max-width: 20ch;
}
.hero .note {
  color: rgba(255, 255, 255, 0.82);
}
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.w > span {
  display: inline-block;
}
.js .w > span {
  transform: translateY(110%);
  animation: up 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes up {
  to {
    transform: none;
  }
}
.hero-foot {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 32px;
  align-items: center;
}
.hero-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: left;
  animation: draw 1.4s var(--ease) 0.9s backwards;
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}
.lead {
  font: 400 clamp(1.2rem, 1.9vw, 1.55rem)/1.45 var(--serif);
}
.hero-action {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(244, 247, 240, 0.2);
  border-radius: 8px;
  background: rgba(1, 51, 21, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 20, 8, 0.12);
}
.hero-action .btn {
  max-width: 100%;
  text-align: center;
}

.pad {
  padding: clamp(64px, 9vw, 120px) 0;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.two h2 + p {
  margin-top: 24px;
}
.consulting-image {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  margin-top: 18px;
  object-fit: cover;
  object-position: center 54%;
}
.two .btn {
  margin-top: 32px;
}
.prose {
  font-size: 1.15rem;
  max-width: 56ch;
}
.prose .link {
  display: inline-block;
  margin-top: 28px;
}
.tint {
  background: var(--tint);
}
.sage {
  background: var(--sage);
}
.head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 110px);
  margin-bottom: clamp(36px, 5vw, 64px);
  align-items: end;
}
#diferencial .head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
#diferencial .head h2 {
  max-width: 24ch;
}
#diferencial .head p {
  max-width: 70ch;
}
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.company-layout .photo-story {
  grid-column: 1 / -1;
}
.company-copy h2 {
  margin-bottom: 24px;
}
.company-services .btn {
  margin-top: 32px;
}
.company-services .note {
  max-width: 58ch;
}
.family-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.family-layout .photo-story {
  grid-column: 1 / -1;
}
.family-copy h2 {
  margin-bottom: 24px;
}
.family-copy .btn {
  margin-top: 32px;
}

.frentes {
  display: flex;
  gap: 10px;
  height: 440px;
}
.frente {
  flex: 1;
  border-radius: 6px;
  padding: 28px;
  overflow: hidden;
  cursor: pointer;
  transition:
    flex 0.7s var(--ease),
    filter 0.4s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.frente:not(.open):hover {
  filter: brightness(1.06);
}
.frente.open {
  flex: 3.4;
  cursor: default;
}
.frente-icon {
  margin-bottom: 18px;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.8;
}
.frente h3 {
  font-size: 1.7rem;
  transition: transform 0.6s var(--ease);
}
.frente:not(.open) h3::after {
  content: "Explorar +";
  display: block;
  margin-top: 14px;
  font: 600 0.8rem/1.2 var(--sans);
  opacity: 0.75;
}
.frente:not(.open) h3 {
  transform: translateY(4px);
}
.fb {
  margin-top: auto;
  max-width: 44ch;
}
.fb p {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.open .fb p {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s 0.25s,
    transform 0.6s 0.25s var(--ease);
}
.fb ul {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb li {
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 3px 13px;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.open .fb li {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s calc(0.35s + var(--i) * 70ms),
    transform 0.6s calc(0.35s + var(--i) * 70ms) var(--ease);
}
.f1 {
  background: var(--forest);
  color: var(--bg);
}
.f2 {
  background: var(--olive);
  color: #fff;
}
.f3 {
  background: var(--sage);
}
.f4 {
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
}

.partners {
  position: relative;
  overflow: hidden;
}
.partners-head {
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.partners-eyebrow {
  margin-bottom: 14px;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.partners-head h2 {
  max-width: 17ch;
}
.partners-intro {
  max-width: 48ch;
}
.partners-intro > p {
  color: #d7e3cc;
}
.partners-toggle {
  position: absolute;
  top: clamp(64px, 9vw, 120px);
  right: max(24px, calc((100% - 1180px) / 2));
  z-index: 1;
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 247, 240, 0.42);
  border-radius: 50%;
  background: transparent;
  color: var(--bg);
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.partners-toggle:hover {
  border-color: var(--sage);
  background: rgba(244, 247, 240, 0.08);
}
.partners-toggle i {
  font-size: 0.9rem;
}
.partner-rows {
  display: grid;
  gap: 32px;
}
.partner-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.partner-row h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.partner-window {
  overflow-x: auto;
  scrollbar-width: thin;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.partner-track {
  display: flex;
  width: max-content;
}
.partner-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding: 4px 12px 4px 0;
  list-style: none;
}
.partner-set[aria-hidden="true"] {
  display: none;
}
.partner-set li {
  display: grid;
  width: 160px;
  min-width: 160px;
  min-height: 68px;
  flex: 0 0 160px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(244, 247, 240, 0.16);
  border-radius: 5px;
  background: rgba(244, 247, 240, 0.96);
  color: var(--forest);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
}
.partner-set li:hover {
  transform: translateY(-3px);
  background: #fff;
}
.partner-set li.partner-card--inverse {
  border-color: rgba(244, 247, 240, 0.28);
  background: #245137;
}
.partner-set li.partner-card--inverse:hover {
  background: #245137;
}
.partner-set img {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}
.js .partner-track {
  animation: partners-scroll 48s linear infinite;
}
.js .partner-window {
  overflow: hidden;
}
.js .partner-set[aria-hidden="true"] {
  display: flex;
}
.js .partner-track--reverse {
  animation-direction: reverse;
  animation-duration: 72s;
}
.partner-window:hover .partner-track,
.partners.is-paused .partner-track {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  to {
    transform: translateX(-50%);
  }
}

.dark {
  background: var(--forest);
  color: var(--bg);
}
.dark .head p,
.final p {
  color: #d7e3cc;
}
.dif {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 56px;
}
.dif div {
  padding: 22px 22px 0 0;
  position: relative;
}
.dif div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(244, 247, 240, 0.35);
}
.dif div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) calc(var(--d) + 0.2s);
}
.dif div.in::after {
  transform: scaleX(1);
}
.dif dt {
  font: 700 1.2rem/1.25 var(--serif);
  margin-bottom: 10px;
}
.dif dd {
  font-size: 0.95rem;
  color: #d7e3cc;
}

.quote .big {
  font: 700 clamp(2.2rem, 5.4vw, 4.6rem)/1.08 var(--serif);
  letter-spacing: -0.035em;
  max-width: 19ch;
  padding-bottom: 32px;
  position: relative;
}
.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: var(--bg);
}
.quote::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 38, 15, 0.9) 0%,
    rgba(1, 38, 15, 0.72) 55%,
    rgba(1, 38, 15, 0.48) 100%
  );
}
.quote-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote .big::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 140px;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.3s;
}
.quote .big.in::after {
  transform: scaleX(1);
}
.quote .small {
  margin-top: 28px;
  max-width: 48ch;
  color: #d7e3cc;
  font-size: 1.1rem;
}

.rule {
  list-style: none;
  padding: 0;
}
.rule > * {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition:
    padding-left 0.45s var(--ease),
    color 0.3s;
}
.rule > :first-child {
  border-top: 1px solid var(--line);
}
.rule > *::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--olive-b);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}
.rule > *:hover {
  padding-left: 20px;
}
.rule > *:hover::before {
  transform: scale(1);
}
.rule + .btn {
  margin-top: 32px;
}
.dl dt {
  font: 700 1.2rem/1.3 var(--serif);
}
.dl dd {
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.steps li {
  counter-increment: s;
  padding: 20px 24px 0 0;
  position: relative;
}
.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--forest);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--olive-b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) calc(var(--d) + 0.15s);
}
.steps li.in::after {
  transform: scaleX(1);
}
.steps li h3::before {
  content: counter(s);
  display: block;
  font: 700 2.6rem/1 var(--serif);
  color: var(--olive-b);
  margin-bottom: 26px;
}
.steps h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.steps p {
  font-size: 0.96rem;
  color: var(--muted);
}

.form-wrap h2 + p {
  color: var(--muted);
}
form {
  display: grid;
  gap: 18px;
  transition:
    opacity 0.35s,
    transform 0.35s;
}
form[hidden] {
  display: none;
}
form.out {
  opacity: 0;
  transform: translateY(-10px);
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}
input,
select,
textarea {
  font: 400 1rem var(--sans);
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  width: 100%;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
input:hover,
select:hover,
textarea:hover {
  border-color: rgba(1, 51, 21, 0.4);
}
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--olive-b);
  box-shadow: 0 0 0 4px rgba(99, 130, 16, 0.18);
}
[aria-invalid="true"] {
  border-color: #a3261b;
}
form .btn {
  justify-self: start;
  margin-top: 6px;
}
form .btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.form-status {
  color: var(--muted);
  font-size: 0.95rem;
}
.form-status.error {
  color: #a3261b;
}
.thanks {
  padding: 36px;
  background: var(--tint);
  border-radius: 6px;
  border-left: 6px solid var(--olive-b);
  animation: in 0.7s var(--ease);
}
.thanks h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.privacy {
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.privacy-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.privacy-head h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.privacy-updated {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}
.privacy-copy {
  max-width: 76ch;
}
.privacy-copy section + section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.privacy-copy h2 {
  max-width: none;
  margin-bottom: 16px;
  font-size: 1.65rem;
}
.privacy-copy ul {
  padding-left: 1.25rem;
  margin-top: 12px;
}
.privacy-copy li + li {
  margin-top: 8px;
}
.privacy-contact a {
  text-underline-offset: 4px;
  text-decoration-color: var(--olive-b);
}
.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  max-height: min(90vh, 720px);
  overflow-y: auto;
  padding: 20px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 36px rgba(1, 51, 21, 0.14);
}
.cookie-consent[hidden],
.cookie-settings[hidden] {
  display: none;
}
.cookie-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
}
.cookie-copy h2,
.cookie-settings h3 {
  max-width: none;
  font-size: 1.4rem;
}
.cookie-copy p,
.cookie-settings > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.cookie-copy a {
  text-underline-offset: 3px;
}
.cookie-actions,
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cookie-actions {
  justify-content: end;
}
.cookie-quiet {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: transparent;
  color: var(--forest);
  font: 600 0.9rem var(--sans);
  cursor: pointer;
}
.cookie-quiet:hover {
  border-color: var(--olive-b);
  color: var(--olive);
}
.cookie-settings {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.cookie-option span {
  display: grid;
  gap: 2px;
}
.cookie-option small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}
.cookie-option input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--olive-b);
}
.cookie-settings-actions {
  margin-top: 4px;
}
@keyframes in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.photo-story {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(1, 51, 21, 0.16);
  border-radius: 4px;
  background: var(--forest);
}
.photo-story::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 28% 0 0;
  background: linear-gradient(
    0deg,
    rgba(1, 38, 15, 0.86),
    rgba(1, 38, 15, 0.36) 58%,
    transparent
  );
}
.photo-story img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-story figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: #fff;
}
.photo-story small {
  display: block;
  margin-bottom: 7px;
  color: #d8e6bd;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.photo-story strong {
  display: block;
  max-width: 26ch;
  font: 700 clamp(1.25rem, 2vw, 1.7rem)/1.2 var(--serif);
}
.photo-story--family {
  aspect-ratio: 3 / 1;
}
.photo-story--company {
  aspect-ratio: 3 / 1;
}
.photo-story--final {
  aspect-ratio: 16 / 10;
  margin-top: 0;
  border-color: rgba(244, 247, 240, 0.28);
}
.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}
.final-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.final h2 {
  max-width: 22ch;
}
.final p {
  max-width: 56ch;
  margin: 24px 0 36px;
  font-size: 1.15rem;
}

.foot {
  background: #01260f;
  color: #d7e3cc;
  padding: 48px 0;
  font-size: 0.92rem;
}
.whatsapp-float {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 9;
  display: inline-flex;
  width: 232px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(1, 51, 21, 0.24);
  color: #063b1a;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s,
    box-shadow 0.2s,
    width 0.35s var(--ease),
    gap 0.35s var(--ease),
    padding 0.35s var(--ease),
    transform 0.2s var(--ease);
}
.whatsapp-float i {
  flex: 0 0 auto;
  font-size: 1.6rem;
}
.whatsapp-float span {
  overflow: hidden;
  max-width: 180px;
  white-space: nowrap;
  opacity: 1;
  transition:
    max-width 0.3s var(--ease),
    opacity 0.2s;
}
.whatsapp-float.is-compact {
  width: 56px;
  gap: 0;
  padding-inline: 12px;
}
.whatsapp-float.is-compact span {
  max-width: 0;
  opacity: 0;
}
.whatsapp-float:hover {
  background: #20c45e;
  box-shadow: 0 10px 28px rgba(1, 51, 21, 0.3);
  transform: translateY(-2px);
}
.back-to-top {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 8;
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--bg);
  background: var(--forest);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease),
    visibility 0.25s;
}
.back-to-top::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top.is-visible:hover {
  background: var(--olive);
  transform: translateY(-2px);
}
.foot p + p {
  margin-top: 8px;
}
.fname {
  display: block;
  width: min(220px, 100%);
  height: auto;
  margin-bottom: 8px;
}

.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease) var(--d),
    transform 0.9s var(--ease) var(--d);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}
.js .rule > .rv.in {
  transition:
    opacity 0.8s var(--ease) var(--d),
    transform 0.9s var(--ease) var(--d),
    padding-left 0.45s var(--ease);
}
.js .btn.rv.in {
  transition:
    opacity 0.8s var(--ease) var(--d),
    background-size 0.5s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.js .link.rv.in {
  transition:
    opacity 0.8s var(--ease) var(--d),
    text-underline-offset 0.3s var(--ease),
    color 0.3s;
}

@media (max-width: 980px) {
  .dif,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .dif div,
  .steps li {
    padding-bottom: 28px;
  }
}
@media (max-width: 820px) {
  .top-in {
    position: relative;
    height: 64px;
    gap: 6px;
  }
  .mobile-menu {
    display: block;
    flex: 0 0 auto;
  }
  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary span,
  .mobile-menu summary::before,
  .mobile-menu summary::after {
    grid-area: 1 / 1;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--forest);
    transition:
      transform 0.25s var(--ease),
      opacity 0.2s;
  }
  .mobile-menu summary::before,
  .mobile-menu summary::after {
    content: "";
  }
  .mobile-menu summary::before {
    transform: translateY(-5px);
  }
  .mobile-menu summary::after {
    transform: translateY(5px);
  }
  .mobile-menu[open] summary span {
    opacity: 0;
  }
  .mobile-menu[open] summary::before {
    transform: rotate(45deg);
  }
  .mobile-menu[open] summary::after {
    transform: rotate(-45deg);
  }
  .mobile-menu nav {
    position: absolute;
    z-index: 6;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 48px));
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    box-shadow: 0 12px 32px rgba(1, 51, 21, 0.16);
  }
  .mobile-menu nav a:not(.btn) {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    background: none;
    text-decoration: none;
  }
  .mobile-menu nav a:not(.btn):hover {
    background: var(--tint);
  }
  .mobile-menu nav .btn {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
  }
  .mobile-menu[open] summary:focus-visible {
    outline-offset: 4px;
  }
  .top-in > nav {
    gap: 0;
  }
  .brand img {
    width: clamp(98px, 26.5vw, 150px);
  }
  nav .btn-sm {
    min-height: 44px;
    padding: 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .pad {
    padding-block: clamp(52px, 12vw, 72px);
  }
  h2 {
    font-size: clamp(1.75rem, 7.2vw, 2.25rem);
  }
  .final-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    background-image:
      linear-gradient(180deg, rgba(1, 38, 15, 0.88) 0%, rgba(1, 38, 15, 0.76) 58%, rgba(1, 38, 15, 0.52) 100%),
      url("../assets/hero-meeting.jpg");
    background-position: center, 68% center;
    padding-block: clamp(48px, 12vw, 72px);
  }
  .hero .micro {
    margin-bottom: 20px;
  }
  .hero h1 {
    max-width: 18ch;
    font-size: clamp(2.35rem, 9vw, 3.4rem);
    line-height: 1.08;
  }
  .hero-foot {
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .lead {
    font-size: clamp(1.125rem, 5vw, 1.25rem);
  }
  .hero-action {
    max-width: none;
    padding: 18px;
    border-radius: 8px;
  }
  .hero-action .btn {
    display: flex;
    min-height: 48px;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  nav a:not(.btn) {
    display: none;
  }
  .two,
  .head,
  .hero-foot {
    grid-template-columns: 1fr;
  }
  .two,
  .head {
    gap: 28px;
  }
  .head {
    margin-bottom: 32px;
  }
  .consulting-image {
    aspect-ratio: 16 / 9;
  }
  .hero-action {
    justify-self: start;
  }
  .company-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .partner-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .partner-row h3 {
    padding-left: 4px;
  }
  .partners-toggle {
    top: clamp(52px, 12vw, 72px);
    right: 24px;
  }
  .partner-set li {
    width: 144px;
    min-width: 144px;
    min-height: 60px;
    flex-basis: 144px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }
  .family-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .company-layout .photo-story {
    grid-column: auto;
  }
  .family-layout .photo-story {
    grid-column: auto;
  }
  .photo-story--family {
    aspect-ratio: 16 / 9;
  }
  .photo-story--company {
    aspect-ratio: 16 / 9;
  }
  .photo-story figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
  .photo-story small {
    font-size: 0.75rem;
  }
  .quote .big {
    font-size: clamp(1.8rem, 8vw, 3rem);
    padding-bottom: 24px;
  }
  .quote .small {
    font-size: 1rem;
  }
  .frentes {
    flex-direction: column;
    height: auto;
  }
  .frente {
    padding: 24px;
  }
  .fb {
    margin-top: 16px;
  }
  .fb p,
  .fb li {
    opacity: 1;
    transform: none;
  }
  .dif,
  .steps {
    grid-template-columns: 1fr;
  }
  .brand small {
    display: none;
  }
  .privacy-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cookie-actions {
    justify-content: start;
  }
  .cookie-actions > *,
  .cookie-settings-actions > * {
    min-height: 44px;
  }
  form .btn {
    justify-self: stretch;
    min-height: 48px;
  }
}
@media (max-width: 360px) {
  .top-in > nav .btn-sm {
    display: none;
  }
}
@media (hover: none), (pointer: coarse) {
  .frente:not(.open) h3::after {
    content: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .js .w > span {
    transform: none;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }
  .quote-video {
    display: none;
  }
  .partner-track {
    animation: none !important;
  }
  .js .partner-set[aria-hidden="true"] {
    display: none;
  }
}
