:root {
  --background: 0 0% 100%;
  --foreground: 184 30% 18%;
  --card: 0 0% 100%;
  --primary: 173 39% 49%;
  --primary-glow: 174 48% 60%;
  --primary-deep: 176 46% 34%;
  --secondary: 174 44% 94%;
  --muted: 174 28% 95%;
  --muted-foreground: 181 13% 42%;
  --border: 174 25% 86%;
  --radius: 0.75rem;
  --gradient-warm: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-soft: linear-gradient(180deg, hsl(var(--background)), hsl(174 44% 97%));
  --gradient-deep: linear-gradient(135deg, hsl(var(--primary-deep)), hsl(173 39% 42%));
  --shadow-warm: 0 18px 40px -18px hsl(var(--primary) / 0.45);
  --shadow-soft: 0 8px 30px -12px hsl(var(--foreground) / 0.18);
  --shadow-card: 0 4px 24px -8px hsl(var(--foreground) / 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
.font-serif {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding-inline: 2rem;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: hsl(var(--background) / 0.9);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.logo-link img {
  width: auto;
  height: 4rem;
  opacity: 1;
  filter: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.15rem;
  color: hsl(var(--foreground) / 0.8);
  font-size: 0.92rem;
}

.desktop-nav a,
.footer a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.footer a:hover {
  color: hsl(var(--primary));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 999px;
  color: hsl(var(--primary));
  background: hsl(var(--secondary) / 0.6);
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-toggle span + span {
  margin-top: 0.32rem;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-inline: 2rem;
  border-top: 1px solid transparent;
  background: hsl(var(--background) / 0.95);
  transition: max-height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.menu-open .mobile-nav {
  max-height: 80vh;
  opacity: 1;
  border-color: hsl(var(--border) / 0.6);
}

.mobile-nav a:not(.button) {
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
}

.mobile-nav .button {
  justify-self: stretch;
  margin-block: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.button-small {
  min-height: 2.5rem;
  padding-inline: 1.25rem;
  font-size: 0.88rem;
}

.gradient-button {
  color: hsl(var(--background));
  background: var(--gradient-warm);
  box-shadow: var(--shadow-warm);
}

.outline-button {
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / 0.4);
  background: transparent;
}

.button:hover {
  transform: scale(1.03);
}

.section-top {
  padding-top: 8.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(5rem, 7vw, 6.4rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--gradient-soft);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: radial-gradient(ellipse at top right, hsl(var(--primary) / 0.18), transparent 60%);
}

.hero-grid,
.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(3rem, 6vw, 4rem);
}

.hero-copy h1 {
  margin-top: 1.5rem;
  font-size: clamp(3.35rem, 6.3vw, 4.9rem);
  line-height: 1.05;
}

.hero-copy h1 em,
.section-copy em {
  color: hsl(var(--primary));
  font-style: italic;
}

.hero-copy p,
.section-copy p,
.consultorio-head > p,
.address-card p {
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.72;
}

.hero-copy p {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1.08rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.46rem 1rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 999px;
  background: hsl(var(--secondary) / 0.6);
  color: hsl(var(--primary));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pill span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  color: hsl(var(--foreground) / 0.7);
  font-size: 0.9rem;
}

.hero-photo-wrap,
.assessment-photo {
  position: relative;
}

.soft-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  pointer-events: none;
}

.blob-one {
  top: -1.5rem;
  left: -1.5rem;
  width: 10rem;
  height: 10rem;
  background: hsl(var(--primary) / 0.15);
}

.blob-two {
  right: -1.5rem;
  bottom: -2rem;
  width: 14rem;
  height: 14rem;
  background: hsl(var(--primary-glow) / 0.2);
}

.hero-photo,
.image-stack > img,
.assessment-photo > img {
  overflow: hidden;
  margin: 0;
  border-radius: 2rem;
  background: hsl(var(--secondary));
  box-shadow: var(--shadow-warm);
}

.hero-photo img {
  width: 100%;
  height: clamp(35rem, 50vw, 40rem);
  object-fit: cover;
  object-position: top;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.3), transparent 45%);
}

.floating-card {
  position: absolute;
  left: 1.5rem;
  bottom: -1.5rem;
  z-index: 2;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--card));
  box-shadow: var(--shadow-card);
}

.floating-card small {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 0.2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.marquee-section {
  overflow: hidden;
  padding: 1.2rem 0;
  border-block: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--secondary) / 0.55);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 34s linear infinite;
}

.marquee span {
  white-space: nowrap;
  color: hsl(var(--primary) / 0.8);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-style: italic;
}

.section {
  padding-block: clamp(6.5rem, 10vw, 8rem);
}

.warm-section {
  background: hsl(var(--secondary) / 0.55);
}

.section-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 4.7vw, 3.35rem);
  line-height: 1.06;
}

.section-copy p {
  margin-top: 1.4rem;
  font-size: 1.08rem;
}

.section-copy .button {
  margin-top: 2rem;
}

.section-copy.slim {
  max-width: 42rem;
}

.section-copy.center {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.kicker {
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  height: 33.5rem;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-soft);
}

.image-stack blockquote {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  max-width: 20rem;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--card));
  box-shadow: var(--shadow-card);
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.6;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.check-grid a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: hsl(var(--secondary) / 0.72);
  color: hsl(var(--foreground) / 0.8);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.check-grid a::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  color: hsl(var(--background));
  background: var(--gradient-warm);
  font-size: 0.78rem;
}

.check-grid a:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--secondary));
  box-shadow: var(--shadow-card);
}

.timeline {
  position: relative;
  display: grid;
  gap: 5.9rem;
  max-width: 56rem;
  margin: 4rem auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, hsl(var(--primary)), hsl(var(--primary-glow)), hsl(var(--primary) / 0.3));
}

.timeline article {
  position: relative;
  width: calc(50% - 3rem);
}

.timeline article:nth-child(odd) {
  text-align: right;
}

.timeline article:nth-child(even) {
  margin-left: calc(50% + 3rem);
}

.timeline article::after {
  content: "";
  position: absolute;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  border: 4px solid hsl(var(--background));
  border-radius: 999px;
  background: var(--gradient-warm);
  box-shadow: var(--shadow-warm);
}

.timeline article:nth-child(odd)::after {
  right: -3.55rem;
}

.timeline article:nth-child(even)::after {
  left: -3.55rem;
}

.timeline h3 span,
.approach-card > span {
  color: hsl(var(--primary));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.timeline h3 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  min-height: 6.9rem;
  min-width: min(22.5rem, 100%);
  margin-top: 0;
  padding: 1.45rem 1.6rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.9rem;
  background: hsl(var(--card));
  box-shadow: var(--shadow-card);
  font-size: 1.78rem;
  line-height: 1.08;
}

.timeline p {
  max-width: 28rem;
  margin-top: 1.35rem;
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.7;
}

.timeline article:nth-child(odd) p {
  margin-left: auto;
}

.timeline a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: hsl(var(--primary));
  font-size: 0.9rem;
  font-weight: 600;
}

.center-action {
  margin-top: 3.5rem;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.approach-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, hsl(var(--card)), hsl(var(--secondary) / 0.55));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.approach-card::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.15);
  filter: blur(26px);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.approach-card h3 {
  position: relative;
  margin-top: 1rem;
  font-size: 1.72rem;
}

.approach-card p,
.approach-card li {
  position: relative;
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.65;
}

.approach-card p {
  margin-top: 0.8rem;
}

.approach-card ul {
  position: relative;
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.approach-card li::before {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  vertical-align: middle;
}

.approach-card blockquote {
  position: relative;
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-left: 2px solid hsl(var(--primary) / 0.6);
  border-radius: 1rem;
  background: hsl(var(--background) / 0.6);
  color: hsl(var(--foreground) / 0.75);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.65;
}

.approach-card blockquote footer {
  margin-top: 0.5rem;
  color: hsl(var(--primary));
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
}

.approach-card .button {
  position: relative;
  margin-top: auto;
}

.consultorio-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 3rem;
}

.consultorio-head > p {
  font-size: 1.08rem;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.45rem;
  margin-top: 3rem;
}

.office-grid img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.6s ease;
}

.office-grid img:nth-child(2) {
  transform: translateY(2rem);
}

.office-grid img:nth-child(3) {
  transform: translateY(-1rem);
}

.assessment-photo > img {
  width: 100%;
  height: 35rem;
  object-fit: cover;
  object-position: top;
}

.assessment-photo .floating-card {
  right: 2rem;
  left: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}

.profile-card {
  padding: 3rem 2.5rem;
  border-radius: 2rem;
  color: #fff;
  background: var(--gradient-deep);
  box-shadow: var(--shadow-warm);
  text-align: center;
}

.profile-card img {
  width: auto;
  height: 7rem;
  margin: 0 auto;
  filter: none;
  opacity: 1;
}

.profile-card h3 {
  margin-top: 2rem;
  font-size: 2rem;
}

.profile-card p {
  margin-top: 0.5rem;
  opacity: 0.82;
}

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

.stats-grid span {
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--background) / 0.1);
  font-size: 0.78rem;
}

.stats-grid strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
}

.stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: hsl(var(--primary));
  font-size: 1.6rem;
}

.stars span,
.tiny-note {
  color: hsl(var(--foreground) / 0.7);
  font-size: 0.95rem;
}

.tiny-note {
  margin-top: 0.8rem;
}

.testimonial-grid {
  columns: 3;
  column-gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-grid button {
  display: block;
  width: 100%;
  margin: 0 0 2rem;
  padding: 0;
  break-inside: avoid;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--card));
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-grid button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.testimonial-grid img {
  width: 100%;
}

.multi-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-grid {
  align-items: stretch;
}

.address-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--secondary) / 0.6);
}

.address-card small {
  color: hsl(var(--primary));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.address-card strong {
  display: block;
  margin-top: 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.map-wrap {
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}

.whatsapp-float {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  color: #fff;
  background: #22c55e;
  box-shadow: 0 0 0 1rem rgb(34 197 94 / 0.14), 0 14px 30px rgb(34 197 94 / 0.32);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: currentColor;
}

.footer {
  color: #fff;
  background: var(--gradient-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-block: 4rem;
}

.footer img {
  width: auto;
  height: 5.5rem;
  filter: none;
  opacity: 1;
}

.footer h3 {
  margin-bottom: 1rem;
  color: hsl(var(--background) / 0.7);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer p,
.footer a,
.footer span {
  display: block;
  max-width: 20rem;
  margin-top: 0.7rem;
  color: hsl(var(--background) / 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--background) / 0.15);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

.footer-bottom p {
  margin: 0;
  color: hsl(var(--background) / 0.75);
  font-size: 0.78rem;
}

.footer-bottom a {
  display: inline;
  margin: 0;
  color: #fff;
  font-size: inherit;
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 0.75);
}

.modal-card {
  position: relative;
  width: min(56rem, 100%);
  max-height: 90vh;
  padding: 0.8rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--card));
  overflow: auto;
}

.modal-card img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.65rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.reveal,
.reveal-left,
.reveal-right {
  animation: fadeUp 0.75s ease both;
}

.reveal-left {
  animation-name: fadeLeft;
}

.reveal-right {
  animation-name: fadeRight;
}

.float-soft {
  animation: floatSoft 6s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .menu-toggle {
    display: grid;
  }

  .hero-grid,
  .two-col,
  .contact-grid,
  .about-grid,
  .consultorio-head {
    grid-template-columns: 1fr;
  }

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

  .section-copy.center {
    text-align: left;
    margin-inline: 0;
  }

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

  .testimonial-grid {
    columns: 2;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 1.25rem;
  }

  .nav-actions .button {
    display: none;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-photo img,
  .assessment-photo > img,
  .image-stack img {
    height: 30rem;
  }

  .image-stack blockquote,
  .floating-card {
    position: static;
    margin-top: 1rem;
  }

  .check-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .office-grid img,
  .office-grid img:nth-child(2),
  .office-grid img:nth-child(3) {
    height: 18rem;
    transform: none;
  }

  .timeline::before {
    left: 0.5rem;
  }

  .timeline article,
  .timeline article:nth-child(even) {
    width: auto;
    margin-left: 2.5rem;
    text-align: left;
  }

  .timeline article:nth-child(odd) p {
    margin-left: 0;
  }

  .timeline article::after,
  .timeline article:nth-child(odd)::after,
  .timeline article:nth-child(even)::after {
    left: -2.47rem;
    right: auto;
  }

  .testimonial-grid {
    columns: 1;
  }

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